Almsot 50% code coverege!
Jelmer Vernooij
jelmer at samba.org
Sat Sep 8 08:48:32 MDT 2012
On Fri, Sep 07, 2012 at 10:31:44AM +1000, Andrew Bartlett wrote:
> Ever wondered what goes on in the 90mins that an autobuild takes?
> One of the things that happens is that we pass over almost 50% of the
> code (by line):
> https://build.samba.org/lcov/data/coverage/samba_4_0_test/
> This is a particularly impressive result given the size of the codebase,
> and how many different features we implement.
> That said, there remains some issues with the above analysis: Some
> things don't make sense (most of the gen_ndr code isn't marked as
> executed, when it clearly is), but it remains a very useful and
> interesting metric for what we test well, and what we still need to
> test. If someone has experience with gcov and is able to help me
> extract more reliable figures, I would appreciate it.
We've come a long way.
Note that just the fact that the testsuite happens to exercise 50% of
our code, doesn't mean that there are decent tests for 50% of the
code.
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120908/5155be7a/attachment.pgp>
More information about the samba-technical
mailing list