The following document contains the results of Checkstyle 8.35 with /config/dsol-checks.xml ruleset. 
| Files | |||
|---|---|---|---|
| 24 | 4 | 24 | 0 |
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | EmptyBlock | 1 | |
| imports | UnusedImports | 15 | |
| javadoc | JavadocPackage | 1 | |
| misc | TodoComment | 6 | |
| sizes | LineLength
|
1 | |
| MethodLength | 1 | ||
| ParameterNumber | 1 | ||
| whitespace | WhitespaceAfter | 2 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - java.net.URL. | 6 | |
| imports | UnusedImports | Unused import - org.djunits.value.vdouble.scalar.Duration. | 14 | |
| imports | UnusedImports | Unused import - org.djunits.value.vdouble.scalar.Time. | 15 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.core.dsol.AbstractOtsModel. | 17 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.core.dsol.OtsModelInterface. | 18 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.core.dsol.OtsSimulator. | 19 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.core.network.Network. | 20 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.road.network.RoadNetwork. | 21 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.road.network.factory.xml.parser.XmlNetworkLaneParser. | 22 | |
| imports | UnusedImports | Unused import - nl.tudelft.simulation.dsol.SimRuntimeException. | 30 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 312 | |
| whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 347 | |
| whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 352 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 409 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 607 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | EmptyBlock | Must have at least one statement. | 291 | |
| sizes | ParameterNumber | More than 7 parameters (found 12). | 436 | |
| sizes | LineLength | Line is longer than 128 characters (found 146). | 440 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - java.io.Serializable. | 4 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.core.network.NetworkException. | 20 | |
| imports | UnusedImports | Unused import - org.opentrafficsim.draw.road.TrafficLightAnimation. | 23 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodLength | Method length is 257 lines (max allowed is 150). | 310 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | 1 | |
| imports | UnusedImports | Unused import - java.io.Serializable. | 3 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - java.io.Serializable. | 7 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 139 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 145 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 193 |