test case coverage ?
Mike Stump
mrs@wrs.com
Thu Jul 16 17:38:00 GMT 1998
> Date: Thu, 16 Jul 1998 09:27:00 +0200
> From: Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
> > I'm trying to find out what fraction of the G++ source code (gcc/cp/*.c)
> > is exercised by the current G++ test suite.
I've seen the results before...
> I haven't tried myself, but I agree that it would be extremely
> valuable to get these data.
Just use gcov, it really isn't all that hard. gcov is a neat and fun
tool.
> Not only would it allow to complete the test suite, but also to
> eliminate dead code.
This has been done in the past. It _is_ hard even for an expert to
tell what it really dead and what isn't. Code that has been executed
zero times isn't necessarily dead.
More information about the Gcc
mailing list