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–6074 |
CollapsibleIfStatements | This if statement could be combined with its parent | 1858–1861 |
CollapsibleIfStatements | This if statement could be combined with its parent | 1868–1871 |
CollapsibleIfStatements | This if statement could be combined with its parent | 2781–2784 |
UnusedFormalParameter | Avoid unused method parameters such as 'offlineLinks'. | 4323 |
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. | 1981 |
UselessParentheses | Useless parentheses. | 2406 |
UselessParentheses | Useless parentheses. | 2406 |
UselessParentheses | Useless parentheses. | 2413 |
UselessParentheses | Useless parentheses. | 2432 |
UselessParentheses | Useless parentheses. | 2855 |
UselessParentheses | Useless parentheses. | 2856 |
UselessParentheses | Useless parentheses. | 2857 |
UselessParentheses | Useless parentheses. | 2941 |
UselessParentheses | Useless parentheses. | 2942 |
UselessParentheses | Useless parentheses. | 2943 |
UselessParentheses | Useless parentheses. | 2955 |
UselessParentheses | Useless parentheses. | 2956 |
UselessParentheses | Useless parentheses. | 2957 |
UselessParentheses | Useless parentheses. | 3249 |
UselessParentheses | Useless parentheses. | 3250 |
UselessParentheses | Useless parentheses. | 3251 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.eclipse.aether.resolution': 'ArtifactResolutionException' is already in scope because it is imported in this file | 3291 |
UselessParentheses | Useless parentheses. | 3490 |
UselessParentheses | Useless parentheses. | 4286 |
UselessParentheses | Useless parentheses. | 4301 |
UselessParentheses | Useless parentheses. | 4600 |
UselessParentheses | Useless parentheses. | 4620 |
UselessParentheses | Useless parentheses. | 4633 |
UselessParentheses | Useless parentheses. | 4720 |
UselessParentheses | Useless parentheses. | 4811 |
UselessParentheses | Useless parentheses. | 4903 |
UselessParentheses | Useless parentheses. | 4952 |
UselessParentheses | Useless parentheses. | 4953 |
UselessParentheses | Useless parentheses. | 4954 |
UselessParentheses | Useless parentheses. | 5111 |
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–6074 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1858–1861 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1868–1871 |
UselessParentheses | Useless parentheses. | 4 | 1981 |
UselessParentheses | Useless parentheses. | 4 | 2406 |
UselessParentheses | Useless parentheses. | 4 | 2406 |
UselessParentheses | Useless parentheses. | 4 | 2413 |
UselessParentheses | Useless parentheses. | 4 | 2432 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2781–2784 |
UselessParentheses | Useless parentheses. | 4 | 2855 |
UselessParentheses | Useless parentheses. | 4 | 2856 |
UselessParentheses | Useless parentheses. | 4 | 2857 |
UselessParentheses | Useless parentheses. | 4 | 2941 |
UselessParentheses | Useless parentheses. | 4 | 2942 |
UselessParentheses | Useless parentheses. | 4 | 2943 |
UselessParentheses | Useless parentheses. | 4 | 2955 |
UselessParentheses | Useless parentheses. | 4 | 2956 |
UselessParentheses | Useless parentheses. | 4 | 2957 |
UselessParentheses | Useless parentheses. | 4 | 3249 |
UselessParentheses | Useless parentheses. | 4 | 3250 |
UselessParentheses | Useless parentheses. | 4 | 3251 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.eclipse.aether.resolution': 'ArtifactResolutionException' is already in scope because it is imported in this file | 4 | 3291 |
UselessParentheses | Useless parentheses. | 4 | 3490 |
UselessParentheses | Useless parentheses. | 4 | 4286 |
UselessParentheses | Useless parentheses. | 4 | 4301 |
UnusedFormalParameter | Avoid unused method parameters such as 'offlineLinks'. | 3 | 4323 |
UselessParentheses | Useless parentheses. | 4 | 4600 |
UselessParentheses | Useless parentheses. | 4 | 4620 |
UselessParentheses | Useless parentheses. | 4 | 4633 |
UselessParentheses | Useless parentheses. | 4 | 4720 |
UselessParentheses | Useless parentheses. | 4 | 4811 |
UselessParentheses | Useless parentheses. | 4 | 4903 |
UselessParentheses | Useless parentheses. | 4 | 4952 |
UselessParentheses | Useless parentheses. | 4 | 4953 |
UselessParentheses | Useless parentheses. | 4 | 4954 |
UselessParentheses | Useless parentheses. | 4 | 5111 |
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 |