[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Coverage
From: |
John Darrington |
Subject: |
Coverage |
Date: |
Mon, 14 Mar 2005 14:18:26 +0800 |
User-agent: |
Mutt/1.3.28i |
On Sun, Mar 13, 2005 at 09:57:09PM -0800, Ben Pfaff wrote:
John Darrington <address@hidden> writes:
> Recently I'd been using gcov to see how much of the code our test
> suite actually exercises. At the moment, the figure is about 50%
> I'd estimate that about 20% of this figure is error handling code. The
> rest is features that simply have not been tested.
I'm surprised that it's that high. Whenever I work at testing
something thoroughly, I find lots of bugs. Today and yesterday,
for example, I found a huge pile of bugs in AGGREGATE by writing
a simple test (not yet checked in) that just tries each of the
features.
If you're interested, attached are the results I got. aggregate.c is
58% covered.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://wwwkeys.pgp.net or any PGP keyserver for public key.
pspp.list
Description: Text document
pgp1LXjGw_nyV.pgp
Description: PGP signature