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 196089
CollapsibleIfStatements This if statement could be combined with its parent 18591862
CollapsibleIfStatements This if statement could be combined with its parent 18691872
CollapsibleIfStatements This if statement could be combined with its parent 27962799
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 190192
UnusedLocalVariable Avoid unused local variables such as 'closeMe'. 1010
CollapsibleIfStatements This if statement could be combined with its parent 10361038
UnusedFormalParameter Avoid unused method parameters such as 'log'. 1049
CollapsibleIfStatements This if statement could be combined with its parent 10801083
UnusedFormalParameter Avoid unused method parameters such as 'log'. 1094
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. 934
UselessParentheses Useless parentheses. 1466
org/apache/maven/plugins/javadoc/TestFixJavadocMojo.java
Rule Violation Line
UselessParentheses Useless parentheses. 4749
UselessParentheses Useless parentheses. 5557

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 196089
CollapsibleIfStatements This if statement could be combined with its parent 3 18591862
CollapsibleIfStatements This if statement could be combined with its parent 3 18691872
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 27962799
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 190192
UselessParentheses Useless parentheses. 4 934
UnusedLocalVariable Avoid unused local variables such as 'closeMe'. 3 1010
CollapsibleIfStatements This if statement could be combined with its parent 3 10361038
UnusedFormalParameter Avoid unused method parameters such as 'log'. 3 1049
CollapsibleIfStatements This if statement could be combined with its parent 3 10801083
UnusedFormalParameter Avoid unused method parameters such as 'log'. 3 1094
UselessParentheses Useless parentheses. 4 1466

org/apache/maven/plugins/javadoc/TestFixJavadocMojo.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 4749
UselessParentheses Useless parentheses. 4 5557

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