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
9 8 0 0

Files

Class Bugs
org.woehlke.computer.kurzweil.tabs.dla.DiffusionLimitedAggregationDesktop 1
org.woehlke.computer.kurzweil.tabs.dla.control.ControllerThread 4
org.woehlke.computer.kurzweil.tabs.dla.model.Particles 1
org.woehlke.computer.kurzweil.tabs.dla.view.applet.DiffusionLimitedAggregationApplet 1
org.woehlke.computer.kurzweil.tabs.dla.view.desktop.DiffusionLimitedAggregationFrame 1

org.woehlke.computer.kurzweil.tabs.dla.DiffusionLimitedAggregationDesktop

Bug Category Details Line Priority
Dead store to diffusionLimitedAggregation in org.woehlke.computer.kurzweil.tabs.dla.DiffusionLimitedAggregationDesktop.main(String[]) STYLE DLS_DEAD_LOCAL_STORE 21 Medium

org.woehlke.computer.kurzweil.tabs.dla.control.ControllerThread

Bug Category Details Line Priority
Synchronization on Boolean in org.woehlke.computer.kurzweil.tabs.dla.control.ControllerThread.exit() MT_CORRECTNESS DL_SYNCHRONIZATION_ON_BOOLEAN 49 High
Synchronization on Boolean in org.woehlke.computer.kurzweil.tabs.dla.control.ControllerThread.run() MT_CORRECTNESS DL_SYNCHRONIZATION_ON_BOOLEAN 37 High
Synchronization on ControllerThread.goOn in futile attempt to guard it MT_CORRECTNESS ML_SYNC_ON_FIELD_TO_GUARD_CHANGING_THAT_FIELD 50 Medium
Class org.woehlke.computer.kurzweil.tabs.dla.control.ControllerThread implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 28-52 Low

org.woehlke.computer.kurzweil.tabs.dla.model.Particles

Bug Category Details Line Priority
Switch statement found in org.woehlke.computer.kurzweil.tabs.dla.model.Particles.move() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 54-58 Medium

org.woehlke.computer.kurzweil.tabs.dla.view.applet.DiffusionLimitedAggregationApplet

Bug Category Details Line Priority
Class org.woehlke.computer.kurzweil.tabs.dla.view.applet.DiffusionLimitedAggregationApplet implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 25-57 Low

org.woehlke.computer.kurzweil.tabs.dla.view.desktop.DiffusionLimitedAggregationFrame

Bug Category Details Line Priority
Class org.woehlke.computer.kurzweil.tabs.dla.view.desktop.DiffusionLimitedAggregationFrame implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 36-76 Low