From 2872a76ad5d3a552f3d4b41d3e41f2a8d93342ce Mon Sep 17 00:00:00 2001 From: mohan-chinnappan-n Date: Mon, 12 Sep 2022 18:50:22 -0400 Subject: [PATCH] pmd-report-v2.xslt cleanup --- pmd-core/etc/xslt/pmd-report-v2.xslt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pmd-core/etc/xslt/pmd-report-v2.xslt b/pmd-core/etc/xslt/pmd-report-v2.xslt index df4dbd9ed0..30c4d24812 100644 --- a/pmd-core/etc/xslt/pmd-report-v2.xslt +++ b/pmd-core/etc/xslt/pmd-report-v2.xslt @@ -12,6 +12,7 @@ xmlns:scan="http://pmd.sourceforge.net/report/2.0.0" + PMD Report @@ -160,6 +161,8 @@ const arcSpec ={ {"priority": 2, "count": p2}, {"priority": 3, "count": p3}, {"priority": 4, "count": p4}, + {"priority": 5, "count": p5} + ] }, "mark": {"type": "arc" , "innerRadius": 50, "tooltip": true}, @@ -184,8 +187,8 @@ const arcSpecRS ={ {"rule": "Design", "count": design}, {"rule": "Documentation", "count": doc}, - {"rule": "Documentation", "count": ep}, - {"rule": "Error Prone", "count": perf}, + {"rule": "Documentation", "count": ep}, + {"rule": "Error Prone", "count": perf}, {"rule": "Security", "count": security} ] @@ -210,7 +213,7 @@ const barSpec = {"priority": 2, "count": p2}, {"priority": 3, "count": p3}, {"priority": 4, "count": p4}, - {"priority": 5, "count": p5}, + {"priority": 5, "count": p5} ] }, "mark": { type: "bar","tooltip": true},