From mboxrd@z Thu Jan 1 00:00:00 1970 From: mrs@wrs.com (Mike Stump) To: dcb@pncl.co.uk, martin@mira.isdn.cs.tu-berlin.de Cc: egcs@cygnus.com Subject: Re: test case coverage ? Date: Thu, 16 Jul 1998 17:38:00 -0000 Message-id: <199807162327.QAA29955@kankakee.wrs.com> X-SW-Source: 1998-07/msg00587.html > Date: Thu, 16 Jul 1998 09:27:00 +0200 > From: Martin von Loewis > > 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.