SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.7.3
Threshold is medium
Effort is default
Summary
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
100 | 97 | 0 | 0 |
Files
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayDecreaseButton
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayDecreaseButton.getTab() may expose internal representation by returning FoodPerDayDecreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayDecreaseButton(SimulatedEvolutionTab) may expose internal representation by storing an externally mutable object into FoodPerDayDecreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayIncreaseButton
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayIncreaseButton.getTab() may expose internal representation by returning FoodPerDayIncreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayIncreaseButton(SimulatedEvolutionTab) may expose internal representation by storing an externally mutable object into FoodPerDayIncreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayLabel
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayLabel.getTab() may expose internal representation by returning FoodPerDayLabel.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayLabel(SimulatedEvolutionTab) may expose internal representation by storing an externally mutable object into FoodPerDayLabel.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayPanel
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayPanel.getFoodPerDayDecreaseButton() may expose internal representation by returning FoodPerDayPanel.foodPerDayDecreaseButton | MALICIOUS_CODE | EI_EXPOSE_REP | 35 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayPanel.getFoodPerDayIncreaseButton() may expose internal representation by returning FoodPerDayPanel.foodPerDayIncreaseButton | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayPanel.getFoodPerDayLabel() may expose internal representation by returning FoodPerDayPanel.foodPerDayLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 32 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayPanel.getFoodPerDayTextField() may expose internal representation by returning FoodPerDayPanel.foodPerDayTextField | MALICIOUS_CODE | EI_EXPOSE_REP | 33 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayPanel.getTab() may expose internal representation by returning FoodPerDayPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 30 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayPanel(SimulatedEvolutionTab) may expose internal representation by storing an externally mutable object into FoodPerDayPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 43 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayTextField
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayTextField.getTab() may expose internal representation by returning FoodPerDayTextField.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.food.FoodPerDayTextField(SimulatedEvolutionTab) may expose internal representation by storing an externally mutable object into FoodPerDayTextField.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenCheckBox
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenCheckBox.getTab() may expose internal representation by returning GardenOfEdenCheckBox.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenCheckBox(SimulatedEvolutionTab) may expose internal representation by storing an externally mutable object into GardenOfEdenCheckBox.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 41 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenPanel
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenPanel.getTab() may expose internal representation by returning GardenOfEdenPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 29 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenPanel(SimulatedEvolutionTab) may expose internal representation by storing an externally mutable object into GardenOfEdenPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenPanelRow
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenPanelRow.getButtonToggleGardenOfEden() may expose internal representation by returning GardenOfEdenPanelRow.buttonToggleGardenOfEden | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenPanelRow.getGardenOfEdenEnabled() may expose internal representation by returning GardenOfEdenPanelRow.gardenOfEdenEnabled | MALICIOUS_CODE | EI_EXPOSE_REP | 33 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenPanelRow.getTab() may expose internal representation by returning GardenOfEdenPanelRow.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 30 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenPanelRow(SimulatedEvolutionTab) may expose internal representation by storing an externally mutable object into GardenOfEdenPanelRow.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenToggleButton
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenToggleButton.getTab() may expose internal representation by returning GardenOfEdenToggleButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.garden.GardenOfEdenToggleButton(SimulatedEvolutionTab) may expose internal representation by storing an externally mutable object into GardenOfEdenToggleButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.panels.PanelStartStopButtons
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.panels.PanelStartStopButtons.getStartButton() may expose internal representation by returning PanelStartStopButtons.startButton | MALICIOUS_CODE | EI_EXPOSE_REP | 29 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.panels.PanelStartStopButtons.getStopButton() may expose internal representation by returning PanelStartStopButtons.stopButton | MALICIOUS_CODE | EI_EXPOSE_REP | 31 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.panels.PanelWithTitleBorder
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.panels.PanelWithTitleBorder.getPanelStartStopButtonsLayout() may expose internal representation by returning PanelWithTitleBorder.panelStartStopButtonsLayout | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.tabs.SubTabImpl
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.tabs.SubTabImpl.getLayout() may expose internal representation by returning SubTabImpl.layout | MALICIOUS_CODE | EI_EXPOSE_REP | 39 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.tabs.SubTabImpl.getProperties() may expose internal representation by returning SubTabImpl.properties | MALICIOUS_CODE | EI_EXPOSE_REP | 37 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.tabs.SubTabImpl(String, String, String, Icon, int, ComputerKurzweilProperties) may expose internal representation by storing an externally mutable object into SubTabImpl.properties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 56 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.tabs.SubTabImpl(String, ComputerKurzweilProperties) may expose internal representation by storing an externally mutable object into SubTabImpl.properties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 69 | Medium |
Overridable method getProperties is called from constructor new org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.tabs.SubTabImpl(String, ComputerKurzweilProperties). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 70 | Low |
Confusing to have methods org.woehlke.computer.kurzweil.simulated.evolution.application.tmp.tabs.SubTabImpl.getSubTitle() and org.woehlke.computer.kurzweil.simulated.evolution.config.ComputerKurzweilProperties$Allinone$View.getSubtitle() | BAD_PRACTICE | NM_CONFUSING | 30 | Low |
org.woehlke.computer.kurzweil.simulated.evolution.config.ComputerKurzweilProperties
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.config.ComputerKurzweilProperties.propertiesFactory(String, String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 905 | Medium |
Exception is caught when Exception is not thrown in org.woehlke.computer.kurzweil.simulated.evolution.config.ComputerKurzweilProperties.propertiesFactory(String, String) | STYLE | REC_CATCH_EXCEPTION | 910 | Low |
org.woehlke.computer.kurzweil.simulated.evolution.control.SimulatedEvolutionController
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.woehlke.computer.kurzweil.simulated.evolution.control.SimulatedEvolutionController(SimulatedEvolutionModel, SimulatedEvolutionCanvas, SimulatedEvolutionTab) may expose internal representation by storing an externally mutable object into SimulatedEvolutionController.canvas | MALICIOUS_CODE | EI_EXPOSE_REP2 | 57 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.control.SimulatedEvolutionController(SimulatedEvolutionModel, SimulatedEvolutionCanvas, SimulatedEvolutionTab) may expose internal representation by storing an externally mutable object into SimulatedEvolutionController.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 55 | Medium |
Inconsistent synchronization of org.woehlke.computer.kurzweil.simulated.evolution.control.SimulatedEvolutionController.doMyJob; locked 33% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 80 | Medium |
Class org.woehlke.computer.kurzweil.simulated.evolution.control.SimulatedEvolutionController implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 24-85 | Low |
org.woehlke.computer.kurzweil.simulated.evolution.model.SimulatedEvolutionModel
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.model.SimulatedEvolutionModel.getAllCells() may expose internal representation by returning SimulatedEvolutionModel.cells | MALICIOUS_CODE | EI_EXPOSE_REP | 165 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.SimulatedEvolutionModel.getCensusContainer() may expose internal representation by returning SimulatedEvolutionModel.censusContainer | MALICIOUS_CODE | EI_EXPOSE_REP | 64 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.SimulatedEvolutionModel.getParameter() may expose internal representation by returning SimulatedEvolutionModel.parameter | MALICIOUS_CODE | EI_EXPOSE_REP | 67 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.SimulatedEvolutionModel.getProperties() may expose internal representation by returning SimulatedEvolutionModel.properties | MALICIOUS_CODE | EI_EXPOSE_REP | 70 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.SimulatedEvolutionModel.getWorldDimensions() may expose internal representation by returning SimulatedEvolutionModel.worldDimensions | MALICIOUS_CODE | EI_EXPOSE_REP | 56 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.model.SimulatedEvolutionModel(ComputerKurzweilProperties) may expose internal representation by storing an externally mutable object into SimulatedEvolutionModel.properties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 84 | Medium |
Class org.woehlke.computer.kurzweil.simulated.evolution.model.SimulatedEvolutionModel defines non-transient non-serializable instance field properties | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
org.woehlke.computer.kurzweil.simulated.evolution.model.cell.Cell
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.model.cell.Cell.getPosition() may expose internal representation by returning Cell.position | MALICIOUS_CODE | EI_EXPOSE_REP | 139 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.model.cell.Cell(LatticePoint, LatticePoint, Random) may expose internal representation by storing an externally mutable object into Cell.random | MALICIOUS_CODE | EI_EXPOSE_REP2 | 70 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.cell.CellCore
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.woehlke.computer.kurzweil.simulated.evolution.model.cell.CellCore(Random) may expose internal representation by storing an externally mutable object into CellCore.random | MALICIOUS_CODE | EI_EXPOSE_REP2 | 49 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.cell.Orientation
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.model.cell.Orientation.getMove() may expose internal representation by returning Orientation.move | MALICIOUS_CODE | EI_EXPOSE_REP | 38 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.census.SimulatedEvolutionPopulationCensus
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in org.woehlke.computer.kurzweil.simulated.evolution.model.census.SimulatedEvolutionPopulationCensus.countStatusOfOneCell(LifeCycleStatus, long) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 42-48 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.census.SimulatedEvolutionPopulationCensus$1
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to $L0 in org.woehlke.computer.kurzweil.simulated.evolution.model.census.SimulatedEvolutionPopulationCensus$1.<static initializer for 1>() | STYLE | DLS_DEAD_LOCAL_STORE | 42 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.census.SimulatedEvolutionPopulationCensusContainer
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.model.census.SimulatedEvolutionPopulationCensusContainer.peek() may expose internal representation by returning SimulatedEvolutionPopulationCensusContainer.currentPopulationCensus | MALICIOUS_CODE | EI_EXPOSE_REP | 62 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.census.SimulatedEvolutionPopulationCensusContainer.push(SimulatedEvolutionPopulationCensus) may expose internal representation by storing an externally mutable object into SimulatedEvolutionPopulationCensusContainer.currentPopulationCensus | MALICIOUS_CODE | EI_EXPOSE_REP2 | 47 | Medium |
Increment of volatile field org.woehlke.computer.kurzweil.simulated.evolution.model.census.SimulatedEvolutionPopulationCensusContainer.worldIteration in org.woehlke.computer.kurzweil.simulated.evolution.model.census.SimulatedEvolutionPopulationCensusContainer.push(SimulatedEvolutionPopulationCensus) | MT_CORRECTNESS | VO_VOLATILE_INCREMENT | 48 | High |
org.woehlke.computer.kurzweil.simulated.evolution.model.food.SimulatedEvolutionWorldLattice
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.woehlke.computer.kurzweil.simulated.evolution.model.food.SimulatedEvolutionWorldLattice(LatticePoint, Random) may expose internal representation by storing an externally mutable object into SimulatedEvolutionWorldLattice.dimensions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 60 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.model.food.SimulatedEvolutionWorldLattice(LatticePoint, Random) may expose internal representation by storing an externally mutable object into SimulatedEvolutionWorldLattice.random | MALICIOUS_CODE | EI_EXPOSE_REP2 | 62 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.geometry.LatticeRectangle
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.model.geometry.LatticeRectangle.getDimension() may expose internal representation by returning LatticeRectangle.dimension | MALICIOUS_CODE | EI_EXPOSE_REP | 20 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.geometry.LatticeRectangle.getStart() may expose internal representation by returning LatticeRectangle.start | MALICIOUS_CODE | EI_EXPOSE_REP | 18 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.model.geometry.LatticeRectangle(LatticePoint, LatticeDimension) may expose internal representation by storing an externally mutable object into LatticeRectangle.dimension | MALICIOUS_CODE | EI_EXPOSE_REP2 | 11 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.model.geometry.LatticeRectangle(LatticePoint, LatticeDimension) may expose internal representation by storing an externally mutable object into LatticeRectangle.start | MALICIOUS_CODE | EI_EXPOSE_REP2 | 11 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.neighbourhood.LatticePointNeighbourhood
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.model.neighbourhood.LatticePointNeighbourhood.getNeighbourhood() may expose internal representation by returning LatticePointNeighbourhood.neighbourhood | MALICIOUS_CODE | EI_EXPOSE_REP | 33 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.model.neighbourhood.LatticePointNeighbourhoodPosition$1
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to $L0 in org.woehlke.computer.kurzweil.simulated.evolution.model.neighbourhood.LatticePointNeighbourhoodPosition$1.<static initializer for 1>() | STYLE | DLS_DEAD_LOCAL_STORE | 40 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab.shutdown() invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 188 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab.getCanvas() may expose internal representation by returning SimulatedEvolutionTab.canvas | MALICIOUS_CODE | EI_EXPOSE_REP | 81 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab.getCensusPanel() may expose internal representation by returning SimulatedEvolutionTab.censusPanel | MALICIOUS_CODE | EI_EXPOSE_REP | 92 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab.getController() may expose internal representation by returning SimulatedEvolutionTab.controller | MALICIOUS_CODE | EI_EXPOSE_REP | 76 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab.getCopyrightLabel() may expose internal representation by returning SimulatedEvolutionTab.copyrightLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 71 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab.getParameter() may expose internal representation by returning SimulatedEvolutionTab.parameter | MALICIOUS_CODE | EI_EXPOSE_REP | 97 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab.getProperties() may expose internal representation by returning SimulatedEvolutionTab.properties | MALICIOUS_CODE | EI_EXPOSE_REP | 102 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab.getSubTitleLabel() may expose internal representation by returning SimulatedEvolutionTab.subTitleLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 66 | Medium |
new org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab(ComputerKurzweilProperties) may expose internal representation by storing an externally mutable object into SimulatedEvolutionTab.properties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 112 | Medium |
Overridable method addWindowListener is called from constructor new org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab(ComputerKurzweilProperties). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 131 | Low |
Overridable method showMeInit is called from constructor new org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab(ComputerKurzweilProperties). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 132 | Low |
Class org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 54-219 | Low |
Class org.woehlke.computer.kurzweil.simulated.evolution.view.SimulatedEvolutionTab defines non-transient non-serializable instance field properties | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.canvas.CensusCanvas
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.view.canvas.CensusCanvas.getCanvasdDimensions() may expose internal representation by returning CensusCanvas.canvasdDimensions | MALICIOUS_CODE | EI_EXPOSE_REP | 42 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.canvas.CensusCanvas.getContainer() may expose internal representation by returning CensusCanvas.container | MALICIOUS_CODE | EI_EXPOSE_REP | 38 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.canvas.SimulatedEvolutionCanvas
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.view.canvas.SimulatedEvolutionCanvas.getWorldDimensions() may expose internal representation by returning SimulatedEvolutionCanvas.worldDimensions | MALICIOUS_CODE | EI_EXPOSE_REP | 37 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElement
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElement.getStatisticsElementLabel() may expose internal representation by returning CensusElement.statisticsElementLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 26 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElement.getStatisticsElementTextField() may expose internal representation by returning CensusElement.statisticsElementTextField | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelCounted
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelCounted.getContainer() may expose internal representation by returning CensusElementsPanelCounted.container | MALICIOUS_CODE | EI_EXPOSE_REP | 39 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelCounted.getGenerationOldest() may expose internal representation by returning CensusElementsPanelCounted.generationOldest | MALICIOUS_CODE | EI_EXPOSE_REP | 37 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelCounted.getGenerationYoungest() may expose internal representation by returning CensusElementsPanelCounted.generationYoungest | MALICIOUS_CODE | EI_EXPOSE_REP | 36 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelCounted.getWorldIteration() may expose internal representation by returning CensusElementsPanelCounted.worldIteration | MALICIOUS_CODE | EI_EXPOSE_REP | 35 | Medium |
Overridable method update is called from constructor new org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelCounted(SimulatedEvolutionTab). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 56 | Low |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelLifeCycle
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelLifeCycle.getContainer() may expose internal representation by returning CensusElementsPanelLifeCycle.container | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelLifeCycle.getFullAgeCellsElement() may expose internal representation by returning CensusElementsPanelLifeCycle.fullAgeCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 39 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelLifeCycle.getHungryCellsElement() may expose internal representation by returning CensusElementsPanelLifeCycle.hungryCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelLifeCycle.getOldCellsElement() may expose internal representation by returning CensusElementsPanelLifeCycle.oldCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelLifeCycle.getWholeGeneration() may expose internal representation by returning CensusElementsPanelLifeCycle.wholeGeneration | MALICIOUS_CODE | EI_EXPOSE_REP | 42 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelLifeCycle.getYoungAndFatCellsElement() may expose internal representation by returning CensusElementsPanelLifeCycle.youngAndFatCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 38 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelLifeCycle.getYoungCellsElement() may expose internal representation by returning CensusElementsPanelLifeCycle.youngCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 37 | Medium |
Overridable method update is called from constructor new org.woehlke.computer.kurzweil.simulated.evolution.view.census.CensusElementsPanelLifeCycle(SimulatedEvolutionTab). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 72 | Low |
org.woehlke.computer.kurzweil.simulated.evolution.view.panels.CensusPanel
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.simulated.evolution.view.panels.CensusPanel.getCensusCanvas() may expose internal representation by returning CensusPanel.censusCanvas | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.panels.CensusPanel.getPanelCounter() may expose internal representation by returning CensusPanel.panelCounter | MALICIOUS_CODE | EI_EXPOSE_REP | 29 | Medium |
org.woehlke.computer.kurzweil.simulated.evolution.view.panels.CensusPanel.getPanelLifeCycle() may expose internal representation by returning CensusPanel.panelLifeCycle | MALICIOUS_CODE | EI_EXPOSE_REP | 24 | Medium |