Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
7 4 203 0

Rules

Category Rule Violations Severity
coding EmptyStatement 1  Warning
design DesignForExtension 21  Warning
javadoc JavadocMethod 89  Warning
JavadocPackage 1  Info
JavadocStyle
  • checkHtml: "false"
5  Warning
JavadocType 1  Warning
JavadocVariable 21  Warning
misc FinalParameters 65  Warning
sizes 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 javadoc JavadocVariable Missing a Javadoc comment. 17
 Warning javadoc JavadocVariable Missing a Javadoc comment. 19
 Warning javadoc JavadocVariable Missing a Javadoc comment. 21
 Warning javadoc JavadocVariable Missing a Javadoc comment. 24
 Warning javadoc JavadocVariable Missing a Javadoc comment. 27
 Warning javadoc JavadocVariable Missing a Javadoc comment. 30
 Warning misc FinalParameters Parameter myGeom should be final. 40
 Warning javadoc JavadocMethod Expected @param tag for 'myGeom'. 40
 Warning misc FinalParameters Parameter startNode should be final. 40
 Warning javadoc JavadocMethod Expected @param tag for 'startNode'. 40
 Warning misc FinalParameters Parameter endNode should be final. 40
 Warning javadoc JavadocMethod Expected @param tag for 'endNode'. 40
 Warning misc FinalParameters Parameter roadId should be final. 40
 Warning javadoc JavadocMethod Expected @param tag for 'roadId'. 40
 Warning misc FinalParameters Parameter beginDistance should be final. 40
 Warning javadoc JavadocMethod Expected @param tag for 'beginDistance'. 40
 Warning misc FinalParameters Parameter endDistance should be final. 41
 Warning javadoc JavadocMethod Expected @param tag for 'endDistance'. 41
 Warning design DesignForExtension Method 'getMyGeom' is not designed for extension - needs to be abstract, final or empty. 52
 Warning javadoc JavadocMethod Missing a Javadoc comment. 52
 Warning design DesignForExtension Method 'getStartNode' is not designed for extension - needs to be abstract, final or empty. 57
 Warning javadoc JavadocMethod Missing a Javadoc comment. 57
 Warning design DesignForExtension Method 'getEndNode' is not designed for extension - needs to be abstract, final or empty. 62
 Warning javadoc JavadocMethod Missing a Javadoc comment. 62
 Warning design DesignForExtension Method 'getRoadId' is not designed for extension - needs to be abstract, final or empty. 67
 Warning javadoc JavadocMethod Missing a Javadoc comment. 67
 Warning design DesignForExtension Method 'getBeginDistance' is not designed for extension - needs to be abstract, final or empty. 72
 Warning javadoc JavadocMethod Missing a Javadoc comment. 72
 Warning design DesignForExtension Method 'getEndDistance' is not designed for extension - needs to be abstract, final or empty. 77
 Warning javadoc JavadocMethod Missing a Javadoc comment. 77

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 javadoc JavadocMethod Missing a Javadoc comment. 46
 Warning misc FinalParameters Parameter p0 should be final. 46
 Warning misc FinalParameters Parameter p1 should be final. 46
 Warning misc FinalParameters Parameter distance should be final. 46
 Warning javadoc JavadocMethod Missing a Javadoc comment. 64
 Warning misc FinalParameters Parameter line should be final. 64
 Warning misc FinalParameters Parameter distance should be final. 64
 Warning javadoc JavadocVariable Missing a Javadoc comment. 70
 Warning javadoc JavadocVariable Missing a Javadoc comment. 72
 Warning javadoc JavadocMethod Missing a Javadoc comment. 74
 Warning misc FinalParameters Parameter line should be final. 74
 Warning misc FinalParameters Parameter distance should be final. 74
 Warning javadoc JavadocMethod Missing a Javadoc comment. 79
 Warning misc FinalParameters Parameter line should be final. 79
 Warning misc FinalParameters Parameter distance should be final. 79
 Warning design DesignForExtension Method 'getPoint' is not designed for extension - needs to be abstract, final or empty. 102
 Warning javadoc JavadocMethod Missing a Javadoc comment. 102
 Warning javadoc JavadocStyle First sentence should end with a period. 107
 Warning design DesignForExtension Method 'getIndex' is not designed for extension - needs to be abstract, final or empty. 111

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

