PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 2

org/mklab/tool/control/Pplace.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 312
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 377

org/mklab/tool/control/system/AdjacencyConstantMatrix.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 87
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 97
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 219

org/mklab/tool/control/system/AdjacencyMatrix.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 850
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 878
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2773
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2870
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2962
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2972
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2975
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 5498
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 5533
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 5586

org/mklab/tool/control/system/BlockSystem.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 1437
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 1462

org/mklab/tool/control/system/DoubleAdjacencyConstantMatrix.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 75
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 85
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 206

org/mklab/tool/control/system/DoubleAdjacencyMatrix.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 836
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 864
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2765
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2862
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2954
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2964
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2967

org/mklab/tool/control/system/DoubleAdjacencyMatrixUtil.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 315
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 342
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 363
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 562
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 1043

org/mklab/tool/control/system/continuous/DoubleTransportDelay.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 152

org/mklab/tool/control/system/continuous/TransportDelay.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 161

org/mklab/tool/control/system/graph/CycleMatrix.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 116

org/mklab/tool/control/system/graph/DoubleCycleMatrix.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 109

Priority 3

org/mklab/tool/control/AbstractLinearSystem.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'output': resource specifications are implicitly final 1474

org/mklab/tool/control/Canon.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 110–112

org/mklab/tool/control/D2c.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 78–82

org/mklab/tool/control/DoubleAbstractLinearSystem.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'output': resource specifications are implicitly final 1468

org/mklab/tool/control/DoubleLinearSystem.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getTimeDomainType': the method is declared in an interface type 461

org/mklab/tool/control/DoubleProperLinearSystem.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 50
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 55

org/mklab/tool/control/DoubleWeierstrassForm.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 76–78

org/mklab/tool/control/LinearSystem.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getTimeDomainType': the method is declared in an interface type 458

org/mklab/tool/control/Nyquist.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'samplingInterval'. 38

org/mklab/tool/control/Tf2des.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'sunit'. 300

org/mklab/tool/control/WeierstrassForm.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 192–194

org/mklab/tool/control/system/AdjacencyMatrix.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 1054–1056
CollapsibleIfStatements These nested if statements could be combined 1128–1130
CollapsibleIfStatements These nested if statements could be combined 1133–1135
CollapsibleIfStatements These nested if statements could be combined 1313–1316
CollapsibleIfStatements These nested if statements could be combined 4252–4254
CollapsibleIfStatements These nested if statements could be combined 4567–4569
UnnecessaryModifier Unnecessary modifier 'final' on method 'getSubMatrix': private methods cannot be overridden 5241–5255
CollapsibleIfStatements These nested if statements could be combined 5494–5496
CollapsibleIfStatements These nested if statements could be combined 5523–5525
CollapsibleIfStatements These nested if statements could be combined 5528–5530
CollapsibleIfStatements These nested if statements could be combined 5582–5584

org/mklab/tool/control/system/AdjacencyStringMatrix.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 631–640
CollapsibleIfStatements These nested if statements could be combined 644–653

org/mklab/tool/control/system/DoubleAdjacencyMatrix.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 1040–1042
CollapsibleIfStatements These nested if statements could be combined 1114–1116
CollapsibleIfStatements These nested if statements could be combined 1119–1121
CollapsibleIfStatements These nested if statements could be combined 1299–1302
CollapsibleIfStatements These nested if statements could be combined 4244–4246
CollapsibleIfStatements These nested if statements could be combined 4559–4561

org/mklab/tool/control/system/DoubleAdjacencyMatrixUtil.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 311–313
CollapsibleIfStatements These nested if statements could be combined 338–340
UnnecessaryModifier Unnecessary modifier 'final' on method 'getSubMatrix': private methods cannot be overridden 517–531
CollapsibleIfStatements These nested if statements could be combined 552–554
CollapsibleIfStatements These nested if statements could be combined 557–559

org/mklab/tool/control/system/DoubleAdjacencyStringMatrix.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 623–632
CollapsibleIfStatements These nested if statements could be combined 636–645

org/mklab/tool/control/system/DoubleZeroSystem.java

Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 52

org/mklab/tool/control/system/ZeroSystem.java

Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 75

org/mklab/tool/control/system/continuous/DoubleTransportDelay.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 97–100

org/mklab/tool/control/system/continuous/TransportDelay.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 106–109

org/mklab/tool/control/system/controller/PoleViewer.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'observerPoles'. 93
UnusedFormalParameter Avoid unused method parameters such as 'closedLoopPoles'. 93

org/mklab/tool/control/system/math/UserDefinedConstantSystem.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'sunit'. 60

org/mklab/tool/control/system/parameter/DoubleParameterContainer.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 585–587
EmptyCatchBlock Avoid empty catch blocks 587–589

org/mklab/tool/control/system/parameter/ParameterContainer.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 592–594
EmptyCatchBlock Avoid empty catch blocks 594–596

org/mklab/tool/control/system/parameter/StringExternalizable.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getString': the method is declared in an interface type 22

org/mklab/tool/control/system/sampled/DoubleSampler.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getSamplingInterval': the method is declared in an interface type 22
UnnecessaryModifier Unnecessary modifier 'public' on method 'setSamplingInterval': the method is declared in an interface type 29

org/mklab/tool/control/system/sampled/Sampler.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getSamplingInterval': the method is declared in an interface type 31
UnnecessaryModifier Unnecessary modifier 'public' on method 'setSamplingInterval': the method is declared in an interface type 38

org/mklab/tool/control/system/source/DoubleSoundLineSource.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'line': resource specifications are implicitly final 97

org/mklab/tool/control/system/source/SoundLineSource.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'line': resource specifications are implicitly final 111

org/mklab/tool/control/util/Demo.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 76–78
EmptyCatchBlock Avoid empty catch blocks 111–113

org/mklab/tool/graph/Demo.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 64–66

org/mklab/tool/graph/gnuplot/Canvas.java

Rule Violation Line
EmptyWhileStmt Avoid empty while statements 1220–1222
EmptyWhileStmt Avoid empty while statements 1316–1318
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'pw': resource specifications are implicitly final 1337
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'pw': resource specifications are implicitly final 1418

org/mklab/tool/graph/gnuplot/Gnuplot.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'pid'. 212

org/mklab/tool/graph/mgplot/Mgplot.java

Rule Violation Line
EmptyWhileStmt Avoid empty while statements 645–647
EmptyWhileStmt Avoid empty while statements 790–792

org/mklab/tool/matrix/Demo.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 63–65

org/mklab/tool/matrix/Unwrap.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on method 'sgn': private methods cannot be overridden 177–185

org/mklab/tool/signal/Demo.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 61–63

Priority 4

org/mklab/tool/control/Are.java

Rule Violation Line
UselessParentheses Useless parentheses. 102
UselessParentheses Useless parentheses. 176

org/mklab/tool/control/Balreal.java

Rule Violation Line
UselessParentheses Useless parentheses. 84

org/mklab/tool/control/C2d.java

Rule Violation Line
UselessParentheses Useless parentheses. 76
UselessParentheses Useless parentheses. 133

org/mklab/tool/control/Canon.java

Rule Violation Line
UselessParentheses Useless parentheses. 79
UselessParentheses Useless parentheses. 81
UselessParentheses Useless parentheses. 82

org/mklab/tool/control/Ctrf.java

Rule Violation Line
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 196

org/mklab/tool/control/Dhinf.java

Rule Violation Line
UselessParentheses Useless parentheses. 211
UselessParentheses Useless parentheses. 213
UselessParentheses Useless parentheses. 251
UselessParentheses Useless parentheses. 252

org/mklab/tool/control/Dlqr.java

Rule Violation Line
UselessParentheses Useless parentheses. 88
UselessParentheses Useless parentheses. 90
UselessParentheses Useless parentheses. 97
UselessParentheses Useless parentheses. 98
UselessParentheses Useless parentheses. 100
UselessParentheses Useless parentheses. 119
UselessParentheses Useless parentheses. 128

org/mklab/tool/control/Dlyap.java

Rule Violation Line
UselessParentheses Useless parentheses. 41
UselessParentheses Useless parentheses. 41

org/mklab/tool/control/DoubleImproperLinearSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 404

org/mklab/tool/control/DoubleNyquist.java

Rule Violation Line
UselessParentheses Useless parentheses. 127

org/mklab/tool/control/DoubleProperLinearSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 484

org/mklab/tool/control/Dric.java

Rule Violation Line
UselessParentheses Useless parentheses. 124

org/mklab/tool/control/ImproperLinearSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 402

org/mklab/tool/control/Ltifr.java

