SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 3.1.12

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
18 5 0 0

Files

Class Bugs
DumpOSM 1
org.opentrafficsim.road.network.factory.osm.events.ProgressEvent 1
org.opentrafficsim.road.network.factory.osm.input.OSMParser 1
org.opentrafficsim.road.network.factory.osm.output.Convert 2

DumpOSM

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

org.opentrafficsim.road.network.factory.osm.events.ProgressEvent

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

org.opentrafficsim.road.network.factory.osm.input.OSMParser

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

org.opentrafficsim.road.network.factory.osm.output.Convert

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