The following document contains the results of SpotBugs
SpotBugs Version is 4.8.4
Threshold is medium
Effort is default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 12 | 10 | 0 | 0 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Overridable method readFloat is called from readObject. | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT | 136 | Medium |
| Overridable method readInt is called from readObject. | MALICIOUS_CODE | MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT | 127 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.animation.gis.map.Feature.getShapes() may expose internal representation by returning Feature.shapes | MALICIOUS_CODE | EI_EXPOSE_REP | 117 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to scale in nl.tudelft.simulation.dsol.animation.gis.map.GisMap.drawMap(Graphics2D) | STYLE | DLS_DEAD_LOCAL_STORE | 205 | Medium |
| nl.tudelft.simulation.dsol.animation.gis.map.GisMap.getImage() may expose internal representation by returning GisMap.image | MALICIOUS_CODE | EI_EXPOSE_REP | 279 | Medium |
| nl.tudelft.simulation.dsol.animation.gis.map.GisMap.setImage(MapImageInterface) may expose internal representation by storing an externally mutable object into GisMap.image | MALICIOUS_CODE | EI_EXPOSE_REP2 | 346 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.animation.gis.map.Layer.getFeatures() may expose internal representation by returning Layer.features | MALICIOUS_CODE | EI_EXPOSE_REP | 42 | Medium |
| nl.tudelft.simulation.dsol.animation.gis.map.Layer.setFeatures(List) may expose internal representation by storing an externally mutable object into Layer.features | MALICIOUS_CODE | EI_EXPOSE_REP2 | 49 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| nl.tudelft.simulation.dsol.animation.gis.map.MapImage.getSize() may expose internal representation by returning MapImage.size | MALICIOUS_CODE | EI_EXPOSE_REP | 48 | Medium |
| nl.tudelft.simulation.dsol.animation.gis.map.MapImage.setSize(Dimension) may expose internal representation by storing an externally mutable object into MapImage.size | MALICIOUS_CODE | EI_EXPOSE_REP2 | 55 | Medium |