PMD Results

The following document contains the results of PMD 6.55.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 196142
CollapsibleIfStatements These nested if statements could be combined 18441847
CollapsibleIfStatements These nested if statements could be combined 18541857
CollapsibleIfStatements These nested if statements could be combined 27862789
UnusedFormalParameter Avoid unused method parameters such as 'offlineLinks'. 4384
EmptyCatchBlock Avoid empty catch blocks 58205821
org/apache/maven/plugins/javadoc/JavadocUtil.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 190192
CollapsibleIfStatements These nested if statements could be combined 10361038
UnusedFormalParameter Avoid unused method parameters such as 'log'. 1049
CollapsibleIfStatements These nested if statements could be combined 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. 2421
UselessParentheses Useless parentheses. 3057
UselessParentheses Useless parentheses. 3079
org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
Rule Violation Line
UselessParentheses Useless parentheses. 1812
UselessParentheses Useless parentheses. 1819
UselessParentheses Useless parentheses. 1826
UselessParentheses Useless parentheses. 1972
UselessParentheses Useless parentheses. 2006
UselessParentheses Useless parentheses. 2007
UselessParentheses Useless parentheses. 2397
UselessParentheses Useless parentheses. 2397
UselessParentheses Useless parentheses. 2404
UselessParentheses Useless parentheses. 2423
UselessParentheses Useless parentheses. 2423
UselessParentheses Useless parentheses. 2694
UselessParentheses Useless parentheses. 2860
UselessParentheses Useless parentheses. 2861
UselessParentheses Useless parentheses. 2862
UselessParentheses Useless parentheses. 2945
UselessParentheses Useless parentheses. 2946
UselessParentheses Useless parentheses. 2947
UselessParentheses Useless parentheses. 2948
UselessParentheses Useless parentheses. 2959
UselessParentheses Useless parentheses. 2960
UselessParentheses Useless parentheses. 2961
UselessParentheses Useless parentheses. 2962
UselessParentheses Useless parentheses. 3254
UselessParentheses Useless parentheses. 3255
UselessParentheses Useless parentheses. 3256
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.resolution.ArtifactResolutionException' due to existing import 'org.eclipse.aether.resolution.ArtifactResolutionException' 3296
UselessParentheses Useless parentheses. 3494
UselessParentheses Useless parentheses. 3495
UselessParentheses Useless parentheses. 4347
UselessParentheses Useless parentheses. 4362
UselessParentheses Useless parentheses. 4661
UselessParentheses Useless parentheses. 4661
UselessParentheses Useless parentheses. 4681
UselessParentheses Useless parentheses. 4694
UselessParentheses Useless parentheses. 4781
UselessParentheses Useless parentheses. 4872
UselessParentheses Useless parentheses. 4964
UselessParentheses Useless parentheses. 4964
UselessParentheses Useless parentheses. 5013
UselessParentheses Useless parentheses. 5014
UselessParentheses Useless parentheses. 5015
UselessParentheses Useless parentheses. 5172
UselessParentheses Useless parentheses. 5505
UselessParentheses Useless parentheses. 5952
UselessParentheses Useless parentheses. 5952
UselessParentheses Useless parentheses. 5958
UselessParentheses Useless parentheses. 5959
UselessParentheses Useless parentheses. 5960
org/apache/maven/plugins/javadoc/JavadocUtil.java
Rule Violation Line
UselessParentheses Useless parentheses. 459
UselessParentheses Useless parentheses. 459
UselessParentheses Useless parentheses. 459
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
org/apache/maven/plugins/javadoc/resolver/ResourceResolver.java
Rule Violation Line
UselessParentheses Useless parentheses. 312

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 2421
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 196142
UselessParentheses Useless parentheses. 4 1812
UselessParentheses Useless parentheses. 4 1819
UselessParentheses Useless parentheses. 4 1826
CollapsibleIfStatements These nested if statements could be combined 3 18441847
CollapsibleIfStatements These nested if statements could be combined 3 18541857
UselessParentheses Useless parentheses. 4 1972
UselessParentheses Useless parentheses. 4 2006
UselessParentheses Useless parentheses. 4 2007
UselessParentheses Useless parentheses. 4 2397
UselessParentheses Useless parentheses. 4 2397
UselessParentheses Useless parentheses. 4 2404
UselessParentheses Useless parentheses. 4 2423
UselessParentheses Useless parentheses. 4 2423
UselessParentheses Useless parentheses. 4 2694
CollapsibleIfStatements These nested if statements could be combined 3 27862789
UselessParentheses Useless parentheses. 4 2860
UselessParentheses Useless parentheses. 4 2861
UselessParentheses Useless parentheses. 4 2862
UselessParentheses Useless parentheses. 4 2945
UselessParentheses Useless parentheses. 4 2946
UselessParentheses Useless parentheses. 4 2947
UselessParentheses Useless parentheses. 4 2948
UselessParentheses Useless parentheses. 4 2959
UselessParentheses Useless parentheses. 4 2960
UselessParentheses Useless parentheses. 4 2961
UselessParentheses Useless parentheses. 4 2962
UselessParentheses Useless parentheses. 4 3254
UselessParentheses Useless parentheses. 4 3255
UselessParentheses Useless parentheses. 4 3256
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.resolution.ArtifactResolutionException' due to existing import 'org.eclipse.aether.resolution.ArtifactResolutionException' 4 3296
UselessParentheses Useless parentheses. 4 3494
UselessParentheses Useless parentheses. 4 3495
UselessParentheses Useless parentheses. 4 4347
UselessParentheses Useless parentheses. 4 4362
UnusedFormalParameter Avoid unused method parameters such as 'offlineLinks'. 3 4384
UselessParentheses Useless parentheses. 4 4661
UselessParentheses Useless parentheses. 4 4661
UselessParentheses Useless parentheses. 4 4681
UselessParentheses Useless parentheses. 4 4694
UselessParentheses Useless parentheses. 4 4781
UselessParentheses Useless parentheses. 4 4872
UselessParentheses Useless parentheses. 4 4964
UselessParentheses Useless parentheses. 4 4964
UselessParentheses Useless parentheses. 4 5013
UselessParentheses Useless parentheses. 4 5014
UselessParentheses Useless parentheses. 4 5015
UselessParentheses Useless parentheses. 4 5172
UselessParentheses Useless parentheses. 4 5505
EmptyCatchBlock Avoid empty catch blocks 3 58205821
UselessParentheses Useless parentheses. 4 5952
UselessParentheses Useless parentheses. 4 5952
UselessParentheses Useless parentheses. 4 5958
UselessParentheses Useless parentheses. 4 5959
UselessParentheses Useless parentheses. 4 5960

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

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 190192
UselessParentheses Useless parentheses. 4 459
UselessParentheses Useless parentheses. 4 459
UselessParentheses Useless parentheses. 4 459
UselessParentheses Useless parentheses. 4 934
CollapsibleIfStatements These nested if statements could be combined 3 10361038
UnusedFormalParameter Avoid unused method parameters such as 'log'. 3 1049
CollapsibleIfStatements These nested if statements could be combined 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
UselessParentheses Useless parentheses. 4 312