PMD Results

The following document contains the results of PMD 5.3.5.

Files

org/apache/maven/plugins/dependency/GetMojo.java

Violation Line
Avoid unused private fields such as 'groupId'. 95
Avoid unused private fields such as 'artifactId'. 101
Avoid unused private fields such as 'version'. 107
Avoid unused private fields such as 'classifier'. 115
Avoid unused private fields such as 'packaging'. 121

org/apache/maven/plugins/dependency/PurgeLocalRepositoryMojo.java

Violation Line
Avoid unused method parameters such as 'filter'. 570

org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java

Violation Line
Avoid unused private fields such as 'repositoryLayouts'. 76

org/apache/maven/plugins/dependency/utils/filters/DestFileFilter.java

Violation Line
Useless parentheses. 271
Useless parentheses. 272
Useless parentheses. 297

org/apache/maven/plugins/dependency/utils/filters/MarkerFileFilter.java

Violation Line
Useless parentheses. 86
Useless parentheses. 87
Useless parentheses. 93

org/apache/maven/plugins/dependency/utils/filters/ResolveFileFilter.java

Violation Line
Useless parentheses. 47

org/apache/maven/plugins/dependency/utils/markers/SourcesFileMarkerHandler.java

Violation Line
These nested if statements could be combined 154157

org/apache/maven/plugins/dependency/utils/markers/UnpackFileMarkerHandler.java

Violation Line
Useless parentheses. 5758