Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
12 2 6 0

Files

File  I  W  E
org/opentrafficsim/trafficcontrol/FixedTimeController.java 0 1 0
org/opentrafficsim/trafficcontrol/trafcod/TrafCod.java 2 5 0

Rules

Category Rule Violations Severity
blocks EmptyBlock 1  Warning
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
1  Warning
misc TodoComment 2  Warning
naming ConstantName 1  Warning
sizes FileLength 1  Warning
MethodLength 2  Info

Details

org/opentrafficsim/trafficcontrol/FixedTimeController.java

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 439

org/opentrafficsim/trafficcontrol/trafcod/TrafCod.java

Severity Category Rule Message Line
 Warning sizes FileLength File length is 2,771 lines (max allowed is 2,000). 1
 Warning naming ConstantName Name 'TrafCod_VERSION' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 60
 Info sizes MethodLength Method parseTrafCODRules length is 151 lines (max allowed is 150). 245
 Warning coding HiddenField 'detectors' hides a field. 466
 Warning blocks EmptyBlock Must have at least one statement. 595
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 596
 Info sizes MethodLength Method parse length is 269 lines (max allowed is 150). 1379