[cairo] Some preliminary coverage results for the cairo test suite

Carl Worth cworth at cworth.org
Wed Dec 14 15:06:02 PST 2005


On Wed, 14 Dec 2005 13:46:36 -0800, Carl Worth wrote:
> Today I started playing with gcov and I came up with the following
> results for the test suite's coverage of cairo/src:
> 
> 	http://cairographics.org/~cworth/cairo-coverage-2005-12-14/

And here's the equivalent thing for pixman/src:

	http://cairographics.org/~cworth/pixman-coverage-2005-12-14/

> I'm quite happy to see that our current statement coverage is as high
> as 70%. I really didn't expect anything that high at all given the
> ad-hoc way in which we've been writing tests.

The pixman code is much more along the lines of what I expected. Less
than 35%. :-(

Hopefully some large portion of that is actually dead code which just
isn't getting used at all.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20051214/e41a8c6c/attachment.pgp


More information about the cairo mailing list