Checkstyle Results

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

rss feed

Summary

Files
 Info
 Warnings
 Errors
35 3 135 0

Files

File
 I
 W
 E
org/opentrafficsim/road/network/factory/opendrive/ConnectionTag.java 0 2 0
org/opentrafficsim/road/network/factory/opendrive/Controller.java 1 3 0
org/opentrafficsim/road/network/factory/opendrive/ControllerTag.java 0 1 0
org/opentrafficsim/road/network/factory/opendrive/ElevationProfileTag.java 0 1 0
org/opentrafficsim/road/network/factory/opendrive/ElevationTag.java 0 1 0
org/opentrafficsim/road/network/factory/opendrive/GeneratorAnimation.java 0 1 0
org/opentrafficsim/road/network/factory/opendrive/GeometryTag.java 0 4 0
org/opentrafficsim/road/network/factory/opendrive/HeaderTag.java 0 7 0
org/opentrafficsim/road/network/factory/opendrive/JunctionTag.java 0 6 0
org/opentrafficsim/road/network/factory/opendrive/LaneSectionTag.java 0 8 0
org/opentrafficsim/road/network/factory/opendrive/LaneTag.java 0 6 0
org/opentrafficsim/road/network/factory/opendrive/LanesTag.java 0 2 0
org/opentrafficsim/road/network/factory/opendrive/LateralProfileTag.java 0 1 0
org/opentrafficsim/road/network/factory/opendrive/ObjectsTag.java 0 1 0
org/opentrafficsim/road/network/factory/opendrive/OpenDriveNetworkLaneParser.java 0 3 0
org/opentrafficsim/road/network/factory/opendrive/OpenDriveNetworkWriter.java 0 2 0
org/opentrafficsim/road/network/factory/opendrive/PlanViewTag.java 0 20 0
org/opentrafficsim/road/network/factory/opendrive/RoadMarkTag.java 0 4 0
org/opentrafficsim/road/network/factory/opendrive/RoadTag.java 2 56 0
org/opentrafficsim/road/network/factory/opendrive/SignalsTag.java 0 2 0
org/opentrafficsim/road/network/factory/opendrive/SuperElevationTag.java 0 1 0
org/opentrafficsim/road/network/factory/opendrive/TrafficLightState.java 0 3 0

Rules

Category Rule Violations Severity
blocks AvoidNestedBlocks
  • allowInSwitchCase: "true"
1
 Warning
EmptyBlock 3
 Warning
NeedBraces 41
 Warning
design VisibilityModifier 1
 Warning
javadoc JavadocStyle
  • checkHtml: "false"
44
 Warning
JavadocVariable 1
 Warning
misc FinalParameters 35
 Warning
modifier RedundantModifier 1
 Warning
naming LocalVariableName 8
 Warning
sizes MethodLength 3
 Info

Details

org/opentrafficsim/road/network/factory/opendrive/ConnectionTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 30
 Warning
javadoc JavadocStyle First sentence should end with a period. 34

org/opentrafficsim/road/network/factory/opendrive/Controller.java

Severity Category Rule Message Line
 Warning
blocks EmptyBlock Must have at least one statement. 66
 Info
sizes MethodLength Method length is 171 lines (max allowed is 150). 80
 Warning
misc FinalParameters Parameter sequence2 should be final. 257
 Warning
misc FinalParameters Parameter trafficLight should be final. 257

org/opentrafficsim/road/network/factory/opendrive/ControllerTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 45

org/opentrafficsim/road/network/factory/opendrive/ElevationProfileTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 28

org/opentrafficsim/road/network/factory/opendrive/ElevationTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 46

org/opentrafficsim/road/network/factory/opendrive/GeneratorAnimation.java

Severity Category Rule Message Line
 Warning
modifier RedundantModifier Redundant 'public' modifier. 93

org/opentrafficsim/road/network/factory/opendrive/GeometryTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 65
 Warning
javadoc JavadocStyle First sentence should end with a period. 69
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 77
 Warning
design VisibilityModifier Variable 'interLine' must be private and have accessor methods. 77

org/opentrafficsim/road/network/factory/opendrive/HeaderTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 48
 Warning
javadoc JavadocStyle First sentence should end with a period. 52
 Warning
javadoc JavadocStyle First sentence should end with a period. 56
 Warning
javadoc JavadocStyle First sentence should end with a period. 60
 Warning
javadoc JavadocStyle First sentence should end with a period. 68
 Warning
javadoc JavadocStyle First sentence should end with a period. 72
 Warning
javadoc JavadocStyle First sentence should end with a period. 76

org/opentrafficsim/road/network/factory/opendrive/JunctionTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 40
 Warning
javadoc JavadocStyle First sentence should end with a period. 44
 Warning
misc FinalParameters Parameter juncTag should be final. 96
 Warning
misc FinalParameters Parameter simulator should be final. 96
 Warning
misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 97
 Warning
blocks NeedBraces 'for' construct must use '{}'s. 111

org/opentrafficsim/road/network/factory/opendrive/LaneSectionTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 40
 Warning
javadoc JavadocStyle First sentence should end with a period. 44
 Warning
javadoc JavadocStyle First sentence should end with a period. 48
 Warning
javadoc JavadocStyle First sentence should end with a period. 52
 Warning
misc FinalParameters Parameter orientation should be final. 104
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 112
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 117
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 122

org/opentrafficsim/road/network/factory/opendrive/LaneTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 31
 Warning
javadoc JavadocStyle First sentence should end with a period. 35
 Warning
javadoc JavadocStyle First sentence should end with a period. 47
 Warning
javadoc JavadocStyle First sentence should end with a period. 51
 Warning
javadoc JavadocStyle First sentence should end with a period. 55
 Warning
javadoc JavadocStyle First sentence should end with a period. 59

org/opentrafficsim/road/network/factory/opendrive/LanesTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 29
 Warning
misc FinalParameters Parameter s should be final. 65

org/opentrafficsim/road/network/factory/opendrive/LateralProfileTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 27

org/opentrafficsim/road/network/factory/opendrive/ObjectsTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 27

org/opentrafficsim/road/network/factory/opendrive/OpenDriveNetworkLaneParser.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 76
 Warning
javadoc JavadocStyle First sentence should end with a period. 84
 Warning
javadoc JavadocStyle First sentence should end with a period. 88

org/opentrafficsim/road/network/factory/opendrive/OpenDriveNetworkWriter.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 21
 Warning
misc FinalParameters Parameter network should be final. 31

org/opentrafficsim/road/network/factory/opendrive/PlanViewTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 35
 Warning
misc FinalParameters Parameter geometryTag should be final. 118
 Warning
misc FinalParameters Parameter elevationTags should be final. 118
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 121
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 128
 Warning
misc FinalParameters Parameter parser should be final. 147
 Warning
misc FinalParameters Parameter planViewTag should be final. 147
 Warning
misc FinalParameters Parameter geometryTag should be final. 147
 Warning
misc FinalParameters Parameter geometryCount should be final. 148
 Warning
misc FinalParameters Parameter planViewTag should be final. 188
 Warning
misc FinalParameters Parameter geometryTag should be final. 188
 Warning
misc FinalParameters Parameter geometryCount should be final. 188
 Warning
misc FinalParameters Parameter roadTag should be final. 188
 Warning
misc FinalParameters Parameter pFrom should be final. 228
 Warning
misc FinalParameters Parameter pTo should be final. 228
 Warning
misc FinalParameters Parameter pRadius should be final. 228
 Warning
misc FinalParameters Parameter pMinDistance should be final. 228
 Warning
misc FinalParameters Parameter shortest should be final. 229
 Warning
misc FinalParameters Parameter side should be final. 229
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 362

org/opentrafficsim/road/network/factory/opendrive/RoadMarkTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 31
 Warning
javadoc JavadocStyle First sentence should end with a period. 35
 Warning
javadoc JavadocStyle First sentence should end with a period. 39
 Warning
javadoc JavadocStyle First sentence should end with a period. 47

org/opentrafficsim/road/network/factory/opendrive/RoadTag.java

Severity Category Rule Message Line
 Info
sizes MethodLength Method length is 200 lines (max allowed is 150). 195
 Warning
misc FinalParameters Parameter roadTag should be final. 195
 Warning
misc FinalParameters Parameter simulator should be final. 195
 Warning
misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 196
 Warning
blocks AvoidNestedBlocks Avoid nested blocks. 203
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 205
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 207
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 209
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 242
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 246
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 277
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 281
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 317
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 319
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 322
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 324
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 346
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 350
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 386
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 388
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 391
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 393
 Info
sizes MethodLength Method length is 438 lines (max allowed is 150). 408
 Warning
misc FinalParameters Parameter roadTag should be final. 408
 Warning
misc FinalParameters Parameter simulator should be final. 408
 Warning
misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 409
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 435
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 441
 Warning
naming LocalVariableName Name 'laneWidth_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 474
 Warning
naming LocalVariableName Name 'laneWidth_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. 475
 Warning
naming LocalVariableName Name 'leftOffset_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 477
 Warning
naming LocalVariableName Name 'leftOffset_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. 479
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 530
 Warning
naming LocalVariableName Name 'laneWidth_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 675
 Warning
naming LocalVariableName Name 'laneWidth_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. 676
 Warning
naming LocalVariableName Name 'leftOffset_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 678
 Warning
naming LocalVariableName Name 'leftOffset_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. 680
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 732
 Warning
misc FinalParameters Parameter roadTag should be final. 856
 Warning
misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 856
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 858
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 868
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 870
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 872
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 877
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 879
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 881
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 933
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 935
 Warning
blocks EmptyBlock Must have at least one statement. 971
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 974
 Warning
misc FinalParameters Parameter roadTag should be final. 985
 Warning
misc FinalParameters Parameter simulator should be final. 985
 Warning
misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 986
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 1001
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 1003
 Warning
blocks EmptyBlock Must have at least one statement. 1034
 Warning
blocks NeedBraces 'else' construct must use '{}'s. 1037

org/opentrafficsim/road/network/factory/opendrive/SignalsTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 27
 Warning
javadoc JavadocStyle First sentence should end with a period. 31

org/opentrafficsim/road/network/factory/opendrive/SuperElevationTag.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 47

org/opentrafficsim/road/network/factory/opendrive/TrafficLightState.java

Severity Category Rule Message Line
 Warning
javadoc JavadocStyle First sentence should end with a period. 15
 Warning
javadoc JavadocStyle First sentence should end with a period. 18
 Warning
javadoc JavadocStyle First sentence should end with a period. 21