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 |
---|---|---|---|---|
Dead store to rg in org.opentrafficsim.road.network.factory.xml.FillTag.makeFill(FillTag, XmlNetworkLaneParser, LinkTag, DEVSSimulatorInterface$TimeDoubleUnit) | STYLE | DLS_DEAD_LOCAL_STORE | 222 | High |
Dead store to lane in org.opentrafficsim.road.network.factory.xml.FillTag.makeFill(FillTag, XmlNetworkLaneParser, LinkTag, DEVSSimulatorInterface$TimeDoubleUnit) | STYLE | DLS_DEAD_LOCAL_STORE | 215 | Medium |
Dead store of org.opentrafficsim.road.gtu.lane.LaneBasedIndividualGTU.class in org.opentrafficsim.road.network.factory.xml.FillTag.makeFill(FillTag, XmlNetworkLaneParser, LinkTag, DEVSSimulatorInterface$TimeDoubleUnit) | CORRECTNESS | DLS_DEAD_STORE_OF_CLASS_LITERAL | 216 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to generator in org.opentrafficsim.road.network.factory.xml.GeneratorTag.makeGenerator(GeneratorTag, XmlNetworkLaneParser, LinkTag, OTSSimulatorInterface) | STYLE | DLS_DEAD_LOCAL_STORE | 362 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.opentrafficsim.road.network.factory.xml.LinkTag defines non-transient non-serializable instance field bezierTag | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Useless object stored in variable cseList of method org.opentrafficsim.road.network.factory.xml.Links.applyRoadTypeToLink(LinkTag, XmlNetworkLaneParser, OTSSimulatorInterface) | STYLE | UC_USELESS_OBJECT | 514 | Medium |
Useless object stored in variable lanes of method org.opentrafficsim.road.network.factory.xml.Links.applyRoadTypeToLink(LinkTag, XmlNetworkLaneParser, OTSSimulatorInterface) | STYLE | UC_USELESS_OBJECT | 515 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten field: org.opentrafficsim.road.network.factory.xml.ListGeneratorTag.gtuColorer | CORRECTNESS | UWF_UNWRITTEN_FIELD | 143 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.opentrafficsim.road.network.factory.xml.GTUColorerTag.defaultColorer from instance method new org.opentrafficsim.road.network.factory.xml.XmlNetworkLaneParser(OTSSimulatorInterface, GTUColorer) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 171 | High |
Useless object stored in variable templates of method org.opentrafficsim.road.network.factory.xml.XmlNetworkLaneParser.fixOD(OTSNetwork) | STYLE | UC_USELESS_OBJECT | 559 | Medium |
org.opentrafficsim.road.network.factory.xml.XmlNetworkLaneParser.build(InputStream, OTSNetwork, boolean) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 368 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser defines non-transient non-serializable instance field demand | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |