From 4d3200f9ae183b9d882b17c4dd2c2d38f47333ef Mon Sep 17 00:00:00 2001
From: vmassol jcoverageloc aggregator that computes
JCoverage total lines of code. MPDASHBOARD-12
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116049 13f79535-47bb-0310-9956-ffa450edef68
---
dashboard/plugin.properties | 7 ++++
.../aggregators/jcoverageloc.jelly | 39 +++++++++++++++++++
dashboard/src/plugin-test/project.properties | 2 +-
dashboard/xdocs/aggregators.xml | 7 ++++
dashboard/xdocs/changes.xml | 4 ++
5 files changed, 58 insertions(+), 1 deletion(-)
create mode 100644 dashboard/src/plugin-resources/aggregators/jcoverageloc.jelly
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 @@
+
+
+
+
+
+
+
jcoverageloc
+ JCoverage
+
+ Total number of code lines.
+
+
jcoverageloc aggregator that computes JCoverage total
+ lines of code.
+ jcoveragelipc aggregator that computes JCoverage
lines percentage.