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 |
922–925 |
| Useless parentheses. |
1323 |
| Useless parentheses. |
1324 |
| Useless parentheses. |
1325 |
| Useless parentheses. |
1326 |
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. |
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 |
340–343 |
| Avoid empty catch blocks |
344–347 |
| Avoid empty catch blocks |
378–381 |
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 |
349–352 |
| Avoid empty catch blocks |
675–678 |
org/opentrafficsim/core/network/OTSNode.java
| Violation |
Line |
| Useless parentheses. |
233 |
| Useless parentheses. |
234 |
| Useless parentheses. |
242 |
| Useless parentheses. |
243 |
| Useless parentheses. |
319 |
| Useless parentheses. |
320 |
| These nested if statements could be combined |
322–325 |
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 |
org/opentrafficsim/simulationengine/AbstractWrappableAnimation.java
| Violation |
Line |
| Avoid empty catch blocks |
257–260 |