Checkstyle Results
The following document contains the results of Checkstyle 10.21.3 with config/dsol-checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 29 | 2 | 12 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | EmptyBlock | 1 | |
| coding | HiddenField
|
3 | |
| design | VisibilityModifier | 1 | |
| misc | TodoComment | 6 | |
| naming | StaticVariableName | 1 | |
| sizes | MethodLength | 1 | |
| ParameterNumber | 1 |
Details
org/opentrafficsim/swing/graphs/SwingContourPlot.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 109 |
org/opentrafficsim/swing/graphs/SwingPlot.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodLength | Method setChart length is 163 lines (max allowed is 150). | 79 |
org/opentrafficsim/swing/gui/AppearanceApplication.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'frameProperties' must be private and have accessor methods. | 74 | |
| coding | HiddenField | 'fontScaleName' hides a field. | 203 | |
| coding | HiddenField | 'fontScaleName' hides a field. | 238 | |
| coding | HiddenField | 'fontScaleName' hides a field. | 404 | |
| naming | StaticVariableName | Name 'PATH' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 493 |
org/opentrafficsim/swing/gui/OtsAnimationPanel.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | EmptyBlock | Must have at least one statement. | 584 |
org/opentrafficsim/swing/gui/OtsControlPanel.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 462 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 490 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 504 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 512 |
org/opentrafficsim/swing/gui/OtsSimulationPanel.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 99 |
org/opentrafficsim/swing/script/AbstractSimulationScript.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 215 |
