PMD Results
The following document contains the results of PMD 6.49.0.
Violations By Priority
Priority 3
org/apache/maven/plugins/dependency/GetMojo.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'groupId'. | 91 |
UnusedPrivateField | Avoid unused private fields such as 'artifactId'. | 97 |
UnusedPrivateField | Avoid unused private fields such as 'version'. | 103 |
UnusedPrivateField | Avoid unused private fields such as 'classifier'. | 111 |
UnusedPrivateField | Avoid unused private fields such as 'packaging'. | 117 |
org/apache/maven/plugins/dependency/ListClassesMojo.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'groupId'. | 94 |
UnusedPrivateField | Avoid unused private fields such as 'artifactId'. | 100 |
UnusedPrivateField | Avoid unused private fields such as 'version'. | 106 |
UnusedPrivateField | Avoid unused private fields such as 'classifier'. | 114 |
UnusedPrivateField | Avoid unused private fields such as 'packaging'. | 120 |
UnusedPrivateField | Avoid unused private fields such as 'skip'. | 148 |
org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'repositoryLayouts'. | 75 |
org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 261–274 |
org/apache/maven/plugins/dependency/tree/TreeMojo.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'reactorProjects'. | 95 |
UnusedPrivateField | Avoid unused private fields such as 'repositorySystem'. | 98 |
UnusedPrivateField | Avoid unused private fields such as 'repoSession'. | 107 |
UnusedPrivateField | Avoid unused private fields such as 'projectRepos'. | 113 |
org/apache/maven/plugins/dependency/utils/markers/SourcesFileMarkerHandler.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 129–131 |
Priority 4
org/apache/maven/plugins/dependency/utils/filters/DestFileFilter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 269 |
UselessParentheses | Useless parentheses. | 270 |
UselessParentheses | Useless parentheses. | 296 |
org/apache/maven/plugins/dependency/utils/filters/MarkerFileFilter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 82 |
UselessParentheses | Useless parentheses. | 83 |
UselessParentheses | Useless parentheses. | 88 |
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. | 59–60 |
Files
org/apache/maven/plugins/dependency/GetMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'groupId'. | 3 | 91 |
UnusedPrivateField | Avoid unused private fields such as 'artifactId'. | 3 | 97 |
UnusedPrivateField | Avoid unused private fields such as 'version'. | 3 | 103 |
UnusedPrivateField | Avoid unused private fields such as 'classifier'. | 3 | 111 |
UnusedPrivateField | Avoid unused private fields such as 'packaging'. | 3 | 117 |
org/apache/maven/plugins/dependency/ListClassesMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'groupId'. | 3 | 94 |
UnusedPrivateField | Avoid unused private fields such as 'artifactId'. | 3 | 100 |
UnusedPrivateField | Avoid unused private fields such as 'version'. | 3 | 106 |
UnusedPrivateField | Avoid unused private fields such as 'classifier'. | 3 | 114 |
UnusedPrivateField | Avoid unused private fields such as 'packaging'. | 3 | 120 |
UnusedPrivateField | Avoid unused private fields such as 'skip'. | 3 | 148 |
org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'repositoryLayouts'. | 3 | 75 |
org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 261–274 |
org/apache/maven/plugins/dependency/tree/TreeMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'reactorProjects'. | 3 | 95 |
UnusedPrivateField | Avoid unused private fields such as 'repositorySystem'. | 3 | 98 |
UnusedPrivateField | Avoid unused private fields such as 'repoSession'. | 3 | 107 |
UnusedPrivateField | Avoid unused private fields such as 'projectRepos'. | 3 | 113 |
org/apache/maven/plugins/dependency/utils/filters/DestFileFilter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 269 |
UselessParentheses | Useless parentheses. | 4 | 270 |
UselessParentheses | Useless parentheses. | 4 | 296 |
org/apache/maven/plugins/dependency/utils/filters/MarkerFileFilter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 82 |
UselessParentheses | Useless parentheses. | 4 | 83 |
UselessParentheses | Useless parentheses. | 4 | 88 |
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 | 129–131 |
org/apache/maven/plugins/dependency/utils/markers/UnpackFileMarkerHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 59–60 |
Suppressed Violations
Filename | Rule message | Suppression type | Reason |
---|---|---|---|
org/apache/maven/plugins/dependency/fromConfiguration/CopyMojo.java | Avoid unused private fields such as 'artifact'. | annotation | |
org/apache/maven/plugins/dependency/fromConfiguration/UnpackMojo.java | Avoid unused private fields such as 'artifact'. | annotation |