PMD Results

The following document contains the results of PMD 5.1.2.

Files

org/opentrafficsim/demo/carFollowing/OpenStreetMap.java

Violation Line
Unnecessary use of fully qualified name 'java.awt.geom.Rectangle2D.Double' due to existing import 'java.awt.geom.Rectangle2D' 268
Avoid unused constructor parameters such as 'properties'. 315

org/opentrafficsim/demo/carFollowing/SuperDemo.java

Violation Line
Avoid unused imports such as 'java.rmi.RemoteException' 17

org/opentrafficsim/demo/geometry/TestModel.java

Violation Line
Avoid empty catch blocks 201204

org/opentrafficsim/demo/geometry/shape/ShapeFileReader.java

Violation Line
Avoid unused local variables such as 'line'. 216
Avoid unused local variables such as 'length'. 223
Avoid unused local variables such as 'linkTag'. 228
Avoid unused local variables such as 'wegtype'. 229
Avoid unused local variables such as 'typeWeg'. 231
Avoid unused local variables such as 'speed'. 233
Avoid unused local variables such as 'capacity'. 235
Avoid using a branching statement as the last in a loop. 318
Useless parentheses. 434
Avoid empty catch blocks 468471
Useless parentheses. 500
Avoid empty catch blocks 537540

org/opentrafficsim/demo/lanechange/LaneChangeGraph.java

Violation Line
Avoid unused private methods such as 'findDecisionPoint(Length.Rel,Length.Rel,Speed.Abs,Speed.Rel,LaneChangeModel,boolean)'. 257258
Avoid unused method parameters such as 'speed'. 391