Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
35 4 143 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 5 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 9 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 4 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 3 59 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 DesignForExtension 5  Warning
VisibilityModifier 1  Warning
javadoc JavadocStyle
  • checkHtml: "false"
44  Warning
JavadocVariable 1  Warning
misc FinalParameters 38  Warning
modifier RedundantModifier 1  Warning
naming LocalVariableName 8  Warning
sizes LineLength
  • max: "128"
1  Info
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
 Warning design DesignForExtension Method 'unBlock' is not designed for extension - needs to be abstract, final or empty. 80
 Info sizes MethodLength Method length is 171 lines (max allowed is 150). 80
 Warning design DesignForExtension Method 'addTrafficLight' is not designed for extension - needs to be abstract, final or empty. 257
 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. 64
 Warning javadoc JavadocStyle First sentence should end with a period. 68
 Warning javadoc JavadocVariable Missing a Javadoc comment. 76
 Warning design VisibilityModifier Variable 'interLine' must be private and have accessor methods. 76

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
 Warning design DesignForExtension Method 'getOriginLat' is not designed for extension - needs to be abstract, final or empty. 164
 Warning design DesignForExtension Method 'getOriginLong' is not designed for extension - needs to be abstract, final or empty. 172

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. 75
 Warning javadoc JavadocStyle First sentence should end with a period. 83
 Warning javadoc JavadocStyle First sentence should end with a period. 87
 Warning design DesignForExtension Method 'getHeaderTag' is not designed for extension - needs to be abstract, final or empty. 226

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 198 lines (max allowed is 150). 196
 Warning misc FinalParameters Parameter roadTag should be final. 196
 Warning misc FinalParameters Parameter simulator should be final. 196
 Warning misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 197
 Warning blocks AvoidNestedBlocks Avoid nested blocks. 204
 Warning blocks NeedBraces 'if' construct must use '{}'s. 206
 Warning blocks NeedBraces 'if' construct must use '{}'s. 208
 Warning blocks NeedBraces 'if' construct must use '{}'s. 210
 Warning blocks NeedBraces 'if' construct must use '{}'s. 243
 Warning blocks NeedBraces 'if' construct must use '{}'s. 247
 Warning blocks NeedBraces 'if' construct must use '{}'s. 278
 Warning blocks NeedBraces 'if' construct must use '{}'s. 282
 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. 385
 Warning blocks NeedBraces 'if' construct must use '{}'s. 387
 Warning blocks NeedBraces 'if' construct must use '{}'s. 390
 Warning blocks NeedBraces 'else' construct must use '{}'s. 392
 Info sizes MethodLength Method length is 441 lines (max allowed is 150). 407
 Warning misc FinalParameters Parameter roadTag should be final. 407
 Warning misc FinalParameters Parameter simulator should be final. 407
 Warning misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 408
 Warning blocks NeedBraces 'if' construct must use '{}'s. 434
 Warning blocks NeedBraces 'if' construct must use '{}'s. 440
 Warning naming LocalVariableName Name 'laneWidth_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 473
 Warning naming LocalVariableName Name 'laneWidth_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. 474
 Warning naming LocalVariableName Name 'leftOffset_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 476
 Warning naming LocalVariableName Name 'leftOffset_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. 478
 Warning blocks NeedBraces 'if' construct must use '{}'s. 531
 Info sizes LineLength Line is longer than 128 characters (found 130). 565
 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. 734
 Warning misc FinalParameters Parameter roadTag should be final. 858
 Warning misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 858
 Warning blocks NeedBraces 'if' construct must use '{}'s. 860
 Warning blocks NeedBraces 'if' construct must use '{}'s. 870
 Warning blocks NeedBraces 'if' construct must use '{}'s. 872
 Warning blocks NeedBraces 'else' construct must use '{}'s. 874
 Warning blocks NeedBraces 'if' construct must use '{}'s. 879
 Warning blocks NeedBraces 'if' construct must use '{}'s. 881
 Warning blocks NeedBraces 'else' construct must use '{}'s. 883
 Warning misc FinalParameters Parameter roadTag should be final. 913
 Warning misc FinalParameters Parameter simulator should be final. 913
 Warning misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 914
 Warning blocks NeedBraces 'if' construct must use '{}'s. 932
 Warning blocks NeedBraces 'else' construct must use '{}'s. 934
 Warning blocks EmptyBlock Must have at least one statement. 970
 Warning blocks NeedBraces 'else' construct must use '{}'s. 973
 Warning misc FinalParameters Parameter roadTag should be final. 984
 Warning misc FinalParameters Parameter simulator should be final. 984
 Warning misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 985
 Warning blocks NeedBraces 'if' construct must use '{}'s. 1000
 Warning blocks NeedBraces 'else' construct must use '{}'s. 1002
 Warning blocks EmptyBlock Must have at least one statement. 1033
 Warning blocks NeedBraces 'else' construct must use '{}'s. 1036

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