Hi devs,
I succeeded I computing the total test coverage for XWiki, an in automating its
computation.
See
http://massol.myxwiki.org/xwiki/bin/view/Blog/FullCoverageClover for details.
The results:
* 2012: we had 63.1% TPC (see
http://maven.xwiki.org/site/clover/20120701/clover-commons+rendering+platfo…
). 3006 classes, 403577 LOC, average complexity: 1.89
* 2016: we have 73.2% TPC (see
http://maven.xwiki.org/site/clover/20161210/clover-commons+rendering+platfo…
). 5967 classes, 736369 LOC, average complexity: 1.7
This is good news, we’re progressing in the right direction! :)
Of course this doesn’t take into account non-java LOC and we’re probably reducing our test
coverage of code inside wiki pages (or not increasing it).
Thanks
-Vincent