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–7170 |
Useless parentheses. |
2004 |
Useless parentheses. |
2012 |
Useless parentheses. |
2020 |
These nested if statements could be combined |
2042–2046 |
These nested if statements could be combined |
2055–2059 |
Useless parentheses. |
2228 |
Useless parentheses. |
2229 |
Useless parentheses. |
3051 |
These nested if statements could be combined |
3161–3165 |
Useless parentheses. |
3245 |
Useless parentheses. |
3245–3246 |
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–3756 |
Useless parentheses. |
3755 |
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. |
5801 |
Useless parentheses. |
5801 |
Useless parentheses. |
5866 |
Useless parentheses. |
5866–5867 |
Useless parentheses. |
5867 |
Useless parentheses. |
6412 |
Avoid empty catch blocks |
6791–6793 |
Useless parentheses. |
6954 |
Useless parentheses. |
6954 |
Useless parentheses. |
6961 |
Useless parentheses. |
6961 |
Useless parentheses. |
6962 |
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 |