Severity Category Rule Message Line
 Warning javadoc JavadocVariable Missing a Javadoc comment. 17
 Warning javadoc JavadocVariable Missing a Javadoc comment. 20
 Warning javadoc JavadocVariable Missing a Javadoc comment. 23
 Info sizes ParameterNumber More than 7 parameters (found 9). 36
 Warning misc FinalParameters Parameter myGeom should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'myGeom'. 36
 Warning misc FinalParameters Parameter startNode should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'startNode'. 36
 Warning misc FinalParameters Parameter endNode should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'endNode'. 36
 Warning misc FinalParameters Parameter roadId should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'roadId'. 36
 Warning misc FinalParameters Parameter beginDistance should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'beginDistance'. 36
 Warning misc FinalParameters Parameter endDistance should be final. 37
 Warning javadoc JavadocMethod Expected @param tag for 'endDistance'. 37
 Warning misc FinalParameters Parameter startNumberOfLanes should be final. 37
 Warning javadoc JavadocMethod Expected @param tag for 'startNumberOfLanes'. 37
 Warning misc FinalParameters Parameter endNumberOfLanes should be final. 37
 Warning javadoc JavadocMethod Expected @param tag for 'endNumberOfLanes'. 37
 Warning misc FinalParameters Parameter sideCode should be final. 37
 Warning javadoc JavadocMethod Expected @param tag for 'sideCode'. 37
 Warning design DesignForExtension Method 'getStartNumberOfLanes' is not designed for extension - needs to be abstract, final or empty. 45
 Warning javadoc JavadocMethod Missing a Javadoc comment. 45
 Warning design DesignForExtension Method 'getEndNumberOfLanes' is not designed for extension - needs to be abstract, final or empty. 50
 Warning javadoc JavadocMethod Missing a Javadoc comment. 50
 Warning design DesignForExtension Method 'getSideCode' is not designed for extension - needs to be abstract, final or empty. 55
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55

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

Severity Category Rule Message Line
 Warning javadoc JavadocVariable Missing a Javadoc comment. 18
 Warning javadoc JavadocVariable Missing a Javadoc comment. 21
 Warning javadoc JavadocVariable Missing a Javadoc comment. 24
 Warning javadoc JavadocVariable Missing a Javadoc comment. 27
 Warning javadoc JavadocVariable Missing a Javadoc comment. 30
 Warning javadoc JavadocVariable Missing a Javadoc comment. 33
 Warning javadoc JavadocStyle First sentence should end with a period. 35
 Info sizes ParameterNumber More than 7 parameters (found 12). 50
 Warning misc FinalParameters Parameter myGeom should be final. 50
 Warning javadoc JavadocMethod Expected @param tag for 'myGeom'. 50
 Warning misc FinalParameters Parameter startNode should be final. 50
 Warning javadoc JavadocMethod Expected @param tag for 'startNode'. 50
 Warning misc FinalParameters Parameter endNode should be final. 50
 Warning javadoc JavadocMethod Expected @param tag for 'endNode'. 50
 Warning misc FinalParameters Parameter roadId should be final. 50
 Warning javadoc JavadocMethod Expected @param tag for 'roadId'. 50
 Warning misc FinalParameters Parameter beginDistance should be final. 50
 Warning javadoc JavadocMethod Expected @param tag for 'beginDistance'. 50
 Warning misc FinalParameters Parameter endDistance should be final. 51
 Warning javadoc JavadocMethod Expected @param tag for 'endDistance'. 51
 Warning misc FinalParameters Parameter junctionIdBegin should be final. 51
 Warning javadoc JavadocMethod Expected @param tag for 'junctionIdBegin'. 51
 Warning misc FinalParameters Parameter junctionIdEnd should be final. 51
 Warning javadoc JavadocMethod Expected @param tag for 'junctionIdEnd'. 51
 Warning misc FinalParameters Parameter adminDirection should be final. 51
 Warning javadoc JavadocMethod Expected @param tag for 'adminDirection'. 51
 Warning misc FinalParameters Parameter drivingDirection should be final. 51
 Warning javadoc JavadocMethod Expected @param tag for 'drivingDirection'. 51
 Warning misc FinalParameters Parameter beginKM should be final. 52
 Warning javadoc JavadocMethod Expected @param tag for 'beginKM'. 52
 Warning misc FinalParameters Parameter endKM should be final. 52
 Warning javadoc JavadocMethod Expected @param tag for 'endKM'. 52
 Warning design DesignForExtension Method 'getJunctionIdBegin' is not designed for extension - needs to be abstract, final or empty. 63
 Warning javadoc JavadocMethod Missing a Javadoc comment. 63
 Warning design DesignForExtension Method 'getJunctionIdEnd' is not designed for extension - needs to be abstract, final or empty. 68
 Warning javadoc JavadocMethod Missing a Javadoc comment. 68
 Warning design DesignForExtension Method 'getAdminDirection' is not designed for extension - needs to be abstract, final or empty. 73
 Warning javadoc JavadocMethod Missing a Javadoc comment. 73
 Warning design DesignForExtension Method 'getDrivingDirection' is not designed for extension - needs to be abstract, final or empty. 78
 Warning javadoc JavadocMethod Missing a Javadoc comment. 78
 Warning design DesignForExtension Method 'getBeginKM' is not designed for extension - needs to be abstract, final or empty. 83
 Warning javadoc JavadocMethod Missing a Javadoc comment. 83
 Warning design DesignForExtension Method 'getEndKM' is not designed for extension - needs to be abstract, final or empty. 88
 Warning javadoc JavadocMethod Missing a Javadoc comment. 88

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

