The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
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 |
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-166 | High |
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 |
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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to tempGeometryTags in org.opentrafficsim.road.network.factory.opendrive.RoadTag.buildSubLinks(RoadTag, DEVSSimulatorInterface$TimeDoubleUnit, OpenDriveNetworkLaneParser) | STYLE | DLS_DEAD_LOCAL_STORE | 217 | Medium |
Dead store to ds in org.opentrafficsim.road.network.factory.opendrive.RoadTag.generateRegularRoads(RoadTag, DEVSSimulatorInterface$TimeDoubleUnit, OpenDriveNetworkLaneParser) | STYLE | DLS_DEAD_LOCAL_STORE | 412 | 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 | 857 | High |
Useless object stored in variable directionality of method org.opentrafficsim.road.network.factory.opendrive.RoadTag.generateRegularRoads(RoadTag, DEVSSimulatorInterface$TimeDoubleUnit, OpenDriveNetworkLaneParser) | STYLE | UC_USELESS_OBJECT | 744 | Medium |