Rule Violation Line
UselessParentheses Useless parentheses. 69
UselessParentheses Useless parentheses. 71
UselessParentheses Useless parentheses. 117
UselessParentheses Useless parentheses. 119
UselessParentheses Useless parentheses. 162
UselessParentheses Useless parentheses. 164
UselessParentheses Useless parentheses. 214
UselessParentheses Useless parentheses. 216
UselessParentheses Useless parentheses. 267
UselessParentheses Useless parentheses. 269
UselessParentheses Useless parentheses. 317
UselessParentheses Useless parentheses. 319
UselessParentheses Useless parentheses. 366
UselessParentheses Useless parentheses. 368

org/mklab/tool/control/Nichols.java

Rule Violation Line
UselessParentheses Useless parentheses. 129
UselessParentheses Useless parentheses. 146

org/mklab/tool/control/Nyquist.java

Rule Violation Line
UselessParentheses Useless parentheses. 131

org/mklab/tool/control/Obsg.java

Rule Violation Line
UselessParentheses Useless parentheses. 92
UselessParentheses Useless parentheses. 155
UselessParentheses Useless parentheses. 230
UselessParentheses Useless parentheses. 302

org/mklab/tool/control/Pmargin.java

Rule Violation Line
UselessParentheses Useless parentheses. 137–139
UselessParentheses Useless parentheses. 138
UselessParentheses Useless parentheses. 153

org/mklab/tool/control/ProperLinearSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 491

org/mklab/tool/control/Ric.java

Rule Violation Line
UselessParentheses Useless parentheses. 96

org/mklab/tool/control/SigmaPlotter.java

Rule Violation Line
UselessParentheses Useless parentheses. 47
UselessParentheses Useless parentheses. 51

org/mklab/tool/control/SkeletonDes2tf.java

Rule Violation Line
UselessParentheses Useless parentheses. 72

org/mklab/tool/control/SystemInputOutputKey.java

Rule Violation Line
UselessParentheses Useless parentheses. 94
UselessParentheses Useless parentheses. 94
UselessParentheses Useless parentheses. 94

org/mklab/tool/control/Zp2ss.java

Rule Violation Line
UselessParentheses Useless parentheses. 125
UselessParentheses Useless parentheses. 126
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 147
UselessParentheses Useless parentheses. 148
UselessParentheses Useless parentheses. 149
UselessParentheses Useless parentheses. 150
UselessParentheses Useless parentheses. 169
UselessParentheses Useless parentheses. 170

org/mklab/tool/control/system/AdjacencyConstantMatrix.java

Rule Violation Line
UselessParentheses Useless parentheses. 86
UselessParentheses Useless parentheses. 96
UselessParentheses Useless parentheses. 140
UselessParentheses Useless parentheses. 140
UselessParentheses Useless parentheses. 224
UselessParentheses Useless parentheses. 225
UselessParentheses Useless parentheses. 226
UselessParentheses Useless parentheses. 365
UselessParentheses Useless parentheses. 466
UselessParentheses Useless parentheses. 468
UselessParentheses Useless parentheses. 502

org/mklab/tool/control/system/AdjacencyMatrix.java

Rule Violation Line
UselessParentheses Useless parentheses. 324
UselessParentheses Useless parentheses. 328
UselessParentheses Useless parentheses. 332
UselessParentheses Useless parentheses. 336
UselessParentheses Useless parentheses. 340
UselessParentheses Useless parentheses. 343
UselessParentheses Useless parentheses. 347
UselessParentheses Useless parentheses. 351
UselessParentheses Useless parentheses. 355
UselessParentheses Useless parentheses. 359
UselessParentheses Useless parentheses. 363
UselessParentheses Useless parentheses. 367
UselessParentheses Useless parentheses. 370
UselessParentheses Useless parentheses. 617
UselessParentheses Useless parentheses. 618
UselessParentheses Useless parentheses. 1198–1199
UselessParentheses Useless parentheses. 1328
UselessParentheses Useless parentheses. 1524
UselessParentheses Useless parentheses. 2772
UselessParentheses Useless parentheses. 2793
UselessParentheses Useless parentheses. 2869
UselessParentheses Useless parentheses. 2900
UselessParentheses Useless parentheses. 3010
UselessParentheses Useless parentheses. 3010
UselessParentheses Useless parentheses. 3077
UselessParentheses Useless parentheses. 3077
UselessParentheses Useless parentheses. 3190
UselessParentheses Useless parentheses. 3190
UselessParentheses Useless parentheses. 3195
UselessParentheses Useless parentheses. 3195
UselessParentheses Useless parentheses. 4086
UselessParentheses Useless parentheses. 4092
UselessParentheses Useless parentheses. 4402
UselessParentheses Useless parentheses. 4440
UselessParentheses Useless parentheses. 4474
UselessParentheses Useless parentheses. 4497
UselessParentheses Useless parentheses. 4654
UselessParentheses Useless parentheses. 5082

org/mklab/tool/control/system/BlockSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 302
UselessParentheses Useless parentheses. 324
UselessParentheses Useless parentheses. 428
UselessParentheses Useless parentheses. 749
UselessParentheses Useless parentheses. 750

org/mklab/tool/control/system/DoubleAdjacencyConstantMatrix.java

Rule Violation Line
UselessParentheses Useless parentheses. 74
UselessParentheses Useless parentheses. 84
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 211
UselessParentheses Useless parentheses. 212
UselessParentheses Useless parentheses. 213
UselessParentheses Useless parentheses. 350
UselessParentheses Useless parentheses. 451
UselessParentheses Useless parentheses. 453
UselessParentheses Useless parentheses. 487

org/mklab/tool/control/system/DoubleAdjacencyMatrix.java

Rule Violation Line
UselessParentheses Useless parentheses. 310
UselessParentheses Useless parentheses. 314
UselessParentheses Useless parentheses. 318
UselessParentheses Useless parentheses. 322
UselessParentheses Useless parentheses. 326
UselessParentheses Useless parentheses. 329
UselessParentheses Useless parentheses. 333
UselessParentheses Useless parentheses. 337
UselessParentheses Useless parentheses. 341
UselessParentheses Useless parentheses. 345
UselessParentheses Useless parentheses. 349
UselessParentheses Useless parentheses. 353
UselessParentheses Useless parentheses. 356
UselessParentheses Useless parentheses. 603
UselessParentheses Useless parentheses. 604
UselessParentheses Useless parentheses. 1184–1185
UselessParentheses Useless parentheses. 1314
UselessParentheses Useless parentheses. 1514
UselessParentheses Useless parentheses. 2764
UselessParentheses Useless parentheses. 2785
UselessParentheses Useless parentheses. 2861
UselessParentheses Useless parentheses. 2892
UselessParentheses Useless parentheses. 3004
UselessParentheses Useless parentheses. 3004
UselessParentheses Useless parentheses. 3071
UselessParentheses Useless parentheses. 3071
UselessParentheses Useless parentheses. 3184
UselessParentheses Useless parentheses. 3184
UselessParentheses Useless parentheses. 3189
UselessParentheses Useless parentheses. 3189
UselessParentheses Useless parentheses. 4078
UselessParentheses Useless parentheses. 4084
UselessParentheses Useless parentheses. 4394
UselessParentheses Useless parentheses. 4432
UselessParentheses Useless parentheses. 4466
UselessParentheses Useless parentheses. 4489
UselessParentheses Useless parentheses. 4644

org/mklab/tool/control/system/DoubleAdjacencyMatrixUtil.java

Rule Violation Line
UselessParentheses Useless parentheses. 254

org/mklab/tool/control/system/DoubleBlockSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 285
UselessParentheses Useless parentheses. 307
UselessParentheses Useless parentheses. 409
UselessParentheses Useless parentheses. 730
UselessParentheses Useless parentheses. 731

org/mklab/tool/control/system/DoubleSystemBuilder.java

Rule Violation Line
UselessParentheses Useless parentheses. 838
UselessParentheses Useless parentheses. 862
UselessParentheses Useless parentheses. 886
UselessParentheses Useless parentheses. 1155
UselessParentheses Useless parentheses. 1196
UselessParentheses Useless parentheses. 1331
UselessParentheses Useless parentheses. 1532

org/mklab/tool/control/system/DoubleSystemOperator.java

Rule Violation Line
UselessParentheses Useless parentheses. 97
UselessParentheses Useless parentheses. 97
UselessParentheses Useless parentheses. 97
UselessParentheses Useless parentheses. 97–99
UselessParentheses Useless parentheses. 98
UselessParentheses Useless parentheses. 98
UselessParentheses Useless parentheses. 98
UselessParentheses Useless parentheses. 98
UselessParentheses Useless parentheses. 99
UselessParentheses Useless parentheses. 99
UselessParentheses Useless parentheses. 99
UselessParentheses Useless parentheses. 99

