PMD Results

The following document contains the results of PMD 5.6.1.

Files

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

Violation Line
Useless parentheses. 65
Useless parentheses. 66
Useless parentheses. 67
Useless parentheses. 68
Useless parentheses. 68
Useless parentheses. 68

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

Violation Line
Ternary operators that can be simplified with || or && 76

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

Violation Line
Unnecessary use of fully qualified name 'org.apache.maven.plugins.shade.Shader' due to existing import 'org.apache.maven.plugins.shade.Shader' 113

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

Violation Line
The null check here is misplaced; if the variable is null there will be a NullPointerException 158
The null check here is misplaced; if the variable is null there will be a NullPointerException 158
Useless parentheses. 158
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 181
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 669

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

Violation Line
Useless parentheses. 201

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

Violation Line
Ternary operators that can be simplified with || or && 57

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

Violation Line
Useless parentheses. 202