SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.1.4

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
7 6 0 0

Files

Class Bugs
org.opentrafficsim.aimsun.AimsunControl 3
org.opentrafficsim.aimsun.AimsunControl$AimsunModel 1
org.opentrafficsim.aimsun.AimsunControl$AimsunSwingApplication 1
org.opentrafficsim.aimsun.LoadXML 1

org.opentrafficsim.aimsun.AimsunControl

Bug Category Details Line Priority
Dead store to buffer in org.opentrafficsim.aimsun.AimsunControl.transmitMessage(AimsunControlProtoBuf$OTSMessage, OutputStream) STYLE DLS_DEAD_LOCAL_STORE 474 Medium
Hard coded reference to an absolute pathname in org.opentrafficsim.aimsun.AimsunControl.commandLoop(Socket) STYLE DMI_HARDCODED_ABSOLUTE_FILENAME 359 Medium
Found reliance on default encoding in org.opentrafficsim.aimsun.AimsunControl.commandLoop(Socket): new java.io.PrintWriter(String) I18N DM_DEFAULT_ENCODING 359 High

org.opentrafficsim.aimsun.AimsunControl$AimsunModel

Bug Category Details Line Priority
Should org.opentrafficsim.aimsun.AimsunControl$AimsunModel be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 557-628 Medium

org.opentrafficsim.aimsun.AimsunControl$AimsunSwingApplication

Bug Category Details Line Priority
Should org.opentrafficsim.aimsun.AimsunControl$AimsunSwingApplication be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 531-533 Medium

org.opentrafficsim.aimsun.LoadXML

Bug Category Details Line Priority
Found reliance on default encoding in org.opentrafficsim.aimsun.LoadXML.main(String[]): new String(byte[]) I18N DM_DEFAULT_ENCODING 135 High