PMD Results

The following document contains the results of PMD 5.3.5.

Files

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

Violation Line
Useless parentheses. 1194
These nested if statements could be combined 23432346
Avoid using a branching statement as the last in a loop. 2785
Useless parentheses. 2848

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

Violation Line
Too many static imports may lead to messy code 15959
Useless parentheses. 1862
Useless parentheses. 1870
Useless parentheses. 1878
Useless parentheses. 2057
Useless parentheses. 2058
Useless parentheses. 2885
Useless parentheses. 28852886
Useless parentheses. 28862887
Useless parentheses. 2982
Useless parentheses. 2982
Useless parentheses. 29832984
Useless parentheses. 2983
Useless parentheses. 29982999
Useless parentheses. 2998
Useless parentheses. 29993000
Useless parentheses. 30003001
Useless parentheses. 3396
Useless parentheses. 33963397
Useless parentheses. 3397
Useless parentheses. 3611
Useless parentheses. 3612
Useless parentheses. 4517
Useless parentheses. 4603
Useless parentheses. 4603
Useless parentheses. 4618
Useless parentheses. 4618
Useless parentheses. 4859
Useless parentheses. 4859
Useless parentheses. 4924
Useless parentheses. 49244925
Useless parentheses. 4925
Unnecessary use of fully qualified name 'IOUtil.close' due to existing static import 'org.codehaus.plexus.util.IOUtil.close' 5133
Unnecessary use of fully qualified name 'IOUtil.close' due to existing static import 'org.codehaus.plexus.util.IOUtil.close' 5322
Useless parentheses. 5376
Unnecessary use of fully qualified name 'IOUtil.close' due to existing static import 'org.codehaus.plexus.util.IOUtil.close' 5600
Unnecessary use of fully qualified name 'IOUtil.close' due to existing static import 'org.codehaus.plexus.util.IOUtil.close' 5601
Useless parentheses. 5806
Useless parentheses. 5806
Useless parentheses. 5813
Useless parentheses. 5813
Useless parentheses. 5814

org/apache/maven/plugins/javadoc/JavadocReport.java

Violation Line
Useless parentheses. 230

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

Violation Line
Avoid unused local variables such as 'aSubpackagesList'. 200
Useless parentheses. 516
Useless parentheses. 516
Useless parentheses. 516
These nested if statements could be combined 12251230
These nested if statements could be combined 12951299

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

Violation Line
Avoid unused private fields such as 'dependencyResolver'. 74
Avoid unused private fields such as 'artifactMetadataSource'. 77
Avoid unused method parameters such as 'artifact'. 183
Avoid unused method parameters such as 'config'. 353
Useless parentheses. 388