Checkstyle Results

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

rss feed

Summary

Files
 Info
 Warnings
 Errors
24 4 24 0

Files

File
 I
 W
 E
org/opentrafficsim/demo/ParseXml.java 0 10 0
org/opentrafficsim/demo/RampMeteringDemo.java 0 5 0
org/opentrafficsim/demo/ShortMerge.java 2 1 0
org/opentrafficsim/demo/conflict/TurboRoundaboutDemo.java 0 3 0
org/opentrafficsim/demo/fd/FundamentalDiagramDemo.java 1 0 0
org/opentrafficsim/demo/fd/FundamentalDiagramModel.java 1 1 0
org/opentrafficsim/demo/loadfromxml/LoadXml.java 0 4 0

Rules

Category Rule Violations Severity
blocks EmptyBlock 1
 Warning
imports UnusedImports 15
 Warning
javadoc JavadocPackage 1
 Info
misc TodoComment 6
 Warning
sizes LineLength
  • max: "128"
1
 Info
MethodLength 1
 Info
ParameterNumber 1
 Info
whitespace WhitespaceAfter 2
 Warning

Details

org/opentrafficsim/demo/ParseXml.java

Severity Category Rule Message Line
 Warning
imports UnusedImports Unused import - java.net.URL. 6
 Warning
imports UnusedImports Unused import - org.djunits.value.vdouble.scalar.Duration. 14
 Warning
imports UnusedImports Unused import - org.djunits.value.vdouble.scalar.Time. 15
 Warning
imports UnusedImports Unused import - org.opentrafficsim.core.dsol.AbstractOtsModel. 17
 Warning
imports UnusedImports Unused import - org.opentrafficsim.core.dsol.OtsModelInterface. 18
 Warning
imports UnusedImports Unused import - org.opentrafficsim.core.dsol.OtsSimulator. 19
 Warning
imports UnusedImports Unused import - org.opentrafficsim.core.network.Network. 20
 Warning
imports UnusedImports Unused import - org.opentrafficsim.road.network.RoadNetwork. 21
 Warning
imports UnusedImports Unused import - org.opentrafficsim.road.network.factory.xml.parser.XmlNetworkLaneParser. 22
 Warning
imports UnusedImports Unused import - nl.tudelft.simulation.dsol.SimRuntimeException. 30

org/opentrafficsim/demo/RampMeteringDemo.java

Severity Category Rule Message Line
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 312
 Warning
whitespace WhitespaceAfter ';' is not followed by whitespace. 347
 Warning
whitespace WhitespaceAfter ';' is not followed by whitespace. 352
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 409
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 607

org/opentrafficsim/demo/ShortMerge.java

Severity Category Rule Message Line
 Warning
blocks EmptyBlock Must have at least one statement. 291
 Info
sizes ParameterNumber More than 7 parameters (found 12). 436
 Info
sizes LineLength Line is longer than 128 characters (found 146). 440

org/opentrafficsim/demo/conflict/TurboRoundaboutDemo.java

Severity Category Rule Message Line
 Warning
imports UnusedImports Unused import - java.io.Serializable. 4
 Warning
imports UnusedImports Unused import - org.opentrafficsim.core.network.NetworkException. 20
 Warning
imports UnusedImports Unused import - org.opentrafficsim.draw.road.TrafficLightAnimation. 23

org/opentrafficsim/demo/fd/FundamentalDiagramDemo.java

Severity Category Rule Message Line
 Info
sizes MethodLength Method length is 257 lines (max allowed is 150). 310

org/opentrafficsim/demo/fd/FundamentalDiagramModel.java

Severity Category Rule Message Line
 Info
javadoc JavadocPackage Missing package-info.java file. 1
 Warning
imports UnusedImports Unused import - java.io.Serializable. 3

org/opentrafficsim/demo/loadfromxml/LoadXml.java

Severity Category Rule Message Line
 Warning
imports UnusedImports Unused import - java.io.Serializable. 7
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 139
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 145
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 193