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
10 0 53 0

Files

File
 I
 W
 E
org/opentrafficsim/sim0mq/kpi/GtuData.java 0 6 0
org/opentrafficsim/sim0mq/kpi/GtuTypeData.java 0 6 0
org/opentrafficsim/sim0mq/kpi/LaneData.java 0 8 0
org/opentrafficsim/sim0mq/kpi/LinkData.java 0 8 0
org/opentrafficsim/sim0mq/kpi/NodeData.java 0 6 0
org/opentrafficsim/sim0mq/kpi/RouteData.java 0 6 0
org/opentrafficsim/sim0mq/kpi/Sim0MQKpiTransceiver.java 0 7 0
org/opentrafficsim/sim0mq/kpi/Sim0MQSampler.java 0 6 0

Rules

Category Rule Violations Severity
blocks NeedBraces 30
 Warning
design VisibilityModifier 8
 Warning
imports UnusedImports 1
 Warning
javadoc JavadocVariable 7
 Warning
misc FinalParameters 7
 Warning

Details

org/opentrafficsim/sim0mq/kpi/GtuData.java

Severity Category Rule Message Line
 Warning
misc FinalParameters Parameter obj should be final. 88
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 90
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 92
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 94
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 99
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 102

org/opentrafficsim/sim0mq/kpi/GtuTypeData.java

Severity Category Rule Message Line
 Warning
misc FinalParameters Parameter obj should be final. 55
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 57
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 59
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 61
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 66
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 69

org/opentrafficsim/sim0mq/kpi/LaneData.java

Severity Category Rule Message Line
 Warning
design VisibilityModifier Variable 'length' must be private and have accessor methods. 26
 Warning
misc FinalParameters Parameter linkData should be final. 73
 Warning
misc FinalParameters Parameter obj should be final. 90
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 92
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 94
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 96
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 101
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 104

org/opentrafficsim/sim0mq/kpi/LinkData.java

Severity Category Rule Message Line
 Warning
design VisibilityModifier Variable 'startNode' must be private and have accessor methods. 27
 Warning
design VisibilityModifier Variable 'endNode' must be private and have accessor methods. 30
 Warning
misc FinalParameters Parameter obj should be final. 121
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 123
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 125
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 127
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 132
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 135

org/opentrafficsim/sim0mq/kpi/NodeData.java

Severity Category Rule Message Line
 Warning
misc FinalParameters Parameter obj should be final. 71
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 73
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 75
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 77
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 82
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 85

org/opentrafficsim/sim0mq/kpi/RouteData.java

Severity Category Rule Message Line
 Warning
misc FinalParameters Parameter obj should be final. 81
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 83
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 85
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 87
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 92
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 95

org/opentrafficsim/sim0mq/kpi/Sim0MQKpiTransceiver.java

Severity Category Rule Message Line
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 270
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 272
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 274
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 276
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 278
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 280
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 282

org/opentrafficsim/sim0mq/kpi/Sim0MQSampler.java

Severity Category Rule Message Line
 Warning
imports UnusedImports Unused import - java.util.Set. 6
 Warning
design VisibilityModifier Variable 'nodes' must be private and have accessor methods. 41
 Warning
design VisibilityModifier Variable 'links' must be private and have accessor methods. 44
 Warning
design VisibilityModifier Variable 'lanes' must be private and have accessor methods. 47
 Warning
design VisibilityModifier Variable 'gtus' must be private and have accessor methods. 50
 Warning
design VisibilityModifier Variable 'lastLanes' must be private and have accessor methods. 53