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. 1237
Avoid using a branching statement as the last in a loop. 2823
Useless parentheses. 2898

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

Violation Line
Useless parentheses. 1879
Useless parentheses. 1887
Useless parentheses. 1895
These nested if statements could be combined 19171921
These nested if statements could be combined 19301934
Useless parentheses. 2101
Useless parentheses. 2102
Useless parentheses. 30513052
Useless parentheses. 3051
Useless parentheses. 30523053
Useless parentheses. 3148
Useless parentheses. 3148
Useless parentheses. 31493150
Useless parentheses. 3149
Useless parentheses. 31643165
Useless parentheses. 3164
Useless parentheses. 31653166
Useless parentheses. 31663167
Useless parentheses. 35613562
Useless parentheses. 3561
Useless parentheses. 3562
Useless parentheses. 3803
Useless parentheses. 3804
Useless parentheses. 4857
Avoid unused method parameters such as 'offlineLinks'. 4891
Useless parentheses. 5220
Useless parentheses. 5220
Useless parentheses. 5243
Useless parentheses. 5243
Useless parentheses. 5547
Useless parentheses. 5547
Useless parentheses. 5612
Useless parentheses. 56125613
Useless parentheses. 5613
Useless parentheses. 6067
Avoid unused local variables such as 'elementListIOException'. 6398
Useless parentheses. 6570
Useless parentheses. 6570
Useless parentheses. 6577
Useless parentheses. 6577
Useless parentheses. 6578

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

Violation Line
These nested if statements could be combined 184187
Useless parentheses. 495
Useless parentheses. 495
Useless parentheses. 495
These nested if statements could be combined 11231127
These nested if statements could be combined 12011205

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

Violation Line
Avoid unused private fields such as 'dependencyResolver'. 79
Avoid unused private fields such as 'artifactMetadataSource'. 82
Avoid unused method parameters such as 'artifact'. 191
Avoid unused method parameters such as 'config'. 338
Useless parentheses. 385