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 196074
CollapsibleIfStatements This if statement could be combined with its parent 18581861
CollapsibleIfStatements This if statement could be combined with its parent 18681871
CollapsibleIfStatements This if statement could be combined with its parent 27812784
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 190192
UnusedLocalVariable Avoid unused local variables such as 'closeMe'. 1018
CollapsibleIfStatements This if statement could be combined with its parent 10441046
UnusedFormalParameter Avoid unused method parameters such as 'log'. 1057
CollapsibleIfStatements This if statement could be combined with its parent 10881091
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. 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 196074
CollapsibleIfStatements This if statement could be combined with its parent 3 18581861
CollapsibleIfStatements This if statement could be combined with its parent 3 18681871
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 27812784
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 190192
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 10441046
UnusedFormalParameter Avoid unused method parameters such as 'log'. 3 1057
CollapsibleIfStatements This if statement could be combined with its parent 3 10881091
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 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