Is it possible to add a custom metric to the generated reports?

I'm building my project with teamcity and running jacoco to obtain coverage 
and complexity metric values for each method.  I would like to add a custom 
row to the reports that follows the ideas at Crap4j <http://www.crap4j.org/>
.

it is calculated by: CRAP(m) = comp(m)^2 * (1 – cov(m)/100)^3 + comp(m)
where comp(m) is the cyclomatic complexity of the method and cov(m) is the 
line coverage of the method.  jacoco is calculating the values i need, is 
there away to use those to calculate a new value within jacoc?

Thanks,
David

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to