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
33 5 139 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 4 55 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 37  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"
2  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 193 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. 316
 Warning blocks NeedBraces 'if' construct must use '{}'s. 318
 Warning blocks NeedBraces 'if' construct must use '{}'s. 342
 Warning blocks NeedBraces 'if' construct must use '{}'s. 346
 Warning blocks NeedBraces 'if' construct must use '{}'s. 381
 Warning blocks NeedBraces 'if' construct must use '{}'s. 383
 Info sizes MethodLength Method length is 441 lines (max allowed is 150). 401
 Warning misc FinalParameters Parameter roadTag should be final. 401
 Warning misc FinalParameters Parameter simulator should be final. 401
 Warning misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 402
 Warning blocks NeedBraces 'if' construct must use '{}'s. 428
 Warning blocks NeedBraces 'if' construct must use '{}'s. 434
 Warning naming LocalVariableName Name 'laneWidth_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 467
 Warning naming LocalVariableName Name 'laneWidth_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. 468
 Warning naming LocalVariableName Name 'leftOffset_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 470
 Warning naming LocalVariableName Name 'leftOffset_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. 472
 Warning blocks NeedBraces 'if' construct must use '{}'s. 525
 Warning naming LocalVariableName Name 'laneWidth_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 669
 Warning naming LocalVariableName Name 'laneWidth_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. 670
 Warning naming LocalVariableName Name 'leftOffset_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 672
 Warning naming LocalVariableName Name 'leftOffset_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. 674
 Warning blocks NeedBraces 'if' construct must use '{}'s. 728
 Warning misc FinalParameters Parameter roadTag should be final. 852
 Warning misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 852
 Warning blocks NeedBraces 'if' construct must use '{}'s. 854
 Warning blocks NeedBraces 'if' construct must use '{}'s. 864
 Warning blocks NeedBraces 'if' construct must use '{}'s. 866
 Warning blocks NeedBraces 'else' construct must use '{}'s. 868
 Warning blocks NeedBraces 'if' construct must use '{}'s. 873
 Warning blocks NeedBraces 'if' construct must use '{}'s. 875
 Warning blocks NeedBraces 'else' construct must use '{}'s. 877
 Warning misc FinalParameters Parameter roadTag should be final. 907
 Warning misc FinalParameters Parameter simulator should be final. 907
 Warning misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 908
 Warning blocks NeedBraces 'if' construct must use '{}'s. 926
 Warning blocks NeedBraces 'else' construct must use '{}'s. 928
 Info sizes LineLength Line is longer than 128 characters (found 129). 933
 Warning blocks EmptyBlock Must have at least one statement. 964
 Warning blocks NeedBraces 'else' construct must use '{}'s. 967
 Warning misc FinalParameters Parameter roadTag should be final. 978
 Warning misc FinalParameters Parameter simulator should be final. 978
 Warning misc FinalParameters Parameter openDriveNetworkLaneParser should be final. 979
 Warning blocks NeedBraces 'if' construct must use '{}'s. 994
 Warning blocks NeedBraces 'else' construct must use '{}'s. 996
 Info sizes LineLength Line is longer than 128 characters (found 129). 1001
 Warning blocks EmptyBlock Must have at least one statement. 1027
 Warning blocks NeedBraces 'else' construct must use '{}'s. 1030

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