Fork me on GitHub

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

Files

Class Bugs
org.codehaus.mojo.spotbugs.BaseViolationCheckMojo$_execute_closure1 1
org.codehaus.mojo.spotbugs.BaseViolationCheckMojoTest 6
org.codehaus.mojo.spotbugs.CheckMojoTest 1
org.codehaus.mojo.spotbugs.PluginArtifactTest 1
org.codehaus.mojo.spotbugs.ResourceHelperTest 1
org.codehaus.mojo.spotbugs.ResourceHelperTest$__spock_feature_0_0_closure1 1
org.codehaus.mojo.spotbugs.SourceFileIndexerTest 1
org.codehaus.mojo.spotbugs.SpotBugsGuiTest 2
org.codehaus.mojo.spotbugs.SpotBugsGuiTest$__spock_feature_0_0_closure1 1
org.codehaus.mojo.spotbugs.SpotBugsGuiTest$__spock_feature_0_1_closure2 1
org.codehaus.mojo.spotbugs.SpotBugsInfoTest 1
org.codehaus.mojo.spotbugs.SpotBugsMojo 1
org.codehaus.mojo.spotbugs.SpotBugsMojoTest 1
org.codehaus.mojo.spotbugs.SpotBugsMojoTest$__spock_feature_0_1_closure1 1
org.codehaus.mojo.spotbugs.VerifyMojoTest 1
org.codehaus.mojo.spotbugs.XDocsReporter$_generateReport_closure1$_closure2$_closure4$_closure7$_closure8$_closure9 1
org.codehaus.mojo.spotbugs.XDocsReporterTest 3

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

Bug Category Details Line Priority
Method org.codehaus.mojo.spotbugs.BaseViolationCheckMojoTest.$spock_feature_0_0() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 31 Medium
Method org.codehaus.mojo.spotbugs.BaseViolationCheckMojoTest.$spock_feature_0_1() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 40 Medium
Method org.codehaus.mojo.spotbugs.BaseViolationCheckMojoTest.$spock_feature_0_1() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 41 Medium
Method org.codehaus.mojo.spotbugs.BaseViolationCheckMojoTest.$spock_feature_0_1() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 42 Medium
Method org.codehaus.mojo.spotbugs.BaseViolationCheckMojoTest.$spock_feature_0_1() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 43 Medium
Method org.codehaus.mojo.spotbugs.BaseViolationCheckMojoTest.$spock_feature_0_1() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 45 Medium

org.codehaus.mojo.spotbugs.CheckMojoTest

Bug Category Details Line Priority
Method org.codehaus.mojo.spotbugs.CheckMojoTest.$spock_feature_0_0() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 26 Medium

org.codehaus.mojo.spotbugs.PluginArtifactTest

Bug Category Details Line Priority
Method org.codehaus.mojo.spotbugs.PluginArtifactTest.$spock_feature_0_0() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 26 Medium

org.codehaus.mojo.spotbugs.ResourceHelperTest

Bug Category Details Line Priority
Method org.codehaus.mojo.spotbugs.ResourceHelperTest.$spock_feature_0_0() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 41 Medium

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

Bug Category Details Line Priority
Method org.codehaus.mojo.spotbugs.SpotBugsMojoTest.$spock_feature_0_0() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 29 Medium

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

Bug Category Details Line Priority
Method org.codehaus.mojo.spotbugs.VerifyMojoTest.$spock_feature_0_0() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 26 Medium

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

Bug Category Details Line Priority
Method org.codehaus.mojo.spotbugs.XDocsReporterTest.$spock_feature_0_1() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 79 Medium
Method org.codehaus.mojo.spotbugs.XDocsReporterTest.$spock_feature_0_1() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 80 Medium
Method org.codehaus.mojo.spotbugs.XDocsReporterTest.$spock_feature_0_1() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 81 Medium