Checkstyle Results

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

rss feed

Summary

Files
 Info
 Warnings
 Errors
10 0 47 0

Files

File
 I
 W
 E
org/opentrafficsim/sim0mq/kpi/GtuDataSim0.java 0 5 0
org/opentrafficsim/sim0mq/kpi/GtuTypeDataDeprecated.java 0 5 0
org/opentrafficsim/sim0mq/kpi/LaneDataSim0.java 0 8 0
org/opentrafficsim/sim0mq/kpi/LinkDataSim0.java 0 7 0
org/opentrafficsim/sim0mq/kpi/NodeDataDeprecated.java 0 5 0
org/opentrafficsim/sim0mq/kpi/RouteData.java 0 5 0
org/opentrafficsim/sim0mq/kpi/Sim0mqKpiTransceiver.java 0 7 0
org/opentrafficsim/sim0mq/kpi/Sim0mqSampler.java 0 5 0

Rules

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

Details

org/opentrafficsim/sim0mq/kpi/GtuDataSim0.java

Severity Category Rule Message Line
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 86
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 88
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 90
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 95
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 98

org/opentrafficsim/sim0mq/kpi/GtuTypeDataDeprecated.java

Severity Category Rule Message Line
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 54
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 56
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 58
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 63
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 66

org/opentrafficsim/sim0mq/kpi/LaneDataSim0.java

Severity Category Rule Message Line
 Warning
design VisibilityModifier Variable 'length' must be private and have accessor methods. 25
 Warning
misc FinalParameters Parameter linkData should be final. 72
 Warning
misc FinalParameters Parameter obj should be final. 89
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 91
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 93
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 95
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 100
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 103

org/opentrafficsim/sim0mq/kpi/LinkDataSim0.java

Severity Category Rule Message Line
 Warning
design VisibilityModifier Variable 'startNode' must be private and have accessor methods. 25
 Warning
design VisibilityModifier Variable 'endNode' must be private and have accessor methods. 28
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 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. 130
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 133

org/opentrafficsim/sim0mq/kpi/NodeDataDeprecated.java

Severity Category Rule Message Line
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 70
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 72
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 74
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 79
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 82

org/opentrafficsim/sim0mq/kpi/RouteData.java

Severity Category Rule Message Line
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 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. 90
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 93

org/opentrafficsim/sim0mq/kpi/Sim0mqKpiTransceiver.java

Severity Category Rule Message Line
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 269
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 271
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 273
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 275
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 277
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 279
 Warning
javadoc JavadocVariable Missing a Javadoc comment. 281

org/opentrafficsim/sim0mq/kpi/Sim0mqSampler.java

Severity Category Rule Message Line
 Warning
design VisibilityModifier Variable 'nodes' must be private and have accessor methods. 39
 Warning
design VisibilityModifier Variable 'links' must be private and have accessor methods. 42
 Warning
design VisibilityModifier Variable 'lanes' must be private and have accessor methods. 45
 Warning
design VisibilityModifier Variable 'gtus' must be private and have accessor methods. 48
 Warning
design VisibilityModifier Variable 'lastLanes' must be private and have accessor methods. 51