PMD Results

The following document contains the results of PMD 5.6.1.

Files

org/apache/maven/plugins/invoker/AbstractInvokerMojo.java

Violation Line
Useless parentheses. 820
Useless parentheses. 1216
These nested if statements could be combined 15111530
Unnecessary use of fully qualified name 'org.apache.maven.settings.TrackableBase' due to existing import 'org.apache.maven.settings.TrackableBase' 1599
Useless parentheses. 2792
Useless parentheses. 2792

org/apache/maven/plugins/invoker/InstallMojo.java

Violation Line
Avoid unused private methods such as 'toArtifactsList(Iterable)'. 651

org/apache/maven/plugins/invoker/InvokerProperties.java

Violation Line
These nested if statements could be combined 279282

org/apache/maven/plugins/invoker/InvokerReport.java

Violation Line
Avoid unused method parameters such as 'locale'. 282

org/apache/maven/plugins/invoker/MetadataUtils.java

Violation Line
Unnecessary use of fully qualified name 'java.util.TimeZone.getTimeZone' due to existing import 'java.util.TimeZone' 62