The following document contains the results of SpotBugs
SpotBugs Version is 3.1.12
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
264 | 17 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.opentrafficsim.xml.bindings.CoordinateListAdapter.marshal(Point3dList) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 67 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
VERY confusing to have methods org.opentrafficsim.xml.generated.CARFOLLOWINGMODELHEADWAYSPEEDTYPE$DESIREDHEADWAYMODEL.getCLASS() and Object.getClass() | CORRECTNESS | NM_VERY_CONFUSING | 200 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
VERY confusing to have methods org.opentrafficsim.xml.generated.CLASSATTRIBUTETYPE.getCLASS() and Object.getClass() | CORRECTNESS | NM_VERY_CONFUSING | 102 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
VERY confusing to have methods org.opentrafficsim.xml.generated.DESIREDSPEEDMODELTYPE.getCLASS() and Object.getClass() | CORRECTNESS | NM_VERY_CONFUSING | 128 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.opentrafficsim.xml.generated.GENERATOR defines non-transient non-serializable instance field position | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
VERY confusing to have methods org.opentrafficsim.xml.generated.GTUCOLORERTYPE.getCLASS() and Object.getClass() | CORRECTNESS | NM_VERY_CONFUSING | 143 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
VERY confusing to have methods org.opentrafficsim.xml.generated.INPUTPARAMETERTYPE.getCLASS() and Object.getClass() | CORRECTNESS | NM_VERY_CONFUSING | 158 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.opentrafficsim.xml.generated.LISTGENERATOR defines non-transient non-serializable instance field position | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.opentrafficsim.xml.generated.RESPONSIVECONTROLTYPE$SENSOR$MULTIPLELANE defines non-transient non-serializable instance field entryposition | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
Class org.opentrafficsim.xml.generated.RESPONSIVECONTROLTYPE$SENSOR$MULTIPLELANE defines non-transient non-serializable instance field exitposition | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.opentrafficsim.xml.generated.RESPONSIVECONTROLTYPE$SENSOR$SINGLELANE defines non-transient non-serializable instance field entryposition | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
Class org.opentrafficsim.xml.generated.RESPONSIVECONTROLTYPE$SENSOR$SINGLELANE defines non-transient non-serializable instance field exitposition | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.opentrafficsim.xml.generated.SINK defines non-transient non-serializable instance field position | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
VERY confusing to have methods org.opentrafficsim.xml.generated.TRAFFICLIGHTSENSORTYPE.getCLASS() and Object.getClass() | CORRECTNESS | NM_VERY_CONFUSING | 188 | High |
Class org.opentrafficsim.xml.generated.TRAFFICLIGHTSENSORTYPE defines non-transient non-serializable instance field position | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
VERY confusing to have methods org.opentrafficsim.xml.generated.TRAFFICLIGHTTYPE.getCLASS() and Object.getClass() | CORRECTNESS | NM_VERY_CONFUSING | 155 | High |
Class org.opentrafficsim.xml.generated.TRAFFICLIGHTTYPE defines non-transient non-serializable instance field position | BAD_PRACTICE | SE_BAD_FIELD | Not available | High |