org/mklab/tool/control/system/SystemBuilder.java

Rule Violation Line
UselessParentheses Useless parentheses. 859
UselessParentheses Useless parentheses. 883
UselessParentheses Useless parentheses. 907
UselessParentheses Useless parentheses. 1176
UselessParentheses Useless parentheses. 1217
UselessParentheses Useless parentheses. 1352
UselessParentheses Useless parentheses. 1553

org/mklab/tool/control/system/SystemOperator.java

Rule Violation Line
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 110–112
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 111
UselessParentheses Useless parentheses. 111
UselessParentheses Useless parentheses. 111
UselessParentheses Useless parentheses. 111
UselessParentheses Useless parentheses. 112
UselessParentheses Useless parentheses. 112
UselessParentheses Useless parentheses. 112
UselessParentheses Useless parentheses. 112

org/mklab/tool/control/system/continuous/ApproximateDerivativeSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 158–160
UselessParentheses Useless parentheses. 158

org/mklab/tool/control/system/continuous/BaseContinuousDynamicSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 97–99

org/mklab/tool/control/system/continuous/ContinuousLinearDynamicSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 451

org/mklab/tool/control/system/continuous/DoubleApproximateDerivativeSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 148–150
UselessParentheses Useless parentheses. 148

org/mklab/tool/control/system/continuous/DoubleBaseContinuousDynamicSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 89–91

org/mklab/tool/control/system/continuous/DoubleContinuousLinearDynamicSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 440

org/mklab/tool/control/system/continuous/DoubleTransportDelay.java

Rule Violation Line
UselessParentheses Useless parentheses. 288–290
UselessParentheses Useless parentheses. 288
UselessParentheses Useless parentheses. 289

org/mklab/tool/control/system/continuous/TransportDelay.java

Rule Violation Line
UselessParentheses Useless parentheses. 124
UselessParentheses Useless parentheses. 124
UselessParentheses Useless parentheses. 140
UselessParentheses Useless parentheses. 140
UselessParentheses Useless parentheses. 161
UselessParentheses Useless parentheses. 161
UselessParentheses Useless parentheses. 297
UselessParentheses Useless parentheses. 297–299
UselessParentheses Useless parentheses. 298

org/mklab/tool/control/system/discontinuous/Backlash.java

Rule Violation Line
UselessParentheses Useless parentheses. 218
UselessParentheses Useless parentheses. 228
UselessParentheses Useless parentheses. 234
UselessParentheses Useless parentheses. 268
UselessParentheses Useless parentheses. 268
UselessParentheses Useless parentheses. 268
UselessParentheses Useless parentheses. 280
UselessParentheses Useless parentheses. 280
UselessParentheses Useless parentheses. 280
UselessParentheses Useless parentheses. 343–348
UselessParentheses Useless parentheses. 343
UselessParentheses Useless parentheses. 344
UselessParentheses Useless parentheses. 344
UselessParentheses Useless parentheses. 348

org/mklab/tool/control/system/discontinuous/CoulombViscousFriction.java

Rule Violation Line
UselessParentheses Useless parentheses. 202
UselessParentheses Useless parentheses. 202
UselessParentheses Useless parentheses. 202

org/mklab/tool/control/system/discontinuous/DeadZone.java

Rule Violation Line
UselessParentheses Useless parentheses. 226
UselessParentheses Useless parentheses. 226
UselessParentheses Useless parentheses. 226

org/mklab/tool/control/system/discontinuous/DoubleBacklash.java

Rule Violation Line
UselessParentheses Useless parentheses. 208
UselessParentheses Useless parentheses. 333–338
UselessParentheses Useless parentheses. 333
UselessParentheses Useless parentheses. 334
UselessParentheses Useless parentheses. 334
UselessParentheses Useless parentheses. 338

org/mklab/tool/control/system/discontinuous/DoubleCoulombViscousFriction.java

Rule Violation Line
UselessParentheses Useless parentheses. 193
UselessParentheses Useless parentheses. 193
UselessParentheses Useless parentheses. 193

org/mklab/tool/control/system/discontinuous/DoubleDeadZone.java

Rule Violation Line
UselessParentheses Useless parentheses. 217
UselessParentheses Useless parentheses. 217
UselessParentheses Useless parentheses. 217

org/mklab/tool/control/system/discontinuous/DoubleRateLimiter.java

Rule Violation Line
UselessParentheses Useless parentheses. 270
UselessParentheses Useless parentheses. 270
UselessParentheses Useless parentheses. 270–273
UselessParentheses Useless parentheses. 271

org/mklab/tool/control/system/discontinuous/DoubleSaturation.java

Rule Violation Line
UselessParentheses Useless parentheses. 218
UselessParentheses Useless parentheses. 218
UselessParentheses Useless parentheses. 218

org/mklab/tool/control/system/discontinuous/RateLimiter.java

Rule Violation Line
UselessParentheses Useless parentheses. 279–282
UselessParentheses Useless parentheses. 279
UselessParentheses Useless parentheses. 279
UselessParentheses Useless parentheses. 280

org/mklab/tool/control/system/discontinuous/Saturation.java

Rule Violation Line
UselessParentheses Useless parentheses. 227
UselessParentheses Useless parentheses. 227
UselessParentheses Useless parentheses. 227

org/mklab/tool/control/system/discrete/BaseDiscreteDynamicSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 171
UselessParentheses Useless parentheses. 197
UselessParentheses Useless parentheses. 286–287
UselessParentheses Useless parentheses. 287
UselessParentheses Useless parentheses. 287

org/mklab/tool/control/system/discrete/BaseDiscreteStaticSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 94
UselessParentheses Useless parentheses. 120
UselessParentheses Useless parentheses. 210
UselessParentheses Useless parentheses. 210
UselessParentheses Useless parentheses. 210

org/mklab/tool/control/system/discrete/DiscreteLinearDynamicSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 412

org/mklab/tool/control/system/discrete/DoubleBaseDiscreteDynamicSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 163
UselessParentheses Useless parentheses. 189
UselessParentheses Useless parentheses. 277–278
UselessParentheses Useless parentheses. 278
UselessParentheses Useless parentheses. 278

org/mklab/tool/control/system/discrete/DoubleBaseDiscreteStaticSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 86
UselessParentheses Useless parentheses. 112
UselessParentheses Useless parentheses. 202
UselessParentheses Useless parentheses. 202
UselessParentheses Useless parentheses. 202

org/mklab/tool/control/system/discrete/DoubleDiscreteLinearDynamicSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 401

org/mklab/tool/control/system/discrete/DoubleFirstOrderHoldSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 39

org/mklab/tool/control/system/graph/CycleMatrix.java

Rule Violation Line
UselessParentheses Useless parentheses. 111
UselessParentheses Useless parentheses. 137

org/mklab/tool/control/system/graph/DoubleCycleMatrix.java

Rule Violation Line
UselessParentheses Useless parentheses. 104
UselessParentheses Useless parentheses. 130

org/mklab/tool/control/system/graph/SparceStringMatrix.java

Rule Violation Line
UselessParentheses Useless parentheses. 326–327
UselessParentheses Useless parentheses. 326–327
UselessParentheses Useless parentheses. 326
UselessParentheses Useless parentheses. 404
UselessParentheses Useless parentheses. 404
UselessParentheses Useless parentheses. 404

org/mklab/tool/control/system/math/AbsoluteFunction.java

Rule Violation Line
UselessParentheses Useless parentheses. 87
UselessParentheses Useless parentheses. 87

org/mklab/tool/control/system/math/BiasFunction.java

Rule Violation Line
UselessParentheses Useless parentheses. 115

org/mklab/tool/control/system/math/ConstantSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 552
UselessParentheses Useless parentheses. 839–840
UselessParentheses Useless parentheses. 840
UselessParentheses Useless parentheses. 840

org/mklab/tool/control/system/math/DeMultiplexer.java

Rule Violation Line
UselessParentheses Useless parentheses. 204
UselessParentheses Useless parentheses. 204
UselessParentheses Useless parentheses. 204

org/mklab/tool/control/system/math/DoubleBiasFunction.java

Rule Violation Line
UselessParentheses Useless parentheses. 107

org/mklab/tool/control/system/math/DoubleConstantSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 546
UselessParentheses Useless parentheses. 833–834
UselessParentheses Useless parentheses. 834
UselessParentheses Useless parentheses. 834

org/mklab/tool/control/system/math/DoubleDeMultiplexer.java

