Hi All,
Decided to try have a play with a code coverage tool today, and
pointed it at parser.php whilst parserTests.php was being run.
The purpose of doing this is try and see if the code coverage of the
parserTests are good - and they are, at around 83% coverage - and also
to try and indicate if there are any areas that might potentially
benefit from a few more tests.
You can see the code coverage results online at:
http://files.nickj.org/MediaWiki/coverage/Parser.php.html and
http://files.nickj.org/MediaWiki/coverage/Sanitizer.php.html (red =
not executed, blue = executed, grey = thinks it is not executable).
If you would like to reproduce these results, I've written up a quick
step-by-step how-to guide indicating what you need to do at:
http://nickj.org/MediaWiki_code_coverage_howto
All the best,
Nick.