The following document contains the results of SpotBugs
SpotBugs Version is 4.7.3
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
105 | 103 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.config.ComputerKurzweilProperties.propertiesFactory(String, String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 1132 | Medium |
Exception is caught when Exception is not thrown in org.woehlke.computer.kurzweil.conwaysgameoflive.config.ComputerKurzweilProperties.propertiesFactory(String, String) | STYLE | REC_CATCH_EXCEPTION | 1137 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to $L0 in org.woehlke.computer.kurzweil.conwaysgameoflive.config.ComputerKurzweilProperties$1.<static initializer for 1>() | STYLE | DLS_DEAD_LOCAL_STORE | 1146 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Confusing to have methods org.woehlke.computer.kurzweil.conwaysgameoflive.config.ComputerKurzweilProperties$Allinone$View.getSubtitle() and org.woehlke.computer.kurzweil.conwaysgameoflive.view.tabs.SubTabImpl.getSubTitle() | BAD_PRACTICE | NM_CONFUSING | 112 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to doMyJob in org.woehlke.computer.kurzweil.conwaysgameoflive.control.ConwaysGameOfLiveController.run() | STYLE | DLS_DEAD_LOCAL_STORE | 69 | Medium |
Synchronization on Boolean in org.woehlke.computer.kurzweil.conwaysgameoflive.control.ConwaysGameOfLiveController.exit() | MT_CORRECTNESS | DL_SYNCHRONIZATION_ON_BOOLEAN | 87 | High |
Synchronization on Boolean in org.woehlke.computer.kurzweil.conwaysgameoflive.control.ConwaysGameOfLiveController.run() | MT_CORRECTNESS | DL_SYNCHRONIZATION_ON_BOOLEAN | 68 | High |
new org.woehlke.computer.kurzweil.conwaysgameoflive.control.ConwaysGameOfLiveController(ConwaysGameOfLiveModel, ConwaysGameOfLiveCanvas, PopulationStatisticsElementsPanelLifeCycle, ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into ConwaysGameOfLiveController.canvas | MALICIOUS_CODE | EI_EXPOSE_REP2 | 57 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.control.ConwaysGameOfLiveController(ConwaysGameOfLiveModel, ConwaysGameOfLiveCanvas, PopulationStatisticsElementsPanelLifeCycle, ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into ConwaysGameOfLiveController.panelLifeCycle | MALICIOUS_CODE | EI_EXPOSE_REP2 | 58 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.control.ConwaysGameOfLiveController(ConwaysGameOfLiveModel, ConwaysGameOfLiveCanvas, PopulationStatisticsElementsPanelLifeCycle, ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into ConwaysGameOfLiveController.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
Synchronization on ConwaysGameOfLiveController.mySemaphore in futile attempt to guard it | MT_CORRECTNESS | ML_SYNC_ON_FIELD_TO_GUARD_CHANGING_THAT_FIELD | 88 | Medium |
Class org.woehlke.computer.kurzweil.conwaysgameoflive.control.ConwaysGameOfLiveController implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 23-90 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.model.ConwaysGameOfLiveModel.getAllCells() may expose internal representation by returning ConwaysGameOfLiveModel.cells | MALICIOUS_CODE | EI_EXPOSE_REP | 158 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.model.ConwaysGameOfLiveModel.getComputerKurzweilProperties() may expose internal representation by returning ConwaysGameOfLiveModel.computerKurzweilProperties | MALICIOUS_CODE | EI_EXPOSE_REP | 78 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.model.ConwaysGameOfLiveModel.getConwaysgameoflifePopulationCensusContainer() may expose internal representation by returning ConwaysGameOfLiveModel.conwaysgameoflifePopulationCensusContainer | MALICIOUS_CODE | EI_EXPOSE_REP | 72 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.model.ConwaysGameOfLiveModel.getSimulatedEvolutionParameter() may expose internal representation by returning ConwaysGameOfLiveModel.simulatedEvolutionParameter | MALICIOUS_CODE | EI_EXPOSE_REP | 75 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.model.ConwaysGameOfLiveModel.getWorldDimensions() may expose internal representation by returning ConwaysGameOfLiveModel.worldDimensions | MALICIOUS_CODE | EI_EXPOSE_REP | 64 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.model.ConwaysGameOfLiveModel(ComputerKurzweilProperties) may expose internal representation by storing an externally mutable object into ConwaysGameOfLiveModel.computerKurzweilProperties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 82 | Medium |
Class org.woehlke.computer.kurzweil.conwaysgameoflive.model.ConwaysGameOfLiveModel defines non-transient non-serializable instance field computerKurzweilProperties | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.model.cell.Cell.getPosition() may expose internal representation by returning Cell.position | MALICIOUS_CODE | EI_EXPOSE_REP | 132 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.woehlke.computer.kurzweil.conwaysgameoflive.model.cell.CellCore(Random) may expose internal representation by storing an externally mutable object into CellCore.random | MALICIOUS_CODE | EI_EXPOSE_REP2 | 48 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.model.cell.Orientation.getMove() may expose internal representation by returning Orientation.move | MALICIOUS_CODE | EI_EXPOSE_REP | 38 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.model.census.ConwaysGameOfLifePopulationCensusContainer.peek() may expose internal representation by returning ConwaysGameOfLifePopulationCensusContainer.currentPopulationCensus | MALICIOUS_CODE | EI_EXPOSE_REP | 62 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.model.census.ConwaysGameOfLifePopulationCensusContainer.push(ConwaysGameOfLivePopulationCensus) may expose internal representation by storing an externally mutable object into ConwaysGameOfLifePopulationCensusContainer.currentPopulationCensus | MALICIOUS_CODE | EI_EXPOSE_REP2 | 46 | Medium |
Increment of volatile field org.woehlke.computer.kurzweil.conwaysgameoflive.model.census.ConwaysGameOfLifePopulationCensusContainer.worldIteration in org.woehlke.computer.kurzweil.conwaysgameoflive.model.census.ConwaysGameOfLifePopulationCensusContainer.push(ConwaysGameOfLivePopulationCensus) | MT_CORRECTNESS | VO_VOLATILE_INCREMENT | 47 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in org.woehlke.computer.kurzweil.conwaysgameoflive.model.census.ConwaysGameOfLivePopulationCensus.countStatusOfOneCell(LifeCycleStatus) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 45-62 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to $L0 in org.woehlke.computer.kurzweil.conwaysgameoflive.model.census.ConwaysGameOfLivePopulationCensus$1.<static initializer for 1>() | STYLE | DLS_DEAD_LOCAL_STORE | 45 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.woehlke.computer.kurzweil.conwaysgameoflive.model.lattice.ConwaysGameOfLiveWorldLattice(WorldPoint, Random) may expose internal representation by storing an externally mutable object into ConwaysGameOfLiveWorldLattice.dimensions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 58 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.model.lattice.ConwaysGameOfLiveWorldLattice(WorldPoint, Random) may expose internal representation by storing an externally mutable object into ConwaysGameOfLiveWorldLattice.random | MALICIOUS_CODE | EI_EXPOSE_REP2 | 60 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.model.lattice.LatticeNeighbourhood.getNeighbourhood() may expose internal representation by returning LatticeNeighbourhood.neighbourhood | MALICIOUS_CODE | EI_EXPOSE_REP | 31 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to $L0 in org.woehlke.computer.kurzweil.conwaysgameoflive.model.lattice.LatticePointNeighbourhoodPosition$1.<static initializer for 1>() | STYLE | DLS_DEAD_LOCAL_STORE | 39 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab.getCanvas() may expose internal representation by returning ConwaysGameOfLiveTab.canvas | MALICIOUS_CODE | EI_EXPOSE_REP | 88 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab.getComputerKurzweilProperties() may expose internal representation by returning ConwaysGameOfLiveTab.computerKurzweilProperties | MALICIOUS_CODE | EI_EXPOSE_REP | 68 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab.getConwaysGameOfLiveController() may expose internal representation by returning ConwaysGameOfLiveTab.conwaysGameOfLiveController | MALICIOUS_CODE | EI_EXPOSE_REP | 83 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab.getCopyrightLabel() may expose internal representation by returning ConwaysGameOfLiveTab.copyrightLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 78 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab.getDimensionSize() may expose internal representation by returning ConwaysGameOfLiveTab.dimensionSize | MALICIOUS_CODE | EI_EXPOSE_REP | 102 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab.getPanelLifeCycle() may expose internal representation by returning ConwaysGameOfLiveTab.panelLifeCycle | MALICIOUS_CODE | EI_EXPOSE_REP | 98 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab.getRectangleBounds() may expose internal representation by returning ConwaysGameOfLiveTab.rectangleBounds | MALICIOUS_CODE | EI_EXPOSE_REP | 101 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab.getSimulatedEvolutionParameter() may expose internal representation by returning ConwaysGameOfLiveTab.simulatedEvolutionParameter | MALICIOUS_CODE | EI_EXPOSE_REP | 66 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab.getSubTitleLabel() may expose internal representation by returning ConwaysGameOfLiveTab.subTitleLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 73 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab(ComputerKurzweilProperties) may expose internal representation by storing an externally mutable object into ConwaysGameOfLiveTab.computerKurzweilProperties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 106 | Medium |
Overridable method addWindowListener is called from constructor new org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab(ComputerKurzweilProperties). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 130 | Low |
Overridable method pack is called from constructor new org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab(ComputerKurzweilProperties). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 131 | Low |
Overridable method showMe is called from constructor new org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab(ComputerKurzweilProperties). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 132 | Low |
Class org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 49-215 | Low |
Class org.woehlke.computer.kurzweil.conwaysgameoflive.view.ConwaysGameOfLiveTab defines non-transient non-serializable instance field computerKurzweilProperties | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayDecreaseButton.getTab() may expose internal representation by returning FoodPerDayDecreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayDecreaseButton(ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into FoodPerDayDecreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 34 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayIncreaseButton.getTab() may expose internal representation by returning FoodPerDayIncreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayIncreaseButton(ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into FoodPerDayIncreaseButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 34 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayLabel.getTab() may expose internal representation by returning FoodPerDayLabel.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayLabel(ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into FoodPerDayLabel.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 34 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayPanel.getFoodPerDayDecreaseButton() may expose internal representation by returning FoodPerDayPanel.foodPerDayDecreaseButton | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayPanel.getFoodPerDayIncreaseButton() may expose internal representation by returning FoodPerDayPanel.foodPerDayIncreaseButton | MALICIOUS_CODE | EI_EXPOSE_REP | 33 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayPanel.getFoodPerDayLabel() may expose internal representation by returning FoodPerDayPanel.foodPerDayLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 31 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayPanel.getFoodPerDayTextField() may expose internal representation by returning FoodPerDayPanel.foodPerDayTextField | MALICIOUS_CODE | EI_EXPOSE_REP | 32 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayPanel.getTab() may expose internal representation by returning FoodPerDayPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 29 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayPanel(ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into FoodPerDayPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 42 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayTextField.getTab() may expose internal representation by returning FoodPerDayTextField.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.food.FoodPerDayTextField(ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into FoodPerDayTextField.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.garden.GardenOfEdenCheckBox.getTab() may expose internal representation by returning GardenOfEdenCheckBox.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.garden.GardenOfEdenCheckBox(ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into GardenOfEdenCheckBox.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.garden.GardenOfEdenPanel.getTab() may expose internal representation by returning GardenOfEdenPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.garden.GardenOfEdenPanel(ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into GardenOfEdenPanel.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 34 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.garden.GardenOfEdenPanelRow.getButtonToggleGardenOfEden() may expose internal representation by returning GardenOfEdenPanelRow.buttonToggleGardenOfEden | MALICIOUS_CODE | EI_EXPOSE_REP | 33 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.garden.GardenOfEdenPanelRow.getGardenOfEdenEnabled() may expose internal representation by returning GardenOfEdenPanelRow.gardenOfEdenEnabled | MALICIOUS_CODE | EI_EXPOSE_REP | 32 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.garden.GardenOfEdenPanelRow.getTab() may expose internal representation by returning GardenOfEdenPanelRow.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 29 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.garden.GardenOfEdenPanelRow(ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into GardenOfEdenPanelRow.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 38 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.garden.GardenOfEdenToggleButton.getTab() may expose internal representation by returning GardenOfEdenToggleButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.garden.GardenOfEdenToggleButton(ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into GardenOfEdenToggleButton.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElement.getStatisticsElementLabel() may expose internal representation by returning PopulationStatisticsElement.statisticsElementLabel | MALICIOUS_CODE | EI_EXPOSE_REP | 25 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElement.getStatisticsElementTextField() may expose internal representation by returning PopulationStatisticsElement.statisticsElementTextField | MALICIOUS_CODE | EI_EXPOSE_REP | 26 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelCounted.getGenerationOldestElement() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.generationOldestElement | MALICIOUS_CODE | EI_EXPOSE_REP | 38 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelCounted.getGenerationYoungestElement() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.generationYoungestElement | MALICIOUS_CODE | EI_EXPOSE_REP | 39 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelCounted.getLayout() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.layout | MALICIOUS_CODE | EI_EXPOSE_REP | 49 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelCounted.getLayoutSubPanel() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.layoutSubPanel | MALICIOUS_CODE | EI_EXPOSE_REP | 50 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelCounted.getPopulationElement() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.populationElement | MALICIOUS_CODE | EI_EXPOSE_REP | 37 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelCounted.getTab() may expose internal representation by returning PopulationStatisticsElementsPanelCounted.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 47 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelCounted(ConwaysGameOfLiveTab) may expose internal representation by storing an externally mutable object into PopulationStatisticsElementsPanelCounted.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 58 | Medium |
Overridable method getProperties is called from constructor new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelCounted(ConwaysGameOfLiveTab). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 63 | Low |
Overridable method update is called from constructor new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelCounted(ConwaysGameOfLiveTab). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 83 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getCensusContainer() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.censusContainer | MALICIOUS_CODE | EI_EXPOSE_REP | 61 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getFullAgeCellsElement() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.fullAgeCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getHungryCellsElement() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.hungryCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getLayout() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.layout | MALICIOUS_CODE | EI_EXPOSE_REP | 56 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getLayoutSubPanel() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.layoutSubPanel | MALICIOUS_CODE | EI_EXPOSE_REP | 57 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getOldCellsElement() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.oldCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 42 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getTab() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.tab | MALICIOUS_CODE | EI_EXPOSE_REP | 59 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getWholeGeneration() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.wholeGeneration | MALICIOUS_CODE | EI_EXPOSE_REP | 43 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getYoungAndFatCellsElement() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.youngAndFatCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 39 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle.getYoungCellsElement() may expose internal representation by returning PopulationStatisticsElementsPanelLifeCycle.youngCellsElement | MALICIOUS_CODE | EI_EXPOSE_REP | 38 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle(ConwaysGameOfLiveTab, ConwaysGameOfLifePopulationCensusContainer) may expose internal representation by storing an externally mutable object into PopulationStatisticsElementsPanelLifeCycle.censusContainer | MALICIOUS_CODE | EI_EXPOSE_REP2 | 72 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle(ConwaysGameOfLiveTab, ConwaysGameOfLifePopulationCensusContainer) may expose internal representation by storing an externally mutable object into PopulationStatisticsElementsPanelLifeCycle.tab | MALICIOUS_CODE | EI_EXPOSE_REP2 | 71 | Medium |
Overridable method update is called from constructor new org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.population.PopulationStatisticsElementsPanelLifeCycle(ConwaysGameOfLiveTab, ConwaysGameOfLifePopulationCensusContainer). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 102 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.tabs.SubTabImpl.getLayout() may expose internal representation by returning SubTabImpl.layout | MALICIOUS_CODE | EI_EXPOSE_REP | 37 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.tabs.SubTabImpl.getProperties() may expose internal representation by returning SubTabImpl.properties | MALICIOUS_CODE | EI_EXPOSE_REP | 35 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.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 | 54 | Medium |
new org.woehlke.computer.kurzweil.conwaysgameoflive.view.tabs.SubTabImpl(String, ComputerKurzweilProperties) may expose internal representation by storing an externally mutable object into SubTabImpl.properties | MALICIOUS_CODE | EI_EXPOSE_REP2 | 67 | Medium |
Overridable method getProperties is called from constructor new org.woehlke.computer.kurzweil.conwaysgameoflive.view.tabs.SubTabImpl(String, ComputerKurzweilProperties). | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR | 68 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.widgets.PanelStartStopButtons.getStartButton() may expose internal representation by returning PanelStartStopButtons.startButton | MALICIOUS_CODE | EI_EXPOSE_REP | 27 | Medium |
org.woehlke.computer.kurzweil.conwaysgameoflive.view.widgets.PanelStartStopButtons.getStopButton() may expose internal representation by returning PanelStartStopButtons.stopButton | MALICIOUS_CODE | EI_EXPOSE_REP | 29 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.woehlke.computer.kurzweil.conwaysgameoflive.view.widgets.PanelWithTitleBorder.getPanelStartStopButtonsLayout() may expose internal representation by returning PanelWithTitleBorder.panelStartStopButtonsLayout | MALICIOUS_CODE | EI_EXPOSE_REP | 25 | Medium |