Rule Violation Line
UselessParentheses Useless parentheses. 196
UselessParentheses Useless parentheses. 196
UselessParentheses Useless parentheses. 196

org/mklab/tool/control/system/math/DoubleLookupTable.java

Rule Violation Line
UselessParentheses Useless parentheses. 220–221

org/mklab/tool/control/system/math/DoubleMathematicalFunction.java

Rule Violation Line
UselessParentheses Useless parentheses. 186

org/mklab/tool/control/system/math/DoubleMultiplexer.java

Rule Violation Line
UselessParentheses Useless parentheses. 198
UselessParentheses Useless parentheses. 198
UselessParentheses Useless parentheses. 198

org/mklab/tool/control/system/math/DoubleProduct.java

Rule Violation Line
UselessParentheses Useless parentheses. 130

org/mklab/tool/control/system/math/DoubleProductLikesSimulink.java

Rule Violation Line
UselessParentheses Useless parentheses. 115

org/mklab/tool/control/system/math/DoubleRoundingFunction.java

Rule Violation Line
UselessParentheses Useless parentheses. 134

org/mklab/tool/control/system/math/DoubleTrigonometricFunction.java

Rule Violation Line
UselessParentheses Useless parentheses. 177

org/mklab/tool/control/system/math/LookupTable.java

Rule Violation Line
UselessParentheses Useless parentheses. 232–233

org/mklab/tool/control/system/math/MathematicalFunction.java

Rule Violation Line
UselessParentheses Useless parentheses. 195

org/mklab/tool/control/system/math/Multiplexer.java

Rule Violation Line
UselessParentheses Useless parentheses. 206
UselessParentheses Useless parentheses. 206
UselessParentheses Useless parentheses. 206

org/mklab/tool/control/system/math/Product.java

Rule Violation Line
UselessParentheses Useless parentheses. 139

org/mklab/tool/control/system/math/ProductLikesSimulink.java

Rule Violation Line
UselessParentheses Useless parentheses. 124

org/mklab/tool/control/system/math/RoundingFunction.java

Rule Violation Line
UselessParentheses Useless parentheses. 143
UselessParentheses Useless parentheses. 204
UselessParentheses Useless parentheses. 204
UselessParentheses Useless parentheses. 204
UselessParentheses Useless parentheses. 212
UselessParentheses Useless parentheses. 212

org/mklab/tool/control/system/math/SignumFunction.java

Rule Violation Line
UselessParentheses Useless parentheses. 90

org/mklab/tool/control/system/math/TrigonometricFunction.java

Rule Violation Line
UselessParentheses Useless parentheses. 188

org/mklab/tool/control/system/parameter/DoubleParameterContainer.java

Rule Violation Line
UselessParentheses Useless parentheses. 556–558
UselessParentheses Useless parentheses. 646

org/mklab/tool/control/system/parameter/ParameterContainer.java

Rule Violation Line
UselessParentheses Useless parentheses. 563–565
UselessParentheses Useless parentheses. 653

org/mklab/tool/control/system/rpn/DoubleMaxima.java

Rule Violation Line
UselessParentheses Useless parentheses. 57
UselessParentheses Useless parentheses. 75
UselessParentheses Useless parentheses. 77
UselessParentheses Useless parentheses. 82
UselessParentheses Useless parentheses. 188
UselessParentheses Useless parentheses. 191

org/mklab/tool/control/system/rpn/Maxima.java

Rule Violation Line
UselessParentheses Useless parentheses. 63
UselessParentheses Useless parentheses. 81
UselessParentheses Useless parentheses. 83
UselessParentheses Useless parentheses. 88
UselessParentheses Useless parentheses. 194
UselessParentheses Useless parentheses. 197

org/mklab/tool/control/system/sampled/BaseSampledDataDynamicSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 209–212
UselessParentheses Useless parentheses. 212

org/mklab/tool/control/system/sampled/BaseSampledDataStaticSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 103

org/mklab/tool/control/system/sampled/BlockSamplingSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 124

org/mklab/tool/control/system/sampled/DoubleBaseSampledDataDynamicSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 201–204
UselessParentheses Useless parentheses. 204

org/mklab/tool/control/system/sampled/DoubleBaseSampledDataStaticSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 95

org/mklab/tool/control/system/sampled/DoubleBlockSamplingSystem.java

Rule Violation Line
UselessParentheses Useless parentheses. 116

org/mklab/tool/control/system/sink/DisplaySink.java

Rule Violation Line
UselessParentheses Useless parentheses. 150
UselessParentheses Useless parentheses. 150

org/mklab/tool/control/system/sink/DoubleDisplaySink.java

Rule Violation Line
UselessParentheses Useless parentheses. 141
UselessParentheses Useless parentheses. 141

org/mklab/tool/control/system/sink/DoubleFileSink.java

Rule Violation Line
UselessParentheses Useless parentheses. 151–153

org/mklab/tool/control/system/sink/DoubleRestrictor.java

Rule Violation Line
UselessParentheses Useless parentheses. 288

org/mklab/tool/control/system/sink/DoubleVariableSink.java

Rule Violation Line
UselessParentheses Useless parentheses. 90

org/mklab/tool/control/system/sink/FileSink.java

Rule Violation Line
UselessParentheses Useless parentheses. 158–160

org/mklab/tool/control/system/sink/GnuplotSink.java

Rule Violation Line
UselessParentheses Useless parentheses. 801–805
UselessParentheses Useless parentheses. 803
UselessParentheses Useless parentheses. 803
UselessParentheses Useless parentheses. 804
UselessParentheses Useless parentheses. 804
UselessParentheses Useless parentheses. 804
UselessParentheses Useless parentheses. 804
UselessParentheses Useless parentheses. 805
UselessParentheses Useless parentheses. 805

org/mklab/tool/control/system/sink/Restrictor.java

Rule Violation Line
UselessParentheses Useless parentheses. 301

org/mklab/tool/control/system/sink/VariableSink.java

Rule Violation Line
UselessParentheses Useless parentheses. 99

org/mklab/tool/control/system/source/ConstantSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 118

org/mklab/tool/control/system/source/DoubleConstantSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 110

org/mklab/tool/control/system/source/DoubleFileSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 145–146

org/mklab/tool/control/system/source/DoubleImportSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 171
UselessParentheses Useless parentheses. 171

org/mklab/tool/control/system/source/DoublePeriodicSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 185–186

org/mklab/tool/control/system/source/DoublePulseSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 251
UselessParentheses Useless parentheses. 251
UselessParentheses Useless parentheses. 251
UselessParentheses Useless parentheses. 251
UselessParentheses Useless parentheses. 251
UselessParentheses Useless parentheses. 251

org/mklab/tool/control/system/source/DoubleRampSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 185
UselessParentheses Useless parentheses. 185
UselessParentheses Useless parentheses. 185
UselessParentheses Useless parentheses. 185

org/mklab/tool/control/system/source/DoubleSineWaveSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 177
UselessParentheses Useless parentheses. 177
UselessParentheses Useless parentheses. 177
UselessParentheses Useless parentheses. 177
UselessParentheses Useless parentheses. 177

org/mklab/tool/control/system/source/DoubleSoundLineSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 111

org/mklab/tool/control/system/source/DoubleStepSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 185
UselessParentheses Useless parentheses. 185
UselessParentheses Useless parentheses. 185
UselessParentheses Useless parentheses. 185

org/mklab/tool/control/system/source/DoubleVariableSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 97

org/mklab/tool/control/system/source/FileSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 151–152

org/mklab/tool/control/system/source/ImportSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 178
UselessParentheses Useless parentheses. 178

org/mklab/tool/control/system/source/PeriodicSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 202–203

org/mklab/tool/control/system/source/PulseSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 264
UselessParentheses Useless parentheses. 264
UselessParentheses Useless parentheses. 264
UselessParentheses Useless parentheses. 264
UselessParentheses Useless parentheses. 264
UselessParentheses Useless parentheses. 264

org/mklab/tool/control/system/source/RampSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 199
UselessParentheses Useless parentheses. 199
UselessParentheses Useless parentheses. 199
UselessParentheses Useless parentheses. 199

org/mklab/tool/control/system/source/SineWaveSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 188
UselessParentheses Useless parentheses. 188
UselessParentheses Useless parentheses. 188
UselessParentheses Useless parentheses. 188
UselessParentheses Useless parentheses. 188

org/mklab/tool/control/system/source/StepSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 199
UselessParentheses Useless parentheses. 199
UselessParentheses Useless parentheses. 199
UselessParentheses Useless parentheses. 199

org/mklab/tool/control/system/source/VariableSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 106

org/mklab/tool/control/util/Bench.java

Rule Violation Line
UselessParentheses Useless parentheses. 360

org/mklab/tool/control/util/Bench2.java

Rule Violation Line
UselessParentheses Useless parentheses. 121

org/mklab/tool/graph/mgplot/Mgplot.java

Rule Violation Line
UselessParentheses Useless parentheses. 206
UselessParentheses Useless parentheses. 207
UselessParentheses Useless parentheses. 211
UselessParentheses Useless parentheses. 212
UselessParentheses Useless parentheses. 216
UselessParentheses Useless parentheses. 217
UselessParentheses Useless parentheses. 218
UselessParentheses Useless parentheses. 219
UselessParentheses Useless parentheses. 974
UselessParentheses Useless parentheses. 1227

org/mklab/tool/matrix/Ccpair.java

Rule Violation Line
UselessParentheses Useless parentheses. 89
UselessParentheses Useless parentheses. 114
UselessParentheses Useless parentheses. 120

org/mklab/tool/matrix/Gammac.java

Rule Violation Line
UselessParentheses Useless parentheses. 73

org/mklab/tool/matrix/Magicsq.java

Rule Violation Line
UselessParentheses Useless parentheses. 62
UselessParentheses Useless parentheses. 62

org/mklab/tool/matrix/Makepoly.java

Rule Violation Line
UselessParentheses Useless parentheses. 72
UselessParentheses Useless parentheses. 126

org/mklab/tool/matrix/Simplify.java

Rule Violation Line
UselessParentheses Useless parentheses. 66
UselessParentheses Useless parentheses. 84

org/mklab/tool/signal/Blackman.java

Rule Violation Line
UselessParentheses Useless parentheses. 32

org/mklab/tool/signal/Demo.java

Rule Violation Line
UselessParentheses Useless parentheses. 252
UselessParentheses Useless parentheses. 252
UselessParentheses Useless parentheses. 253
UselessParentheses Useless parentheses. 377

org/mklab/tool/signal/Rceps.java

Rule Violation Line
UselessParentheses Useless parentheses. 35
UselessParentheses Useless parentheses. 39

Files

org/mklab/tool/control/AbstractLinearSystem.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'output': resource specifications are implicitly final 3 1474

org/mklab/tool/control/Are.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 102
UselessParentheses Useless parentheses. 4 176

org/mklab/tool/control/Balreal.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 84

org/mklab/tool/control/C2d.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 76
UselessParentheses Useless parentheses. 4 133

org/mklab/tool/control/Canon.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 79
UselessParentheses Useless parentheses. 4 81
UselessParentheses Useless parentheses. 4 82
CollapsibleIfStatements These nested if statements could be combined 3 110–112

org/mklab/tool/control/Ctrf.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 127
UselessParentheses Useless parentheses. 4 196

org/mklab/tool/control/D2c.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 78–82

org/mklab/tool/control/Dhinf.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 211
UselessParentheses Useless parentheses. 4 213
UselessParentheses Useless parentheses. 4 251
UselessParentheses Useless parentheses. 4 252

org/mklab/tool/control/Dlqr.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 88
UselessParentheses Useless parentheses. 4 90
UselessParentheses Useless parentheses. 4 97
UselessParentheses Useless parentheses. 4 98
UselessParentheses Useless parentheses. 4 100
UselessParentheses Useless parentheses. 4 119
UselessParentheses Useless parentheses. 4 128

org/mklab/tool/control/Dlyap.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 41
UselessParentheses Useless parentheses. 4 41

org/mklab/tool/control/DoubleAbstractLinearSystem.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'output': resource specifications are implicitly final 3 1468

org/mklab/tool/control/DoubleImproperLinearSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 404

org/mklab/tool/control/DoubleLinearSystem.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getTimeDomainType': the method is declared in an interface type 3 461

org/mklab/tool/control/DoubleNyquist.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 127

org/mklab/tool/control/DoubleProperLinearSystem.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 3 50
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 55
UselessParentheses Useless parentheses. 4 484

org/mklab/tool/control/DoubleWeierstrassForm.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 76–78

org/mklab/tool/control/Dric.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 124

org/mklab/tool/control/ImproperLinearSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 402

org/mklab/tool/control/LinearSystem.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getTimeDomainType': the method is declared in an interface type 3 458

org/mklab/tool/control/Ltifr.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 69
UselessParentheses Useless parentheses. 4 71
UselessParentheses Useless parentheses. 4 117
UselessParentheses Useless parentheses. 4 119
UselessParentheses Useless parentheses. 4 162
UselessParentheses Useless parentheses. 4 164
UselessParentheses Useless parentheses. 4 214
UselessParentheses Useless parentheses. 4 216
UselessParentheses Useless parentheses. 4 267
UselessParentheses Useless parentheses. 4 269
UselessParentheses Useless parentheses. 4 317
UselessParentheses Useless parentheses. 4 319
UselessParentheses Useless parentheses. 4 366
UselessParentheses Useless parentheses. 4 368

org/mklab/tool/control/Nichols.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 129
UselessParentheses Useless parentheses. 4 146

org/mklab/tool/control/Nyquist.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'samplingInterval'. 3 38
UselessParentheses Useless parentheses. 4 131

org/mklab/tool/control/Obsg.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 92
UselessParentheses Useless parentheses. 4 155
UselessParentheses Useless parentheses. 4 230
UselessParentheses Useless parentheses. 4 302

org/mklab/tool/control/Pmargin.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 137–139
UselessParentheses Useless parentheses. 4 138
UselessParentheses Useless parentheses. 4 153

org/mklab/tool/control/Pplace.java

Rule Violation Priority Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 312
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 377

org/mklab/tool/control/ProperLinearSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 491

org/mklab/tool/control/Ric.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 96

org/mklab/tool/control/SigmaPlotter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 47
UselessParentheses Useless parentheses. 4 51

org/mklab/tool/control/SkeletonDes2tf.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 72

org/mklab/tool/control/SystemInputOutputKey.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 94
UselessParentheses Useless parentheses. 4 94
UselessParentheses Useless parentheses. 4 94

org/mklab/tool/control/Tf2des.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'sunit'. 3 300

org/mklab/tool/control/WeierstrassForm.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 192–194

org/mklab/tool/control/Zp2ss.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 125
UselessParentheses Useless parentheses. 4 126
UselessParentheses Useless parentheses. 4 127
UselessParentheses Useless parentheses. 4 147
UselessParentheses Useless parentheses. 4 148
UselessParentheses Useless parentheses. 4 149
UselessParentheses Useless parentheses. 4 150
UselessParentheses Useless parentheses. 4 169
UselessParentheses Useless parentheses. 4 170

org/mklab/tool/control/system/AdjacencyConstantMatrix.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 86
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 87
UselessParentheses Useless parentheses. 4 96
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 97
UselessParentheses Useless parentheses. 4 140
UselessParentheses Useless parentheses. 4 140
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 219
UselessParentheses Useless parentheses. 4 224
UselessParentheses Useless parentheses. 4 225
UselessParentheses Useless parentheses. 4 226
UselessParentheses Useless parentheses. 4 365
UselessParentheses Useless parentheses. 4 466
UselessParentheses Useless parentheses. 4 468
UselessParentheses Useless parentheses. 4 502

