SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.1.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
12 14 0 0

Files

Class Bugs
org.woehlke.computer.kurzweil.cyclic.cellular.automaton.CyclicCellularAutomatonApplication 1
org.woehlke.computer.kurzweil.cyclic.cellular.automaton.config.Config 1
org.woehlke.computer.kurzweil.cyclic.cellular.automaton.control.CyclicCellularAutomatonController 5
org.woehlke.computer.kurzweil.cyclic.cellular.automaton.model.CyclicCellularAutomatonLattice 2
org.woehlke.computer.kurzweil.cyclic.cellular.automaton.view.CyclicCellularAutomatonCanvas 1
org.woehlke.computer.kurzweil.cyclic.cellular.automaton.view.CyclicCellularAutomatonFrame 3
org.woehlke.computer.kurzweil.cyclic.cellular.automaton.view.PanelButtons 1

org.woehlke.computer.kurzweil.cyclic.cellular.automaton.CyclicCellularAutomatonApplication

Bug Category Details Line Priority
Dead store to frame in org.woehlke.computer.kurzweil.cyclic.cellular.automaton.CyclicCellularAutomatonApplication.main(String[]) STYLE DLS_DEAD_LOCAL_STORE 23 Medium

org.woehlke.computer.kurzweil.cyclic.cellular.automaton.config.Config

Bug Category Details Line Priority
Dead store to $L5 in new org.woehlke.computer.kurzweil.cyclic.cellular.automaton.config.Config() STYLE DLS_DEAD_LOCAL_STORE 28 Medium

org.woehlke.computer.kurzweil.cyclic.cellular.automaton.control.CyclicCellularAutomatonController

Bug Category Details Line Priority
Synchronization on Boolean in org.woehlke.computer.kurzweil.cyclic.cellular.automaton.control.CyclicCellularAutomatonController.exit() MT_CORRECTNESS DL_SYNCHRONIZATION_ON_BOOLEAN 48 High
Synchronization on Boolean in org.woehlke.computer.kurzweil.cyclic.cellular.automaton.control.CyclicCellularAutomatonController.run() MT_CORRECTNESS DL_SYNCHRONIZATION_ON_BOOLEAN 36 High
Synchronization on CyclicCellularAutomatonController.goOn in futile attempt to guard it MT_CORRECTNESS ML_SYNC_ON_FIELD_TO_GUARD_CHANGING_THAT_FIELD 49 Medium
Class org.woehlke.computer.kurzweil.cyclic.cellular.automaton.control.CyclicCellularAutomatonController implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 28-64 Low
Class org.woehlke.computer.kurzweil.cyclic.cellular.automaton.control.CyclicCellularAutomatonController defines non-transient non-serializable instance field ctx BAD_PRACTICE SE_BAD_FIELD Not available High

org.woehlke.computer.kurzweil.cyclic.cellular.automaton.model.CyclicCellularAutomatonLattice

Bug Category Details Line Priority
Class org.woehlke.computer.kurzweil.cyclic.cellular.automaton.model.CyclicCellularAutomatonLattice defines non-transient non-serializable instance field ctx BAD_PRACTICE SE_BAD_FIELD Not available High
org.woehlke.computer.kurzweil.cyclic.cellular.automaton.model.CyclicCellularAutomatonLattice.lattice is a volatile reference to an array; the array elements are non-volatile MT_CORRECTNESS VO_VOLATILE_REFERENCE_TO_ARRAY Not available Low

org.woehlke.computer.kurzweil.cyclic.cellular.automaton.view.CyclicCellularAutomatonCanvas

Bug Category Details Line Priority
Class org.woehlke.computer.kurzweil.cyclic.cellular.automaton.view.CyclicCellularAutomatonCanvas defines non-transient non-serializable instance field ctx BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.woehlke.computer.kurzweil.cyclic.cellular.automaton.view.CyclicCellularAutomatonFrame

Bug Category Details Line Priority
Class org.woehlke.computer.kurzweil.cyclic.cellular.automaton.view.CyclicCellularAutomatonFrame implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 33-76 Low
new org.woehlke.computer.kurzweil.cyclic.cellular.automaton.view.CyclicCellularAutomatonFrame(ObjectRegistry) invokes org.woehlke.computer.kurzweil.cyclic.cellular.automaton.control.CyclicCellularAutomatonController.start() MT_CORRECTNESS SC_START_IN_CTOR 42 Medium
Class org.woehlke.computer.kurzweil.cyclic.cellular.automaton.view.CyclicCellularAutomatonFrame defines non-transient non-serializable instance field ctx BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.woehlke.computer.kurzweil.cyclic.cellular.automaton.view.PanelButtons

Bug Category Details Line Priority
Class org.woehlke.computer.kurzweil.cyclic.cellular.automaton.view.PanelButtons defines non-transient non-serializable instance field ctx BAD_PRACTICE SE_BAD_FIELD Not available Low