The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.opentrafficsim.aimsun.AimsunControl | 5 |
org.opentrafficsim.aimsun.AimsunControl$AimsunSwingApplication | 1 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to buffer in org.opentrafficsim.aimsun.AimsunControl.transmitMessage(AimsunControlProtoBuf$OTSMessage, OutputStream) | STYLE | DLS_DEAD_LOCAL_STORE | 391 | Medium |
Hard coded reference to an absolute pathname in org.opentrafficsim.aimsun.AimsunControl.commandLoop(Socket) | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 218 | Medium |
Found reliance on default encoding in org.opentrafficsim.aimsun.AimsunControl.commandLoop(Socket): new java.io.PrintWriter(String) | I18N | DM_DEFAULT_ENCODING | 218 | High |
Read of unwritten field model in org.opentrafficsim.aimsun.AimsunControl.commandLoop(Socket) | CORRECTNESS | NP_UNWRITTEN_FIELD | 231 | Medium |
Field only ever set to null: org.opentrafficsim.aimsun.AimsunControl.model | CORRECTNESS | UWF_NULL_FIELD | Not available | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.opentrafficsim.aimsun.AimsunControl$AimsunSwingApplication be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 447-449 | Medium |