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 |
440–447 |
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 |
928–931 |
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 |
270–273 |
Avoid empty catch blocks |
280–283 |
Avoid empty catch blocks |
290–293 |
org/opentrafficsim/core/gtu/AbstractGTU.java
Violation |
Line |
Useless parentheses. |
290 |
org/opentrafficsim/core/gtu/behavioralcharacteristics/BehavioralCharacteristics.java
Violation |
Line |
Avoid empty catch blocks |
360–363 |
Avoid empty catch blocks |
364–367 |
Avoid empty catch blocks |
398–401 |
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 |
507–510 |
Avoid empty catch blocks |
839–842 |
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 |
323–326 |
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 |
59–62 |
These nested if statements could be combined |
106–109 |
org/opentrafficsim/core/network/factory/xml/units/DurationUnits.java
Violation |
Line |
These nested if statements could be combined |
74–77 |
These nested if statements could be combined |
120–123 |
org/opentrafficsim/core/network/factory/xml/units/LengthUnits.java
Violation |
Line |
These nested if statements could be combined |
74–77 |
These nested if statements could be combined |
120–123 |
org/opentrafficsim/core/network/factory/xml/units/PositionUnits.java
Violation |
Line |
These nested if statements could be combined |
57–60 |
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 |
57–60 |
org/opentrafficsim/core/network/route/CompleteRoute.java
Violation |
Line |
These nested if statements could be combined |
59–63 |
org/opentrafficsim/simulationengine/AbstractWrappableAnimation.java
Violation |
Line |
Avoid empty catch blocks |
342–345 |