[xwiki-devs] Status on test coverage
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+platfor... ). 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+platfor... ). 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
Great! :) On Mon, Dec 12, 2016 at 9:32 AM, Vincent Massol <[email protected]> wrote:
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+platform+enterprise-20120702/ ). 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+platform+ enterprise-20161210-0416/dashboard.html ). 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
Pretty cool. We must be doing something right :) -Eduard On Mon, Dec 12, 2016 at 12:17 PM, Ecaterina Moraru (Valica) < [email protected]> wrote:
Great! :)
On Mon, Dec 12, 2016 at 9:32 AM, Vincent Massol <[email protected]> wrote:
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+platform+enterprise-20120702/ ). 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+platform+ enterprise-20161210-0416/dashboard.html ). 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
participants (3)
-
Ecaterina Moraru (Valica) -
Eduard Moraru -
Vincent Massol