Checkstyle Results
The following document contains the results of Checkstyle 6.2 with development/dsol-checks.xml ruleset. 
Summary
Files |
Info |
Warnings |
Errors |
10 |
0 |
74 |
0 |
Details
org/opentrafficsim/sim0mq/kpi/GtuData.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
design |
DesignForExtension |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. |
77 |
Warning |
design |
DesignForExtension |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. |
87 |
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 |
Warning |
design |
DesignForExtension |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
108 |
org/opentrafficsim/sim0mq/kpi/GtuTypeData.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
design |
DesignForExtension |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. |
37 |
Warning |
design |
DesignForExtension |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. |
47 |
Warning |
misc |
FinalParameters |
Parameter obj should be final. |
48 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
50 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
52 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
54 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
59 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
62 |
Warning |
design |
DesignForExtension |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
68 |
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. |
66 |
Warning |
design |
DesignForExtension |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. |
72 |
Warning |
design |
DesignForExtension |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. |
82 |
Warning |
misc |
FinalParameters |
Parameter obj should be final. |
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. |
89 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
94 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
97 |
Warning |
design |
DesignForExtension |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
103 |
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 |
design |
DesignForExtension |
Method 'addLaneData' is not designed for extension - needs to be abstract, final or empty. |
56 |
Warning |
design |
DesignForExtension |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. |
100 |
Warning |
design |
DesignForExtension |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. |
113 |
Warning |
misc |
FinalParameters |
Parameter obj should be final. |
114 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
116 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
118 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
120 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
125 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
128 |
Warning |
design |
DesignForExtension |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
134 |
org/opentrafficsim/sim0mq/kpi/NodeData.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
design |
DesignForExtension |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. |
53 |
Warning |
design |
DesignForExtension |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. |
63 |
Warning |
misc |
FinalParameters |
Parameter obj should be final. |
64 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
66 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
68 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
70 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
75 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
78 |
Warning |
design |
DesignForExtension |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
84 |
org/opentrafficsim/sim0mq/kpi/RouteData.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
misc |
FinalParameters |
Parameter routeName should be final. |
31 |
Warning |
misc |
FinalParameters |
Parameter startNode should be final. |
31 |
Warning |
misc |
FinalParameters |
Parameter endNode should be final. |
31 |
Warning |
design |
DesignForExtension |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. |
64 |
Warning |
design |
DesignForExtension |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. |
74 |
Warning |
misc |
FinalParameters |
Parameter obj should be final. |
75 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
77 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
79 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
81 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
86 |
Warning |
blocks |
NeedBraces |
'if' construct must use '{}'s. |
89 |
Warning |
design |
DesignForExtension |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
95 |
org/opentrafficsim/sim0mq/kpi/Sim0MQKpiTransceiver.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
javadoc |
JavadocVariable |
Missing a Javadoc comment. |
268 |
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 |
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 |