Checkstyle Results

The following document contains the results of Checkstyle 6.2 with development/dsol-checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
7 5 236 0

Rules

Category Rule Violations Severity
blocks LeftCurly
  • maxLineLength: "128"
  • option: "nl"
37  Warning
coding EmptyStatement 1  Warning
design DesignForExtension 21  Warning
javadoc JavadocMethod 85  Warning
JavadocPackage 1  Info
JavadocStyle
  • checkHtml: "false"
5  Warning
JavadocType 1  Warning
JavadocVariable 21  Warning
misc FinalParameters 65  Warning
sizes LineLength
  • max: "128"
1  Info
ParameterNumber 3  Info

Details

org/opentrafficsim/road/network/factory/shape/AbstractNWBRoadElement.java

Severity Category Rule Message Line
 Info javadoc JavadocPackage Missing package-info.java file.
 Warning blocks LeftCurly '{' should be on a new line. 13
 Warning javadoc JavadocVariable Missing a Javadoc comment. 16
 Warning javadoc JavadocVariable Missing a Javadoc comment. 18
 Warning javadoc JavadocVariable Missing a Javadoc comment. 20
 Warning javadoc JavadocVariable Missing a Javadoc comment. 23
 Warning javadoc JavadocVariable Missing a Javadoc comment. 26
 Warning javadoc JavadocVariable Missing a Javadoc comment. 29
 Warning misc FinalParameters Parameter myGeom should be final. 39
 Warning javadoc JavadocMethod Expected @param tag for 'myGeom'. 39
 Warning misc FinalParameters Parameter startNode should be final. 39
 Warning javadoc JavadocMethod Expected @param tag for 'startNode'. 39
 Warning misc FinalParameters Parameter endNode should be final. 39
 Warning javadoc JavadocMethod Expected @param tag for 'endNode'. 39
 Warning misc FinalParameters Parameter roadId should be final. 39
 Warning javadoc JavadocMethod Expected @param tag for 'roadId'. 39
 Warning misc FinalParameters Parameter beginDistance should be final. 39
 Warning javadoc JavadocMethod Expected @param tag for 'beginDistance'. 39
 Warning misc FinalParameters Parameter endDistance should be final. 40
 Warning javadoc JavadocMethod Expected @param tag for 'endDistance'. 40
 Warning blocks LeftCurly '{' should be on a new line. 40
 Warning design DesignForExtension Method 'getMyGeom' is not designed for extension - needs to be abstract, final or empty. 50
 Warning javadoc JavadocMethod Missing a Javadoc comment. 50
 Warning blocks LeftCurly '{' should be on a new line. 50
 Warning design DesignForExtension Method 'getStartNode' is not designed for extension - needs to be abstract, final or empty. 54
 Warning javadoc JavadocMethod Missing a Javadoc comment. 54
 Warning blocks LeftCurly '{' should be on a new line. 54
 Warning design DesignForExtension Method 'getEndNode' is not designed for extension - needs to be abstract, final or empty. 58
 Warning javadoc JavadocMethod Missing a Javadoc comment. 58
 Warning blocks LeftCurly '{' should be on a new line. 58
 Warning design DesignForExtension Method 'getRoadId' is not designed for extension - needs to be abstract, final or empty. 62
 Warning javadoc JavadocMethod Missing a Javadoc comment. 62
 Warning blocks LeftCurly '{' should be on a new line. 62
 Warning design DesignForExtension Method 'getBeginDistance' is not designed for extension - needs to be abstract, final or empty. 66
 Warning javadoc JavadocMethod Missing a Javadoc comment. 66
 Warning blocks LeftCurly '{' should be on a new line. 66
 Warning design DesignForExtension Method 'getEndDistance' is not designed for extension - needs to be abstract, final or empty. 70
 Warning javadoc JavadocMethod Missing a Javadoc comment. 70
 Warning blocks LeftCurly '{' should be on a new line. 70

org/opentrafficsim/road/network/factory/shape/LocatePoint.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle First sentence should end with a period. 40
 Warning blocks LeftCurly '{' should be on a new line. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 45
 Warning misc FinalParameters Parameter p0 should be final. 45
 Warning misc FinalParameters Parameter p1 should be final. 45
 Warning misc FinalParameters Parameter distance should be final. 45
 Warning blocks LeftCurly '{' should be on a new line. 45
 Warning blocks LeftCurly '{' should be on a new line. 48
 Warning blocks LeftCurly '{' should be on a new line. 51
 Warning javadoc JavadocMethod Missing a Javadoc comment. 60
 Warning misc FinalParameters Parameter line should be final. 60
 Warning misc FinalParameters Parameter distance should be final. 60
 Warning blocks LeftCurly '{' should be on a new line. 60
 Warning javadoc JavadocVariable Missing a Javadoc comment. 65
 Warning javadoc JavadocVariable Missing a Javadoc comment. 67
 Warning javadoc JavadocMethod Missing a Javadoc comment. 69
 Warning misc FinalParameters Parameter line should be final. 69
 Warning misc FinalParameters Parameter distance should be final. 69
 Warning blocks LeftCurly '{' should be on a new line. 69
 Warning javadoc JavadocMethod Missing a Javadoc comment. 73
 Warning misc FinalParameters Parameter line should be final. 73
 Warning misc FinalParameters Parameter distance should be final. 73
 Warning blocks LeftCurly '{' should be on a new line. 73
 Warning blocks LeftCurly '{' should be on a new line. 77
 Warning blocks LeftCurly '{' should be on a new line. 81
 Warning design DesignForExtension Method 'getPoint' is not designed for extension - needs to be abstract, final or empty. 93
 Warning javadoc JavadocMethod Missing a Javadoc comment. 93
 Warning blocks LeftCurly '{' should be on a new line. 93
 Warning javadoc JavadocStyle First sentence should end with a period. 97
 Warning design DesignForExtension Method 'getIndex' is not designed for extension - needs to be abstract, final or empty. 101
 Warning blocks LeftCurly '{' should be on a new line. 101

org/opentrafficsim/road/network/factory/shape/NWBDrivingLane.java

Severity Category Rule Message Line
 Warning blocks LeftCurly '{' should be on a new line. 13
 Warning javadoc JavadocVariable Missing a Javadoc comment. 16
 Warning javadoc JavadocVariable Missing a Javadoc comment. 19
 Warning javadoc JavadocVariable Missing a Javadoc comment. 22
 Info sizes ParameterNumber More than 7 parameters (found 9). 35
 Warning misc FinalParameters Parameter myGeom should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'myGeom'. 35
 Warning misc FinalParameters Parameter startNode should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'startNode'. 35
 Warning misc FinalParameters Parameter endNode should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'endNode'. 35
 Warning misc FinalParameters Parameter roadId should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'roadId'. 35
 Warning misc FinalParameters Parameter beginDistance should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'beginDistance'. 35
 Warning misc FinalParameters Parameter endDistance should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'endDistance'. 36
 Warning misc FinalParameters Parameter startNumberOfLanes should be final. 36
 Warning misc FinalParameters Parameter endNumberOfLanes should be final. 36
 Warning misc FinalParameters Parameter sideCode should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'sideCode'. 36
 Warning blocks LeftCurly '{' should be on a new line. 36
 Warning design DesignForExtension Method 'getStartNumberOfLanes' is not designed for extension - needs to be abstract, final or empty. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 43
 Warning blocks LeftCurly '{' should be on a new line. 43
 Warning design DesignForExtension Method 'getEndNumberOfLanes' is not designed for extension - needs to be abstract, final or empty. 47
 Warning javadoc JavadocMethod Missing a Javadoc comment. 47
 Warning blocks LeftCurly '{' should be on a new line. 47
 Warning design DesignForExtension Method 'getSideCode' is not designed for extension - needs to be abstract, final or empty. 51
 Warning javadoc JavadocMethod Missing a Javadoc comment. 51
 Warning blocks LeftCurly '{' should be on a new line. 51

org/opentrafficsim/road/network/factory/shape/NWBRoadElement.java

Severity Category Rule Message Line
 Warning blocks LeftCurly '{' should be on a new line. 13
 Warning javadoc JavadocVariable Missing a Javadoc comment. 17
 Warning javadoc JavadocVariable Missing a Javadoc comment. 20
 Warning javadoc JavadocVariable Missing a Javadoc comment. 23
 Warning javadoc JavadocVariable Missing a Javadoc comment. 26
 Warning javadoc JavadocVariable Missing a Javadoc comment. 29
 Warning javadoc JavadocVariable Missing a Javadoc comment. 32
 Warning javadoc JavadocStyle First sentence should end with a period. 34
 Info sizes ParameterNumber More than 7 parameters (found 12). 49
 Warning misc FinalParameters Parameter myGeom should be final. 49
 Warning javadoc JavadocMethod Expected @param tag for 'myGeom'. 49
 Warning misc FinalParameters Parameter startNode should be final. 49
 Warning javadoc JavadocMethod Expected @param tag for 'startNode'. 49
 Warning misc FinalParameters Parameter endNode should be final. 49
 Warning javadoc JavadocMethod Expected @param tag for 'endNode'. 49
 Warning misc FinalParameters Parameter roadId should be final. 49
 Warning javadoc JavadocMethod Expected @param tag for 'roadId'. 49
 Warning misc FinalParameters Parameter beginDistance should be final. 49
 Warning javadoc JavadocMethod Expected @param tag for 'beginDistance'. 49
 Warning misc FinalParameters Parameter endDistance should be final. 50
 Warning javadoc JavadocMethod Expected @param tag for 'endDistance'. 50
 Warning misc FinalParameters Parameter junctionIdBegin should be final. 50
 Warning javadoc JavadocMethod Expected @param tag for 'junctionIdBegin'. 50
 Warning misc FinalParameters Parameter junctionIdEnd should be final. 50
 Warning javadoc JavadocMethod Expected @param tag for 'junctionIdEnd'. 50
 Warning misc FinalParameters Parameter adminDirection should be final. 50
 Warning javadoc JavadocMethod Expected @param tag for 'adminDirection'. 50
 Warning misc FinalParameters Parameter drivingDirection should be final. 50
 Warning javadoc JavadocMethod Expected @param tag for 'drivingDirection'. 50
 Warning misc FinalParameters Parameter beginKM should be final. 51
 Warning javadoc JavadocMethod Expected @param tag for 'beginKM'. 51
 Warning misc FinalParameters Parameter endKM should be final. 51
 Warning javadoc JavadocMethod Expected @param tag for 'endKM'. 51
 Warning blocks LeftCurly '{' should be on a new line. 51
 Warning design DesignForExtension Method 'getJunctionIdBegin' is not designed for extension - needs to be abstract, final or empty. 61
 Warning javadoc JavadocMethod Missing a Javadoc comment. 61
 Warning blocks LeftCurly '{' should be on a new line. 61
 Warning design DesignForExtension Method 'getJunctionIdEnd' is not designed for extension - needs to be abstract, final or empty. 65
 Warning javadoc JavadocMethod Missing a Javadoc comment. 65
 Warning blocks LeftCurly '{' should be on a new line. 65
 Warning design DesignForExtension Method 'getAdminDirection' is not designed for extension - needs to be abstract, final or empty. 69
 Warning javadoc JavadocMethod Missing a Javadoc comment. 69
 Warning blocks LeftCurly '{' should be on a new line. 69
 Warning design DesignForExtension Method 'getDrivingDirection' is not designed for extension - needs to be abstract, final or empty. 73
 Warning javadoc JavadocMethod Missing a Javadoc comment. 73
 Warning blocks LeftCurly '{' should be on a new line. 73
 Warning design DesignForExtension Method 'getBeginKM' is not designed for extension - needs to be abstract, final or empty. 77
 Warning javadoc JavadocMethod Missing a Javadoc comment. 77
 Warning blocks LeftCurly '{' should be on a new line. 77
 Warning design DesignForExtension Method 'getEndKM' is not designed for extension - needs to be abstract, final or empty. 81
 Warning javadoc JavadocMethod Missing a Javadoc comment. 81
 Warning blocks LeftCurly '{' should be on a new line. 81

org/opentrafficsim/road/network/factory/shape/NWBSpecialLane.java

Severity Category Rule Message Line
 Warning blocks LeftCurly '{' should be on a new line. 13
 Warning javadoc JavadocVariable Missing a Javadoc comment. 15
 Warning javadoc JavadocVariable Missing a Javadoc comment. 18
 Warning javadoc JavadocVariable Missing a Javadoc comment. 21
 Warning javadoc JavadocStyle First sentence should end with a period. 23
 Info sizes ParameterNumber More than 7 parameters (found 9). 35
 Warning misc FinalParameters Parameter myGeom should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'myGeom'. 35
 Warning misc FinalParameters Parameter startNode should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'startNode'. 35
 Warning misc FinalParameters Parameter endNode should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'endNode'. 35
 Warning misc FinalParameters Parameter roadId should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'roadId'. 35
 Warning misc FinalParameters Parameter beginDistance should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'beginDistance'. 35
 Warning misc FinalParameters Parameter endDistance should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'endDistance'. 36
 Warning misc FinalParameters Parameter laneType should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'laneType'. 36
 Warning misc FinalParameters Parameter numberOfLanes should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'numberOfLanes'. 36
 Warning misc FinalParameters Parameter sideCode should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'sideCode'. 36
 Warning blocks LeftCurly '{' should be on a new line. 36
 Warning design DesignForExtension Method 'getLaneType' is not designed for extension - needs to be abstract, final or empty. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 43
 Warning blocks LeftCurly '{' should be on a new line. 43
 Warning design DesignForExtension Method 'getNumberOfLanes' is not designed for extension - needs to be abstract, final or empty. 47
 Warning javadoc JavadocMethod Missing a Javadoc comment. 47
 Warning blocks LeftCurly '{' should be on a new line. 47
 Warning design DesignForExtension Method 'getSideCode' is not designed for extension - needs to be abstract, final or empty. 51
 Warning javadoc JavadocMethod Missing a Javadoc comment. 51
 Warning blocks LeftCurly '{' should be on a new line. 51

