PMD Results

The following document contains the results of PMD 5.6.1.

Files

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

Violation Line
Useless parentheses. 1227
Avoid unused private methods such as 'appendDefaultAuthorTag(StringBuilder,String,boolean)'. 2345
Avoid unused private methods such as 'appendDefaultVersionTag(StringBuilder,String,boolean)'. 2423
Avoid using a branching statement as the last in a loop. 2715
Useless parentheses. 2790

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

Violation Line
Too many static imports may lead to messy code 17177
Useless parentheses. 2013
Useless parentheses. 2021
Useless parentheses. 2029
These nested if statements could be combined 20512055
These nested if statements could be combined 20642068
Useless parentheses. 2237
Useless parentheses. 2238
Useless parentheses. 3060
These nested if statements could be combined 31703174
Useless parentheses. 32543255
Useless parentheses. 3254
Useless parentheses. 32553256
Useless parentheses. 3351
Useless parentheses. 3351
Useless parentheses. 33523353
Useless parentheses. 3352
Useless parentheses. 33673368
Useless parentheses. 3367
Useless parentheses. 33683369
Useless parentheses. 33693370
Useless parentheses. 37643765
Useless parentheses. 3764
Useless parentheses. 3765
Useless parentheses. 4041
Useless parentheses. 4042
Avoid unused method parameters such as 'offlineLinks'. 5127
Useless parentheses. 5465
Useless parentheses. 5465
Useless parentheses. 5488
Useless parentheses. 5488
Useless parentheses. 5806
Useless parentheses. 5806
Useless parentheses. 58715872
Useless parentheses. 5871
Useless parentheses. 5872
Useless parentheses. 6417
Avoid empty catch blocks 67986800
Useless parentheses. 6961
Useless parentheses. 6961
Useless parentheses. 6968
Useless parentheses. 6968
Useless parentheses. 6969

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

Violation Line
These nested if statements could be combined 189192
Useless parentheses. 503
Useless parentheses. 503
Useless parentheses. 503
These nested if statements could be combined 11691173
These nested if statements could be combined 12471251

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

Violation Line
Avoid unused private fields such as 'dependencyResolver'. 75
Avoid unused private fields such as 'artifactMetadataSource'. 78
Avoid unused method parameters such as 'artifact'. 188
Avoid unused method parameters such as 'config'. 332
Useless parentheses. 379