Checkstyle Results
The following document contains the results of Checkstyle 10.21.3 with config/dsol-checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 89 | 3 | 21 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | EmptyBlock | 2 | |
| coding | HiddenField
|
10 | |
| MissingSwitchDefault | 1 | ||
| design | VisibilityModifier | 1 | |
| misc | TodoComment | 7 | |
| sizes | MethodLength | 2 | |
| ParameterNumber | 1 |
Details
org/opentrafficsim/editor/extensions/OdEditor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 57 |
org/opentrafficsim/editor/extensions/RoadLayoutEditor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 61 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 81 |
org/opentrafficsim/editor/extensions/RouteEditor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 56 |
org/opentrafficsim/editor/extensions/TrafCodEditor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 42 |
org/opentrafficsim/editor/extensions/map/ChangeListener.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'node' hides a field. | 98 | |
| coding | HiddenField | 'node' hides a field. | 122 | |
| coding | HiddenField | 'node' hides a field. | 169 |
org/opentrafficsim/editor/extensions/map/EditorMap.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 466 | |
| sizes | MethodLength | Method notify length is 191 lines (max allowed is 150). | 565 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 823 |
org/opentrafficsim/editor/extensions/map/MapData.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'node' hides a field. | 110 |
org/opentrafficsim/editor/extensions/map/MapLinkData.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | EmptyBlock | Must have at least one statement. | 399 | |
| blocks | EmptyBlock | Must have at least one statement. | 403 | |
| coding | HiddenField | 'laneData' hides a field. | 655 | |
| design | VisibilityModifier | Variable 'coordinates' must be private and have accessor methods. | 999 | |
| coding | MissingSwitchDefault | switch without "default" clause. | 1076 | |
| coding | HiddenField | 'from' hides a field. | 1289 | |
| coding | HiddenField | 'to' hides a field. | 1289 | |
| coding | HiddenField | 'length' hides a field. | 1294 | |
| coding | HiddenField | 'shape' hides a field. | 1310 | |
| coding | HiddenField | 'weighted' hides a field. | 1311 |
org/opentrafficsim/editor/extensions/map/MapStripeData.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 9). | 73 |
org/opentrafficsim/editor/extensions/map/RoadLayoutListener.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodLength | Method calculateData length is 162 lines (max allowed is 150). | 78 |
