PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
org/apache/maven/model/building/DefaultModelBuilder.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 979–983 |
UnusedFormalParameter | Avoid unused method parameters such as 'result'. | 1362 |
UnusedFormalParameter | Avoid unused method parameters such as 'result'. | 1500 |
org/apache/maven/model/building/DefaultModelBuilderFactory.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'rootLocator'. | 105 |
org/apache/maven/model/merge/MavenModelMerger.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 115–118 |
org/apache/maven/model/validation/DefaultModelValidator.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 275 |
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 674 |
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 767 |
Priority 4
org/apache/maven/model/building/DefaultModelBuilder.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 1030 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputSource' due to existing import 'org.apache.maven.api.model.InputSource' | 1039 |
org/apache/maven/model/building/ModelProblemUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 106 |
UselessParentheses | Useless parentheses. | 108 |
UselessParentheses | Useless parentheses. | 110 |
org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 120 |
org/apache/maven/model/profile/DefaultProfileActivationContext.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Collectors.toMap' due to existing static import 'java.util.stream.Collectors.toMap' | 185 |
org/apache/maven/model/validation/DefaultModelValidator.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 333–334 |
UselessParentheses | Useless parentheses. | 346–347 |
Files
org/apache/maven/model/building/DefaultModelBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 979–983 |
UselessParentheses | Useless parentheses. | 4 | 1030 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputSource' due to existing import 'org.apache.maven.api.model.InputSource' | 4 | 1039 |
UnusedFormalParameter | Avoid unused method parameters such as 'result'. | 3 | 1362 |
UnusedFormalParameter | Avoid unused method parameters such as 'result'. | 3 | 1500 |
org/apache/maven/model/building/DefaultModelBuilderFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'rootLocator'. | 3 | 105 |
org/apache/maven/model/building/ModelProblemUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 106 |
UselessParentheses | Useless parentheses. | 4 | 108 |
UselessParentheses | Useless parentheses. | 4 | 110 |
org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 120 |
org/apache/maven/model/merge/MavenModelMerger.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 115–118 |
org/apache/maven/model/profile/DefaultProfileActivationContext.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'Collectors.toMap' due to existing static import 'java.util.stream.Collectors.toMap' | 4 | 185 |
org/apache/maven/model/validation/DefaultModelValidator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 3 | 275 |
UselessParentheses | Useless parentheses. | 4 | 333–334 |
UselessParentheses | Useless parentheses. | 4 | 346–347 |
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 3 | 674 |
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 3 | 767 |