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.

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
https://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to