org/mklab/tool/control/system/AdjacencyMatrix.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 324
UselessParentheses Useless parentheses. 4 328
UselessParentheses Useless parentheses. 4 332
UselessParentheses Useless parentheses. 4 336
UselessParentheses Useless parentheses. 4 340
UselessParentheses Useless parentheses. 4 343
UselessParentheses Useless parentheses. 4 347
UselessParentheses Useless parentheses. 4 351
UselessParentheses Useless parentheses. 4 355
UselessParentheses Useless parentheses. 4 359
UselessParentheses Useless parentheses. 4 363
UselessParentheses Useless parentheses. 4 367
UselessParentheses Useless parentheses. 4 370
UselessParentheses Useless parentheses. 4 617
UselessParentheses Useless parentheses. 4 618
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 850
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 878
CollapsibleIfStatements These nested if statements could be combined 3 1054–1056
CollapsibleIfStatements These nested if statements could be combined 3 1128–1130
CollapsibleIfStatements These nested if statements could be combined 3 1133–1135
UselessParentheses Useless parentheses. 4 1198–1199
CollapsibleIfStatements These nested if statements could be combined 3 1313–1316
UselessParentheses Useless parentheses. 4 1328
UselessParentheses Useless parentheses. 4 1524
UselessParentheses Useless parentheses. 4 2772
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2773
UselessParentheses Useless parentheses. 4 2793
UselessParentheses Useless parentheses. 4 2869
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2870
UselessParentheses Useless parentheses. 4 2900
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2962
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2972
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2975
UselessParentheses Useless parentheses. 4 3010
UselessParentheses Useless parentheses. 4 3010
UselessParentheses Useless parentheses. 4 3077
UselessParentheses Useless parentheses. 4 3077
UselessParentheses Useless parentheses. 4 3190
UselessParentheses Useless parentheses. 4 3190
UselessParentheses Useless parentheses. 4 3195
UselessParentheses Useless parentheses. 4 3195
UselessParentheses Useless parentheses. 4 4086
UselessParentheses Useless parentheses. 4 4092
CollapsibleIfStatements These nested if statements could be combined 3 4252–4254
UselessParentheses Useless parentheses. 4 4402
UselessParentheses Useless parentheses. 4 4440
UselessParentheses Useless parentheses. 4 4474
UselessParentheses Useless parentheses. 4 4497
CollapsibleIfStatements These nested if statements could be combined 3 4567–4569
UselessParentheses Useless parentheses. 4 4654
UselessParentheses Useless parentheses. 4 5082
UnnecessaryModifier Unnecessary modifier 'final' on method 'getSubMatrix': private methods cannot be overridden 3 5241–5255
CollapsibleIfStatements These nested if statements could be combined 3 5494–5496
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 5498
CollapsibleIfStatements These nested if statements could be combined 3 5523–5525
CollapsibleIfStatements These nested if statements could be combined 3 5528–5530
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 5533
CollapsibleIfStatements These nested if statements could be combined 3 5582–5584
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 5586

org/mklab/tool/control/system/AdjacencyStringMatrix.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 631–640
CollapsibleIfStatements These nested if statements could be combined 3 644–653

org/mklab/tool/control/system/BlockSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 302
UselessParentheses Useless parentheses. 4 324
UselessParentheses Useless parentheses. 4 428
UselessParentheses Useless parentheses. 4 749
UselessParentheses Useless parentheses. 4 750
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 1437
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 1462

org/mklab/tool/control/system/DoubleAdjacencyConstantMatrix.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 74
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 75
UselessParentheses Useless parentheses. 4 84
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 85
UselessParentheses Useless parentheses. 4 127
UselessParentheses Useless parentheses. 4 127
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 206
UselessParentheses Useless parentheses. 4 211
UselessParentheses Useless parentheses. 4 212
UselessParentheses Useless parentheses. 4 213
UselessParentheses Useless parentheses. 4 350
UselessParentheses Useless parentheses. 4 451
UselessParentheses Useless parentheses. 4 453
UselessParentheses Useless parentheses. 4 487

org/mklab/tool/control/system/DoubleAdjacencyMatrix.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 310
UselessParentheses Useless parentheses. 4 314
UselessParentheses Useless parentheses. 4 318
UselessParentheses Useless parentheses. 4 322
UselessParentheses Useless parentheses. 4 326
UselessParentheses Useless parentheses. 4 329
UselessParentheses Useless parentheses. 4 333
UselessParentheses Useless parentheses. 4 337
UselessParentheses Useless parentheses. 4 341
UselessParentheses Useless parentheses. 4 345
UselessParentheses Useless parentheses. 4 349
UselessParentheses Useless parentheses. 4 353
UselessParentheses Useless parentheses. 4 356
UselessParentheses Useless parentheses. 4 603
UselessParentheses Useless parentheses. 4 604
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 836
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 864
CollapsibleIfStatements These nested if statements could be combined 3 1040–1042
CollapsibleIfStatements These nested if statements could be combined 3 1114–1116
CollapsibleIfStatements These nested if statements could be combined 3 1119–1121
UselessParentheses Useless parentheses. 4 1184–1185
CollapsibleIfStatements These nested if statements could be combined 3 1299–1302
UselessParentheses Useless parentheses. 4 1314
UselessParentheses Useless parentheses. 4 1514
UselessParentheses Useless parentheses. 4 2764
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2765
UselessParentheses Useless parentheses. 4 2785
UselessParentheses Useless parentheses. 4 2861
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2862
UselessParentheses Useless parentheses. 4 2892
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2954
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2964
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 2967
UselessParentheses Useless parentheses. 4 3004
UselessParentheses Useless parentheses. 4 3004
UselessParentheses Useless parentheses. 4 3071
UselessParentheses Useless parentheses. 4 3071
UselessParentheses Useless parentheses. 4 3184
UselessParentheses Useless parentheses. 4 3184
UselessParentheses Useless parentheses. 4 3189
UselessParentheses Useless parentheses. 4 3189
UselessParentheses Useless parentheses. 4 4078
UselessParentheses Useless parentheses. 4 4084
CollapsibleIfStatements These nested if statements could be combined 3 4244–4246
UselessParentheses Useless parentheses. 4 4394
UselessParentheses Useless parentheses. 4 4432
UselessParentheses Useless parentheses. 4 4466
UselessParentheses Useless parentheses. 4 4489
CollapsibleIfStatements These nested if statements could be combined 3 4559–4561
UselessParentheses Useless parentheses. 4 4644

org/mklab/tool/control/system/DoubleAdjacencyMatrixUtil.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 254
CollapsibleIfStatements These nested if statements could be combined 3 311–313
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 315
CollapsibleIfStatements These nested if statements could be combined 3 338–340
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 342
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 363
UnnecessaryModifier Unnecessary modifier 'final' on method 'getSubMatrix': private methods cannot be overridden 3 517–531
CollapsibleIfStatements These nested if statements could be combined 3 552–554
CollapsibleIfStatements These nested if statements could be combined 3 557–559
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 562
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 1043

org/mklab/tool/control/system/DoubleAdjacencyStringMatrix.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 623–632
CollapsibleIfStatements These nested if statements could be combined 3 636–645

org/mklab/tool/control/system/DoubleBlockSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 285
UselessParentheses Useless parentheses. 4 307
UselessParentheses Useless parentheses. 4 409
UselessParentheses Useless parentheses. 4 730
UselessParentheses Useless parentheses. 4 731

org/mklab/tool/control/system/DoubleSystemBuilder.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 838
UselessParentheses Useless parentheses. 4 862
UselessParentheses Useless parentheses. 4 886
UselessParentheses Useless parentheses. 4 1155
UselessParentheses Useless parentheses. 4 1196
UselessParentheses Useless parentheses. 4 1331
UselessParentheses Useless parentheses. 4 1532

org/mklab/tool/control/system/DoubleSystemOperator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 97
UselessParentheses Useless parentheses. 4 97
UselessParentheses Useless parentheses. 4 97
UselessParentheses Useless parentheses. 4 97–99
UselessParentheses Useless parentheses. 4 98
UselessParentheses Useless parentheses. 4 98
UselessParentheses Useless parentheses. 4 98
UselessParentheses Useless parentheses. 4 98
UselessParentheses Useless parentheses. 4 99
UselessParentheses Useless parentheses. 4 99
UselessParentheses Useless parentheses. 4 99
UselessParentheses Useless parentheses. 4 99

org/mklab/tool/control/system/DoubleZeroSystem.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 52

org/mklab/tool/control/system/SystemBuilder.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 859
UselessParentheses Useless parentheses. 4 883
UselessParentheses Useless parentheses. 4 907
UselessParentheses Useless parentheses. 4 1176
UselessParentheses Useless parentheses. 4 1217
UselessParentheses Useless parentheses. 4 1352
UselessParentheses Useless parentheses. 4 1553

org/mklab/tool/control/system/SystemOperator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 110–112
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 111
UselessParentheses Useless parentheses. 4 111
UselessParentheses Useless parentheses. 4 111
UselessParentheses Useless parentheses. 4 111
UselessParentheses Useless parentheses. 4 112
UselessParentheses Useless parentheses. 4 112
UselessParentheses Useless parentheses. 4 112
UselessParentheses Useless parentheses. 4 112

org/mklab/tool/control/system/ZeroSystem.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 75

org/mklab/tool/control/system/continuous/ApproximateDerivativeSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 158–160
UselessParentheses Useless parentheses. 4 158

org/mklab/tool/control/system/continuous/BaseContinuousDynamicSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 97–99

org/mklab/tool/control/system/continuous/ContinuousLinearDynamicSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 451

org/mklab/tool/control/system/continuous/DoubleApproximateDerivativeSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 148–150
UselessParentheses Useless parentheses. 4 148

org/mklab/tool/control/system/continuous/DoubleBaseContinuousDynamicSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 89–91

org/mklab/tool/control/system/continuous/DoubleContinuousLinearDynamicSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 440

org/mklab/tool/control/system/continuous/DoubleTransportDelay.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 97–100
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 152
UselessParentheses Useless parentheses. 4 288–290
UselessParentheses Useless parentheses. 4 288
UselessParentheses Useless parentheses. 4 289

org/mklab/tool/control/system/continuous/TransportDelay.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 106–109
UselessParentheses Useless parentheses. 4 124
UselessParentheses Useless parentheses. 4 124
UselessParentheses Useless parentheses. 4 140
UselessParentheses Useless parentheses. 4 140
UselessParentheses Useless parentheses. 4 161
UselessParentheses Useless parentheses. 4 161
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 161
UselessParentheses Useless parentheses. 4 297
UselessParentheses Useless parentheses. 4 297–299
UselessParentheses Useless parentheses. 4 298

org/mklab/tool/control/system/controller/PoleViewer.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'observerPoles'. 3 93
UnusedFormalParameter Avoid unused method parameters such as 'closedLoopPoles'. 3 93

org/mklab/tool/control/system/discontinuous/Backlash.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 218
UselessParentheses Useless parentheses. 4 228
UselessParentheses Useless parentheses. 4 234
UselessParentheses Useless parentheses. 4 268
UselessParentheses Useless parentheses. 4 268
UselessParentheses Useless parentheses. 4 268
UselessParentheses Useless parentheses. 4 280
UselessParentheses Useless parentheses. 4 280
UselessParentheses Useless parentheses. 4 280
UselessParentheses Useless parentheses. 4 343–348
UselessParentheses Useless parentheses. 4 343
UselessParentheses Useless parentheses. 4 344
UselessParentheses Useless parentheses. 4 344
UselessParentheses Useless parentheses. 4 348

org/mklab/tool/control/system/discontinuous/CoulombViscousFriction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 202
UselessParentheses Useless parentheses. 4 202
UselessParentheses Useless parentheses. 4 202

org/mklab/tool/control/system/discontinuous/DeadZone.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 226
UselessParentheses Useless parentheses. 4 226
UselessParentheses Useless parentheses. 4 226

org/mklab/tool/control/system/discontinuous/DoubleBacklash.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 208
UselessParentheses Useless parentheses. 4 333–338
UselessParentheses Useless parentheses. 4 333
UselessParentheses Useless parentheses. 4 334
UselessParentheses Useless parentheses. 4 334
UselessParentheses Useless parentheses. 4 338

org/mklab/tool/control/system/discontinuous/DoubleCoulombViscousFriction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 193
UselessParentheses Useless parentheses. 4 193
UselessParentheses Useless parentheses. 4 193

org/mklab/tool/control/system/discontinuous/DoubleDeadZone.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 217
UselessParentheses Useless parentheses. 4 217
UselessParentheses Useless parentheses. 4 217

org/mklab/tool/control/system/discontinuous/DoubleRateLimiter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 270
UselessParentheses Useless parentheses. 4 270
UselessParentheses Useless parentheses. 4 270–273
UselessParentheses Useless parentheses. 4 271

org/mklab/tool/control/system/discontinuous/DoubleSaturation.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 218
UselessParentheses Useless parentheses. 4 218
UselessParentheses Useless parentheses. 4 218

org/mklab/tool/control/system/discontinuous/RateLimiter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 279–282
UselessParentheses Useless parentheses. 4 279
UselessParentheses Useless parentheses. 4 279
UselessParentheses Useless parentheses. 4 280

org/mklab/tool/control/system/discontinuous/Saturation.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 227
UselessParentheses Useless parentheses. 4 227
UselessParentheses Useless parentheses. 4 227

org/mklab/tool/control/system/discrete/BaseDiscreteDynamicSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 171
UselessParentheses Useless parentheses. 4 197
UselessParentheses Useless parentheses. 4 286–287
UselessParentheses Useless parentheses. 4 287
UselessParentheses Useless parentheses. 4 287

org/mklab/tool/control/system/discrete/BaseDiscreteStaticSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 94
UselessParentheses Useless parentheses. 4 120
UselessParentheses Useless parentheses. 4 210
UselessParentheses Useless parentheses. 4 210
UselessParentheses Useless parentheses. 4 210

org/mklab/tool/control/system/discrete/DiscreteLinearDynamicSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 412

org/mklab/tool/control/system/discrete/DoubleBaseDiscreteDynamicSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 163
UselessParentheses Useless parentheses. 4 189
UselessParentheses Useless parentheses. 4 277–278
UselessParentheses Useless parentheses. 4 278
UselessParentheses Useless parentheses. 4 278

org/mklab/tool/control/system/discrete/DoubleBaseDiscreteStaticSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 86
UselessParentheses Useless parentheses. 4 112
UselessParentheses Useless parentheses. 4 202
UselessParentheses Useless parentheses. 4 202
UselessParentheses Useless parentheses. 4 202

org/mklab/tool/control/system/discrete/DoubleDiscreteLinearDynamicSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 401

org/mklab/tool/control/system/discrete/DoubleFirstOrderHoldSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 39

org/mklab/tool/control/system/graph/CycleMatrix.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 111
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 116
UselessParentheses Useless parentheses. 4 137

org/mklab/tool/control/system/graph/DoubleCycleMatrix.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 104
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 109
UselessParentheses Useless parentheses. 4 130

org/mklab/tool/control/system/graph/SparceStringMatrix.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 326–327
UselessParentheses Useless parentheses. 4 326–327
UselessParentheses Useless parentheses. 4 326
UselessParentheses Useless parentheses. 4 404
UselessParentheses Useless parentheses. 4 404
UselessParentheses Useless parentheses. 4 404

org/mklab/tool/control/system/math/AbsoluteFunction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 87
UselessParentheses Useless parentheses. 4 87

org/mklab/tool/control/system/math/BiasFunction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 115

org/mklab/tool/control/system/math/ConstantSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 552
UselessParentheses Useless parentheses. 4 839–840
UselessParentheses Useless parentheses. 4 840
UselessParentheses Useless parentheses. 4 840

org/mklab/tool/control/system/math/DeMultiplexer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 204
UselessParentheses Useless parentheses. 4 204
UselessParentheses Useless parentheses. 4 204

org/mklab/tool/control/system/math/DoubleBiasFunction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 107

org/mklab/tool/control/system/math/DoubleConstantSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 546
UselessParentheses Useless parentheses. 4 833–834
UselessParentheses Useless parentheses. 4 834
UselessParentheses Useless parentheses. 4 834

org/mklab/tool/control/system/math/DoubleDeMultiplexer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 196
UselessParentheses Useless parentheses. 4 196
UselessParentheses Useless parentheses. 4 196

org/mklab/tool/control/system/math/DoubleLookupTable.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 220–221

org/mklab/tool/control/system/math/DoubleMathematicalFunction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 186

org/mklab/tool/control/system/math/DoubleMultiplexer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 198
UselessParentheses Useless parentheses. 4 198
UselessParentheses Useless parentheses. 4 198

org/mklab/tool/control/system/math/DoubleProduct.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 130

org/mklab/tool/control/system/math/DoubleProductLikesSimulink.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 115

org/mklab/tool/control/system/math/DoubleRoundingFunction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 134

org/mklab/tool/control/system/math/DoubleTrigonometricFunction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 177

org/mklab/tool/control/system/math/LookupTable.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 232–233

org/mklab/tool/control/system/math/MathematicalFunction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 195

org/mklab/tool/control/system/math/Multiplexer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 206
UselessParentheses Useless parentheses. 4 206
UselessParentheses Useless parentheses. 4 206

org/mklab/tool/control/system/math/Product.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 139

org/mklab/tool/control/system/math/ProductLikesSimulink.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 124

org/mklab/tool/control/system/math/RoundingFunction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 143
UselessParentheses Useless parentheses. 4 204
UselessParentheses Useless parentheses. 4 204
UselessParentheses Useless parentheses. 4 204
UselessParentheses Useless parentheses. 4 212
UselessParentheses Useless parentheses. 4 212

org/mklab/tool/control/system/math/SignumFunction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 90

org/mklab/tool/control/system/math/TrigonometricFunction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 188

org/mklab/tool/control/system/math/UserDefinedConstantSystem.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'sunit'. 3 60

org/mklab/tool/control/system/parameter/DoubleParameterContainer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 556–558
EmptyCatchBlock Avoid empty catch blocks 3 585–587
EmptyCatchBlock Avoid empty catch blocks 3 587–589
UselessParentheses Useless parentheses. 4 646

