PMD Results
The following document contains the results of PMD 7.0.0.
Violations By Priority
Priority 2
org/apache/maven/plugins/javadoc/AbstractFixJavadocMojo.java
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2362 |
Priority 3
org/apache/maven/plugins/javadoc/AbstractFixJavadocMojo.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateMethod | Avoid unused private methods such as 'appendDefaultVersionTag(StringBuilder, String, boolean)'. | 2107 |
org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 19–6089 |
CollapsibleIfStatements | This if statement could be combined with its parent | 1859–1862 |
CollapsibleIfStatements | This if statement could be combined with its parent | 1869–1872 |
CollapsibleIfStatements | This if statement could be combined with its parent | 2796–2799 |
UnusedFormalParameter | Avoid unused method parameters such as 'offlineLinks'. | 4338 |
org/apache/maven/plugins/javadoc/JavadocUtil.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 190–192 |
UnusedLocalVariable | Avoid unused local variables such as 'closeMe'. | 1018 |
CollapsibleIfStatements | This if statement could be combined with its parent | 1044–1046 |
UnusedFormalParameter | Avoid unused method parameters such as 'log'. | 1057 |
CollapsibleIfStatements | This if statement could be combined with its parent | 1088–1091 |
UnusedFormalParameter | Avoid unused method parameters such as 'log'. | 1102 |
org/apache/maven/plugins/javadoc/resolver/ResourceResolver.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'artifact'. | 163 |
UnusedFormalParameter | Avoid unused method parameters such as 'config'. | 276 |
Priority 4
org/apache/maven/plugins/javadoc/AbstractFixJavadocMojo.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 1880 |
UselessParentheses | Useless parentheses. | 3057 |
UselessParentheses | Useless parentheses. | 3079 |
org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 1982 |
UselessParentheses | Useless parentheses. | 2407 |
UselessParentheses | Useless parentheses. | 2407 |
UselessParentheses | Useless parentheses. | 2414 |
UselessParentheses | Useless parentheses. | 2433 |
UselessParentheses | Useless parentheses. | 2870 |
UselessParentheses | Useless parentheses. | 2871 |
UselessParentheses | Useless parentheses. | 2872 |
UselessParentheses | Useless parentheses. | 2956 |
UselessParentheses | Useless parentheses. | 2957 |
UselessParentheses | Useless parentheses. | 2958 |
UselessParentheses | Useless parentheses. | 2970 |
UselessParentheses | Useless parentheses. | 2971 |
UselessParentheses | Useless parentheses. | 2972 |
UselessParentheses | Useless parentheses. | 3264 |
UselessParentheses | Useless parentheses. | 3265 |
UselessParentheses | Useless parentheses. | 3266 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.eclipse.aether.resolution': 'ArtifactResolutionException' is already in scope because it is imported in this file | 3306 |
UselessParentheses | Useless parentheses. | 3505 |
UselessParentheses | Useless parentheses. | 4301 |
UselessParentheses | Useless parentheses. | 4316 |
UselessParentheses | Useless parentheses. | 4615 |
UselessParentheses | Useless parentheses. | 4635 |
UselessParentheses | Useless parentheses. | 4648 |
UselessParentheses | Useless parentheses. | 4735 |
UselessParentheses | Useless parentheses. | 4826 |
UselessParentheses | Useless parentheses. | 4918 |
UselessParentheses | Useless parentheses. | 4967 |
UselessParentheses | Useless parentheses. | 4968 |
UselessParentheses | Useless parentheses. | 4969 |
UselessParentheses | Useless parentheses. | 5126 |
org/apache/maven/plugins/javadoc/JavadocUtil.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 942 |
UselessParentheses | Useless parentheses. | 1474 |
org/apache/maven/plugins/javadoc/TestFixJavadocMojo.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 47–49 |
UselessParentheses | Useless parentheses. | 55–57 |
Files
org/apache/maven/plugins/javadoc/AbstractFixJavadocMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 1880 |
UnusedPrivateMethod | Avoid unused private methods such as 'appendDefaultVersionTag(StringBuilder, String, boolean)'. | 3 | 2107 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 2362 |
UselessParentheses | Useless parentheses. | 4 | 3057 |
UselessParentheses | Useless parentheses. | 4 | 3079 |
org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–6089 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1859–1862 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1869–1872 |
UselessParentheses | Useless parentheses. | 4 | 1982 |
UselessParentheses | Useless parentheses. | 4 | 2407 |
UselessParentheses | Useless parentheses. | 4 | 2407 |
UselessParentheses | Useless parentheses. | 4 | 2414 |
UselessParentheses | Useless parentheses. | 4 | 2433 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2796–2799 |
UselessParentheses | Useless parentheses. | 4 | 2870 |
UselessParentheses | Useless parentheses. | 4 | 2871 |
UselessParentheses | Useless parentheses. | 4 | 2872 |
UselessParentheses | Useless parentheses. | 4 | 2956 |
UselessParentheses | Useless parentheses. | 4 | 2957 |
UselessParentheses | Useless parentheses. | 4 | 2958 |
UselessParentheses | Useless parentheses. | 4 | 2970 |
UselessParentheses | Useless parentheses. | 4 | 2971 |
UselessParentheses | Useless parentheses. | 4 | 2972 |
UselessParentheses | Useless parentheses. | 4 | 3264 |
UselessParentheses | Useless parentheses. | 4 | 3265 |
UselessParentheses | Useless parentheses. | 4 | 3266 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.eclipse.aether.resolution': 'ArtifactResolutionException' is already in scope because it is imported in this file | 4 | 3306 |
UselessParentheses | Useless parentheses. | 4 | 3505 |
UselessParentheses | Useless parentheses. | 4 | 4301 |
UselessParentheses | Useless parentheses. | 4 | 4316 |
UnusedFormalParameter | Avoid unused method parameters such as 'offlineLinks'. | 3 | 4338 |
UselessParentheses | Useless parentheses. | 4 | 4615 |
UselessParentheses | Useless parentheses. | 4 | 4635 |
UselessParentheses | Useless parentheses. | 4 | 4648 |
UselessParentheses | Useless parentheses. | 4 | 4735 |
UselessParentheses | Useless parentheses. | 4 | 4826 |
UselessParentheses | Useless parentheses. | 4 | 4918 |
UselessParentheses | Useless parentheses. | 4 | 4967 |
UselessParentheses | Useless parentheses. | 4 | 4968 |
UselessParentheses | Useless parentheses. | 4 | 4969 |
UselessParentheses | Useless parentheses. | 4 | 5126 |
org/apache/maven/plugins/javadoc/JavadocUtil.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 190–192 |
UselessParentheses | Useless parentheses. | 4 | 942 |
UnusedLocalVariable | Avoid unused local variables such as 'closeMe'. | 3 | 1018 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1044–1046 |
UnusedFormalParameter | Avoid unused method parameters such as 'log'. | 3 | 1057 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1088–1091 |
UnusedFormalParameter | Avoid unused method parameters such as 'log'. | 3 | 1102 |
UselessParentheses | Useless parentheses. | 4 | 1474 |
org/apache/maven/plugins/javadoc/TestFixJavadocMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 47–49 |
UselessParentheses | Useless parentheses. | 4 | 55–57 |
org/apache/maven/plugins/javadoc/resolver/ResourceResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'artifact'. | 3 | 163 |
UnusedFormalParameter | Avoid unused method parameters such as 'config'. | 3 | 276 |