PMD Results

The following document contains the results of PMD 5.6.1.

Files

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

Violation Line
Avoid unused private fields such as 'groupId'. 94
Avoid unused private fields such as 'artifactId'. 100
Avoid unused private fields such as 'version'. 106
Avoid unused private fields such as 'classifier'. 114
Avoid unused private fields such as 'packaging'. 120

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

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

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

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

org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java

Violation Line
These nested if statements could be combined 290327

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

Violation Line
Useless parentheses. 273
Useless parentheses. 274
Useless parentheses. 298

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

Violation Line
Useless parentheses. 93
Useless parentheses. 94
Useless parentheses. 100

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

Violation Line
Useless parentheses. 49

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

Violation Line
These nested if statements could be combined 157160

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

Violation Line
Useless parentheses. 6566