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)'. | 148 |
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 | 262–275 |
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/ListClassesMojo.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 202 |
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. | 270 |
UselessParentheses | Useless parentheses. | 271 |
UselessParentheses | Useless parentheses. | 297 |
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/ListClassesMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 202 |
org/apache/maven/plugins/dependency/ListRepositoriesMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateMethod | Avoid unused private methods such as 'getMirroredRepo(Set)'. | 3 | 148 |
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 | 262–275 |
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 | 270 |
UselessParentheses | Useless parentheses. | 4 | 271 |
UselessParentheses | Useless parentheses. | 4 | 297 |
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 |