apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: cvs commit: apr-site/docs/coverage index.html
Date Wed, 10 Mar 2004 20:28:15 GMT
On Wed, Mar 10, 2004 at 12:19:25PM -0800, rbb@rkbloom.net wrote:
> Also, this data looks slightly better than it is.  While some of the files are
> in the green block, that doesn't mean that they are fully tested.  Often we test
> a single error condition which gets us coverage, but that block of code actually
> handles 4 different error cases.  If only 1 of 4 is tested, then we are
> reporting full coverage when in reality we are about 25% covered.

Yeah, gcov -b gives you the branch coverage, it's usually a better
reflection of test coverage.


View raw message