PMD Results

The following document contains the results of PMD 7.3.0.

Violations By Priority

Priority 3

DJUTILS sampling / output data storage - org/djutils/data/xml/XmlData.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 342345
CollapsibleIfStatements This if statement could be combined with its parent 377380

DJUTILS - Drawing and animation primitives - 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

DJUTILS - Drawing and animation primitives - org/djutils/draw/line/ConvexHull.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 215218

DJUTILS - Drawing and animation primitives - org/djutils/draw/line/Ray2d.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 251

DJUTILS - Drawing and animation primitives - org/djutils/draw/line/Ray3d.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 310

DJUTILS serialization of data structures - org/djutils/serialization/util/SerialDataDumper.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 6467

DJUTILS statistical and data storage utilities - org/djutils/stats/summarizers/event/EventBasedWeightedTally.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 134

Priority 4

DJUTILS CLI utilities - org/djutils/cli/CliUtil.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CliUtil': 'makeOverrideKeyProperty' is already in scope 178
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CliUtil': 'overrideMap' is already in scope because it is declared in an enclosing type 179
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CliUtil': 'overrideMap' is already in scope because it is declared in an enclosing type 181

DJUTILS - Drawing and animation primitives - org/djutils/draw/line/Bezier.java

Rule Violation Line
UselessParentheses Useless parentheses. 639
UselessParentheses Useless parentheses. 798
UselessParentheses Useless parentheses. 803

DJUTILS - Drawing and animation primitives - 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

DJUTILS - Drawing and animation primitives - 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

DJUTILS - Drawing and animation primitives - 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

DJUTILS - Drawing and animation primitives - 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

DJUTILS - Drawing and animation primitives - 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

Expression evaluator - org/djutils/eval/Eval.java

Rule Violation Line
UselessParentheses Useless parentheses. 248
UselessParentheses Useless parentheses. 379
UselessParentheses Useless parentheses. 547
UselessParentheses Useless parentheses. 554
UselessParentheses Useless parentheses. 570
UselessParentheses Useless parentheses. 577
UselessParentheses Useless parentheses. 630
UselessParentheses Useless parentheses. 1198
UselessParentheses Useless parentheses. 1233
UselessParentheses Useless parentheses. 1256

DJUTILS serialization of data structures - org/djutils/serialization/EndianUtil.java

Rule Violation Line
UselessParentheses Useless parentheses. 85
UselessParentheses Useless parentheses. 89
UselessParentheses Useless parentheses. 103104
UselessParentheses Useless parentheses. 104
UselessParentheses Useless parentheses. 108109
UselessParentheses Useless parentheses. 109
UselessParentheses Useless parentheses. 123126
UselessParentheses Useless parentheses. 126
UselessParentheses Useless parentheses. 130133
UselessParentheses Useless parentheses. 133
UselessParentheses Useless parentheses. 227
UselessParentheses Useless parentheses. 231

DJUTILS statistical and data storage utilities - org/djutils/stats/DistNormalTable.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 46
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 52
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 78
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 81
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 82
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 85
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 98
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 99
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 100

DJUTILS statistical and data storage utilities - org/djutils/stats/summarizers/Tally.java

Rule Violation Line
UselessParentheses Useless parentheses. 308
UselessParentheses Useless parentheses. 342
UselessParentheses Useless parentheses. 361

DJUTILS statistical and data storage utilities - org/djutils/stats/summarizers/quantileaccumulator/FixedBinsAccumulator.java

Rule Violation Line
UselessParentheses Useless parentheses. 172

Files

DJUTILS CLI utilities - org/djutils/cli/CliUtil.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CliUtil': 'makeOverrideKeyProperty' is already in scope 4 178
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CliUtil': 'overrideMap' is already in scope because it is declared in an enclosing type 4 179
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CliUtil': 'overrideMap' is already in scope because it is declared in an enclosing type 4 181

DJUTILS sampling / output data storage - org/djutils/data/xml/XmlData.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 342345
CollapsibleIfStatements This if statement could be combined with its parent 3 377380

DJUTILS - Drawing and animation primitives - 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

DJUTILS - Drawing and animation primitives - 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

DJUTILS - Drawing and animation primitives - org/djutils/draw/line/ConvexHull.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 215218

DJUTILS - Drawing and animation primitives - 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

DJUTILS - Drawing and animation primitives - 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

DJUTILS - Drawing and animation primitives - 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

DJUTILS - Drawing and animation primitives - 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

DJUTILS - Drawing and animation primitives - org/djutils/draw/line/Ray2d.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 251

DJUTILS - Drawing and animation primitives - org/djutils/draw/line/Ray3d.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 310

Expression evaluator - org/djutils/eval/Eval.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 248
UselessParentheses Useless parentheses. 4 379
UselessParentheses Useless parentheses. 4 547
UselessParentheses Useless parentheses. 4 554
UselessParentheses Useless parentheses. 4 570
UselessParentheses Useless parentheses. 4 577
UselessParentheses Useless parentheses. 4 630
UselessParentheses Useless parentheses. 4 1198
UselessParentheses Useless parentheses. 4 1233
UselessParentheses Useless parentheses. 4 1256

DJUTILS serialization of data structures - org/djutils/serialization/EndianUtil.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 85
UselessParentheses Useless parentheses. 4 89
UselessParentheses Useless parentheses. 4 103104
UselessParentheses Useless parentheses. 4 104
UselessParentheses Useless parentheses. 4 108109
UselessParentheses Useless parentheses. 4 109
UselessParentheses Useless parentheses. 4 123126
UselessParentheses Useless parentheses. 4 126
UselessParentheses Useless parentheses. 4 130133
UselessParentheses Useless parentheses. 4 133
UselessParentheses Useless parentheses. 4 227
UselessParentheses Useless parentheses. 4 231

DJUTILS serialization of data structures - org/djutils/serialization/util/SerialDataDumper.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 6467

DJUTILS statistical and data storage utilities - org/djutils/stats/DistNormalTable.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 4 46
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 4 52
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 4 78
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 4 81
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 4 82
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 4 85
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 4 98
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 4 99
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DistNormalTable': 'CUMULATIVE_NORMAL_PROBABILITIES' is already in scope because it is declared in an enclosing type 4 100

DJUTILS statistical and data storage utilities - org/djutils/stats/summarizers/Tally.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 308
UselessParentheses Useless parentheses. 4 342
UselessParentheses Useless parentheses. 4 361

DJUTILS statistical and data storage utilities - org/djutils/stats/summarizers/event/EventBasedWeightedTally.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 134

DJUTILS statistical and data storage utilities - org/djutils/stats/summarizers/quantileaccumulator/FixedBinsAccumulator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 172