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–7176 |
Useless parentheses. |
2006 |
Useless parentheses. |
2014 |
Useless parentheses. |
2022 |
These nested if statements could be combined |
2044–2048 |
These nested if statements could be combined |
2057–2061 |
Useless parentheses. |
2230 |
Useless parentheses. |
2231 |
Useless parentheses. |
3051 |
These nested if statements could be combined |
3161–3165 |
Useless parentheses. |
3245–3246 |
Useless parentheses. |
3245 |
Useless parentheses. |
3246–3247 |
Useless parentheses. |
3342 |
Useless parentheses. |
3342 |
Useless parentheses. |
3343 |
Useless parentheses. |
3343–3344 |
Useless parentheses. |
3358 |
Useless parentheses. |
3358–3359 |
Useless parentheses. |
3359–3360 |
Useless parentheses. |
3360–3361 |
Useless parentheses. |
3755 |
Useless parentheses. |
3755–3756 |
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. |
5872–5873 |
Useless parentheses. |
5872 |
Useless parentheses. |
5873 |
Useless parentheses. |
6418 |
Avoid empty catch blocks |
6797–6799 |
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 |
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 |