Hi,
JaCoCo has no option to configure the columns or add new columns to the
report.
But the reporting bundle can be easily modified to add such a column,
see HTMLFormatter.createTable(). Of course this would require a custom
build of JaCoCo.
Best regards,
-marc
On 2014-02-27 00:47, David Clutter wrote:
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 [1].
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 [2].
Links:
------
[1] http://www.crap4j.org/
[2] https://groups.google.com/groups/opt_out
--
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.