Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
24 3 11 0

Files

File  I  W  E
org/opentrafficsim/demo/CircularRoadModel.java 0 2 0
org/opentrafficsim/demo/RampMeteringDemo.java 0 5 0
org/opentrafficsim/demo/ShortMerge.java 1 1 0
org/opentrafficsim/demo/fd/FundamentalDiagramDemo.java 1 1 0
org/opentrafficsim/demo/fd/FundamentalDiagramModel.java 1 0 0
org/opentrafficsim/demo/loadfromxml/LoadXml.java 0 2 0

Rules

Category Rule Violations Severity
blocks EmptyBlock 1  Warning
design FinalClass 1  Warning
imports UnusedImports 2  Warning
javadoc JavadocPackage 1  Info
misc TodoComment 5  Warning
sizes MethodLength 1  Info
ParameterNumber 1  Info
whitespace WhitespaceAfter 2  Warning

Details

org/opentrafficsim/demo/CircularRoadModel.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.LinkedHashSet. 5
 Warning imports UnusedImports Unused import - java.util.Set. 8

org/opentrafficsim/demo/RampMeteringDemo.java

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 302
 Warning whitespace WhitespaceAfter ';' is not followed by whitespace. 337
 Warning whitespace WhitespaceAfter ';' is not followed by whitespace. 342
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 399
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 597

org/opentrafficsim/demo/ShortMerge.java

Severity Category Rule Message Line
 Warning blocks EmptyBlock Must have at least one statement. 325
 Info sizes ParameterNumber More than 7 parameters (found 12). 466

org/opentrafficsim/demo/fd/FundamentalDiagramDemo.java

Severity Category Rule Message Line
 Info sizes MethodLength Method setupDemo length is 258 lines (max allowed is 150). 315
 Warning design FinalClass Class DynamicFdLine should be declared as final. 815

org/opentrafficsim/demo/fd/FundamentalDiagramModel.java

Severity Category Rule Message Line
 Info javadoc JavadocPackage Missing package-info.java file. 1

org/opentrafficsim/demo/loadfromxml/LoadXml.java

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