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. | 2346 |
Priority 3
org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 19–6121 |
CollapsibleIfStatements | This if statement could be combined with its parent | 1886–1889 |
CollapsibleIfStatements | This if statement could be combined with its parent | 1896–1899 |
CollapsibleIfStatements | This if statement could be combined with its parent | 2809–2812 |
UnusedFormalParameter | Avoid unused method parameters such as 'offlineLinks'. | 4351 |
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'. | 1021 |
CollapsibleIfStatements | This if statement could be combined with its parent | 1047–1049 |
UnusedFormalParameter | Avoid unused method parameters such as 'log'. | 1060 |
CollapsibleIfStatements | This if statement could be combined with its parent | 1091–1094 |
UnusedFormalParameter | Avoid unused method parameters such as 'log'. | 1105 |
org/apache/maven/plugins/javadoc/resolver/ResourceResolver.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'artifact'. | 166 |
UnusedFormalParameter | Avoid unused method parameters such as 'config'. | 279 |
Priority 4
org/apache/maven/plugins/javadoc/AbstractFixJavadocMojo.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 1884 |
UselessParentheses | Useless parentheses. | 3041 |
UselessParentheses | Useless parentheses. | 3063 |
org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 2009 |
UselessParentheses | Useless parentheses. | 2434 |
UselessParentheses | Useless parentheses. | 2434 |
UselessParentheses | Useless parentheses. | 2441 |
UselessParentheses | Useless parentheses. | 2460 |
UselessParentheses | Useless parentheses. | 2883 |
UselessParentheses | Useless parentheses. | 2884 |
UselessParentheses | Useless parentheses. | 2885 |
UselessParentheses | Useless parentheses. | 2969 |
UselessParentheses | Useless parentheses. | 2970 |
UselessParentheses | Useless parentheses. | 2971 |
UselessParentheses | Useless parentheses. | 2983 |
UselessParentheses | Useless parentheses. | 2984 |
UselessParentheses | Useless parentheses. | 2985 |
UselessParentheses | Useless parentheses. | 3277 |
UselessParentheses | Useless parentheses. | 3278 |
UselessParentheses | Useless parentheses. | 3279 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.eclipse.aether.resolution': 'ArtifactResolutionException' is already in scope because it is imported in this file | 3319 |
UselessParentheses | Useless parentheses. | 3518 |
UselessParentheses | Useless parentheses. | 4314 |
UselessParentheses | Useless parentheses. | 4329 |
UselessParentheses | Useless parentheses. | 4628 |
UselessParentheses | Useless parentheses. | 4648 |
UselessParentheses | Useless parentheses. | 4668 |
UselessParentheses | Useless parentheses. | 4755 |
UselessParentheses | Useless parentheses. | 4846 |
UselessParentheses | Useless parentheses. | 4938 |
UselessParentheses | Useless parentheses. | 4987 |
UselessParentheses | Useless parentheses. | 4988 |
UselessParentheses | Useless parentheses. | 4989 |
UselessParentheses | Useless parentheses. | 5146 |
org/apache/maven/plugins/javadoc/JavadocUtil.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 945 |
UselessParentheses | Useless parentheses. | 1477 |
org/apache/maven/plugins/javadoc/TestFixJavadocMojo.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 56–58 |
UselessParentheses | Useless parentheses. | 64–66 |
Files
org/apache/maven/plugins/javadoc/AbstractFixJavadocMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 1884 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 2346 |
UselessParentheses | Useless parentheses. | 4 | 3041 |
UselessParentheses | Useless parentheses. | 4 | 3063 |
org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–6121 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1886–1889 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1896–1899 |
UselessParentheses | Useless parentheses. | 4 | 2009 |
UselessParentheses | Useless parentheses. | 4 | 2434 |
UselessParentheses | Useless parentheses. | 4 | 2434 |
UselessParentheses | Useless parentheses. | 4 | 2441 |
UselessParentheses | Useless parentheses. | 4 | 2460 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2809–2812 |
UselessParentheses | Useless parentheses. | 4 | 2883 |
UselessParentheses | Useless parentheses. | 4 | 2884 |
UselessParentheses | Useless parentheses. | 4 | 2885 |
UselessParentheses | Useless parentheses. | 4 | 2969 |
UselessParentheses | Useless parentheses. | 4 | 2970 |
UselessParentheses | Useless parentheses. | 4 | 2971 |
UselessParentheses | Useless parentheses. | 4 | 2983 |
UselessParentheses | Useless parentheses. | 4 | 2984 |
UselessParentheses | Useless parentheses. | 4 | 2985 |
UselessParentheses | Useless parentheses. | 4 | 3277 |
UselessParentheses | Useless parentheses. | 4 | 3278 |
UselessParentheses | Useless parentheses. | 4 | 3279 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.eclipse.aether.resolution': 'ArtifactResolutionException' is already in scope because it is imported in this file | 4 | 3319 |
UselessParentheses | Useless parentheses. | 4 | 3518 |
UselessParentheses | Useless parentheses. | 4 | 4314 |
UselessParentheses | Useless parentheses. | 4 | 4329 |
UnusedFormalParameter | Avoid unused method parameters such as 'offlineLinks'. | 3 | 4351 |
UselessParentheses | Useless parentheses. | 4 | 4628 |
UselessParentheses | Useless parentheses. | 4 | 4648 |
UselessParentheses | Useless parentheses. | 4 | 4668 |
UselessParentheses | Useless parentheses. | 4 | 4755 |
UselessParentheses | Useless parentheses. | 4 | 4846 |
UselessParentheses | Useless parentheses. | 4 | 4938 |
UselessParentheses | Useless parentheses. | 4 | 4987 |
UselessParentheses | Useless parentheses. | 4 | 4988 |
UselessParentheses | Useless parentheses. | 4 | 4989 |
UselessParentheses | Useless parentheses. | 4 | 5146 |
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 | 945 |
UnusedLocalVariable | Avoid unused local variables such as 'closeMe'. | 3 | 1021 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1047–1049 |
UnusedFormalParameter | Avoid unused method parameters such as 'log'. | 3 | 1060 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1091–1094 |
UnusedFormalParameter | Avoid unused method parameters such as 'log'. | 3 | 1105 |
UselessParentheses | Useless parentheses. | 4 | 1477 |
org/apache/maven/plugins/javadoc/TestFixJavadocMojo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 56–58 |
UselessParentheses | Useless parentheses. | 4 | 64–66 |
org/apache/maven/plugins/javadoc/resolver/ResourceResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'artifact'. | 3 | 166 |
UnusedFormalParameter | Avoid unused method parameters such as 'config'. | 3 | 279 |