gcov line count is different from no of lines in source code

Posted by sarath on Stack Overflow See other posts from Stack Overflow or by sarath
Published on 2010-05-06T12:14:35Z Indexed on 2010/05/06 12:18 UTC
Read the original article Hit count: 232

Filed under:
|
|

output of gcov says no of lines executed 70 % of 10

but my code has more than 10 lines..

it does not count braces , else statement

please help ..

© Stack Overflow or respective owner

Related posts about gcov

Related posts about gcc