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