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

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

Violation Line
Too many static imports may lead to messy code 15989
Avoid unused method parameters such as 'dependencyArtifacts'. 4571
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5193
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5381
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5669
Unnecessary use of fully qualified name 'IOUtil.close' due to existing import 'org.codehaus.plexus.util.IOUtil' 5670

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

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

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

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