Quoting Joe Orton <[EMAIL PROTECTED]>:

> On Wed, Mar 10, 2004 at 12:19:25PM -0800, [EMAIL PROTECTED] 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.

I considered using gcov -b, but I couldn't figure out a way to bring the data
down to a single value.  I'll look at this again sometime today to see if I can
generate a similar page using -b.

Ryan


Reply via email to