Message73073
The attached script reports C functions not flexed by unittests. It
needs a 'coverage' build and a run of the tests. Coverage data is then
passed to gcov and those functions with zero calls written to a text
file, grouped by source file.
It's also pretty ugly.
Reviews/suggestions are most welcome :)
I'm finishing a related script that patches the source with 'printf's,
so any false positives are easy to spot and it's clear when some action
or test exercises a previously untested C function. It already works,
but is much uglier then this one ;) |
|
Date |
User |
Action |
Args |
2008-09-12 01:32:11 | ajaksu2 | set | recipients:
+ ajaksu2 |
2008-09-12 01:32:10 | ajaksu2 | set | messageid: <1221183130.16.0.392255875498.issue3844@psf.upfronthosting.co.za> |
2008-09-12 01:32:06 | ajaksu2 | link | issue3844 messages |
2008-09-12 01:32:06 | ajaksu2 | create | |
|