PMD Results

The following document contains the results of PMD 7.7.0.

Violations By Priority

Priority 3

org/apache/maven/plugins/shade/mojo/ShadeMojo.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 13091319

org/apache/maven/plugins/shade/pom/MavenJDOMWriter.java

Rule Violation Line
UnusedNullCheckInEquals Invoke equals() on the object you've already ensured is not null 152

Priority 4

org/apache/maven/plugins/shade/mojo/ArtifactId.java

Rule Violation Line
UselessParentheses Useless parentheses. 61

org/apache/maven/plugins/shade/mojo/RelativizePath.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RelativizePath': 'parentDirs' is already in scope 48
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RelativizePath': 'parentDirs' is already in scope 49

org/apache/maven/plugins/shade/resource/DontIncludeResourceTransformer.java

Rule Violation Line
UselessParentheses Useless parentheses. 39

Files

org/apache/maven/plugins/shade/mojo/ArtifactId.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 61

org/apache/maven/plugins/shade/mojo/RelativizePath.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RelativizePath': 'parentDirs' is already in scope 4 48
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RelativizePath': 'parentDirs' is already in scope 4 49

org/apache/maven/plugins/shade/mojo/ShadeMojo.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 13091319

org/apache/maven/plugins/shade/pom/MavenJDOMWriter.java

Rule Violation Priority Line
UnusedNullCheckInEquals Invoke equals() on the object you've already ensured is not null 3 152

org/apache/maven/plugins/shade/resource/DontIncludeResourceTransformer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 39