PMD Results
The following document contains the results of PMD 6.49.0.
Violations By Priority
Priority 3
org/apache/maven/model/building/DefaultModelBuilder.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 977–981 |
UnusedFormalParameter | Avoid unused method parameters such as 'result'. | 1358 |
UnusedFormalParameter | Avoid unused method parameters such as 'result'. | 1496 |
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. | 1028 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputSource' due to existing import 'org.apache.maven.api.model.InputSource' | 1036 |
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 | 977–981 |
UselessParentheses | Useless parentheses. | 4 | 1028 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputSource' due to existing import 'org.apache.maven.api.model.InputSource' | 4 | 1036 |
UnusedFormalParameter | Avoid unused method parameters such as 'result'. | 3 | 1358 |
UnusedFormalParameter | Avoid unused method parameters such as 'result'. | 3 | 1496 |
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 |