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 |
8 |
9 |
0 |
0 |
nl.tudelft.simulation.dsol.animation.gis.osm.OsmFileCsvParser
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in nl.tudelft.simulation.dsol.animation.gis.osm.OsmFileCsvParser.parseMapFile(URL, URL, String, CoordinateTransform, char, char): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
100 |
High |
nl.tudelft.simulation.dsol.animation.gis.osm.OsmFileReader
Bug |
Category |
Details |
Line |
Priority |
nl.tudelft.simulation.dsol.animation.gis.osm.OsmFileReader.getFeatures() may expose internal representation by returning OsmFileReader.featuresToRead |
MALICIOUS_CODE |
EI_EXPOSE_REP |
61 |
Medium |
new nl.tudelft.simulation.dsol.animation.gis.osm.OsmFileReader(URL, CoordinateTransform, List) may expose internal representation by storing an externally mutable object into OsmFileReader.featuresToRead |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
54 |
Medium |
Class nl.tudelft.simulation.dsol.animation.gis.osm.OsmFileReader defines non-transient non-serializable instance field coordinateTransform |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
nl.tudelft.simulation.dsol.animation.gis.osm.OsmLayerSink
Bug |
Category |
Details |
Line |
Priority |
new nl.tudelft.simulation.dsol.animation.gis.osm.OsmLayerSink(List, CoordinateTransform) may expose internal representation by storing an externally mutable object into OsmLayerSink.featuresToRead |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
58 |
Medium |
nl.tudelft.simulation.dsol.animation.gis.osm.OsmLayerSink$MiniWay
Bug |
Category |
Details |
Line |
Priority |
new nl.tudelft.simulation.dsol.animation.gis.osm.OsmLayerSink$MiniWay(long, FeatureInterface, Collection) may expose internal representation by storing an externally mutable object into OsmLayerSink$MiniWay.feature |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
253 |
Medium |
nl.tudelft.simulation.dsol.animation.gis.osm.OsmRenderable2d
Bug |
Category |
Details |
Line |
Priority |
nl.tudelft.simulation.dsol.animation.gis.osm.OsmRenderable2d.getMap() may expose internal representation by returning OsmRenderable2d.map |
MALICIOUS_CODE |
EI_EXPOSE_REP |
180 |
Medium |
new nl.tudelft.simulation.dsol.animation.gis.osm.OsmRenderable2d(Contextualized, GisMapInterface, CoordinateTransform, double) may expose internal representation by storing an externally mutable object into OsmRenderable2d.map |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
97 |
Medium |
Class nl.tudelft.simulation.dsol.animation.gis.osm.OsmRenderable2d defines non-transient non-serializable instance field cachedImage |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |