Checkstyle Results
The following document contains the results of Checkstyle 10.17.0 with /config/dsol-checks.xml ruleset.
Summary
Files | ![]() |
![]() |
![]() |
---|---|---|---|
214 | 6 | 31 | 0 |
Files
Rules
Category | Rule | Violations | Severity |
---|---|---|---|
coding | HiddenField
|
2 | ![]() |
design | FinalClass | 1 | ![]() |
VisibilityModifier | 5 | ![]() | |
imports | UnusedImports | 3 | ![]() |
javadoc | JavadocMethod | 1 | ![]() |
misc | NewlineAtEndOfFile
|
1 | ![]() |
TodoComment | 6 | ![]() | |
modifier | RedundantModifier | 8 | ![]() |
naming | StaticVariableName | 4 | ![]() |
sizes | LineLength
|
5 | ![]() |
MethodLength | 1 | ![]() |
Details
org/opentrafficsim/core/distributions/FrequencyAndObject.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
org/opentrafficsim/core/dsol/OtsDevsRealTimeParallelMove.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 87 |
![]() |
sizes | MethodLength | Method run length is 336 lines (max allowed is 150). | 88 |
org/opentrafficsim/core/geometry/ContinuousBezier.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'points' must be private and have accessor methods. | 53 |
org/opentrafficsim/core/geometry/ContinuousBezierCubic.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 457 |
org/opentrafficsim/core/geometry/Flattener.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 46 |
![]() |
modifier | RedundantModifier | Redundant 'static' modifier. | 46 |
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 85 |
![]() |
modifier | RedundantModifier | Redundant 'static' modifier. | 85 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 133). | 133 |
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 165 |
![]() |
modifier | RedundantModifier | Redundant 'static' modifier. | 165 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 245 |
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 277 |
![]() |
modifier | RedundantModifier | Redundant 'static' modifier. | 277 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 340 |
org/opentrafficsim/core/geometry/Ots2dSet.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - java.awt.geom.Rectangle2D. | 3 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.base.geometry.OtsGeometryException. | 15 |
org/opentrafficsim/core/gtu/Gtu.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 124 |
![]() |
design | VisibilityModifier | Variable 'ALIGNED' must be private and have accessor methods. | 125 |
![]() |
naming | StaticVariableName | Name 'ALIGNED' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 125 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 128 |
![]() |
design | VisibilityModifier | Variable 'ALIGN_COUNT' must be private and have accessor methods. | 129 |
![]() |
naming | StaticVariableName | Name 'ALIGN_COUNT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 129 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 822 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 849 |
![]() |
design | VisibilityModifier | Variable 'MOVE_EVENT' must be private and have accessor methods. | 1017 |
![]() |
naming | StaticVariableName | Name 'MOVE_EVENT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1017 |
![]() |
design | VisibilityModifier | Variable 'DESTROY_EVENT' must be private and have accessor methods. | 1030 |
![]() |
naming | StaticVariableName | Name 'DESTROY_EVENT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1030 |
org/opentrafficsim/core/gtu/plan/operational/Segment.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | HiddenField | 'duration' hides a field. | 79 |
![]() |
coding | HiddenField | 'duration' hides a field. | 95 |
org/opentrafficsim/core/gtu/plan/operational/Segments.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | FinalClass | Class Segments should be declared as final. | 23 |
org/opentrafficsim/core/network/CapacityLink.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 132). | 39 |
org/opentrafficsim/core/network/Network.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 769 |
org/opentrafficsim/core/network/Node.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.base.geometry.SpatialObject. | 22 |
org/opentrafficsim/core/network/route/Route.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | @return tag should be present and have description. | 217 |