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. 1248
Avoid using a branching statement as the last in a loop. 2834
Useless parentheses. 2909

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

Violation Line
Useless parentheses. 1907
Useless parentheses. 1915
Useless parentheses. 1923
These nested if statements could be combined 19451949
These nested if statements could be combined 19581962
Useless parentheses. 2129
Useless parentheses. 2130
Useless parentheses. 3068
Useless parentheses. 30683069
Useless parentheses. 30693070
Useless parentheses. 3165
Useless parentheses. 3165
Useless parentheses. 3166
Useless parentheses. 31663167
Useless parentheses. 31813182
Useless parentheses. 3181
Useless parentheses. 31823183
Useless parentheses. 31833184
Useless parentheses. 3578
Useless parentheses. 35783579
Useless parentheses. 3579
Useless parentheses. 3820
Useless parentheses. 3821
Useless parentheses. 4871
Avoid unused method parameters such as 'offlineLinks'. 4905
Useless parentheses. 5249
Useless parentheses. 5249
Useless parentheses. 5272
Useless parentheses. 5272
Useless parentheses. 5576
Useless parentheses. 5576
Useless parentheses. 56415642
Useless parentheses. 5641
Useless parentheses. 5642
Useless parentheses. 6162
Avoid unused local variables such as 'elementListIOException'. 6499
Useless parentheses. 6671
Useless parentheses. 6671
Useless parentheses. 6678
Useless parentheses. 6678
Useless parentheses. 6679

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

Violation Line
These nested if statements could be combined 190193
Useless parentheses. 501
Useless parentheses. 501
Useless parentheses. 501
These nested if statements could be combined 11381142
These nested if statements could be combined 12161220

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