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.wator.config.ComputerKurzweilProperties
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.config.ComputerKurzweilProperties.propertiesFactory(String, String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 1017 | Medium |
Exception is caught when Exception is not thrown in org.woehlke.computer.kurzweil.wator.config.ComputerKurzweilProperties.propertiesFactory(String, String) | STYLE | REC_CATCH_EXCEPTION | 1022 | Low |
org.woehlke.computer.kurzweil.wator.config.ComputerKurzweilProperties$Allinone$View
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Confusing to have methods org.woehlke.computer.kurzweil.wator.config.ComputerKurzweilProperties$Allinone$View.getSubtitle() and org.woehlke.computer.kurzweil.wator.view.tabs.SubTabImpl.getSubTitle() | BAD_PRACTICE | NM_CONFUSING | 104 | Low |
org.woehlke.computer.kurzweil.wator.control.WatorController
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.woehlke.computer.kurzweil.wator.control.WatorController(WatorModel, WatorCanvas, PopulationStatisticsElementsPanelLifeCycle, WatorFrame) may expose internal representation by storing an externally mutable object into WatorController.canvas | MALICIOUS_CODE | EI_EXPOSE_REP2 | 58 | Medium |
new org.woehlke.computer.kurzweil.wator.control.WatorController(WatorModel, WatorCanvas, PopulationStatisticsElementsPanelLifeCycle, WatorFrame) may expose internal representation by storing an externally mutable object into WatorController.panelLifeCycle | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
new org.woehlke.computer.kurzweil.wator.control.WatorController(WatorModel, WatorCanvas, PopulationStatisticsElementsPanelLifeCycle, WatorFrame) may expose internal representation by storing an externally mutable object into WatorController.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 60 | Medium |
Class org.woehlke.computer.kurzweil.wator.control.WatorController implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 24-89 | Low |
org.woehlke.computer.kurzweil.wator.model.WatorModel
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.model.WatorModel.getAllCells() may expose internal representation by returning WatorModel.cells | MALICIOUS_CODE | EI_EXPOSE_REP | 159 | Medium |
org.woehlke.computer.kurzweil.wator.model.WatorModel.getComputerKurzweilProperties() may expose internal representation by returning WatorModel.computerKurzweilProperties | MALICIOUS_CODE | EI_EXPOSE_REP | 79 | Medium |
org.woehlke.computer.kurzweil.wator.model.WatorModel.getWatorParameter() may expose internal representation by returning WatorModel.watorParameter | MALICIOUS_CODE | EI_EXPOSE_REP | 76 | Medium |
org.woehlke.computer.kurzweil.wator.model.WatorModel.getWatorPopulationCensusContainer() may expose internal representation by returning WatorModel.watorPopulationCensusContainer | MALICIOUS_CODE | EI_EXPOSE_REP | 73 | Medium |
org.woehlke.computer.kurzweil.wator.model.WatorModel.getWorldDimensions() may expose internal representation by returning WatorModel.worldDimensions | MALICIOUS_CODE | EI_EXPOSE_REP | 65 | Medium |
new org.woehlke.computer.kurzweil.wator.model.WatorModel(ComputerKurzweilProperties) may expose internal representation by storing an externally mutable object into WatorModel.computerKurzweilProperties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 83 | Medium |
Class org.woehlke.computer.kurzweil.wator.model.WatorModel defines non-transient non-serializable instance field computerKurzweilProperties | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
org.woehlke.computer.kurzweil.wator.model.cell.Cell
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.model.cell.Cell.getPosition() may expose internal representation by returning Cell.position | MALICIOUS_CODE | EI_EXPOSE_REP | 132 | Medium |
new org.woehlke.computer.kurzweil.wator.model.cell.Cell(WorldPoint, WorldPoint, Random) may expose internal representation by storing an externally mutable object into Cell.random | MALICIOUS_CODE | EI_EXPOSE_REP2 | 66 | Medium |
org.woehlke.computer.kurzweil.wator.model.cell.CellCore
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.woehlke.computer.kurzweil.wator.model.cell.CellCore(Random) may expose internal representation by storing an externally mutable object into CellCore.random | MALICIOUS_CODE | EI_EXPOSE_REP2 | 48 | Medium |
org.woehlke.computer.kurzweil.wator.model.cell.Orientation
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.model.cell.Orientation.getMove() may expose internal representation by returning Orientation.move | MALICIOUS_CODE | EI_EXPOSE_REP | 38 | Medium |
org.woehlke.computer.kurzweil.wator.model.census.WatorPopulationCensus
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in org.woehlke.computer.kurzweil.wator.model.census.WatorPopulationCensus.countStatusOfOneCell(LifeCycleStatus) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 46-63 | Medium |
org.woehlke.computer.kurzweil.wator.model.census.WatorPopulationCensus$1
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to $L0 in org.woehlke.computer.kurzweil.wator.model.census.WatorPopulationCensus$1.<static initializer for 1>() | STYLE | DLS_DEAD_LOCAL_STORE | 46 | Medium |
org.woehlke.computer.kurzweil.wator.model.census.WatorPopulationCensusContainer
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.model.census.WatorPopulationCensusContainer.peek() may expose internal representation by returning WatorPopulationCensusContainer.currentPopulationCensus | MALICIOUS_CODE | EI_EXPOSE_REP | 63 | Medium |
org.woehlke.computer.kurzweil.wator.model.census.WatorPopulationCensusContainer.push(WatorPopulationCensus) may expose internal representation by storing an externally mutable object into WatorPopulationCensusContainer.currentPopulationCensus | MALICIOUS_CODE | EI_EXPOSE_REP2 | 47 | Medium |
Increment of volatile field org.woehlke.computer.kurzweil.wator.model.census.WatorPopulationCensusContainer.worldIteration in org.woehlke.computer.kurzweil.wator.model.census.WatorPopulationCensusContainer.push(WatorPopulationCensus) | MT_CORRECTNESS | VO_VOLATILE_INCREMENT | 48 | High |
org.woehlke.computer.kurzweil.wator.model.lattice.LatticeNeighbourhood
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.model.lattice.LatticeNeighbourhood.getNeighbourhood() may expose internal representation by returning LatticeNeighbourhood.neighbourhood | MALICIOUS_CODE | EI_EXPOSE_REP | 32 | Medium |
org.woehlke.computer.kurzweil.wator.model.lattice.LatticePointNeighbourhoodPosition$1
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to $L0 in org.woehlke.computer.kurzweil.wator.model.lattice.LatticePointNeighbourhoodPosition$1.<static initializer for 1>() | STYLE | DLS_DEAD_LOCAL_STORE | 40 | Medium |
org.woehlke.computer.kurzweil.wator.model.lattice.WatorWorldLattice
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.woehlke.computer.kurzweil.wator.model.lattice.WatorWorldLattice(WorldPoint, Random) may expose internal representation by storing an externally mutable object into WatorWorldLattice.dimensions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
new org.woehlke.computer.kurzweil.wator.model.lattice.WatorWorldLattice(WorldPoint, Random) may expose internal representation by storing an externally mutable object into WatorWorldLattice.random | MALICIOUS_CODE | EI_EXPOSE_REP2 | 61 | Medium |
org.woehlke.computer.kurzweil.wator.view.WatorFrame
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.WatorFrame.getCanvas() may expose internal representation by returning WatorFrame.canvas | MALICIOUS_CODE | EI_EXPOSE_REP | 89 | Medium |
org.woehlke.computer.kurzweil.wator.view.WatorFrame.getComputerKurzweilProperties() may expose internal representation by returning WatorFrame.computerKurzweilProperties | MALICIOUS_CODE | EI_EXPOSE_REP | 69 | Medium |
org.woehlke.computer.kurzweil.wator.view.WatorFrame.getCopyrightLabel() may expose internal representation by returning WatorFrame.copyrightLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 79 | Medium |
org.woehlke.computer.kurzweil.wator.view.WatorFrame.getDimensionSize() may expose internal representation by returning WatorFrame.dimensionSize | MALICIOUS_CODE | EI_EXPOSE_REP | 103 | Medium |
org.woehlke.computer.kurzweil.wator.view.WatorFrame.getPanelLifeCycle() may expose internal representation by returning WatorFrame.panelLifeCycle | MALICIOUS_CODE | EI_EXPOSE_REP | 99 | Medium |
org.woehlke.computer.kurzweil.wator.view.WatorFrame.getRectangleBounds() may expose internal representation by returning WatorFrame.rectangleBounds | MALICIOUS_CODE | EI_EXPOSE_REP | 102 | Medium |
org.woehlke.computer.kurzweil.wator.view.WatorFrame.getSubTitleLabel() may expose internal representation by returning WatorFrame.subTitleLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 74 | Medium |
org.woehlke.computer.kurzweil.wator.view.WatorFrame.getWatorController() may expose internal representation by returning WatorFrame.watorController | MALICIOUS_CODE | EI_EXPOSE_REP | 84 | Medium |
org.woehlke.computer.kurzweil.wator.view.WatorFrame.getWatorParameter() may expose internal representation by returning WatorFrame.watorParameter | MALICIOUS_CODE | EI_EXPOSE_REP | 67 | Medium |
new org.woehlke.computer.kurzweil.wator.view.WatorFrame(ComputerKurzweilProperties) may expose internal representation by storing an externally mutable object into WatorFrame.computerKurzweilProperties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 107 | Medium |
Overridable method addWindowListener is called from constructor new org.woehlke.computer.kurzweil.wator.view.WatorFrame(ComputerKurzweilProperties). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 131 | Low |
Overridable method showMeInit is called from constructor new org.woehlke.computer.kurzweil.wator.view.WatorFrame(ComputerKurzweilProperties). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 132 | Low |
Class org.woehlke.computer.kurzweil.wator.view.WatorFrame implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 50-215 | Low |
Class org.woehlke.computer.kurzweil.wator.view.WatorFrame defines non-transient non-serializable instance field computerKurzweilProperties | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayDecreaseButton
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayDecreaseButton.getTab() may expose internal representation by returning FoodPerDayDecreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayDecreaseButton(WatorFrame) may expose internal representation by storing an externally mutable object into FoodPerDayDecreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayIncreaseButton
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayIncreaseButton.getTab() may expose internal representation by returning FoodPerDayIncreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayIncreaseButton(WatorFrame) may expose internal representation by storing an externally mutable object into FoodPerDayIncreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayLabel
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayLabel.getTab() may expose internal representation by returning FoodPerDayLabel.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayLabel(WatorFrame) may expose internal representation by storing an externally mutable object into FoodPerDayLabel.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayPanel
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayPanel.getFoodPerDayDecreaseButton() may expose internal representation by returning FoodPerDayPanel.foodPerDayDecreaseButton | MALICIOUS_CODE | EI_EXPOSE_REP | 35 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayPanel.getFoodPerDayIncreaseButton() may expose internal representation by returning FoodPerDayPanel.foodPerDayIncreaseButton | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayPanel.getFoodPerDayLabel() may expose internal representation by returning FoodPerDayPanel.foodPerDayLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 32 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayPanel.getFoodPerDayTextField() may expose internal representation by returning FoodPerDayPanel.foodPerDayTextField | MALICIOUS_CODE | EI_EXPOSE_REP | 33 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayPanel.getTab() may expose internal representation by returning FoodPerDayPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 30 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayPanel(WatorFrame) may expose internal representation by storing an externally mutable object into FoodPerDayPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 43 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayTextField
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayTextField.getTab() may expose internal representation by returning FoodPerDayTextField.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.food.FoodPerDayTextField(WatorFrame) may expose internal representation by storing an externally mutable object into FoodPerDayTextField.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenCheckBox
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenCheckBox.getTab() may expose internal representation by returning GardenOfEdenCheckBox.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenCheckBox(WatorFrame) may expose internal representation by storing an externally mutable object into GardenOfEdenCheckBox.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 41 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenPanel
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenPanel.getTab() may expose internal representation by returning GardenOfEdenPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 29 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenPanel(WatorFrame) may expose internal representation by storing an externally mutable object into GardenOfEdenPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenPanelRow
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenPanelRow.getButtonToggleGardenOfEden() may expose internal representation by returning GardenOfEdenPanelRow.buttonToggleGardenOfEden | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenPanelRow.getGardenOfEdenEnabled() may expose internal representation by returning GardenOfEdenPanelRow.gardenOfEdenEnabled | MALICIOUS_CODE | EI_EXPOSE_REP | 33 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenPanelRow.getTab() may expose internal representation by returning GardenOfEdenPanelRow.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 30 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenPanelRow(WatorFrame) may expose internal representation by storing an externally mutable object into GardenOfEdenPanelRow.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenToggleButton
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenToggleButton.getTab() may expose internal representation by returning GardenOfEdenToggleButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.garden.GardenOfEdenToggleButton(WatorFrame) may expose internal representation by storing an externally mutable object into GardenOfEdenToggleButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElement
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElement.getStatisticsElementLabel() may expose internal representation by returning PopulationStatisticsElement.statisticsElementLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 26 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElement.getStatisticsElementTextField() may expose internal representation by returning PopulationStatisticsElement.statisticsElementTextField | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelCounted
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelCounted.getGenerationOldestElement() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.generationOldestElement | MALICIOUS_CODE | EI_EXPOSE_REP | 39 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelCounted.getGenerationYoungestElement() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.generationYoungestElement | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelCounted.getLayout() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.layout | MALICIOUS_CODE | EI_EXPOSE_REP | 50 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelCounted.getLayoutSubPanel() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.layoutSubPanel | MALICIOUS_CODE | EI_EXPOSE_REP | 51 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelCounted.getPopulationElement() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.populationElement | MALICIOUS_CODE | EI_EXPOSE_REP | 38 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelCounted.getTab() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 48 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelCounted(WatorFrame) may expose internal representation by storing an externally mutable object into PopulationStatisticsElementsPanelCounted.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
Overridable method getProperties is called from constructor new org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelCounted(WatorFrame). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 64 | Low |
Overridable method update is called from constructor new org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelCounted(WatorFrame). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 84 | Low |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getFullAgeCellsElement() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.fullAgeCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getHungryCellsElement() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.hungryCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 42 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getLayout() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.layout | MALICIOUS_CODE | EI_EXPOSE_REP | 57 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getLayoutSubPanel() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.layoutSubPanel | MALICIOUS_CODE | EI_EXPOSE_REP | 58 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getOldCellsElement() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.oldCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 43 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getTab() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 60 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getWatorPopulationCensusContainer() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.watorPopulationCensusContainer | MALICIOUS_CODE | EI_EXPOSE_REP | 62 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getWholeGeneration() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.wholeGeneration | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getYoungAndFatCellsElement() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.youngAndFatCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getYoungCellsElement() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.youngCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 39 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle(WatorFrame, WatorPopulationCensusContainer) may expose internal representation by storing an externally mutable object into PopulationStatisticsElementsPanelLifeCycle.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 72 | Medium |
new org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle(WatorFrame, WatorPopulationCensusContainer) may expose internal representation by storing an externally mutable object into PopulationStatisticsElementsPanelLifeCycle.watorPopulationCensusContainer | MALICIOUS_CODE | EI_EXPOSE_REP2 | 73 | Medium |
Overridable method update is called from constructor new org.woehlke.computer.kurzweil.wator.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle(WatorFrame, WatorPopulationCensusContainer). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 103 | Low |
org.woehlke.computer.kurzweil.wator.view.tabs.SubTabImpl
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.tabs.SubTabImpl.getLayout() may expose internal representation by returning SubTabImpl.layout | MALICIOUS_CODE | EI_EXPOSE_REP | 38 | Medium |
org.woehlke.computer.kurzweil.wator.view.tabs.SubTabImpl.getProperties() may expose internal representation by returning SubTabImpl.properties | MALICIOUS_CODE | EI_EXPOSE_REP | 36 | Medium |
new org.woehlke.computer.kurzweil.wator.view.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 | 55 | Medium |
new org.woehlke.computer.kurzweil.wator.view.tabs.SubTabImpl(String, ComputerKurzweilProperties) may expose internal representation by storing an externally mutable object into SubTabImpl.properties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 68 | Medium |
Overridable method getProperties is called from constructor new org.woehlke.computer.kurzweil.wator.view.tabs.SubTabImpl(String, ComputerKurzweilProperties). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 69 | Low |
org.woehlke.computer.kurzweil.wator.view.widgets.PanelStartStopButtons
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.widgets.PanelStartStopButtons.getStartButton() may expose internal representation by returning PanelStartStopButtons.startButton | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
org.woehlke.computer.kurzweil.wator.view.widgets.PanelStartStopButtons.getStopButton() may expose internal representation by returning PanelStartStopButtons.stopButton | MALICIOUS_CODE | EI_EXPOSE_REP | 30 | Medium |
org.woehlke.computer.kurzweil.wator.view.widgets.PanelWithTitleBorder
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.wator.view.widgets.PanelWithTitleBorder.getPanelStartStopButtonsLayout() may expose internal representation by returning PanelWithTitleBorder.panelStartStopButtonsLayout | MALICIOUS_CODE | EI_EXPOSE_REP | 26 | Medium |