PMD Results
The following document contains the results of PMD 7.3.0.
Violations By Priority
Priority 3
org/djutils/draw/line/Clothoid.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'k'. | 638 |
UnusedLocalVariable | Avoid unused local variables such as 'dk'. | 639 |
UnusedLocalVariable | Avoid unused local variables such as 'k_1'. | 725 |
UnusedLocalVariable | Avoid unused local variables such as 'dk_1'. | 726 |
UnusedLocalVariable | Avoid unused local variables such as 'l_1'. | 727 |
UnusedLocalVariable | Avoid unused local variables such as 'k_2'. | 728 |
UnusedLocalVariable | Avoid unused local variables such as 'dk_2'. | 729 |
UnusedLocalVariable | Avoid unused local variables such as 'l_2'. | 730 |
UnusedPrivateMethod | Avoid unused private methods such as 'kappa(double, double)'. | 917 |
UnusedPrivateMethod | Avoid unused private methods such as 'theta_guess(double, double)'. | 937 |
UnusedLocalVariable | Avoid unused local variables such as 'ok'. | 952 |
org/djutils/draw/line/ConvexHull.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 215–218 |
org/djutils/draw/line/Ray2d.java
Rule | Violation | Line |
---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 251 |
org/djutils/draw/line/Ray3d.java
Rule | Violation | Line |
---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 310 |
Priority 4
org/djutils/draw/line/Bezier.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 639 |
UselessParentheses | Useless parentheses. | 798 |
UselessParentheses | Useless parentheses. | 803 |
org/djutils/draw/line/Clothoid.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 155 |
UselessParentheses | Useless parentheses. | 194 |
UselessParentheses | Useless parentheses. | 219 |
UselessParentheses | Useless parentheses. | 277 |
UselessParentheses | Useless parentheses. | 307 |
UselessParentheses | Useless parentheses. | 332 |
UselessParentheses | Useless parentheses. | 367 |
UselessParentheses | Useless parentheses. | 420 |
UselessParentheses | Useless parentheses. | 444 |
UselessParentheses | Useless parentheses. | 444 |
UselessParentheses | Useless parentheses. | 445 |
UselessParentheses | Useless parentheses. | 445 |
UselessParentheses | Useless parentheses. | 505 |
UselessParentheses | Useless parentheses. | 506 |
UselessParentheses | Useless parentheses. | 545 |
UselessParentheses | Useless parentheses. | 546 |
UselessParentheses | Useless parentheses. | 926 |
UselessParentheses | Useless parentheses. | 949 |
UselessParentheses | Useless parentheses. | 951 |
org/djutils/draw/line/PolyLine2d.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'cleanPoints' is already in scope | 306 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'cleanPoints' is already in scope | 318 |
org/djutils/draw/line/PolyLine3d.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'cleanPoints' is already in scope | 278 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'cleanPoints' is already in scope | 290 |
org/djutils/draw/line/Polygon2d.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'makeArray' is already in scope | 79 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'makeArray' is already in scope | 79 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'cleanPoints' is already in scope | 187 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'cleanPoints' is already in scope | 199 |
org/djutils/draw/line/Polygon3d.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'makeArray' is already in scope | 99 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'makeArray' is already in scope | 99 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'makeArray' is already in scope | 100 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'cleanPoints' is already in scope | 208 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'cleanPoints' is already in scope | 220 |
Files
org/djutils/draw/line/Bezier.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 639 |
UselessParentheses | Useless parentheses. | 4 | 798 |
UselessParentheses | Useless parentheses. | 4 | 803 |
org/djutils/draw/line/Clothoid.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 155 |
UselessParentheses | Useless parentheses. | 4 | 194 |
UselessParentheses | Useless parentheses. | 4 | 219 |
UselessParentheses | Useless parentheses. | 4 | 277 |
UselessParentheses | Useless parentheses. | 4 | 307 |
UselessParentheses | Useless parentheses. | 4 | 332 |
UselessParentheses | Useless parentheses. | 4 | 367 |
UselessParentheses | Useless parentheses. | 4 | 420 |
UselessParentheses | Useless parentheses. | 4 | 444 |
UselessParentheses | Useless parentheses. | 4 | 444 |
UselessParentheses | Useless parentheses. | 4 | 445 |
UselessParentheses | Useless parentheses. | 4 | 445 |
UselessParentheses | Useless parentheses. | 4 | 505 |
UselessParentheses | Useless parentheses. | 4 | 506 |
UselessParentheses | Useless parentheses. | 4 | 545 |
UselessParentheses | Useless parentheses. | 4 | 546 |
UnusedLocalVariable | Avoid unused local variables such as 'k'. | 3 | 638 |
UnusedLocalVariable | Avoid unused local variables such as 'dk'. | 3 | 639 |
UnusedLocalVariable | Avoid unused local variables such as 'k_1'. | 3 | 725 |
UnusedLocalVariable | Avoid unused local variables such as 'dk_1'. | 3 | 726 |
UnusedLocalVariable | Avoid unused local variables such as 'l_1'. | 3 | 727 |
UnusedLocalVariable | Avoid unused local variables such as 'k_2'. | 3 | 728 |
UnusedLocalVariable | Avoid unused local variables such as 'dk_2'. | 3 | 729 |
UnusedLocalVariable | Avoid unused local variables such as 'l_2'. | 3 | 730 |
UnusedPrivateMethod | Avoid unused private methods such as 'kappa(double, double)'. | 3 | 917 |
UselessParentheses | Useless parentheses. | 4 | 926 |
UnusedPrivateMethod | Avoid unused private methods such as 'theta_guess(double, double)'. | 3 | 937 |
UselessParentheses | Useless parentheses. | 4 | 949 |
UselessParentheses | Useless parentheses. | 4 | 951 |
UnusedLocalVariable | Avoid unused local variables such as 'ok'. | 3 | 952 |
org/djutils/draw/line/ConvexHull.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 215–218 |
org/djutils/draw/line/PolyLine2d.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'cleanPoints' is already in scope | 4 | 306 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'cleanPoints' is already in scope | 4 | 318 |
org/djutils/draw/line/PolyLine3d.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'cleanPoints' is already in scope | 4 | 278 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'cleanPoints' is already in scope | 4 | 290 |
org/djutils/draw/line/Polygon2d.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'makeArray' is already in scope | 4 | 79 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'makeArray' is already in scope | 4 | 79 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'cleanPoints' is already in scope | 4 | 187 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine2d': 'cleanPoints' is already in scope | 4 | 199 |
org/djutils/draw/line/Polygon3d.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'makeArray' is already in scope | 4 | 99 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'makeArray' is already in scope | 4 | 99 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'makeArray' is already in scope | 4 | 100 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'cleanPoints' is already in scope | 4 | 208 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolyLine3d': 'cleanPoints' is already in scope | 4 | 220 |
org/djutils/draw/line/Ray2d.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 3 | 251 |
org/djutils/draw/line/Ray3d.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 3 | 310 |