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 17170
Useless parentheses. 2004
Useless parentheses. 2012
Useless parentheses. 2020
These nested if statements could be combined 20422046
These nested if statements could be combined 20552059
Useless parentheses. 2228
Useless parentheses. 2229
Useless parentheses. 3051
These nested if statements could be combined 31613165
Useless parentheses. 3245
Useless parentheses. 32453246
Useless parentheses. 32463247
Useless parentheses. 3342
Useless parentheses. 3342
Useless parentheses. 3343
Useless parentheses. 33433344
Useless parentheses. 3358
Useless parentheses. 33583359
Useless parentheses. 33593360
Useless parentheses. 33603361
Useless parentheses. 37553756
Useless parentheses. 3755
Useless parentheses. 3756
Useless parentheses. 4032
Useless parentheses. 4033
Avoid unused method parameters such as 'offlineLinks'. 5118
Useless parentheses. 5456
Useless parentheses. 5456
Useless parentheses. 5479
Useless parentheses. 5479
Useless parentheses. 5801
Useless parentheses. 5801
Useless parentheses. 5866
Useless parentheses. 58665867
Useless parentheses. 5867
Useless parentheses. 6412
Avoid empty catch blocks 67916793
Useless parentheses. 6954
Useless parentheses. 6954
Useless parentheses. 6961
Useless parentheses. 6961
Useless parentheses. 6962

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