The following document contains the results of Checkstyle. 
| Rule | Violations | Severity |
|---|---|---|
| JavadocPackage | 2 | |
NewlineAtEndOfFile
|
1 | |
| Translation | 0 | |
| FileLength | 1 | |
| FileTabCharacter | 0 | |
RegexpSingleline
|
0 | |
| SuppressWarningsFilter | 0 | |
| JavadocMethod | 33 | |
| JavadocType | 0 | |
| JavadocVariable | 4 | |
| JavadocStyle | 0 | |
| ConstantName | 25 | |
| LocalFinalVariableName | 0 | |
| LocalVariableName | 2 | |
| MemberName | 0 | |
| MethodName | 0 | |
| PackageName | 0 | |
| ParameterName | 2 | |
| StaticVariableName | 0 | |
TypeName
|
0 | |
| AvoidStarImport | 0 | |
| IllegalImport | 0 | |
| RedundantImport | 0 | |
| UnusedImports | 3 | |
LineLength
|
1 | |
| MethodLength | 1 | |
| ParameterNumber | 2 | |
| EmptyForIteratorPad | 0 | |
| GenericWhitespace | 0 | |
| MethodParamPad | 0 | |
| NoWhitespaceAfter | 0 | |
| NoWhitespaceBefore | 0 | |
| OperatorWrap | 0 | |
| ParenPad | 0 | |
| TypecastParenPad | 0 | |
| WhitespaceAfter | 0 | |
WhitespaceAround
|
0 | |
| ModifierOrder | 2 | |
| RedundantModifier | 0 | |
| AvoidNestedBlocks | 2 | |
| EmptyBlock | 5 | |
LeftCurly
|
0 | |
| NeedBraces | 0 | |
RightCurly
|
0 | |
| AvoidInlineConditionals | 0 | |
| EmptyStatement | 0 | |
| EqualsHashCode | 0 | |
HiddenField
|
0 | |
| IllegalInstantiation | 0 | |
| InnerAssignment | 0 | |
| MagicNumber | 0 | |
| MissingSwitchDefault | 0 | |
| RedundantThrows | 0 | |
| SimplifyBooleanExpression | 0 | |
| SimplifyBooleanReturn | 0 | |
| DesignForExtension | 0 | |
| FinalClass | 0 | |
| HideUtilityClassConstructor | 1 | |
| InterfaceIsType | 0 | |
| VisibilityModifier | 6 | |
| ArrayTypeStyle | 0 | |
| FinalParameters | 4 | |
| TodoComment | 2 | |
| UpperEll | 0 | |
| SuppressWarningsHolder | 0 |
| Severity | Message | Line |
|---|---|---|
| Expected @throws tag for 'GTUException'. | 320 | |
| Comment matches to-do format 'TODO:'. | 378 | |
| Must have at least one statement. | 424 | |
| Line is longer than 128 characters (found 142). | 429 | |
| Must have at least one statement. | 1228 |
| Severity | Message | Line |
|---|---|---|
| Expected @throws tag for 'NetworkException'. | 97 |
| Severity | Message | Line |
|---|---|---|
| Avoid nested blocks. | 156 | |
| Avoid nested blocks. | 185 | |
| Must have at least one statement. | 319 | |
| Must have at least one statement. | 325 | |
| Must have at least one statement. | 346 |
| Severity | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 45 | |
| Missing a Javadoc comment. | 56 |
| Severity | Message | Line |
|---|---|---|
| Parameter latPosAtEnd should be final. | 100 | |
| More than 7 parameters (found 9). | 156 | |
| Parameter laneOffsetAtStart should be final. | 157 | |
| Parameter laneOffsetAtEnd should be final. | 158 |
| Severity | Message | Line |
|---|---|---|
| Expected @throws tag for 'NetworkException'. | 723 |
| Severity | Message | Line |
|---|---|---|
| Unused import - org.opentrafficsim.core.dsol.OTSAnimatorInterface. | 13 |
| Severity | Message | Line |
|---|---|---|
| Unused import - nl.tudelft.simulation.dsol.ModelInterface. | 7 |
| Severity | Message | Line |
|---|---|---|
| File length is 2,003 lines (max allowed is 2,000). | 1 | |
| Expected @throws tag for 'NetworkException'. | 1994 | |
| Expected @throws tag for 'ParserConfigurationException'. | 1994 | |
| Expected @throws tag for 'SAXException'. | 1994 | |
| Expected @throws tag for 'IOException'. | 1995 |
| Severity | Message | Line |
|---|---|---|
| 'static' modifier out of order with the JLS suggestions. | 100 |
| Severity | Message | Line |
|---|---|---|
| Comment matches to-do format 'TODO:'. | 31 |
| Severity | Message | Line |
|---|---|---|
| Name 'cbrt' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 30 | |
| Name 'cosh' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 42 | |
| Name 'expm1' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 54 | |
| Name 'log10' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 66 | |
| Name 'log1p' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 78 | |
| Name 'round' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 90 | |
| Name 'signum' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 102 | |
| Name 'sinh' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 114 | |
| Name 'tanh' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 126 | |
| Name 'toDegrees' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 138 | |
| Name 'toRadians' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 150 |
| Severity | Message | Line |
|---|---|---|
| Name 'A' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 852 | |
| Name 'A2D' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 860 |
| Severity | Message | Line |
|---|---|---|
| Name 'cbrt' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 30 | |
| Name 'cosh' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 42 | |
| Name 'expm1' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 54 | |
| Name 'log10' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 66 | |
| Name 'log1p' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 78 | |
| Name 'round' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 90 | |
| Name 'signum' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 102 | |
| Name 'sinh' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 114 | |
| Name 'tanh' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 126 | |
| Name 'toDegrees' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 138 | |
| Name 'toRadians' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 150 |
| Severity | Message | Line |
|---|---|---|
| Name 'A' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 852 | |
| Name 'A2D' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 860 |
| Severity | Message | Line |
|---|---|---|
| Variable 'paintScale' must be private and have accessor methods. | 66 | |
| Variable 'xAxis' must be private and have accessor methods. | 69 | |
| Variable 'yAxis' must be private and have accessor methods. | 72 | |
| Parameter index should be final. | 111 | |
| More than 7 parameters (found 9). | 137 | |
| Variable 'cachedYAxisBins' must be private and have accessor methods. | 392 | |
| Variable 'cachedXAxisBins' must be private and have accessor methods. | 439 | |
| Variable 'cachedItemCount' must be private and have accessor methods. | 456 |
| Severity | Message | Line |
|---|---|---|
| File does not end with a newline. | ||
| Utility classes should not have a public or default constructor. | 17 | |
| Missing a Javadoc comment. | 19 | |
| Name 'bike' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 19 | |
| Missing a Javadoc comment. | 20 | |
| Name 'car' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 20 | |
| Missing a Javadoc comment. | 21 | |
| Name 'pedestrian' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 21 |
| Severity | Message | Line |
|---|---|---|
| Missing package-info.java file. |
| Severity | Message | Line |
|---|---|---|
| Missing package-info.java file. | ||
| Unused import - org.opentrafficsim.importexport.osm.Link. | 39 | |
| Expected @throws tag for 'FactoryException'. | 69 | |
| Expected @throws tag for 'TransformException'. | 69 | |
| Method length is 202 lines (max allowed is 150). | 227 | |
| Expected @param tag for 'osmlink'. | 227 | |
| Expected @param tag for 'structure'. | 438 | |
| Expected @param tag for 'osmlink'. | 439 | |
| Expected @param tag for 'forwards'. | 439 | |
| Expected @param tag for 'backwards'. | 439 | |
| Expected @param tag for 'simulator'. | 530 | |
| Expected @throws tag for 'NetworkException'. | 530 | |
| Expected @throws tag for 'RemoteException'. | 530 | |
| Expected @throws tag for 'NamingException'. | 530 | |
| Expected @param tag for 'l'. | 590 | |
| Expected @param tag for 'simulator'. | 590 | |
| Expected @param tag for 'color'. | 590 | |
| Expected @throws tag for 'RemoteException'. | 591 | |
| Expected @throws tag for 'NamingException'. | 591 | |
| Expected @param tag for 'net'. | 693 | |
| Expected @param tag for 'lt'. | 745 | |
| Expected @param tag for 'c'. | 745 | |
| Expected @param tag for 'd'. | 745 | |
| Expected @param tag for 'lt'. | 758 | |
| Expected @param tag for 'c'. | 758 | |
| Expected @param tag for 'd'. | 758 | |
| Expected @param tag for 'w'. | 758 |
| Severity | Message | Line |
|---|---|---|
| 'static' modifier out of order with the JLS suggestions. | 369 |
| Severity | Message | Line |
|---|---|---|
| Expected @throws tag for 'PropertyException'. | 159 |