PMD Results

The following document contains the results of PMD 5.3.5.

Files

org/opentrafficsim/core/geometry/OTS2DSet.java

Violation Line
These nested if statements could be combined 432–439
Useless parentheses. 513

org/opentrafficsim/core/geometry/OTSBufferingJTS.java

Violation Line
Useless parentheses. 93
Useless parentheses. 93
Useless parentheses. 306
Useless parentheses. 306

org/opentrafficsim/core/geometry/OTSLine3D.java

Violation Line
Avoid empty catch blocks 900–903
Useless parentheses. 1302
Useless parentheses. 1303
Useless parentheses. 1304
Useless parentheses. 1305

org/opentrafficsim/core/geometry/OTSPoint3D.java

Violation Line
Useless parentheses. 68
Useless parentheses. 178
Useless parentheses. 178
Useless parentheses. 249
Useless parentheses. 249

org/opentrafficsim/core/geometry/OTSShape.java

Violation Line
Useless parentheses. 200
Useless parentheses. 200

org/opentrafficsim/core/geometry/TestIntersectionPerformance.java

Violation Line
Useless parentheses. 256

org/opentrafficsim/core/gis/TransformWGS84DutchRDNew.java

Violation Line
Useless parentheses. 63
Avoid empty catch blocks 270–273
Avoid empty catch blocks 280–283
Avoid empty catch blocks 290–293

org/opentrafficsim/core/gtu/behavioralcharacteristics/BehavioralCharacteristics.java

Violation Line
Avoid empty catch blocks 323–326
Avoid empty catch blocks 327–330
Avoid empty catch blocks 361–364

org/opentrafficsim/core/network/LongitudinalDirectionality.java

Violation Line
Useless parentheses. 70

org/opentrafficsim/core/network/OTSLink.java

Violation Line
Avoid unused constructor parameters such as 'animation'. 140
Avoid unused constructor parameters such as 'newSimulator'. 140

org/opentrafficsim/core/network/OTSNetwork.java

Violation Line
Avoid empty catch blocks 338–341

org/opentrafficsim/core/network/OTSNode.java

Violation Line
Useless parentheses. 231
Useless parentheses. 232
Useless parentheses. 240
Useless parentheses. 241
Useless parentheses. 317
Useless parentheses. 318
These nested if statements could be combined 320–323

org/opentrafficsim/core/network/factory/xml/units/AccelerationUnits.java

Violation Line
These nested if statements could be combined 51–54

org/opentrafficsim/core/network/factory/xml/units/AngleUnits.java

Violation Line
These nested if statements could be combined 52–55

org/opentrafficsim/core/network/factory/xml/units/LengthUnits.java

Violation Line
These nested if statements could be combined 75–78
These nested if statements could be combined 142–145

org/opentrafficsim/core/network/factory/xml/units/SpeedUnits.java

Violation Line
These nested if statements could be combined 51–54

org/opentrafficsim/core/network/factory/xml/units/TimeUnits.java

Violation Line
These nested if statements could be combined 75–78
These nested if statements could be combined 142–145

org/opentrafficsim/core/network/route/CompleteRoute.java

Violation Line
These nested if statements could be combined 59–63