The following document contains the results of SpotBugs
SpotBugs Version is 4.1.3
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
12 | 14 | 0 | 0 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |