The following document contains the results of Checkstyle 6.2 with development/dsol-checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | NeedBraces | 48 | ![]() |
design | DesignForExtension | 23 | ![]() |
VisibilityModifier | 10 | ![]() | |
javadoc | JavadocMethod | 15 | ![]() |
JavadocVariable | 8 | ![]() | |
misc | FinalParameters | 29 | ![]() |
sizes | LineLength
|
4 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 77 |
![]() |
design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 88 |
![]() |
misc | FinalParameters | Parameter obj should be final. | 89 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 91 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 93 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 95 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 100 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 103 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 107 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 110 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 116 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 37 |
![]() |
design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 47 |
![]() |
misc | FinalParameters | Parameter obj should be final. | 48 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 50 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 52 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 54 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 59 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 62 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 68 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'nodes' must be private and have accessor methods. | 65 |
![]() |
design | VisibilityModifier | Variable 'links' must be private and have accessor methods. | 68 |
![]() |
design | VisibilityModifier | Variable 'lanes' must be private and have accessor methods. | 71 |
![]() |
design | VisibilityModifier | Variable 'gtus' must be private and have accessor methods. | 74 |
![]() |
design | VisibilityModifier | Variable 'lastLanes' must be private and have accessor methods. | 77 |
![]() |
design | VisibilityModifier | Variable 'defaultGtuType' must be private and have accessor methods. | 80 |
![]() |
design | VisibilityModifier | Variable 'defaultRoute' must be private and have accessor methods. | 83 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 130). | 166 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 168 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 130). | 178 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 147). | 187 |
![]() |
design | DesignForExtension | Method 'sample' is not designed for extension - needs to be abstract, final or empty. | 257 |
![]() |
misc | FinalParameters | Parameter timeStamp should be final. | 257 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'timeStamp'. | 257 |
![]() |
misc | FinalParameters | Parameter gtuId should be final. | 257 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'gtuId'. | 257 |
![]() |
misc | FinalParameters | Parameter laneId should be final. | 257 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'laneId'. | 257 |
![]() |
misc | FinalParameters | Parameter forward should be final. | 257 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'forward'. | 257 |
![]() |
misc | FinalParameters | Parameter longitudinalPosition should be final. | 257 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'longitudinalPosition'. | 257 |
![]() |
misc | FinalParameters | Parameter speed should be final. | 258 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'speed'. | 258 |
![]() |
misc | FinalParameters | Parameter acceleration should be final. | 258 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'acceleration'. | 258 |
![]() |
design | DesignForExtension | Method 'updateClock' is not designed for extension - needs to be abstract, final or empty. | 297 |
![]() |
misc | FinalParameters | Parameter timeStamp should be final. | 297 |
![]() |
misc | FinalParameters | Parameter imbEventName should be final. | 358 |
![]() |
misc | FinalParameters | Parameter imbPayload should be final. | 358 |
![]() |
misc | FinalParameters | Parameter imbEventName should be final. | 463 |
![]() |
misc | FinalParameters | Parameter imbPayload should be final. | 463 |
![]() |
misc | FinalParameters | Parameter imbEventName should be final. | 538 |
![]() |
misc | FinalParameters | Parameter imbPayload should be final. | 538 |
![]() |
misc | FinalParameters | Parameter imbEventName should be final. | 628 |
![]() |
misc | FinalParameters | Parameter imbPayload should be final. | 628 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 280 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 282 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 284 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 286 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 288 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 290 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 292 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 294 |
![]() |
misc | FinalParameters | Parameter time should be final. | 307 |
![]() |
misc | FinalParameters | Parameter networkId should be final. | 307 |
![]() |
design | DesignForExtension | Method 'notifyTime' is not designed for extension - needs to be abstract, final or empty. | 334 |
![]() |
misc | FinalParameters | Parameter time should be final. | 334 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'time'. | 334 |
![]() |
design | DesignForExtension | Method 'sendStatisticsUpdate' is not designed for extension - needs to be abstract, final or empty. | 352 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'length' must be private and have accessor methods. | 26 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'linkData'. | 33 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'laneName'. | 33 |
![]() |
misc | FinalParameters | Parameter linkData should be final. | 66 |
![]() |
design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 72 |
![]() |
design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 84 |
![]() |
misc | FinalParameters | Parameter obj should be final. | 85 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 87 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 89 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 91 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 96 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 99 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 103 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 106 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 110 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 113 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 119 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'startNode' must be private and have accessor methods. | 27 |
![]() |
design | VisibilityModifier | Variable 'endNode' must be private and have accessor methods. | 30 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'startNode'. | 44 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'endNode'. | 44 |
![]() |
design | DesignForExtension | Method 'addLaneData' is not designed for extension - needs to be abstract, final or empty. | 56 |
![]() |
design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 100 |
![]() |
design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 113 |
![]() |
misc | FinalParameters | Parameter obj should be final. | 114 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 116 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 118 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 120 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 125 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 128 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 132 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 135 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 139 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 142 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 146 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 149 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 155 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 53 |
![]() |
design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 64 |
![]() |
misc | FinalParameters | Parameter obj should be final. | 65 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 67 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 69 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 71 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 76 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 79 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 83 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 86 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 92 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter routeName should be final. | 31 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'routeName'. | 31 |
![]() |
misc | FinalParameters | Parameter startNode should be final. | 31 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'startNode'. | 31 |
![]() |
misc | FinalParameters | Parameter endNode should be final. | 31 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'endNode'. | 31 |
![]() |
design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 64 |
![]() |
design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 76 |
![]() |
misc | FinalParameters | Parameter obj should be final. | 77 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 79 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 81 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 83 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 88 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 91 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 95 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 98 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 102 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 105 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 111 |