PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
org/apache/maven/plugins/dependency/ListRepositoriesMojo.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateMethod | Avoid unused private methods such as 'getMirroredRepo(Set)'. | 147 |
org/apache/maven/plugins/dependency/analyze/AnalyzeReportRenderer.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'sink'. | 106 |
org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 268–281 |
org/apache/maven/plugins/dependency/utils/markers/SourcesFileMarkerHandler.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 130–132 |
Priority 4
org/apache/maven/plugins/dependency/utils/ParamArtifact.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 89 |
org/apache/maven/plugins/dependency/utils/UnpackUtil.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 129 |
UselessParentheses | Useless parentheses. | 129 |
org/apache/maven/plugins/dependency/utils/filters/DestFileFilter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 271 |
UselessParentheses | Useless parentheses. | 272 |
UselessParentheses | Useless parentheses. | 299 |
org/apache/maven/plugins/dependency/utils/filters/MarkerFileFilter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 83 |
UselessParentheses | Useless parentheses. | 84 |
UselessParentheses | Useless parentheses. | 89 |
org/apache/maven/plugins/dependency/utils/filters/ResolveFileFilter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 42 |
org/apache/maven/plugins/dependency/utils/markers/UnpackFileMarkerHandler.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 60–61 |
Files
org/apache/maven/plugins/dependency/ListRepositoriesMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateMethod | Avoid unused private methods such as 'getMirroredRepo(Set)'. | 3 | 147 |
org/apache/maven/plugins/dependency/analyze/AnalyzeReportRenderer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'sink'. | 3 | 106 |
org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 268–281 |
org/apache/maven/plugins/dependency/utils/ParamArtifact.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 89 |
org/apache/maven/plugins/dependency/utils/UnpackUtil.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 129 |
UselessParentheses | Useless parentheses. | 4 | 129 |
org/apache/maven/plugins/dependency/utils/filters/DestFileFilter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 271 |
UselessParentheses | Useless parentheses. | 4 | 272 |
UselessParentheses | Useless parentheses. | 4 | 299 |
org/apache/maven/plugins/dependency/utils/filters/MarkerFileFilter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 83 |
UselessParentheses | Useless parentheses. | 4 | 84 |
UselessParentheses | Useless parentheses. | 4 | 89 |
org/apache/maven/plugins/dependency/utils/filters/ResolveFileFilter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 42 |
org/apache/maven/plugins/dependency/utils/markers/SourcesFileMarkerHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 130–132 |
org/apache/maven/plugins/dependency/utils/markers/UnpackFileMarkerHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 60–61 |