SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.4
Threshold is medium
Effort is max
Summary
Classes |
Bugs |
Errors |
Missing Classes |
95 |
25 |
0 |
0 |
org.codehaus.mojo.spotbugs.BaseViolationCheckMojo$_execute_closure1
Bug |
Category |
Details |
Line |
Priority |
Method org.codehaus.mojo.spotbugs.BaseViolationCheckMojo$_execute_closure1.doCall(Node) ignores return value of a non mutating method |
CORRECTNESS |
NPMC_NON_PRODUCTIVE_METHOD_CALL |
165 |
Medium |
org.codehaus.mojo.spotbugs.BaseViolationCheckMojoTest
org.codehaus.mojo.spotbugs.CheckMojoTest
org.codehaus.mojo.spotbugs.PluginArtifactTest
org.codehaus.mojo.spotbugs.ResourceHelperTest
org.codehaus.mojo.spotbugs.ResourceHelperTest$__spock_feature_0_0_closure1
Bug |
Category |
Details |
Line |
Priority |
Method org.codehaus.mojo.spotbugs.ResourceHelperTest$__spock_feature_0_0_closure1.doCall(Object) needlessly boxes a boolean constant |
PERFORMANCE |
NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION |
28 |
Medium |
org.codehaus.mojo.spotbugs.SourceFileIndexerTest
Bug |
Category |
Details |
Line |
Priority |
Method org.codehaus.mojo.spotbugs.SourceFileIndexerTest.$spock_feature_0_0() needlessly boxes a boolean constant |
PERFORMANCE |
NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION |
60 |
Medium |
org.codehaus.mojo.spotbugs.SpotBugsGuiTest
Bug |
Category |
Details |
Line |
Priority |
Null pointer dereference of $spock_feature_throwable in org.codehaus.mojo.spotbugs.SpotBugsGuiTest.$spock_feature_0_0() on exception path |
CORRECTNESS |
NP_ALWAYS_NULL_EXCEPTION |
66 |
Medium |
Null pointer dereference of $spock_feature_throwable in org.codehaus.mojo.spotbugs.SpotBugsGuiTest.$spock_feature_0_1() on exception path |
CORRECTNESS |
NP_ALWAYS_NULL_EXCEPTION |
102 |
Medium |
org.codehaus.mojo.spotbugs.SpotBugsGuiTest$__spock_feature_0_0_closure1
Bug |
Category |
Details |
Line |
Priority |
Method org.codehaus.mojo.spotbugs.SpotBugsGuiTest$__spock_feature_0_0_closure1.doCall(Object) needlessly boxes a boolean constant |
PERFORMANCE |
NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION |
61 |
Medium |
org.codehaus.mojo.spotbugs.SpotBugsGuiTest$__spock_feature_0_1_closure2
Bug |
Category |
Details |
Line |
Priority |
Method org.codehaus.mojo.spotbugs.SpotBugsGuiTest$__spock_feature_0_1_closure2.doCall(Object) needlessly boxes a boolean constant |
PERFORMANCE |
NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION |
98 |
Medium |
org.codehaus.mojo.spotbugs.SpotBugsInfoTest
Bug |
Category |
Details |
Line |
Priority |
Method org.codehaus.mojo.spotbugs.SpotBugsInfoTest.$spock_feature_0_0() is excessively complex, with a cyclomatic complexity of 82 |
STYLE |
CC_CYCLOMATIC_COMPLEXITY |
Not available |
Medium |
org.codehaus.mojo.spotbugs.SpotBugsMojo
Bug |
Category |
Details |
Line |
Priority |
Method org.codehaus.mojo.spotbugs.SpotBugsMojo.executeSpotbugs(File) is excessively complex, with a cyclomatic complexity of 60 |
STYLE |
CC_CYCLOMATIC_COMPLEXITY |
1050 |
Medium |
org.codehaus.mojo.spotbugs.SpotBugsMojoTest
org.codehaus.mojo.spotbugs.SpotBugsMojoTest$__spock_feature_0_1_closure1
Bug |
Category |
Details |
Line |
Priority |
Method org.codehaus.mojo.spotbugs.SpotBugsMojoTest$__spock_feature_0_1_closure1.doCall(Object) needlessly boxes a boolean constant |
PERFORMANCE |
NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION |
35 |
Medium |
org.codehaus.mojo.spotbugs.VerifyMojoTest
org.codehaus.mojo.spotbugs.XDocsReporter$_generateReport_closure1$_closure2$_closure4$_closure7$_closure8$_closure9
Bug |
Category |
Details |
Line |
Priority |
org.codehaus.mojo.spotbugs.XDocsReporter$_generateReport_closure1$_closure2$_closure4$_closure7$_closure8$_closure9.doCall(NodeChild): 1st parameter 'classNode' could be declared as groovy.lang.GroovyObject instead |
STYLE |
OCP_OVERLY_CONCRETE_PARAMETER |
150 |
Medium |
org.codehaus.mojo.spotbugs.XDocsReporterTest