FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
37 11 0 0

org.opentrafficsim.road.network.factory.opendrive.GeneratorAnimation

Bug Category Details Line Priority
org.opentrafficsim.road.network.factory.opendrive.GeneratorAnimation is Serializable but its superclass doesn't define an accessible void constructor BAD_PRACTICE SE_NO_SUITABLE_CONSTRUCTOR 55-73 High

org.opentrafficsim.road.network.factory.opendrive.LaneAnimationOD

Bug Category Details Line Priority
org.opentrafficsim.road.network.factory.opendrive.LaneAnimationOD is Serializable but its superclass doesn't define an accessible void constructor BAD_PRACTICE SE_NO_SUITABLE_CONSTRUCTOR 53-171 High

org.opentrafficsim.road.network.factory.opendrive.LaneSectionTag

Bug Category Details Line Priority
org.opentrafficsim.road.network.factory.opendrive.LaneSectionTag.findLanes(String) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 109 Medium

org.opentrafficsim.road.network.factory.opendrive.PlanViewTag

Bug Category Details Line Priority
Dead store to mPoint in org.opentrafficsim.road.network.factory.opendrive.PlanViewTag.generateCurve(OTSPoint3D, OTSPoint3D, double, double, boolean, boolean) STYLE DLS_DEAD_LOCAL_STORE 235 High
Dead store to otsLine in org.opentrafficsim.road.network.factory.opendrive.PlanViewTag.interpolateSpiral(OpenDriveNetworkLaneParser, PlanViewTag, GeometryTag, int) STYLE DLS_DEAD_LOCAL_STORE 175 High
Dead store to endCurvature in org.opentrafficsim.road.network.factory.opendrive.PlanViewTag.interpolateSpiral(OpenDriveNetworkLaneParser, PlanViewTag, GeometryTag, int) STYLE DLS_DEAD_LOCAL_STORE 151 Medium
Dead store to start in org.opentrafficsim.road.network.factory.opendrive.PlanViewTag.interpolateSpiral(OpenDriveNetworkLaneParser, PlanViewTag, GeometryTag, int) STYLE DLS_DEAD_LOCAL_STORE 152 Medium
Dead store to startCurvature in org.opentrafficsim.road.network.factory.opendrive.PlanViewTag.interpolateSpiral(OpenDriveNetworkLaneParser, PlanViewTag, GeometryTag, int) STYLE DLS_DEAD_LOCAL_STORE 150 Medium

org.opentrafficsim.road.network.factory.opendrive.RoadTag

Bug Category Details Line Priority
Dead store to tempGeometryTags in org.opentrafficsim.road.network.factory.opendrive.RoadTag.buildSubLinks(RoadTag, OTSDEVSSimulatorInterface, OpenDriveNetworkLaneParser) STYLE DLS_DEAD_LOCAL_STORE 217 Medium
Dead store to ds in org.opentrafficsim.road.network.factory.opendrive.RoadTag.generateRegularRoads(RoadTag, OTSDEVSSimulatorInterface, OpenDriveNetworkLaneParser) STYLE DLS_DEAD_LOCAL_STORE 413 Medium
Possible null pointer dereference of RoadTag.junctionId in org.opentrafficsim.road.network.factory.opendrive.RoadTag.buildLink(RoadTag, OpenDriveNetworkLaneParser) CORRECTNESS NP_NULL_ON_SOME_PATH 859 High