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 432439
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 900903
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 270273
Avoid empty catch blocks 280283
Avoid empty catch blocks 290293

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

Violation Line
Avoid empty catch blocks 340343
Avoid empty catch blocks 344347
Avoid empty catch blocks 378381

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 338341

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 320323

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

Violation Line
These nested if statements could be combined 5154

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

Violation Line
These nested if statements could be combined 5255

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

Violation Line
These nested if statements could be combined 7578
These nested if statements could be combined 142145

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

Violation Line
These nested if statements could be combined 5154

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

Violation Line
These nested if statements could be combined 7578
These nested if statements could be combined 142145

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

Violation Line
These nested if statements could be combined 5963