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
87 16 0 0

org.opentrafficsim.road.network.factory.vissim.FillTag

Bug Category Details Line Priority
Dead store to rg in org.opentrafficsim.road.network.factory.vissim.FillTag.makeFill(FillTag, VissimNetworkLaneParser, LinkTag, DEVSSimulatorInterface$TimeDoubleUnit) STYLE DLS_DEAD_LOCAL_STORE 256 High
Dead store to lane in org.opentrafficsim.road.network.factory.vissim.FillTag.makeFill(FillTag, VissimNetworkLaneParser, LinkTag, DEVSSimulatorInterface$TimeDoubleUnit) STYLE DLS_DEAD_LOCAL_STORE 248 Medium
Dead store of org.opentrafficsim.road.gtu.lane.LaneBasedIndividualGTU.class in org.opentrafficsim.road.network.factory.vissim.FillTag.makeFill(FillTag, VissimNetworkLaneParser, LinkTag, DEVSSimulatorInterface$TimeDoubleUnit) CORRECTNESS DLS_DEAD_STORE_OF_CLASS_LITERAL 249 Medium

org.opentrafficsim.road.network.factory.vissim.LinkTag

Bug Category Details Line Priority
org.opentrafficsim.road.network.factory.vissim.LinkTag.parseLinkGeometry(VissimNetworkLaneParser, Node, LinkTag) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 352 Medium
Class org.opentrafficsim.road.network.factory.vissim.LinkTag defines non-transient non-serializable instance field bezierTag BAD_PRACTICE SE_BAD_FIELD Not available High
Unwritten public or protected field: org.opentrafficsim.road.network.factory.vissim.LinkTag.roadLayoutTag STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 48 Medium

org.opentrafficsim.road.network.factory.vissim.Links

Bug Category Details Line Priority
Dead store to color in org.opentrafficsim.road.network.factory.vissim.Links.applyRoadTypeToConnector(LinkTag, VissimNetworkLaneParser, DEVSSimulatorInterface$TimeDoubleUnit) STYLE DLS_DEAD_LOCAL_STORE 339 Medium
Dead store to color in org.opentrafficsim.road.network.factory.vissim.Links.applyRoadTypeToLink(LinkTag, VissimNetworkLaneParser, DEVSSimulatorInterface$TimeDoubleUnit) STYLE DLS_DEAD_LOCAL_STORE 226 Medium
Dead store to linkDirection in org.opentrafficsim.road.network.factory.vissim.Links.applyRoadTypeToLink(LinkTag, VissimNetworkLaneParser, DEVSSimulatorInterface$TimeDoubleUnit) STYLE DLS_DEAD_LOCAL_STORE 208 Medium
Read of unwritten field center in org.opentrafficsim.road.network.factory.vissim.Links.buildLink(LinkTag, VissimNetworkLaneParser, OTSSimulatorInterface) CORRECTNESS NP_UNWRITTEN_FIELD 128 Medium
Useless object stored in variable cseList of method org.opentrafficsim.road.network.factory.vissim.Links.applyRoadTypeToConnector(LinkTag, VissimNetworkLaneParser, DEVSSimulatorInterface$TimeDoubleUnit) STYLE UC_USELESS_OBJECT 320 Medium
Useless object stored in variable lanes of method org.opentrafficsim.road.network.factory.vissim.Links.applyRoadTypeToConnector(LinkTag, VissimNetworkLaneParser, DEVSSimulatorInterface$TimeDoubleUnit) STYLE UC_USELESS_OBJECT 321 Medium
Useless object stored in variable cseList of method org.opentrafficsim.road.network.factory.vissim.Links.applyRoadTypeToLink(LinkTag, VissimNetworkLaneParser, DEVSSimulatorInterface$TimeDoubleUnit) STYLE UC_USELESS_OBJECT 205 Medium
Useless object stored in variable lanes of method org.opentrafficsim.road.network.factory.vissim.Links.applyRoadTypeToLink(LinkTag, VissimNetworkLaneParser, DEVSSimulatorInterface$TimeDoubleUnit) STYLE UC_USELESS_OBJECT 206 Medium

org.opentrafficsim.road.network.factory.vissim.ListGeneratorTag

Bug Category Details Line Priority
Unwritten field: org.opentrafficsim.road.network.factory.vissim.ListGeneratorTag.gtuColorer CORRECTNESS UWF_UNWRITTEN_FIELD 167 Medium

org.opentrafficsim.road.network.factory.vissim.SinkTag

Bug Category Details Line Priority