Checkstyle Results
The following document contains the results of Checkstyle 10.15.0 with /config/dsol-checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 51 | 1 | 11 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| design | FinalClass | 1 | |
| VisibilityModifier | 2 | ||
| misc | TodoComment | 1 | |
| modifier | ModifierOrder | 2 | |
| RedundantModifier | 1 | ||
| naming | StaticVariableName | 4 | |
| sizes | LineLength
|
1 |
Details
org/opentrafficsim/base/geometry/BoundingBoxRounded.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 23 |
org/opentrafficsim/base/geometry/BoundingCircle.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 22 |
org/opentrafficsim/base/geometry/ClickableBounds.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | FinalClass | Class ClickableBounds should be declared as final. | 20 | |
| naming | StaticVariableName | Name 'R_MIN' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 24 |
org/opentrafficsim/base/geometry/OtsBounds2d.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'static' modifier. | 21 | |
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 89 |
org/opentrafficsim/base/geometry/OtsRenderable.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'RENDERING_KEYS' must be private and have accessor methods. | 34 | |
| naming | StaticVariableName | Name 'RENDERING_KEYS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 34 | |
| design | VisibilityModifier | Variable 'RENDERING_VALUES' must be private and have accessor methods. | 37 | |
| naming | StaticVariableName | Name 'RENDERING_VALUES' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 37 | |
| naming | StaticVariableName | Name 'OLD_RENDERING_HINTS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 40 |
org/opentrafficsim/base/parameters/constraint/ConstraintInterface.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 128 characters (found 129). | 14 |
