PMD Results

The following document contains the results of PMD 6.38.0.

Violations By Priority

Priority 3

org/apache/maven/model/io/DefaultModelReader.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 71
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 83

org/apache/maven/model/io/DefaultModelWriter.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 67
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 87

org/apache/maven/model/merge/MavenModelMerger.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 8589

org/apache/maven/model/validation/DefaultModelValidator.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'request'. 231
UnusedFormalParameter Avoid unused method parameters such as 'request'. 555
UnusedFormalParameter Avoid unused method parameters such as 'request'. 620

Priority 4

org/apache/maven/model/building/DefaultModelBuilder.java

Rule Violation Line
UselessParentheses Useless parentheses. 936937

org/apache/maven/model/building/ModelProblemUtils.java

Rule Violation Line
UselessParentheses Useless parentheses. 117
UselessParentheses Useless parentheses. 119
UselessParentheses Useless parentheses. 121

org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

Rule Violation Line
UselessParentheses Useless parentheses. 131

org/apache/maven/model/validation/DefaultModelValidator.java

Rule Violation Line
UselessParentheses Useless parentheses. 290
UselessParentheses Useless parentheses. 297

Files

org/apache/maven/model/building/DefaultModelBuilder.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 936937

org/apache/maven/model/building/ModelProblemUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 117
UselessParentheses Useless parentheses. 4 119
UselessParentheses Useless parentheses. 4 121

org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 131

org/apache/maven/model/io/DefaultModelReader.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 71
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 83

org/apache/maven/model/io/DefaultModelWriter.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 3 67
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 3 87

org/apache/maven/model/merge/MavenModelMerger.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 8589

org/apache/maven/model/validation/DefaultModelValidator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'request'. 3 231
UselessParentheses Useless parentheses. 4 290
UselessParentheses Useless parentheses. 4 297
UnusedFormalParameter Avoid unused method parameters such as 'request'. 3 555
UnusedFormalParameter Avoid unused method parameters such as 'request'. 3 620