The following document contains the results of SpotBugs
SpotBugs Version is 4.1.4
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
5 | 3 | 0 | 0 |
Class | Bugs |
---|---|
org.opentrafficsim.sim0mq.swing.PublisherDemo | 2 |
org.opentrafficsim.sim0mq.swing.Sim0MQPublisher | 1 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Hard coded reference to an absolute pathname in org.opentrafficsim.sim0mq.swing.PublisherDemo.main(String[]) | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 99 | Medium |
Found reliance on default encoding in org.opentrafficsim.sim0mq.swing.PublisherDemo.main(String[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 99 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception is caught when Exception is not thrown in org.opentrafficsim.sim0mq.swing.Sim0MQPublisher.loadNetwork(String, Duration, Duration, Long) | STYLE | REC_CATCH_EXCEPTION | 242 | Medium |