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. 2365

Priority 3

org/apache/maven/plugins/javadoc/AbstractFixJavadocMojo.java
Rule Violation Line
UnusedPrivateMethod Avoid unused private methods such as 'appendDefaultVersionTag(StringBuilder,String,boolean)'. 2110
org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 196121
CollapsibleIfStatements These nested if statements could be combined 18331836
CollapsibleIfStatements These nested if statements could be combined 18431846
CollapsibleIfStatements These nested if statements could be combined 27702773
UnusedFormalParameter Avoid unused method parameters such as 'offlineLinks'. 4370
EmptyCatchBlock Avoid empty catch blocks 57995800
org/apache/maven/plugins/javadoc/JavadocUtil.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 175177
CollapsibleIfStatements These nested if statements could be combined 10121014
UnusedFormalParameter Avoid unused method parameters such as 'log'. 1025
CollapsibleIfStatements These nested if statements could be combined 10561059
UnusedFormalParameter Avoid unused method parameters such as 'log'. 1070
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. 1883
UselessParentheses Useless parentheses. 2424
UselessParentheses Useless parentheses. 3060
UselessParentheses Useless parentheses. 3082
org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
Rule Violation Line
UselessParentheses Useless parentheses. 1801
UselessParentheses Useless parentheses. 1808
UselessParentheses Useless parentheses. 1815
UselessParentheses Useless parentheses. 1956
UselessParentheses Useless parentheses. 1990
UselessParentheses Useless parentheses. 1991
UselessParentheses Useless parentheses. 2381
UselessParentheses Useless parentheses. 2381
UselessParentheses Useless parentheses. 2388
UselessParentheses Useless parentheses. 2407
UselessParentheses Useless parentheses. 2407
UselessParentheses Useless parentheses. 2678
UselessParentheses Useless parentheses. 2844
UselessParentheses Useless parentheses. 2845
UselessParentheses Useless parentheses. 2846
UselessParentheses Useless parentheses. 2929
UselessParentheses Useless parentheses. 2930
UselessParentheses Useless parentheses. 2931
UselessParentheses Useless parentheses. 2932
UselessParentheses Useless parentheses. 2943
UselessParentheses Useless parentheses. 2944
UselessParentheses Useless parentheses. 2945
UselessParentheses Useless parentheses. 2946
UselessParentheses Useless parentheses. 3240
UselessParentheses Useless parentheses. 3241
UselessParentheses Useless parentheses. 3242
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.resolution.ArtifactResolutionException' due to existing import 'org.eclipse.aether.resolution.ArtifactResolutionException' 3282
UselessParentheses Useless parentheses. 3480
UselessParentheses Useless parentheses. 3481
UselessParentheses Useless parentheses. 4333
UselessParentheses Useless parentheses. 4348
UselessParentheses Useless parentheses. 4647
UselessParentheses Useless parentheses. 4647
UselessParentheses Useless parentheses. 4667
UselessParentheses Useless parentheses. 4680
UselessParentheses Useless parentheses. 4767
UselessParentheses Useless parentheses. 4858
UselessParentheses Useless parentheses. 4950
UselessParentheses Useless parentheses. 4950
UselessParentheses Useless parentheses. 4999
UselessParentheses Useless parentheses. 5000
UselessParentheses Useless parentheses. 5001
UselessParentheses Useless parentheses. 5158
UselessParentheses Useless parentheses. 5491
UselessParentheses Useless parentheses. 5931
UselessParentheses Useless parentheses. 5931
UselessParentheses Useless parentheses. 5937
UselessParentheses Useless parentheses. 5938
UselessParentheses Useless parentheses. 5939
org/apache/maven/plugins/javadoc/JavadocUtil.java
Rule Violation Line
UselessParentheses Useless parentheses. 444
UselessParentheses Useless parentheses. 444
UselessParentheses Useless parentheses. 444
UselessParentheses Useless parentheses. 910
UselessParentheses Useless parentheses. 1442
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 1883
UnusedPrivateMethod Avoid unused private methods such as 'appendDefaultVersionTag(StringBuilder,String,boolean)'. 3 2110
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2365
UselessParentheses Useless parentheses. 4 2424
UselessParentheses Useless parentheses. 4 3060
UselessParentheses Useless parentheses. 4 3082

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 196121
UselessParentheses Useless parentheses. 4 1801
UselessParentheses Useless parentheses. 4 1808
UselessParentheses Useless parentheses. 4 1815
CollapsibleIfStatements These nested if statements could be combined 3 18331836
CollapsibleIfStatements These nested if statements could be combined 3 18431846
UselessParentheses Useless parentheses. 4 1956
UselessParentheses Useless parentheses. 4 1990
UselessParentheses Useless parentheses. 4 1991
UselessParentheses Useless parentheses. 4 2381
UselessParentheses Useless parentheses. 4 2381
UselessParentheses Useless parentheses. 4 2388
UselessParentheses Useless parentheses. 4 2407
UselessParentheses Useless parentheses. 4 2407
UselessParentheses Useless parentheses. 4 2678
CollapsibleIfStatements These nested if statements could be combined 3 27702773
UselessParentheses Useless parentheses. 4 2844
UselessParentheses Useless parentheses. 4 2845
UselessParentheses Useless parentheses. 4 2846
UselessParentheses Useless parentheses. 4 2929
UselessParentheses Useless parentheses. 4 2930
UselessParentheses Useless parentheses. 4 2931
UselessParentheses Useless parentheses. 4 2932
UselessParentheses Useless parentheses. 4 2943
UselessParentheses Useless parentheses. 4 2944
UselessParentheses Useless parentheses. 4 2945
UselessParentheses Useless parentheses. 4 2946
UselessParentheses Useless parentheses. 4 3240
UselessParentheses Useless parentheses. 4 3241
UselessParentheses Useless parentheses. 4 3242
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.resolution.ArtifactResolutionException' due to existing import 'org.eclipse.aether.resolution.ArtifactResolutionException' 4 3282
UselessParentheses Useless parentheses. 4 3480
UselessParentheses Useless parentheses. 4 3481
UselessParentheses Useless parentheses. 4 4333
UselessParentheses Useless parentheses. 4 4348
UnusedFormalParameter Avoid unused method parameters such as 'offlineLinks'. 3 4370
UselessParentheses Useless parentheses. 4 4647
UselessParentheses Useless parentheses. 4 4647
UselessParentheses Useless parentheses. 4 4667
UselessParentheses Useless parentheses. 4 4680
UselessParentheses Useless parentheses. 4 4767
UselessParentheses Useless parentheses. 4 4858
UselessParentheses Useless parentheses. 4 4950
UselessParentheses Useless parentheses. 4 4950
UselessParentheses Useless parentheses. 4 4999
UselessParentheses Useless parentheses. 4 5000
UselessParentheses Useless parentheses. 4 5001
UselessParentheses Useless parentheses. 4 5158
UselessParentheses Useless parentheses. 4 5491
EmptyCatchBlock Avoid empty catch blocks 3 57995800
UselessParentheses Useless parentheses. 4 5931
UselessParentheses Useless parentheses. 4 5931
UselessParentheses Useless parentheses. 4 5937
UselessParentheses Useless parentheses. 4 5938
UselessParentheses Useless parentheses. 4 5939

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

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 175177
UselessParentheses Useless parentheses. 4 444
UselessParentheses Useless parentheses. 4 444
UselessParentheses Useless parentheses. 4 444
UselessParentheses Useless parentheses. 4 910
CollapsibleIfStatements These nested if statements could be combined 3 10121014
UnusedFormalParameter Avoid unused method parameters such as 'log'. 3 1025
CollapsibleIfStatements These nested if statements could be combined 3 10561059
UnusedFormalParameter Avoid unused method parameters such as 'log'. 3 1070
UselessParentheses Useless parentheses. 4 1442

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