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
75 17 56 0

Files

File
 I
 W
 E
loadfromxml/LoadXML.java 0 2 0
org/opentrafficsim/ahfe/AHFEAnimation.java 1 0 0
org/opentrafficsim/ahfe/AHFESimulation.java 1 0 0
org/opentrafficsim/ahfe/AHFEUtil.java 2 0 0
org/opentrafficsim/ahfe/DelayedNeighborsPerception.java 1 0 0
org/opentrafficsim/demo/CircularRoadSwing.java 0 1 0
org/opentrafficsim/demo/RampMeteringDemo.java 0 5 0
org/opentrafficsim/demo/ShortMerge.java 1 1 0
org/opentrafficsim/demo/conflictAndControl/DemoTrafcodAndTurbo.java 1 0 0
org/opentrafficsim/demo/fd/FundamentalDiagramDemo.java 2 0 0
org/opentrafficsim/demo/geometry/TestGeometry.java 1 0 0
org/opentrafficsim/demo/geometry/shape/ShapeFileReader.java 1 0 0
org/opentrafficsim/demo/lanechange/LaneChangeGraph.java 1 0 0
org/opentrafficsim/demo/network/xml/TestTransform.java 0 1 0
org/opentrafficsim/demo/sdm/SdmSimulation.java 1 0 0
org/opentrafficsim/demo/steering/SteeringSimulation.java 1 4 0
org/opentrafficsim/demo/web/OTSDemoServer.java 0 11 0
org/opentrafficsim/demo/web/OTSFederatedDemoServer.java 0 23 0
org/opentrafficsim/demo/web/SimpleLoadBalancer.java 2 0 0
org/opentrafficsim/demo/web/SuperDemoWebApplication.java 0 6 0
strategies/LmrsStrategies.java 1 1 0
strategies/StrategiesDemo.java 0 1 0

Rules

Category Rule Violations Severity
blocks EmptyBlock 11
 Warning
NeedBraces 24
 Warning
design VisibilityModifier 2
 Warning
imports UnusedImports 2
 Warning
javadoc JavadocPackage 4
 Info
misc FinalParameters 1
 Warning
TodoComment 13
 Warning
naming ConstantName 1
 Warning
sizes LineLength
  • max: "128"
5
 Info
MethodLength 5
 Info
ParameterNumber 3
 Info
whitespace WhitespaceAfter 2
 Warning

Details

loadfromxml/LoadXML.java

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

org/opentrafficsim/ahfe/AHFEAnimation.java

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

org/opentrafficsim/ahfe/AHFESimulation.java

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

org/opentrafficsim/ahfe/AHFEUtil.java

Severity Category Rule Message Line
 Info
sizes MethodLength Method length is 166 lines (max allowed is 150). 142
 Info
sizes ParameterNumber More than 7 parameters (found 14). 354

org/opentrafficsim/ahfe/DelayedNeighborsPerception.java

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

org/opentrafficsim/demo/CircularRoadSwing.java

Severity Category Rule Message Line
 Warning
imports UnusedImports Unused import - java.awt.Window. 6

org/opentrafficsim/demo/RampMeteringDemo.java

Severity Category Rule Message Line
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 299
 Warning
whitespace WhitespaceAfter ';' is not followed by whitespace. 334
 Warning
whitespace WhitespaceAfter ';' is not followed by whitespace. 339
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 390
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 576

org/opentrafficsim/demo/ShortMerge.java

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

org/opentrafficsim/demo/conflictAndControl/DemoTrafcodAndTurbo.java

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

org/opentrafficsim/demo/fd/FundamentalDiagramDemo.java

Severity Category Rule Message Line
 Info
javadoc JavadocPackage Missing package-info.java file. 1
 Info
sizes MethodLength Method length is 257 lines (max allowed is 150). 308

org/opentrafficsim/demo/geometry/TestGeometry.java

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

org/opentrafficsim/demo/geometry/shape/ShapeFileReader.java

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

org/opentrafficsim/demo/lanechange/LaneChangeGraph.java

Severity Category Rule Message Line
 Info
sizes ParameterNumber More than 7 parameters (found 8). 371

org/opentrafficsim/demo/network/xml/TestTransform.java

Severity Category Rule Message Line
 Warning
misc FinalParameters Parameter args should be final. 34

org/opentrafficsim/demo/sdm/SdmSimulation.java

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

org/opentrafficsim/demo/steering/SteeringSimulation.java

Severity Category Rule Message Line
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 96
 Info
sizes MethodLength Method length is 158 lines (max allowed is 150). 136
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 242
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 262
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 268

org/opentrafficsim/demo/web/OTSDemoServer.java

Severity Category Rule Message Line
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 564
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 566
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 581
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 583
 Warning
blocks EmptyBlock Must have at least one statement. 589
 Warning
blocks EmptyBlock Must have at least one statement. 593
 Warning
blocks EmptyBlock Must have at least one statement. 597
 Warning
blocks EmptyBlock Must have at least one statement. 601
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 729
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 734
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 747

org/opentrafficsim/demo/web/OTSFederatedDemoServer.java

Severity Category Rule Message Line
 Warning
design VisibilityModifier Variable 'sessionModelMap' must be private and have accessor methods. 83
 Warning
design VisibilityModifier Variable 'sessionWebModelMap' must be private and have accessor methods. 86
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 211
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 213
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 215
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 217
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 219
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 233
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 235
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 237
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 240
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 242
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 445
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 447
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 462
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 464
 Warning
blocks EmptyBlock Must have at least one statement. 470
 Warning
blocks EmptyBlock Must have at least one statement. 474
 Warning
blocks EmptyBlock Must have at least one statement. 478
 Warning
blocks EmptyBlock Must have at least one statement. 482
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 610
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 615
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 628

org/opentrafficsim/demo/web/SimpleLoadBalancer.java

Severity Category Rule Message Line
 Info
sizes LineLength Line is longer than 128 characters (found 130). 208
 Info
sizes LineLength Line is longer than 128 characters (found 130). 320

org/opentrafficsim/demo/web/SuperDemoWebApplication.java

Severity Category Rule Message Line
 Warning
blocks EmptyBlock Must have at least one statement. 363
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 364
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 423
 Warning
blocks EmptyBlock Must have at least one statement. 458
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 459
 Warning
misc TodoComment Comment matches to-do format 'TODO:'. 532

strategies/LmrsStrategies.java

Severity Category Rule Message Line
 Warning
naming ConstantName Name 'colorer' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 265
 Info
sizes MethodLength Method length is 169 lines (max allowed is 150). 280

strategies/StrategiesDemo.java

Severity Category Rule Message Line
 Warning
imports UnusedImports Unused import - java.awt.BorderLayout. 3