PMD Results

The following document contains the results of PMD 6.46.0.

Violations By Priority

Priority 3

org/apache/maven/plugins/shade/filter/MinijarFilter.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'jar': resource specifications are implicitly final 162
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'configFileReader': resource specifications are implicitly final 179180

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

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

Priority 4

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

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

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

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

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

Rule Violation Line
UselessParentheses Useless parentheses. 202

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

Rule Violation Line
UselessParentheses Useless parentheses. 202

org/apache/maven/plugins/shade/resource/properties/PropertiesTransformer.java

Rule Violation Line
UselessParentheses Useless parentheses. 185
UselessParentheses Useless parentheses. 186

Files

org/apache/maven/plugins/shade/filter/MinijarFilter.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'jar': resource specifications are implicitly final 3 162
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'configFileReader': resource specifications are implicitly final 3 179180

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 65
UselessParentheses Useless parentheses. 4 66
UselessParentheses Useless parentheses. 4 67
UselessParentheses Useless parentheses. 4 68
UselessParentheses Useless parentheses. 4 68
UselessParentheses Useless parentheses. 4 68

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

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.maven.plugins.shade.Shader' due to existing import 'org.apache.maven.plugins.shade.Shader' 4 110
CollapsibleIfStatements These nested if statements could be combined 3 13461358

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 202

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 202

org/apache/maven/plugins/shade/resource/properties/PropertiesTransformer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 185
UselessParentheses Useless parentheses. 4 186