Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.46.0.

Violations By Priority

Priority 3

Animal Sniffer Maven Enforcer Rule - org/codehaus/mojo/animal_sniffer/enforcer/CheckSignatureRule.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 268271
CollapsibleIfStatements These nested if statements could be combined 275278

Animal Sniffer Maven Plugin - org/codehaus/mojo/animal_sniffer/maven/CheckSignatureMojo.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 349352
CollapsibleIfStatements These nested if statements could be combined 356359

Animal Sniffer Maven Plugin - org/codehaus/mojo/animal_sniffer/maven/JdkToolchainConverter.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'expressionEvaluator'. 69

Animal Sniffer - org/codehaus/mojo/animal_sniffer/ClassFileVisitor.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'inputStream': resource specifications are implicitly final 153

Animal Sniffer - org/codehaus/mojo/animal_sniffer/Main.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 108110

Animal Sniffer - org/codehaus/mojo/animal_sniffer/SignatureChecker.java

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

Animal Sniffer - org/codehaus/mojo/animal_sniffer/SignatureMerger.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'logger'. 49

Java boot classpath detector - org/codehaus/mojo/animal_sniffer/jbcpd/ShowClassPath.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 6769
EmptyCatchBlock Avoid empty catch blocks 7375

Priority 4

Animal Sniffer Maven Enforcer Rule - org/codehaus/mojo/animal_sniffer/enforcer/CheckSignatureRule.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.Iterator' 54
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.maven.artifact.Artifact' due to existing import 'org.apache.maven.artifact.Artifact' 182

Animal Sniffer Maven Plugin - org/codehaus/mojo/animal_sniffer/maven/CheckSignatureMojo.java

Rule Violation Line
UnnecessaryImport Unused import 'java.io.InputStream' 54

Animal Sniffer - org/codehaus/mojo/animal_sniffer/SignatureChecker.java

Rule Violation Line
UselessParentheses Useless parentheses. 319

Files

Animal Sniffer Maven Enforcer Rule - org/codehaus/mojo/animal_sniffer/enforcer/CheckSignatureRule.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.util.Iterator' 4 54
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.maven.artifact.Artifact' due to existing import 'org.apache.maven.artifact.Artifact' 4 182
CollapsibleIfStatements These nested if statements could be combined 3 268271
CollapsibleIfStatements These nested if statements could be combined 3 275278

Animal Sniffer Maven Plugin - org/codehaus/mojo/animal_sniffer/maven/CheckSignatureMojo.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'java.io.InputStream' 4 54
CollapsibleIfStatements These nested if statements could be combined 3 349352
CollapsibleIfStatements These nested if statements could be combined 3 356359

Animal Sniffer Maven Plugin - org/codehaus/mojo/animal_sniffer/maven/JdkToolchainConverter.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'expressionEvaluator'. 3 69

Animal Sniffer - org/codehaus/mojo/animal_sniffer/ClassFileVisitor.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'inputStream': resource specifications are implicitly final 3 153

Animal Sniffer - org/codehaus/mojo/animal_sniffer/Main.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 108110

Animal Sniffer - org/codehaus/mojo/animal_sniffer/SignatureChecker.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 319
CollapsibleIfStatements These nested if statements could be combined 3 396404

Animal Sniffer - org/codehaus/mojo/animal_sniffer/SignatureMerger.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'logger'. 3 49

Java boot classpath detector - org/codehaus/mojo/animal_sniffer/jbcpd/ShowClassPath.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 6769
EmptyCatchBlock Avoid empty catch blocks 3 7375