On 30/07/2009, at 3:53 PM, dan nessett wrote:
True. However, knowing the coverage of parserTests and knowing which
code isn't even being visited by it is the first step in
understanding where the holes are in testing. Code coverage is a
primitive metric. But, it's a place to start.
The parser test is a test of the parser. The parser tests do not, have
not, and will not cover anything other than the parser.
Measuring code coverage as a percentage of *core* is a really bad
idea. Try checking the percentage of includes/parser/ covered.
--
Andrew Garrett
agarrett(a)wikimedia.org
http://werdn.us/