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 440447
Useless parentheses. 521

org/opentrafficsim/core/geometry/OTSBufferingJTS.java

Violation Line
Useless parentheses. 94
Useless parentheses. 94
Useless parentheses. 305
Useless parentheses. 305

org/opentrafficsim/core/geometry/OTSLine3D.java

Violation Line
Avoid empty catch blocks 928931
Useless parentheses. 1321
Useless parentheses. 1322
Useless parentheses. 1323
Useless parentheses. 1324

org/opentrafficsim/core/geometry/OTSPoint3D.java

Violation Line
Useless parentheses. 70
Useless parentheses. 179
Useless parentheses. 179
Useless parentheses. 232
Useless parentheses. 232

org/opentrafficsim/core/geometry/OTSShape.java

Violation Line
Useless parentheses. 209
Useless parentheses. 209

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/AbstractGTU.java

Violation Line
Useless parentheses. 290

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

Violation Line
Avoid empty catch blocks 360363
Avoid empty catch blocks 364367
Avoid empty catch blocks 398401

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'. 151

org/opentrafficsim/core/network/OTSNetwork.java

Violation Line
Avoid empty catch blocks 507510
Avoid empty catch blocks 839842

org/opentrafficsim/core/network/OTSNode.java

Violation Line
Useless parentheses. 234
Useless parentheses. 235
Useless parentheses. 243
Useless parentheses. 244
Useless parentheses. 320
Useless parentheses. 321
These nested if statements could be combined 323326

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 5962
These nested if statements could be combined 106109

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

Violation Line
These nested if statements could be combined 7477
These nested if statements could be combined 120123

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

Violation Line
These nested if statements could be combined 7477
These nested if statements could be combined 120123

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

Violation Line
These nested if statements could be combined 5760

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 5760

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

Violation Line
These nested if statements could be combined 5963

org/opentrafficsim/simulationengine/AbstractWrappableAnimation.java

Violation Line
Avoid empty catch blocks 342345