SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.8.6
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
12 |
10 |
0 |
0 |
nl.tudelft.simulation.dsol.animation.gis.SerializablePath
nl.tudelft.simulation.dsol.animation.gis.map.Feature
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 |
nl.tudelft.simulation.dsol.animation.gis.map.GisMap
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 |
nl.tudelft.simulation.dsol.animation.gis.map.Layer
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 |
nl.tudelft.simulation.dsol.animation.gis.map.MapImage
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 |