PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
org/codehaus/plexus/metadata/ClassComponentDescriptorExtractor.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'url'. | 94 |
EmptyControlStatement | Empty for statement | 94–96 |
org/codehaus/plexus/metadata/gleaner/AnnotationComponentGleaner.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'annClass'. | 177 |
UnusedFormalParameter | Avoid unused method parameters such as 'c'. | 235 |
UnusedFormalParameter | Avoid unused method parameters such as 'cl'. | 235 |
org/codehaus/plexus/metadata/gleaner/QDoxComponentGleaner.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 127–129 |
EmptyControlStatement | Empty if statement | 283–288 |
UnusedFormalParameter | Avoid unused method parameters such as 'tagName'. | 478 |
UnusedLocalVariable | Avoid unused local variables such as 's'. | 479 |
EmptyControlStatement | Empty for statement | 479–481 |
org/codehaus/plexus/metadata/merge/Driver.java
Rule | Violation | Line |
---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 58 |
EmptyControlStatement | Empty if statement | 203–208 |
org/codehaus/plexus/metadata/merge/MXParser.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 447–451 |
CollapsibleIfStatements | These nested if statements could be combined | 1076–1079 |
UnusedLocalVariable | Avoid unused local variables such as 'name'. | 1661 |
CollapsibleIfStatements | These nested if statements could be combined | 1818–1822 |
UnusedLocalVariable | Avoid unused local variables such as 'prefix'. | 1842 |
CollapsibleIfStatements | These nested if statements could be combined | 2320–2342 |
UnusedLocalVariable | Avoid unused local variables such as 'standaloneStart'. | 2553 |
CollapsibleIfStatements | These nested if statements could be combined | 2676–2686 |
CollapsibleIfStatements | These nested if statements could be combined | 2677–2685 |
CollapsibleIfStatements | These nested if statements could be combined | 2753–2755 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setName': private methods cannot be overridden | 2962–2966 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setNameStart': private methods cannot be overridden | 2968–2973 |
org/codehaus/plexus/metadata/merge/support/RequirementElement.java
Rule | Violation | Line |
---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 46–48 |
Priority 4
org/codehaus/plexus/metadata/merge/Driver.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 368 |
UselessParentheses | Useless parentheses. | 412 |
org/codehaus/plexus/metadata/merge/MXParser.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 136 |
UselessParentheses | Useless parentheses. | 908 |
UselessParentheses | Useless parentheses. | 909 |
UselessParentheses | Useless parentheses. | 1747–1749 |
UselessParentheses | Useless parentheses. | 1768–1771 |
UselessParentheses | Useless parentheses. | 1769–1771 |
UselessParentheses | Useless parentheses. | 2012 |
UselessParentheses | Useless parentheses. | 2013–2016 |
UselessParentheses | Useless parentheses. | 2319 |
UselessParentheses | Useless parentheses. | 2473 |
UselessParentheses | Useless parentheses. | 2993 |
UselessParentheses | Useless parentheses. | 2994 |
UselessParentheses | Useless parentheses. | 2995 |
UselessParentheses | Useless parentheses. | 2996 |
UselessParentheses | Useless parentheses. | 3025 |
UselessParentheses | Useless parentheses. | 3026 |
UselessParentheses | Useless parentheses. | 3027 |
UselessParentheses | Useless parentheses. | 3028 |
UselessParentheses | Useless parentheses. | 3046 |
org/codehaus/plexus/metadata/merge/support/AbstractMergeableElementList.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 178 |
org/codehaus/plexus/metadata/merge/support/ComponentsElement.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 52 |
Files
org/codehaus/plexus/metadata/ClassComponentDescriptorExtractor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'url'. | 3 | 94 |
EmptyControlStatement | Empty for statement | 3 | 94–96 |
org/codehaus/plexus/metadata/gleaner/AnnotationComponentGleaner.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'annClass'. | 3 | 177 |
UnusedFormalParameter | Avoid unused method parameters such as 'c'. | 3 | 235 |
UnusedFormalParameter | Avoid unused method parameters such as 'cl'. | 3 | 235 |
org/codehaus/plexus/metadata/gleaner/QDoxComponentGleaner.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 127–129 |
EmptyControlStatement | Empty if statement | 3 | 283–288 |
UnusedFormalParameter | Avoid unused method parameters such as 'tagName'. | 3 | 478 |
UnusedLocalVariable | Avoid unused local variables such as 's'. | 3 | 479 |
EmptyControlStatement | Empty for statement | 3 | 479–481 |
org/codehaus/plexus/metadata/merge/Driver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 3 | 58 |
EmptyControlStatement | Empty if statement | 3 | 203–208 |
UselessParentheses | Useless parentheses. | 4 | 368 |
UselessParentheses | Useless parentheses. | 4 | 412 |
org/codehaus/plexus/metadata/merge/MXParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 136 |
EmptyControlStatement | Empty if statement | 3 | 447–451 |
UselessParentheses | Useless parentheses. | 4 | 908 |
UselessParentheses | Useless parentheses. | 4 | 909 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1076–1079 |
UnusedLocalVariable | Avoid unused local variables such as 'name'. | 3 | 1661 |
UselessParentheses | Useless parentheses. | 4 | 1747–1749 |
UselessParentheses | Useless parentheses. | 4 | 1768–1771 |
UselessParentheses | Useless parentheses. | 4 | 1769–1771 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1818–1822 |
UnusedLocalVariable | Avoid unused local variables such as 'prefix'. | 3 | 1842 |
UselessParentheses | Useless parentheses. | 4 | 2012 |
UselessParentheses | Useless parentheses. | 4 | 2013–2016 |
UselessParentheses | Useless parentheses. | 4 | 2319 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2320–2342 |
UselessParentheses | Useless parentheses. | 4 | 2473 |
UnusedLocalVariable | Avoid unused local variables such as 'standaloneStart'. | 3 | 2553 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2676–2686 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2677–2685 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2753–2755 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setName': private methods cannot be overridden | 3 | 2962–2966 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setNameStart': private methods cannot be overridden | 3 | 2968–2973 |
UselessParentheses | Useless parentheses. | 4 | 2993 |
UselessParentheses | Useless parentheses. | 4 | 2994 |
UselessParentheses | Useless parentheses. | 4 | 2995 |
UselessParentheses | Useless parentheses. | 4 | 2996 |
UselessParentheses | Useless parentheses. | 4 | 3025 |
UselessParentheses | Useless parentheses. | 4 | 3026 |
UselessParentheses | Useless parentheses. | 4 | 3027 |
UselessParentheses | Useless parentheses. | 4 | 3028 |
UselessParentheses | Useless parentheses. | 4 | 3046 |
org/codehaus/plexus/metadata/merge/support/AbstractMergeableElementList.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 178 |
org/codehaus/plexus/metadata/merge/support/ComponentsElement.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 52 |
org/codehaus/plexus/metadata/merge/support/RequirementElement.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 3 | 46–48 |