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 196116
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 57985799
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. 4646
UselessParentheses Useless parentheses. 4646
UselessParentheses Useless parentheses. 4666
UselessParentheses Useless parentheses. 4679
UselessParentheses Useless parentheses. 4766
UselessParentheses Useless parentheses. 4857
UselessParentheses Useless parentheses. 4949
UselessParentheses Useless parentheses. 4949
UselessParentheses Useless parentheses. 4998
UselessParentheses Useless parentheses. 4999
UselessParentheses Useless parentheses. 5000
UselessParentheses Useless parentheses. 5157
UselessParentheses Useless parentheses. 5490
UselessParentheses Useless parentheses. 5930
UselessParentheses Useless parentheses. 5930
UselessParentheses Useless parentheses. 5936
UselessParentheses Useless parentheses. 5937
UselessParentheses Useless parentheses. 5938
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 196116
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 4646
UselessParentheses Useless parentheses. 4 4646
UselessParentheses Useless parentheses. 4 4666
UselessParentheses Useless parentheses. 4 4679
UselessParentheses Useless parentheses. 4 4766
UselessParentheses Useless parentheses. 4 4857
UselessParentheses Useless parentheses. 4 4949
UselessParentheses Useless parentheses. 4 4949
UselessParentheses Useless parentheses. 4 4998
UselessParentheses Useless parentheses. 4 4999
UselessParentheses Useless parentheses. 4 5000
UselessParentheses Useless parentheses. 4 5157
UselessParentheses Useless parentheses. 4 5490
EmptyCatchBlock Avoid empty catch blocks 3 57985799
UselessParentheses Useless parentheses. 4 5930
UselessParentheses Useless parentheses. 4 5930
UselessParentheses Useless parentheses. 4 5936
UselessParentheses Useless parentheses. 4 5937
UselessParentheses Useless parentheses. 4 5938

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