The following document contains the results of SpotBugs
SpotBugs Version is 3.1.12
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
18 | 5 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
DumpOSM.main(String[]) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 68 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.opentrafficsim.road.network.factory.osm.events.ProgressEvent.first from instance method new org.opentrafficsim.road.network.factory.osm.events.ProgressEvent(Object, String) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 40 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.opentrafficsim.road.network.factory.osm.input.OSMParser defines non-transient non-serializable instance field wantedTags | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.opentrafficsim.road.network.factory.osm.output.Convert.baseX from instance method new org.opentrafficsim.road.network.factory.osm.output.Convert() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 68 | High |
org.opentrafficsim.road.network.factory.osm.output.Convert.makeLanes(OTSRoadNetwork, OSMLink, OTSSimulatorInterface, WarningListener) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 660 | Medium |