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
12 35 0 0

org.opentrafficsim.imb.kpi.IMBSampler

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive org.opentrafficsim.imb.kpi.IMBSampler.main(String[]) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 103 High
org.opentrafficsim.imb.kpi.IMBSampler.updateClock(double) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 314 Medium
org.opentrafficsim.imb.kpi.IMBSampler.updateClock(double) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 324 Medium

org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver

Bug Category Details Line Priority
Dead store to b in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 380 Medium
Dead store to brakingLights in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 404 Medium
Dead store to g in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 379 Medium
Dead store to laneId in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 374 Medium
Dead store to length in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 376 Medium
Dead store to longitudinalPosition in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 375 Medium
Dead store to networkId in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 371 Medium
Dead store to odometer in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 405 Medium
Dead store to r in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 378 Medium
Dead store to rotZ in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 370 Medium
Dead store to timeStamp in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 365 Medium
Dead store to turnIndicatorStatus in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 403 Medium
Dead store to width in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 377 Medium
Dead store to x in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 367 Medium
Dead store to y in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 368 Medium
Dead store to z in org.opentrafficsim.imb.kpi.IMBSampler$GTUTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 369 Medium

org.opentrafficsim.imb.kpi.IMBSampler$LaneTransceiver

Bug Category Details Line Priority
Dead store to laneNumber in org.opentrafficsim.imb.kpi.IMBSampler$LaneTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 640 Medium
Dead store to networkId in org.opentrafficsim.imb.kpi.IMBSampler$LaneTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 636 Medium
Dead store to timeStamp in org.opentrafficsim.imb.kpi.IMBSampler$LaneTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 635 Medium

org.opentrafficsim.imb.kpi.IMBSampler$LinkTransceiver

Bug Category Details Line Priority
Dead store to networkId in org.opentrafficsim.imb.kpi.IMBSampler$LinkTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 546 Medium
Dead store to timeStamp in org.opentrafficsim.imb.kpi.IMBSampler$LinkTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 545 Medium

org.opentrafficsim.imb.kpi.IMBSampler$NodeTransceiver

Bug Category Details Line Priority
Dead store to networkId in org.opentrafficsim.imb.kpi.IMBSampler$NodeTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 471 Medium
Dead store to timeStamp in org.opentrafficsim.imb.kpi.IMBSampler$NodeTransceiver.handleMessageFromIMB(String, TByteBuffer) STYLE DLS_DEAD_LOCAL_STORE 470 Medium

org.opentrafficsim.imb.kpi.ImbKpiTransceiver

Bug Category Details Line Priority
Class org.opentrafficsim.imb.kpi.ImbKpiTransceiver defines non-transient non-serializable instance field meanSpeed BAD_PRACTICE SE_BAD_FIELD Not available High
Class org.opentrafficsim.imb.kpi.ImbKpiTransceiver defines non-transient non-serializable instance field meanTravelTime BAD_PRACTICE SE_BAD_FIELD Not available High
Class org.opentrafficsim.imb.kpi.ImbKpiTransceiver defines non-transient non-serializable instance field meanTripLength BAD_PRACTICE SE_BAD_FIELD Not available High
Class org.opentrafficsim.imb.kpi.ImbKpiTransceiver defines non-transient non-serializable instance field query BAD_PRACTICE SE_BAD_FIELD Not available High
Class org.opentrafficsim.imb.kpi.ImbKpiTransceiver defines non-transient non-serializable instance field totalDelay BAD_PRACTICE SE_BAD_FIELD Not available High
Class org.opentrafficsim.imb.kpi.ImbKpiTransceiver defines non-transient non-serializable instance field totalNumberOfStops BAD_PRACTICE SE_BAD_FIELD Not available High
Class org.opentrafficsim.imb.kpi.ImbKpiTransceiver defines non-transient non-serializable instance field totalTravelDistance BAD_PRACTICE SE_BAD_FIELD Not available High
Class org.opentrafficsim.imb.kpi.ImbKpiTransceiver defines non-transient non-serializable instance field totalTravelTime BAD_PRACTICE SE_BAD_FIELD Not available High
Class org.opentrafficsim.imb.kpi.ImbKpiTransceiver defines non-transient non-serializable instance field connector BAD_PRACTICE SE_BAD_FIELD Not available Medium