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 |
1–7177 |
Useless parentheses. |
2013 |
Useless parentheses. |
2021 |
Useless parentheses. |
2029 |
These nested if statements could be combined |
2051–2055 |
These nested if statements could be combined |
2064–2068 |
Useless parentheses. |
2237 |
Useless parentheses. |
2238 |
Useless parentheses. |
3060 |
These nested if statements could be combined |
3170–3174 |
Useless parentheses. |
3254–3255 |
Useless parentheses. |
3254 |
Useless parentheses. |
3255–3256 |
Useless parentheses. |
3351 |
Useless parentheses. |
3351 |
Useless parentheses. |
3352–3353 |
Useless parentheses. |
3352 |
Useless parentheses. |
3367–3368 |
Useless parentheses. |
3367 |
Useless parentheses. |
3368–3369 |
Useless parentheses. |
3369–3370 |
Useless parentheses. |
3764–3765 |
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. |
5871–5872 |
Useless parentheses. |
5871 |
Useless parentheses. |
5872 |
Useless parentheses. |
6417 |
Avoid empty catch blocks |
6798–6800 |
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 |
189–192 |
Useless parentheses. |
503 |
Useless parentheses. |
503 |
Useless parentheses. |
503 |
These nested if statements could be combined |
1169–1173 |
These nested if statements could be combined |
1247–1251 |
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 |