Checkstyle Results

The following document contains the results of Checkstyle 8.35 with development/dsol-checks.xml ruleset. 

rss feed

Summary

Files
 Info
 Warnings
 Errors
44 11 10 0

Files

File
 I
 W
 E
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

Rules

Category Rule Violations Severity
blocks NeedBraces 7
 Warning
design DesignForExtension 2
 Warning
misc FinalParameters 1
 Warning
sizes LineLength
  • max: "128"
11
 Info

Details

org/opentrafficsim/base/TimeStampedObject.java

Severity Category Rule Message Line
 Warning
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
 Warning
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
 Warning
misc FinalParameters Parameter obj should be final. 77
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 79
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 81
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 83
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 88
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 91
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 95
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 98

org/opentrafficsim/base/Type.java

Severity Category Rule Message Line
 Info
sizes LineLength Line is longer than 128 characters (found 132). 4

org/opentrafficsim/base/parameters/constraint/ConstraintInterface.java

Severity Category Rule Message Line
 Info
sizes LineLength Line is longer than 128 characters (found 130). 4
 Info
sizes LineLength Line is longer than 128 characters (found 135). 5
 Info
sizes LineLength Line is longer than 128 characters (found 136). 6
 Info
sizes LineLength Line is longer than 128 characters (found 129). 13
 Info
sizes LineLength Line is longer than 128 characters (found 132). 27
 Info
sizes LineLength Line is longer than 128 characters (found 132). 29
 Info
sizes LineLength Line is longer than 128 characters (found 131). 30
 Info
sizes LineLength Line is longer than 128 characters (found 132). 31
 Info
sizes LineLength Line is longer than 128 characters (found 131). 46
 Info
sizes LineLength Line is longer than 128 characters (found 134). 47