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 17176
Useless parentheses. 2006
Useless parentheses. 2014
Useless parentheses. 2022
These nested if statements could be combined 20442048
These nested if statements could be combined 20572061
Useless parentheses. 2230
Useless parentheses. 2231
Useless parentheses. 3051
These nested if statements could be combined 31613165
Useless parentheses. 32453246
Useless parentheses. 3245
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. 3755
Useless parentheses. 37553756
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. 5807
Useless parentheses. 5807
Useless parentheses. 58725873
Useless parentheses. 5872
Useless parentheses. 5873
Useless parentheses. 6418
Avoid empty catch blocks 67976799
Useless parentheses. 6960
Useless parentheses. 6960
Useless parentheses. 6967
Useless parentheses. 6967
Useless parentheses. 6968

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