Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.opentrafficsim.trafficcontrol.trafcod.TrafCOD.makeDisplay(URL, Set): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
499 |
High |
Found reliance on default encoding in org.opentrafficsim.trafficcontrol.trafcod.TrafCOD.parseTrafCODRules(URL, Set, Set): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
232 |
High |
org.opentrafficsim.trafficcontrol.trafcod.TrafCOD.evalRule(Object[]) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead |
PERFORMANCE |
DM_NUMBER_CTOR |
856 |
Medium |
org.opentrafficsim.trafficcontrol.trafcod.TrafCOD.parse(String, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead |
PERFORMANCE |
DM_NUMBER_CTOR |
1496 |
Medium |
Dereference of the result of readLine() without nullcheck in org.opentrafficsim.trafficcontrol.trafcod.TrafCOD.parseTrafCODRules(URL, Set, Set) |
STYLE |
NP_DEREFERENCE_OF_READLINE_VALUE |
316 |
Medium |
v could be null and is guaranteed to be dereferenced in org.opentrafficsim.trafficcontrol.trafcod.TrafCOD.notify(EventInterface) |
CORRECTNESS |
NP_GUARANTEED_DEREF |
1826 |
High |
org.opentrafficsim.trafficcontrol.trafcod.TrafCOD.makeDisplay(URL, Set) may fail to close stream |
BAD_PRACTICE |
OS_OPEN_STREAM |
499 |
Medium |