[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gcc coverage issue
From: |
roodh |
Subject: |
gcc coverage issue |
Date: |
Tue, 2 Jul 2013 10:08:54 -0700 (PDT) |
Hi,
Hi,
While collecting coverage of code, I found few lines of code are covering
and others not.
Ex :- 1. If function definiton is not covered, then lines within that
functions are covered.
2. Function return statement is covering, even if functions has
already returned from if/else conditions.
3. How the branch code is calculated ?.
I found some time if(strcmp()), considering 5 branch some time 3
branches.
Could you anybody please explain me internal implementation of gcov or any
link.
I went through the gcc/coverage.c and other files, could not get much
information
Thanks
roodh
--
View this message in context:
http://gcc.1065356.n5.nabble.com/gcc-coverage-issue-tp950504.html
Sent from the gcc - Gnu Help List mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gcc coverage issue,
roodh <=