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 22872290
Avoid using a branching statement as the last in a loop. 2729

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

Violation Line
Too many static imports may lead to messy code 16023
Avoid unused method parameters such as 'dependencyArtifacts'. 4596
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5218
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5406
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5694
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5695

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

Violation Line
Avoid unused local variables such as 'aSubpackagesList'. 202
These nested if statements could be combined 12921297
These nested if statements could be combined 13621366

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

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