Severity Category Rule Message Line
 Warning javadoc JavadocVariable Missing a Javadoc comment. 16
 Warning javadoc JavadocVariable Missing a Javadoc comment. 19
 Warning javadoc JavadocVariable Missing a Javadoc comment. 22
 Warning javadoc JavadocStyle First sentence should end with a period. 24
 Info sizes ParameterNumber More than 7 parameters (found 9). 36
 Warning misc FinalParameters Parameter myGeom should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'myGeom'. 36
 Warning misc FinalParameters Parameter startNode should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'startNode'. 36
 Warning misc FinalParameters Parameter endNode should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'endNode'. 36
 Warning misc FinalParameters Parameter roadId should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'roadId'. 36
 Warning misc FinalParameters Parameter beginDistance should be final. 36
 Warning javadoc JavadocMethod Expected @param tag for 'beginDistance'. 36
 Warning misc FinalParameters Parameter endDistance should be final. 37
 Warning javadoc JavadocMethod Expected @param tag for 'endDistance'. 37
 Warning misc FinalParameters Parameter laneType should be final. 37
 Warning javadoc JavadocMethod Expected @param tag for 'laneType'. 37
 Warning misc FinalParameters Parameter numberOfLanes should be final. 37
 Warning javadoc JavadocMethod Expected @param tag for 'numberOfLanes'. 37
 Warning misc FinalParameters Parameter sideCode should be final. 37
 Warning javadoc JavadocMethod Expected @param tag for 'sideCode'. 37
 Warning design DesignForExtension Method 'getLaneType' is not designed for extension - needs to be abstract, final or empty. 45
 Warning javadoc JavadocMethod Missing a Javadoc comment. 45
 Warning design DesignForExtension Method 'getNumberOfLanes' is not designed for extension - needs to be abstract, final or empty. 50
 Warning javadoc JavadocMethod Missing a Javadoc comment. 50
 Warning design DesignForExtension Method 'getSideCode' is not designed for extension - needs to be abstract, final or empty. 55
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55

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. 45
 Warning misc FinalParameters Parameter roadMapNWB should be final. 185
 Warning javadoc JavadocMethod Expected @param tag for 'roadMapNWB'. 185
 Warning misc FinalParameters Parameter laneMapNWB should be final. 186
 Warning javadoc JavadocMethod Expected @param tag for 'laneMapNWB'. 186
 Warning misc FinalParameters Parameter specialLaneMapNWB should be final. 186
 Warning javadoc JavadocMethod Expected @param tag for 'specialLaneMapNWB'. 186
 Warning misc FinalParameters Parameter road should be final. 206
 Warning javadoc JavadocMethod Expected @param tag for 'road'. 206
 Warning misc FinalParameters Parameter segment should be final. 206
 Warning javadoc JavadocMethod Expected @param tag for 'segment'. 206
 Warning coding EmptyStatement Empty statement. 211
 Warning javadoc JavadocStyle First sentence should end with a period. 226
 Warning misc FinalParameters Parameter initialDir should be final. 234
 Warning javadoc JavadocMethod Expected @param tag for 'initialDir'. 234
 Warning misc FinalParameters Parameter fileName should be final. 234
 Warning javadoc JavadocMethod Expected @param tag for 'fileName'. 234
 Warning misc FinalParameters Parameter shapeIdentifier should be final. 234
 Warning javadoc JavadocMethod Expected @param tag for 'shapeIdentifier'. 234
 Warning javadoc JavadocMethod Expected @throws tag for 'NetworkException'. 235
 Warning misc FinalParameters Parameter initialDir should be final. 261
 Warning javadoc JavadocMethod Expected @param tag for 'initialDir'. 261
 Warning javadoc JavadocMethod Expected @param tag for 'fileName'. 261
 Warning javadoc JavadocMethod Expected @throws tag for 'IOException'. 261
 Warning misc FinalParameters Parameter dataStore should be final. 288
 Warning javadoc JavadocMethod Expected @param tag for 'dataStore'. 288
 Warning javadoc JavadocMethod Expected @param tag for 'feautureIterator'. 313
 Warning misc FinalParameters Parameter shapeIdentifier should be final. 314
 Warning javadoc JavadocMethod Expected @param tag for 'shapeIdentifier'. 314
 Warning javadoc JavadocMethod Expected @throws tag for 'NetworkException'. 314
 Warning javadoc JavadocMethod Expected @param tag for 'feature'. 345
 Warning javadoc JavadocMethod Expected @throws tag for 'NetworkException'. 345
 Warning javadoc JavadocMethod Expected @param tag for 'feature'. 379
 Warning javadoc JavadocMethod Expected @throws tag for 'NetworkException'. 379
 Warning javadoc JavadocMethod Expected @param tag for 'feature'. 415
 Warning javadoc JavadocMethod Expected @throws tag for 'NetworkException'. 415
 Warning misc FinalParameters Parameter property should be final. 453
 Warning javadoc JavadocMethod Expected @param tag for 'property'. 453