PMD Results

The following document contains the results of PMD 5.0.5.

Files

org/apache/maven/plugin/javadoc/AbstractFixJavadocMojo.java

Violation Line
These nested if statements could be combined 22592262
Avoid using a branching statement as the last in a loop. 2701

org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java

Violation Line
Too many static imports may lead to messy code 15911
Avoid unused method parameters such as 'dependencyArtifacts'. 4504
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5118
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5306
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5591
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5592

org/apache/maven/plugin/javadoc/JavadocUtil.java

Violation Line
Avoid unused local variables such as 'aSubpackagesList'. 199
These nested if statements could be combined 12621267
These nested if statements could be combined 13321336

org/apache/maven/plugin/javadoc/resolver/ResourceResolver.java

Violation Line
Avoid unused method parameters such as 'artifact'. 149