Checkstyle Results
The following document contains the results of Checkstyle 10.15.0 with /config/dsol-checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 12 | 2 | 6 | 0 |
Files
| File | |||
|---|---|---|---|
| org/opentrafficsim/trafficcontrol/FixedTimeController.java | 0 | 1 | 0 |
| org/opentrafficsim/trafficcontrol/trafcod/TrafCod.java | 2 | 5 | 0 |
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | EmptyBlock | 1 | |
| coding | HiddenField
|
1 | |
| misc | TodoComment | 2 | |
| naming | ConstantName | 1 | |
| sizes | FileLength | 1 | |
| MethodLength | 2 |
Details
org/opentrafficsim/trafficcontrol/FixedTimeController.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 439 |
org/opentrafficsim/trafficcontrol/trafcod/TrafCod.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | FileLength | File length is 2,771 lines (max allowed is 2,000). | 1 | |
| naming | ConstantName | Name 'TrafCod_VERSION' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 60 | |
| sizes | MethodLength | Method parseTrafCODRules length is 151 lines (max allowed is 150). | 245 | |
| coding | HiddenField | 'detectors' hides a field. | 466 | |
| blocks | EmptyBlock | Must have at least one statement. | 595 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 596 | |
| sizes | MethodLength | Method parse length is 269 lines (max allowed is 150). | 1379 |