org/mklab/tool/control/system/parameter/ParameterContainer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 563–565
EmptyCatchBlock Avoid empty catch blocks 3 592–594
EmptyCatchBlock Avoid empty catch blocks 3 594–596
UselessParentheses Useless parentheses. 4 653

org/mklab/tool/control/system/parameter/StringExternalizable.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getString': the method is declared in an interface type 3 22

org/mklab/tool/control/system/rpn/DoubleMaxima.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 57
UselessParentheses Useless parentheses. 4 75
UselessParentheses Useless parentheses. 4 77
UselessParentheses Useless parentheses. 4 82
UselessParentheses Useless parentheses. 4 188
UselessParentheses Useless parentheses. 4 191

org/mklab/tool/control/system/rpn/Maxima.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 63
UselessParentheses Useless parentheses. 4 81
UselessParentheses Useless parentheses. 4 83
UselessParentheses Useless parentheses. 4 88
UselessParentheses Useless parentheses. 4 194
UselessParentheses Useless parentheses. 4 197

org/mklab/tool/control/system/sampled/BaseSampledDataDynamicSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 209–212
UselessParentheses Useless parentheses. 4 212

org/mklab/tool/control/system/sampled/BaseSampledDataStaticSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 103

org/mklab/tool/control/system/sampled/BlockSamplingSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 124

org/mklab/tool/control/system/sampled/DoubleBaseSampledDataDynamicSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 201–204
UselessParentheses Useless parentheses. 4 204

org/mklab/tool/control/system/sampled/DoubleBaseSampledDataStaticSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 95

org/mklab/tool/control/system/sampled/DoubleBlockSamplingSystem.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 116

org/mklab/tool/control/system/sampled/DoubleSampler.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getSamplingInterval': the method is declared in an interface type 3 22
UnnecessaryModifier Unnecessary modifier 'public' on method 'setSamplingInterval': the method is declared in an interface type 3 29

org/mklab/tool/control/system/sampled/Sampler.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getSamplingInterval': the method is declared in an interface type 3 31
UnnecessaryModifier Unnecessary modifier 'public' on method 'setSamplingInterval': the method is declared in an interface type 3 38

org/mklab/tool/control/system/sink/DisplaySink.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 150
UselessParentheses Useless parentheses. 4 150

org/mklab/tool/control/system/sink/DoubleDisplaySink.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 141
UselessParentheses Useless parentheses. 4 141

org/mklab/tool/control/system/sink/DoubleFileSink.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 151–153

org/mklab/tool/control/system/sink/DoubleRestrictor.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 288

org/mklab/tool/control/system/sink/DoubleVariableSink.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 90

org/mklab/tool/control/system/sink/FileSink.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 158–160

org/mklab/tool/control/system/sink/GnuplotSink.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 801–805
UselessParentheses Useless parentheses. 4 803
UselessParentheses Useless parentheses. 4 803
UselessParentheses Useless parentheses. 4 804
UselessParentheses Useless parentheses. 4 804
UselessParentheses Useless parentheses. 4 804
UselessParentheses Useless parentheses. 4 804
UselessParentheses Useless parentheses. 4 805
UselessParentheses Useless parentheses. 4 805

org/mklab/tool/control/system/sink/Restrictor.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 301

org/mklab/tool/control/system/sink/VariableSink.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 99

org/mklab/tool/control/system/source/ConstantSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 118

org/mklab/tool/control/system/source/DoubleConstantSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 110

org/mklab/tool/control/system/source/DoubleFileSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 145–146

org/mklab/tool/control/system/source/DoubleImportSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 171
UselessParentheses Useless parentheses. 4 171

org/mklab/tool/control/system/source/DoublePeriodicSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 185–186

org/mklab/tool/control/system/source/DoublePulseSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 251
UselessParentheses Useless parentheses. 4 251
UselessParentheses Useless parentheses. 4 251
UselessParentheses Useless parentheses. 4 251
UselessParentheses Useless parentheses. 4 251
UselessParentheses Useless parentheses. 4 251

org/mklab/tool/control/system/source/DoubleRampSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 185
UselessParentheses Useless parentheses. 4 185
UselessParentheses Useless parentheses. 4 185
UselessParentheses Useless parentheses. 4 185

org/mklab/tool/control/system/source/DoubleSineWaveSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 177
UselessParentheses Useless parentheses. 4 177
UselessParentheses Useless parentheses. 4 177
UselessParentheses Useless parentheses. 4 177
UselessParentheses Useless parentheses. 4 177

org/mklab/tool/control/system/source/DoubleSoundLineSource.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'line': resource specifications are implicitly final 3 97
UselessParentheses Useless parentheses. 4 111

org/mklab/tool/control/system/source/DoubleStepSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 185
UselessParentheses Useless parentheses. 4 185
UselessParentheses Useless parentheses. 4 185
UselessParentheses Useless parentheses. 4 185

org/mklab/tool/control/system/source/DoubleVariableSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 97

org/mklab/tool/control/system/source/FileSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 151–152

org/mklab/tool/control/system/source/ImportSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 178
UselessParentheses Useless parentheses. 4 178

org/mklab/tool/control/system/source/PeriodicSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 202–203

org/mklab/tool/control/system/source/PulseSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 264
UselessParentheses Useless parentheses. 4 264
UselessParentheses Useless parentheses. 4 264
UselessParentheses Useless parentheses. 4 264
UselessParentheses Useless parentheses. 4 264
UselessParentheses Useless parentheses. 4 264

org/mklab/tool/control/system/source/RampSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 199
UselessParentheses Useless parentheses. 4 199
UselessParentheses Useless parentheses. 4 199
UselessParentheses Useless parentheses. 4 199

org/mklab/tool/control/system/source/SineWaveSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 188
UselessParentheses Useless parentheses. 4 188
UselessParentheses Useless parentheses. 4 188
UselessParentheses Useless parentheses. 4 188
UselessParentheses Useless parentheses. 4 188

org/mklab/tool/control/system/source/SoundLineSource.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'line': resource specifications are implicitly final 3 111

org/mklab/tool/control/system/source/StepSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 199
UselessParentheses Useless parentheses. 4 199
UselessParentheses Useless parentheses. 4 199
UselessParentheses Useless parentheses. 4 199

org/mklab/tool/control/system/source/VariableSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 106

org/mklab/tool/control/util/Bench.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 360

org/mklab/tool/control/util/Bench2.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 121

org/mklab/tool/control/util/Demo.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 76–78
EmptyCatchBlock Avoid empty catch blocks 3 111–113

org/mklab/tool/graph/Demo.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 64–66

org/mklab/tool/graph/gnuplot/Canvas.java

Rule Violation Priority Line
EmptyWhileStmt Avoid empty while statements 3 1220–1222
EmptyWhileStmt Avoid empty while statements 3 1316–1318
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'pw': resource specifications are implicitly final 3 1337
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'pw': resource specifications are implicitly final 3 1418

org/mklab/tool/graph/gnuplot/Gnuplot.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'pid'. 3 212

org/mklab/tool/graph/mgplot/Mgplot.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 206
UselessParentheses Useless parentheses. 4 207
UselessParentheses Useless parentheses. 4 211
UselessParentheses Useless parentheses. 4 212
UselessParentheses Useless parentheses. 4 216
UselessParentheses Useless parentheses. 4 217
UselessParentheses Useless parentheses. 4 218
UselessParentheses Useless parentheses. 4 219
EmptyWhileStmt Avoid empty while statements 3 645–647
EmptyWhileStmt Avoid empty while statements 3 790–792
UselessParentheses Useless parentheses. 4 974
UselessParentheses Useless parentheses. 4 1227

org/mklab/tool/matrix/Ccpair.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 89
UselessParentheses Useless parentheses. 4 114
UselessParentheses Useless parentheses. 4 120

org/mklab/tool/matrix/Demo.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 63–65

org/mklab/tool/matrix/Gammac.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 73

org/mklab/tool/matrix/Magicsq.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 62
UselessParentheses Useless parentheses. 4 62

org/mklab/tool/matrix/Makepoly.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 72
UselessParentheses Useless parentheses. 4 126

org/mklab/tool/matrix/Simplify.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 66
UselessParentheses Useless parentheses. 4 84

org/mklab/tool/matrix/Unwrap.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on method 'sgn': private methods cannot be overridden 3 177–185

org/mklab/tool/signal/Blackman.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 32

org/mklab/tool/signal/Demo.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 61–63
UselessParentheses Useless parentheses. 4 252
UselessParentheses Useless parentheses. 4 252
UselessParentheses Useless parentheses. 4 253
UselessParentheses Useless parentheses. 4 377

org/mklab/tool/signal/Rceps.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 35
UselessParentheses Useless parentheses. 4 39