diff --git a/dashboard/plugin.properties b/dashboard/plugin.properties index e2fc37d9..f8dd8201 100644 --- a/dashboard/plugin.properties +++ b/dashboard/plugin.properties @@ -182,3 +182,10 @@ maven.dashboard.aggregator.jcoveragelipc.artifact = ${maven.build.dir}/jcoverage maven.dashboard.aggregator.jcoveragelipc.label = JCoverage %lines maven.dashboard.aggregator.jcoveragelipc.goal = maven-jcoverage-plugin:report maven.dashboard.aggregator.jcoveragelipc.description = JCoverage covered lines percentile + +# Properties for the JCoverage total lines aggregator +maven.dashboard.aggregator.jcoverageloc.script = ${maven.dashboard.aggregators.dir}/jcoverageloc.jelly +maven.dashboard.aggregator.jcoverageloc.artifact = ${maven.build.dir}/jcoverage/coverage.xml +maven.dashboard.aggregator.jcoverageloc.label = JCoverage LOC +maven.dashboard.aggregator.jcoverageloc.goal = maven-jcoverage-plugin:report +maven.dashboard.aggregator.jcoverageloc.description = JCoverage total lines of code diff --git a/dashboard/src/plugin-resources/aggregators/jcoverageloc.jelly b/dashboard/src/plugin-resources/aggregators/jcoverageloc.jelly new file mode 100644 index 00000000..dce046e5 --- /dev/null +++ b/dashboard/src/plugin-resources/aggregators/jcoverageloc.jelly @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dashboard/src/plugin-test/project.properties b/dashboard/src/plugin-test/project.properties index 9f8749de..5f55d91b 100644 --- a/dashboard/src/plugin-test/project.properties +++ b/dashboard/src/plugin-test/project.properties @@ -36,7 +36,7 @@ maven.dashboard.runreactor = false # Define what dashboard aggregators will be run. This property is inherited # by the subprojects and thus they don't need to define it again. -maven.dashboard.aggregators = csall,cserrors,cswarnings,csfiles,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors,simiantdl,pmdfiles,pmdviolations,jcoveragelipc +maven.dashboard.aggregators = csall,cserrors,cswarnings,csfiles,clovertpc,cloverloc,cloverncloc,junittests,junitpassrate,junitfailures,juniterrors,simiantdl,pmdfiles,pmdviolations,jcoveragelipc,jcoverageloc # Make sure that an XML report is generated whenever Clover is run. Also # inherited by the subprojects. diff --git a/dashboard/xdocs/aggregators.xml b/dashboard/xdocs/aggregators.xml index 73796839..bf14e699 100644 --- a/dashboard/xdocs/aggregators.xml +++ b/dashboard/xdocs/aggregators.xml @@ -144,6 +144,13 @@ Total percentage of lines covered. + + jcoverageloc + JCoverage + + Total number of code lines. + + diff --git a/dashboard/xdocs/changes.xml b/dashboard/xdocs/changes.xml index 3cbc89db..faa9b610 100644 --- a/dashboard/xdocs/changes.xml +++ b/dashboard/xdocs/changes.xml @@ -25,6 +25,10 @@ + + Added new jcoverageloc aggregator that computes JCoverage total + lines of code. + Added new jcoveragelipc aggregator that computes JCoverage lines percentage.