diff --git a/pmd/etc/changelog.txt b/pmd/etc/changelog.txt index bdf1427405..5c77a159ac 100644 --- a/pmd/etc/changelog.txt +++ b/pmd/etc/changelog.txt @@ -11,6 +11,7 @@ Fixed bug 1415663 - PMD no longer fails to parse abstract classes declared in a Fixed bug 1433439 - UseIndexOfChar no longer reports false positives on case like indexOf('a' + getFoo()). Implemented RFE 1415487 - Added a rulesets/releases/35.xml ruleset (and similar rulesets for previous releases) contains rules new to PMD v3.5 Fixed release packaging; now entire xslt/ directory contents are included. +Added more XSLT from Dave Corley - you can use them to filter PMD reports by priority level. Rewrote AvoidCallingFinalize in Java; fixed bug and runs much faster, too. UseIndexOfChar now catches cases involving lastIndexOf. Rules are now run in the order in which they're listed in a ruleset file. Internally, they're now stored in a List vs a Set, and RuleSet.getRules() now returns a Collection. diff --git a/pmd/etc/xslt/only-prio1.xslt b/pmd/etc/xslt/only-prio1.xslt new file mode 100644 index 0000000000..13c6d4f3bf --- /dev/null +++ b/pmd/etc/xslt/only-prio1.xslt @@ -0,0 +1,114 @@ + + + + + + + + + + +p1 + + + + - + + + + + + PMD <xsl:value-of select="//pmd/@version"/> Report + + + + + +

PMD Report

+
+

Summary

+ + + + + + + + + + + +
FilesTotalPriority 1
+
+ + + +

+ sortable_id_ + + + + + + + + + + + + + + + + + + + + + + + + +
PrioLineMethodDescription
Total number of violations for this class: (Click anywhere on this row to see/hide details)
+ +
+
+

Generated by PMD on .

+ + + + +
+ +
diff --git a/pmd/etc/xslt/only-prio2.xslt b/pmd/etc/xslt/only-prio2.xslt new file mode 100644 index 0000000000..7bcf8a1aae --- /dev/null +++ b/pmd/etc/xslt/only-prio2.xslt @@ -0,0 +1,114 @@ + + + + + + + + + + +p2 + + + + - + + + + + + PMD <xsl:value-of select="//pmd/@version"/> Report + + + + + +

PMD Report

+
+

Summary

+ + + + + + + + + + + +
FilesTotalPriority 2
+
+ + + +

+ sortable_id_ + + + + + + + + + + + + + + + + + + + + + + + + +
PrioLineMethodDescription
Total number of violations for this class: (Click anywhere on this row to see/hide details)
+ +
+
+

Generated by PMD on .

+ + + + +
+ +
diff --git a/pmd/etc/xslt/only-prio3.xslt b/pmd/etc/xslt/only-prio3.xslt new file mode 100644 index 0000000000..bfd0d7100c --- /dev/null +++ b/pmd/etc/xslt/only-prio3.xslt @@ -0,0 +1,114 @@ + + + + + + + + + + +p3 + + + + - + + + + + + PMD <xsl:value-of select="//pmd/@version"/> Report + + + + + +

PMD Report

+
+

Summary

+ + + + + + + + + + + +
FilesTotalPriority 3
+
+ + + +

+ sortable_id_ + + + + + + + + + + + + + + + + + + + + + + + + +
PrioLineMethodDescription
Total number of violations for this class: (Click anywhere on this row to see/hide details)
+ +
+
+

Generated by PMD on .

+ + + + +
+ +
diff --git a/pmd/etc/xslt/only-prio4.xslt b/pmd/etc/xslt/only-prio4.xslt new file mode 100644 index 0000000000..0bb6b3b83c --- /dev/null +++ b/pmd/etc/xslt/only-prio4.xslt @@ -0,0 +1,114 @@ + + + + + + + + + + +p4 + + + + - + + + + + + PMD <xsl:value-of select="//pmd/@version"/> Report + + + + + +

PMD Report

+
+

Summary

+ + + + + + + + + + + +
FilesTotalPriority 4
+
+ + + +

+ sortable_id_ + + + + + + + + + + + + + + + + + + + + + + + + +
PrioLineMethodDescription
Total number of violations for this class: (Click anywhere on this row to see/hide details)
+ +
+
+

Generated by PMD on .

+ + + + +
+ +
diff --git a/pmd/etc/xslt/only-prio5.xslt b/pmd/etc/xslt/only-prio5.xslt new file mode 100644 index 0000000000..d6ad6d8185 --- /dev/null +++ b/pmd/etc/xslt/only-prio5.xslt @@ -0,0 +1,114 @@ + + + + + + + + + + +p5 + + + + - + + + + + + PMD <xsl:value-of select="//pmd/@version"/> Report + + + + + +

PMD Report

+
+

Summary

+ + + + + + + + + + + +
FilesTotalPriority 5
+
+ + + +

+ sortable_id_ + + + + + + + + + + + + + + + + + + + + + + + + +
PrioLineMethodDescription
Total number of violations for this class: (Click anywhere on this row to see/hide details)
+ +
+
+

Generated by PMD on .

+ + + + +
+ +
diff --git a/pmd/xdocs/credits.xml b/pmd/xdocs/credits.xml index 3688f975a9..dce192a66f 100644 --- a/pmd/xdocs/credits.xml +++ b/pmd/xdocs/credits.xml @@ -48,8 +48,8 @@