org/opentrafficsim/road/network/factory/shape/SubstringLine.java

Severity Category Rule Message Line
 Warning misc FinalParameters Parameter line should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'line'. 35
 Warning misc FinalParameters Parameter startLength should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'startLength'. 35
 Warning misc FinalParameters Parameter endLength should be final. 35
 Warning javadoc JavadocMethod Expected @param tag for 'endLength'. 35
 Warning javadoc JavadocVariable Missing a Javadoc comment. 41
 Warning javadoc JavadocMethod Missing a Javadoc comment. 43
 Warning misc FinalParameters Parameter line should be final. 43
 Warning design DesignForExtension Method 'getSubstring' is not designed for extension - needs to be abstract, final or empty. 48
 Warning javadoc JavadocMethod Missing a Javadoc comment. 48
 Warning misc FinalParameters Parameter startDistance should be final. 48
 Warning misc FinalParameters Parameter endDistance should be final. 48
 Warning misc FinalParameters Parameter startDistance should be final. 77
 Warning javadoc JavadocMethod Expected @param tag for 'startDistance'. 77
 Warning misc FinalParameters Parameter endDistance should be final. 77
 Warning javadoc JavadocMethod Expected @param tag for 'endDistance'. 77

org/opentrafficsim/road/network/factory/shape/TestShapeParser.java

Severity Category Rule Message Line
 Warning javadoc JavadocType Missing a Javadoc comment. 48
 Info sizes LineLength Line is longer than 128 characters (found 147). 68
 Warning misc FinalParameters Parameter roadMapNWB should be final. 189
 Warning javadoc JavadocMethod Expected @param tag for 'roadMapNWB'. 189
 Warning misc FinalParameters Parameter laneMapNWB should be final. 190
 Warning javadoc JavadocMethod Expected @param tag for 'laneMapNWB'. 190
 Warning misc FinalParameters Parameter specialLaneMapNWB should be final. 190
 Warning javadoc JavadocMethod Expected @param tag for 'specialLaneMapNWB'. 190
 Warning misc FinalParameters Parameter road should be final. 210
 Warning javadoc JavadocMethod Expected @param tag for 'road'. 210
 Warning misc FinalParameters Parameter segment should be final. 210
 Warning javadoc JavadocMethod Expected @param tag for 'segment'. 210
 Warning coding EmptyStatement Empty statement. 215
 Warning javadoc JavadocStyle First sentence should end with a period. 230
 Warning misc FinalParameters Parameter initialDir should be final. 238
 Warning javadoc JavadocMethod Expected @param tag for 'initialDir'. 238
 Warning misc FinalParameters Parameter fileName should be final. 238
 Warning javadoc JavadocMethod Expected @param tag for 'fileName'. 238
 Warning misc FinalParameters Parameter shapeIdentifier should be final. 238
 Warning javadoc JavadocMethod Expected @param tag for 'shapeIdentifier'. 238
 Warning javadoc JavadocMethod Expected @throws tag for 'NetworkException'. 239
 Warning misc FinalParameters Parameter initialDir should be final. 265
 Warning javadoc JavadocMethod Expected @param tag for 'initialDir'. 265
 Warning javadoc JavadocMethod Expected @param tag for 'fileName'. 265
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 265
 Warning misc FinalParameters Parameter dataStore should be final. 292
 Warning javadoc JavadocMethod Expected @param tag for 'dataStore'. 292
 Warning javadoc JavadocMethod Expected @param tag for 'feautureIterator'. 317
 Warning misc FinalParameters Parameter shapeIdentifier should be final. 318
 Warning javadoc JavadocMethod Expected @param tag for 'shapeIdentifier'. 318
 Warning javadoc JavadocMethod Expected @throws tag for 'NetworkException'. 318
 Warning javadoc JavadocMethod Expected @param tag for 'feature'. 349
 Warning javadoc JavadocMethod Expected @throws tag for 'NetworkException'. 349
 Warning javadoc JavadocMethod Expected @param tag for 'feature'. 383
 Warning javadoc JavadocMethod Expected @param tag for 'feature'. 419
 Warning misc FinalParameters Parameter property should be final. 457
 Warning javadoc JavadocMethod Expected @param tag for 'property'. 457