PMD Results

The following document contains the results of PMD 6.46.0.

Violations By Priority

Priority 3

org/apache/maven/plugins/help/EvaluateMojo.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 564570

Priority 4

org/apache/maven/plugins/help/DescribeMojo.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' 435
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' 981
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' 983

org/apache/maven/plugins/help/EffectivePomMojo.java

Rule Violation Line
UselessParentheses Useless parentheses. 311
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 340

org/apache/maven/plugins/help/EvaluateMojo.java

Rule Violation Line
UselessParentheses Useless parentheses. 562
UselessParentheses Useless parentheses. 564

Files

org/apache/maven/plugins/help/DescribeMojo.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' 4 435
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' 4 981
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' 4 983

org/apache/maven/plugins/help/EffectivePomMojo.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 311
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4 340

org/apache/maven/plugins/help/EvaluateMojo.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 562
CollapsibleIfStatements These nested if statements could be combined 3 564570
UselessParentheses Useless parentheses. 4 564