The following document contains the results of Checkstyle 8.35 with development/dsol-checks.xml ruleset.
Files | ![]() |
![]() |
![]() |
---|---|---|---|
44 | 11 | 10 | 0 |
File | ![]() |
![]() |
![]() |
---|---|---|---|
org/opentrafficsim/base/TimeStampedObject.java | 0 | 10 | 0 |
org/opentrafficsim/base/Type.java | 1 | 0 | 0 |
org/opentrafficsim/base/parameters/constraint/ConstraintInterface.java | 10 | 0 | 0 |
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | NeedBraces | 7 | ![]() |
design | DesignForExtension | 2 | ![]() |
misc | FinalParameters | 1 | ![]() |
sizes | LineLength
|
11 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Class 'TimeStampedObject' looks like designed for extension (can be subclassed), but the method 'hashCode' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TimeStampedObject' final or making the method 'hashCode' static/final/abstract/empty, or adding allowed annotation for the method. | 66 |
![]() |
design | DesignForExtension | Class 'TimeStampedObject' looks like designed for extension (can be subclassed), but the method 'equals' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TimeStampedObject' final or making the method 'equals' static/final/abstract/empty, or adding allowed annotation for the method. | 76 |
![]() |
misc | FinalParameters | Parameter obj should be final. | 77 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 79 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 81 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 83 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 88 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 91 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 95 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 98 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 132). | 4 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 130). | 4 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 135). | 5 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 136). | 6 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 13 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 132). | 27 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 132). | 29 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 30 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 132). | 31 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 46 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 134). | 47 |