PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 2

org/mklab/sdpj/gpack/lapackwrap/Dsteqr.java

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

org/mklab/sdpj/iocenter/IO.java

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

org/mklab/sdpj/iocenter/Vsolution.java

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

Priority 3

org/mklab/sdpj/algorithm/Newton.java

Rule Violation Line
UnnecessaryReturn Avoid unnecessary return statements 192

org/mklab/sdpj/algorithm/Phase.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 121–124

org/mklab/sdpj/algorithm/SolveInfo.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'A'. 45
CollapsibleIfStatements These nested if statements could be combined 123–125
CollapsibleIfStatements These nested if statements could be combined 129–131

org/mklab/sdpj/benchmark/Sdplib.java

Rule Violation Line
UnnecessaryConversionTemporary Avoid unnecessary temporaries when converting primitives to Strings 345
UnnecessaryConversionTemporary Avoid unnecessary temporaries when converting primitives to Strings 350
UnnecessaryConversionTemporary Avoid unnecessary temporaries when converting primitives to Strings 459
UnnecessaryConversionTemporary Avoid unnecessary temporaries when converting primitives to Strings 464

org/mklab/sdpj/datastructure/BlockSparseMatrix.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'unit'. 244

org/mklab/sdpj/gpack/blaswrap/Dgemm.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'ncola'. 141

org/mklab/sdpj/gpack/blaswrap/DgemmThread.java

Rule Violation Line
EmptyWhileStmt Avoid empty while statements 89–91

org/mklab/sdpj/gpack/lapackwrap/Dlamch.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'rmach'. 42
UnusedPrivateMethod Avoid unused private methods such as 'printAll()'. 876

org/mklab/sdpj/gpack/lapackwrap/Dlarfb.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'pointer_t'. 161

org/mklab/sdpj/gpack/lapackwrap/Dorgtr.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'tauIndex'. 1126
UnusedFormalParameter Avoid unused method parameters such as 'workIndex'. 1126
UnusedFormalParameter Avoid unused method parameters such as 'aIndex'. 1126

org/mklab/sdpj/gpack/lapackwrap/Dsyev.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'lopt'. 211

org/mklab/sdpj/gpack/lapackwrap/Ilaenv.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 192–200
CollapsibleIfStatements These nested if statements could be combined 205–213
CollapsibleIfStatements These nested if statements could be combined 218–226
CollapsibleIfStatements These nested if statements could be combined 357–360
CollapsibleIfStatements These nested if statements could be combined 369–372
CollapsibleIfStatements These nested if statements could be combined 423–425
CollapsibleIfStatements These nested if statements could be combined 489–492
CollapsibleIfStatements These nested if statements could be combined 501–504
CollapsibleIfStatements These nested if statements could be combined 552–555
CollapsibleIfStatements These nested if statements could be combined 558–563
CollapsibleIfStatements These nested if statements could be combined 559–562

org/mklab/sdpj/iocenter/SolverIO.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'i'. 810
UnusedLocalVariable Avoid unused local variables such as 'j'. 811

org/mklab/sdpj/iocenter/Vsolution.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'radiusOfOptimal'. 955
UnusedLocalVariable Avoid unused local variables such as 'radiusOfMu'. 956

Priority 4

org/mklab/sdpj/algebra/Algebra.java

Rule Violation Line
UselessParentheses Useless parentheses. 193
UselessParentheses Useless parentheses. 207
UselessParentheses Useless parentheses. 217
UselessParentheses Useless parentheses. 228
UselessParentheses Useless parentheses. 238
UselessParentheses Useless parentheses. 510
UselessParentheses Useless parentheses. 514
UselessParentheses Useless parentheses. 518

org/mklab/sdpj/algebra/AlgebraWithEFFloat.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'org.mklab.matj.parser.statement.symbol.BlockMatrixConstant' 8
UselessParentheses Useless parentheses. 238
UselessParentheses Useless parentheses. 252
UselessParentheses Useless parentheses. 262
UselessParentheses Useless parentheses. 273
UselessParentheses Useless parentheses. 283
UselessParentheses Useless parentheses. 632
UselessParentheses Useless parentheses. 636
UselessParentheses Useless parentheses. 640

org/mklab/sdpj/algorithm/AverageComplementarity.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'org.mklab.sdpj.algebra.Algebra' 6

org/mklab/sdpj/algorithm/DirectionParameter.java

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

org/mklab/sdpj/algorithm/Lanczos.java

Rule Violation Line
UselessParentheses Useless parentheses. 138

org/mklab/sdpj/algorithm/Newton.java

Rule Violation Line
UselessParentheses Useless parentheses. 170
UselessParentheses Useless parentheses. 171
UselessParentheses Useless parentheses. 171
UselessParentheses Useless parentheses. 172
UselessParentheses Useless parentheses. 381
UselessParentheses Useless parentheses. 381
UselessParentheses Useless parentheses. 459
UselessParentheses Useless parentheses. 459
UselessParentheses Useless parentheses. 460
UselessParentheses Useless parentheses. 460
UselessParentheses Useless parentheses. 461
UselessParentheses Useless parentheses. 461

org/mklab/sdpj/algorithm/SolveInfo.java

Rule Violation Line
UselessParentheses Useless parentheses. 136
UselessParentheses Useless parentheses. 136
UselessParentheses Useless parentheses. 136
UselessParentheses Useless parentheses. 141
UselessParentheses Useless parentheses. 141
UselessParentheses Useless parentheses. 141
UselessParentheses Useless parentheses. 146–147
UselessParentheses Useless parentheses. 146–147
UselessParentheses Useless parentheses. 146
UselessParentheses Useless parentheses. 146–147
UselessParentheses Useless parentheses. 146

org/mklab/sdpj/algorithm/StepLength.java

Rule Violation Line
UselessParentheses Useless parentheses. 189
UselessParentheses Useless parentheses. 196
UselessParentheses Useless parentheses. 253
UselessParentheses Useless parentheses. 254
UselessParentheses Useless parentheses. 256
UselessParentheses Useless parentheses. 259
UselessParentheses Useless parentheses. 263
UselessParentheses Useless parentheses. 264
UselessParentheses Useless parentheses. 266
UselessParentheses Useless parentheses. 283
UselessParentheses Useless parentheses. 284
UselessParentheses Useless parentheses. 284
UselessParentheses Useless parentheses. 368

org/mklab/sdpj/benchmark/Sdplib.java

Rule Violation Line
UselessParentheses Useless parentheses. 290
UselessParentheses Useless parentheses. 372
UselessParentheses Useless parentheses. 392
UselessParentheses Useless parentheses. 545
UselessParentheses Useless parentheses. 586
UselessParentheses Useless parentheses. 627

org/mklab/sdpj/convert/Matrix.java

Rule Violation Line
UselessParentheses Useless parentheses. 58
UselessParentheses Useless parentheses. 71
UselessParentheses Useless parentheses. 208
UselessParentheses Useless parentheses. 228

org/mklab/sdpj/datastructure/BlockDenseMatrix.java

Rule Violation Line
UselessParentheses Useless parentheses. 70

org/mklab/sdpj/datastructure/BlockVector.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.mklab.sdpj.datastructure.Vector' due to existing same package import 'org.mklab.sdpj.datastructure.*' 24
UselessParentheses Useless parentheses. 69
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.mklab.sdpj.datastructure.Vector' due to existing same package import 'org.mklab.sdpj.datastructure.*' 194

org/mklab/sdpj/gpack/blaswrap/BLAS.java

Rule Violation Line
UselessParentheses Useless parentheses. 276
UselessParentheses Useless parentheses. 276

org/mklab/sdpj/gpack/blaswrap/Dgemm.java

Rule Violation Line
UselessParentheses Useless parentheses. 245
UselessParentheses Useless parentheses. 286

org/mklab/sdpj/gpack/blaswrap/DgemmThread.java

Rule Violation Line
UselessParentheses Useless parentheses. 124

org/mklab/sdpj/gpack/blaswrap/DgemmThreadCh.java

Rule Violation Line
UselessParentheses Useless parentheses. 91

org/mklab/sdpj/gpack/blaswrap/Dnrm2.java

Rule Violation Line
UselessParentheses Useless parentheses. 46

org/mklab/sdpj/gpack/blaswrap/Dsyr2k.java

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

org/mklab/sdpj/gpack/blaswrap/Dsyrk.java

Rule Violation Line
UselessParentheses Useless parentheses. 245
UselessParentheses Useless parentheses. 261

org/mklab/sdpj/gpack/f2clibs/LibF77.java

Rule Violation Line
UselessParentheses Useless parentheses. 99
UselessParentheses Useless parentheses. 100

org/mklab/sdpj/gpack/lapackwrap/Dlae2.java

Rule Violation Line
UselessParentheses Useless parentheses. 53
UselessParentheses Useless parentheses. 64
UselessParentheses Useless parentheses. 77
UselessParentheses Useless parentheses. 83
UselessParentheses Useless parentheses. 85
UselessParentheses Useless parentheses. 91

org/mklab/sdpj/gpack/lapackwrap/Dlaev2.java

Rule Violation Line
UselessParentheses Useless parentheses. 89
UselessParentheses Useless parentheses. 100
UselessParentheses Useless parentheses. 103
UselessParentheses Useless parentheses. 106
UselessParentheses Useless parentheses. 114
UselessParentheses Useless parentheses. 121
UselessParentheses Useless parentheses. 123
UselessParentheses Useless parentheses. 130
UselessParentheses Useless parentheses. 154
UselessParentheses Useless parentheses. 155
UselessParentheses Useless parentheses. 162
UselessParentheses Useless parentheses. 163

org/mklab/sdpj/gpack/lapackwrap/Dlamch.java

Rule Violation Line
UselessParentheses Useless parentheses. 274

org/mklab/sdpj/gpack/lapackwrap/Dlansy.java

Rule Violation Line
UselessParentheses Useless parentheses. 259

org/mklab/sdpj/gpack/lapackwrap/Dlapy2.java

Rule Violation Line
UselessParentheses Useless parentheses. 49

org/mklab/sdpj/gpack/lapackwrap/Dlarfg.java

Rule Violation Line
UselessParentheses Useless parentheses. 120
UselessParentheses Useless parentheses. 134

org/mklab/sdpj/gpack/lapackwrap/Dlartg.java

Rule Violation Line
UselessParentheses Useless parentheses. 44
UselessParentheses Useless parentheses. 93
UselessParentheses Useless parentheses. 114
UselessParentheses Useless parentheses. 124
UselessParentheses Useless parentheses. 128

org/mklab/sdpj/gpack/lapackwrap/Dlascl.java

Rule Violation Line
UselessParentheses Useless parentheses. 213
UselessParentheses Useless parentheses. 222
UselessParentheses Useless parentheses. 231
UselessParentheses Useless parentheses. 232

org/mklab/sdpj/gpack/lapackwrap/Dlasr.java

Rule Violation Line
UselessParentheses Useless parentheses. 164
UselessParentheses Useless parentheses. 165
UselessParentheses Useless parentheses. 178
UselessParentheses Useless parentheses. 179
UselessParentheses Useless parentheses. 194
UselessParentheses Useless parentheses. 195
UselessParentheses Useless parentheses. 208
UselessParentheses Useless parentheses. 209
UselessParentheses Useless parentheses. 224
UselessParentheses Useless parentheses. 225
UselessParentheses Useless parentheses. 238
UselessParentheses Useless parentheses. 239
UselessParentheses Useless parentheses. 257
UselessParentheses Useless parentheses. 258
UselessParentheses Useless parentheses. 271
UselessParentheses Useless parentheses. 272
UselessParentheses Useless parentheses. 287
UselessParentheses Useless parentheses. 288
UselessParentheses Useless parentheses. 301
UselessParentheses Useless parentheses. 302
UselessParentheses Useless parentheses. 318
UselessParentheses Useless parentheses. 319
UselessParentheses Useless parentheses. 332
UselessParentheses Useless parentheses. 333

org/mklab/sdpj/gpack/lapackwrap/Dlassq.java

Rule Violation Line
UselessParentheses Useless parentheses. 86

org/mklab/sdpj/gpack/lapackwrap/Dsteqr.java

Rule Violation Line
UselessParentheses Useless parentheses. 166
UselessParentheses Useless parentheses. 219
UselessParentheses Useless parentheses. 256
UselessParentheses Useless parentheses. 350
UselessParentheses Useless parentheses. 370
UselessParentheses Useless parentheses. 373
UselessParentheses Useless parentheses. 497
UselessParentheses Useless parentheses. 497
UselessParentheses Useless parentheses. 519
UselessParentheses Useless parentheses. 522

org/mklab/sdpj/gpack/lapackwrap/Dsterf.java

Rule Violation Line
UselessParentheses Useless parentheses. 91
UselessParentheses Useless parentheses. 92
UselessParentheses Useless parentheses. 192
UselessParentheses Useless parentheses. 192
UselessParentheses Useless parentheses. 249
UselessParentheses Useless parentheses. 252
UselessParentheses Useless parentheses. 271
UselessParentheses Useless parentheses. 310
UselessParentheses Useless parentheses. 310
UselessParentheses Useless parentheses. 368
UselessParentheses Useless parentheses. 371
UselessParentheses Useless parentheses. 371
UselessParentheses Useless parentheses. 390

org/mklab/sdpj/gpack/lapackwrap/Dsytrd.java

Rule Violation Line
UselessParentheses Useless parentheses. 177

org/mklab/sdpj/gpack/lapackwrap/IEEEck.java

Rule Violation Line
UselessParentheses Useless parentheses. 64
UselessParentheses Useless parentheses. 70

org/mklab/sdpj/gpack/lapackwrap/Ilaenv.java

Rule Violation Line
UselessParentheses Useless parentheses. 230
UselessParentheses Useless parentheses. 231

org/mklab/sdpj/iocenter/IO.java

Rule Violation Line
UselessParentheses Useless parentheses. 242

org/mklab/sdpj/main/SdpjMain.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'org.mklab.mpf.ap.EFFloat' 12
UnusedImports Avoid unused imports such as 'org.mklab.mpf.ap.EFFloatLogger' 13

org/mklab/sdpj/main/SdpjMainWithEFFloat.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'org.mklab.mpf.ap.EFFloatLogger' 19

org/mklab/sdpj/tool/Tools.java

Rule Violation Line
UselessParentheses Useless parentheses. 100
UselessParentheses Useless parentheses. 107

Files

org/mklab/sdpj/algebra/Algebra.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 193
UselessParentheses Useless parentheses. 4 207
UselessParentheses Useless parentheses. 4 217
UselessParentheses Useless parentheses. 4 228
UselessParentheses Useless parentheses. 4 238
UselessParentheses Useless parentheses. 4 510
UselessParentheses Useless parentheses. 4 514
UselessParentheses Useless parentheses. 4 518

org/mklab/sdpj/algebra/AlgebraWithEFFloat.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'org.mklab.matj.parser.statement.symbol.BlockMatrixConstant' 4 8
UselessParentheses Useless parentheses. 4 238
UselessParentheses Useless parentheses. 4 252
UselessParentheses Useless parentheses. 4 262
UselessParentheses Useless parentheses. 4 273
UselessParentheses Useless parentheses. 4 283
UselessParentheses Useless parentheses. 4 632
UselessParentheses Useless parentheses. 4 636
UselessParentheses Useless parentheses. 4 640

org/mklab/sdpj/algorithm/AverageComplementarity.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'org.mklab.sdpj.algebra.Algebra' 4 6

org/mklab/sdpj/algorithm/DirectionParameter.java

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

org/mklab/sdpj/algorithm/Lanczos.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 138

org/mklab/sdpj/algorithm/Newton.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 170
UselessParentheses Useless parentheses. 4 171
UselessParentheses Useless parentheses. 4 171
UselessParentheses Useless parentheses. 4 172
UnnecessaryReturn Avoid unnecessary return statements 3 192
UselessParentheses Useless parentheses. 4 381
UselessParentheses Useless parentheses. 4 381
UselessParentheses Useless parentheses. 4 459
UselessParentheses Useless parentheses. 4 459
UselessParentheses Useless parentheses. 4 460
UselessParentheses Useless parentheses. 4 460
UselessParentheses Useless parentheses. 4 461
UselessParentheses Useless parentheses. 4 461

org/mklab/sdpj/algorithm/Phase.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 121–124

org/mklab/sdpj/algorithm/SolveInfo.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'A'. 3 45
CollapsibleIfStatements These nested if statements could be combined 3 123–125
CollapsibleIfStatements These nested if statements could be combined 3 129–131
UselessParentheses Useless parentheses. 4 136
UselessParentheses Useless parentheses. 4 136
UselessParentheses Useless parentheses. 4 136
UselessParentheses Useless parentheses. 4 141
UselessParentheses Useless parentheses. 4 141
UselessParentheses Useless parentheses. 4 141
UselessParentheses Useless parentheses. 4 146–147
UselessParentheses Useless parentheses. 4 146–147
UselessParentheses Useless parentheses. 4 146
UselessParentheses Useless parentheses. 4 146–147
UselessParentheses Useless parentheses. 4 146

org/mklab/sdpj/algorithm/StepLength.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 189
UselessParentheses Useless parentheses. 4 196
UselessParentheses Useless parentheses. 4 253
UselessParentheses Useless parentheses. 4 254
UselessParentheses Useless parentheses. 4 256
UselessParentheses Useless parentheses. 4 259
UselessParentheses Useless parentheses. 4 263
UselessParentheses Useless parentheses. 4 264
UselessParentheses Useless parentheses. 4 266
UselessParentheses Useless parentheses. 4 283
UselessParentheses Useless parentheses. 4 284
UselessParentheses Useless parentheses. 4 284
UselessParentheses Useless parentheses. 4 368

org/mklab/sdpj/benchmark/Sdplib.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 290
UnnecessaryConversionTemporary Avoid unnecessary temporaries when converting primitives to Strings 3 345
UnnecessaryConversionTemporary Avoid unnecessary temporaries when converting primitives to Strings 3 350
UselessParentheses Useless parentheses. 4 372
UselessParentheses Useless parentheses. 4 392
UnnecessaryConversionTemporary Avoid unnecessary temporaries when converting primitives to Strings 3 459
UnnecessaryConversionTemporary Avoid unnecessary temporaries when converting primitives to Strings 3 464
UselessParentheses Useless parentheses. 4 545
UselessParentheses Useless parentheses. 4 586
UselessParentheses Useless parentheses. 4 627

org/mklab/sdpj/convert/Matrix.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 58
UselessParentheses Useless parentheses. 4 71
UselessParentheses Useless parentheses. 4 208
UselessParentheses Useless parentheses. 4 228

org/mklab/sdpj/datastructure/BlockDenseMatrix.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 70

org/mklab/sdpj/datastructure/BlockSparseMatrix.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'unit'. 3 244

org/mklab/sdpj/datastructure/BlockVector.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.mklab.sdpj.datastructure.Vector' due to existing same package import 'org.mklab.sdpj.datastructure.*' 4 24
UselessParentheses Useless parentheses. 4 69
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.mklab.sdpj.datastructure.Vector' due to existing same package import 'org.mklab.sdpj.datastructure.*' 4 194

org/mklab/sdpj/gpack/blaswrap/BLAS.java

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

org/mklab/sdpj/gpack/blaswrap/Dgemm.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'ncola'. 3 141
UselessParentheses Useless parentheses. 4 245
UselessParentheses Useless parentheses. 4 286

org/mklab/sdpj/gpack/blaswrap/DgemmThread.java

Rule Violation Priority Line
EmptyWhileStmt Avoid empty while statements 3 89–91
UselessParentheses Useless parentheses. 4 124

org/mklab/sdpj/gpack/blaswrap/DgemmThreadCh.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 91

org/mklab/sdpj/gpack/blaswrap/Dnrm2.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 46

org/mklab/sdpj/gpack/blaswrap/Dsyr2k.java

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

org/mklab/sdpj/gpack/blaswrap/Dsyrk.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 245
UselessParentheses Useless parentheses. 4 261

org/mklab/sdpj/gpack/f2clibs/LibF77.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 99
UselessParentheses Useless parentheses. 4 100

org/mklab/sdpj/gpack/lapackwrap/Dlae2.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 53
UselessParentheses Useless parentheses. 4 64
UselessParentheses Useless parentheses. 4 77
UselessParentheses Useless parentheses. 4 83
UselessParentheses Useless parentheses. 4 85
UselessParentheses Useless parentheses. 4 91

org/mklab/sdpj/gpack/lapackwrap/Dlaev2.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 89
UselessParentheses Useless parentheses. 4 100
UselessParentheses Useless parentheses. 4 103
UselessParentheses Useless parentheses. 4 106
UselessParentheses Useless parentheses. 4 114
UselessParentheses Useless parentheses. 4 121
UselessParentheses Useless parentheses. 4 123
UselessParentheses Useless parentheses. 4 130
UselessParentheses Useless parentheses. 4 154
UselessParentheses Useless parentheses. 4 155
UselessParentheses Useless parentheses. 4 162
UselessParentheses Useless parentheses. 4 163

org/mklab/sdpj/gpack/lapackwrap/Dlamch.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'rmach'. 3 42
UselessParentheses Useless parentheses. 4 274
UnusedPrivateMethod Avoid unused private methods such as 'printAll()'. 3 876

org/mklab/sdpj/gpack/lapackwrap/Dlansy.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 259

org/mklab/sdpj/gpack/lapackwrap/Dlapy2.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 49

org/mklab/sdpj/gpack/lapackwrap/Dlarfb.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'pointer_t'. 3 161

org/mklab/sdpj/gpack/lapackwrap/Dlarfg.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 120
UselessParentheses Useless parentheses. 4 134

org/mklab/sdpj/gpack/lapackwrap/Dlartg.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 44
UselessParentheses Useless parentheses. 4 93
UselessParentheses Useless parentheses. 4 114
UselessParentheses Useless parentheses. 4 124
UselessParentheses Useless parentheses. 4 128

org/mklab/sdpj/gpack/lapackwrap/Dlascl.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 213
UselessParentheses Useless parentheses. 4 222
UselessParentheses Useless parentheses. 4 231
UselessParentheses Useless parentheses. 4 232

org/mklab/sdpj/gpack/lapackwrap/Dlasr.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 164
UselessParentheses Useless parentheses. 4 165
UselessParentheses Useless parentheses. 4 178
UselessParentheses Useless parentheses. 4 179
UselessParentheses Useless parentheses. 4 194
UselessParentheses Useless parentheses. 4 195
UselessParentheses Useless parentheses. 4 208
UselessParentheses Useless parentheses. 4 209
UselessParentheses Useless parentheses. 4 224
UselessParentheses Useless parentheses. 4 225
UselessParentheses Useless parentheses. 4 238
UselessParentheses Useless parentheses. 4 239
UselessParentheses Useless parentheses. 4 257
UselessParentheses Useless parentheses. 4 258
UselessParentheses Useless parentheses. 4 271
UselessParentheses Useless parentheses. 4 272
UselessParentheses Useless parentheses. 4 287
UselessParentheses Useless parentheses. 4 288
UselessParentheses Useless parentheses. 4 301
UselessParentheses Useless parentheses. 4 302
UselessParentheses Useless parentheses. 4 318
UselessParentheses Useless parentheses. 4 319
UselessParentheses Useless parentheses. 4 332
UselessParentheses Useless parentheses. 4 333

org/mklab/sdpj/gpack/lapackwrap/Dlassq.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 86

org/mklab/sdpj/gpack/lapackwrap/Dorgtr.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'tauIndex'. 3 1126
UnusedFormalParameter Avoid unused method parameters such as 'workIndex'. 3 1126
UnusedFormalParameter Avoid unused method parameters such as 'aIndex'. 3 1126

org/mklab/sdpj/gpack/lapackwrap/Dsteqr.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 166
UselessParentheses Useless parentheses. 4 219
UselessParentheses Useless parentheses. 4 256
UselessParentheses Useless parentheses. 4 350
UselessParentheses Useless parentheses. 4 370
UselessParentheses Useless parentheses. 4 373
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 393
UselessParentheses Useless parentheses. 4 497
UselessParentheses Useless parentheses. 4 497
UselessParentheses Useless parentheses. 4 519
UselessParentheses Useless parentheses. 4 522
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 541

org/mklab/sdpj/gpack/lapackwrap/Dsterf.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 91
UselessParentheses Useless parentheses. 4 92
UselessParentheses Useless parentheses. 4 192
UselessParentheses Useless parentheses. 4 192
UselessParentheses Useless parentheses. 4 249
UselessParentheses Useless parentheses. 4 252
UselessParentheses Useless parentheses. 4 271
UselessParentheses Useless parentheses. 4 310
UselessParentheses Useless parentheses. 4 310
UselessParentheses Useless parentheses. 4 368
UselessParentheses Useless parentheses. 4 371
UselessParentheses Useless parentheses. 4 371
UselessParentheses Useless parentheses. 4 390

org/mklab/sdpj/gpack/lapackwrap/Dsyev.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'lopt'. 3 211

org/mklab/sdpj/gpack/lapackwrap/Dsytrd.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 177

org/mklab/sdpj/gpack/lapackwrap/IEEEck.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 64
UselessParentheses Useless parentheses. 4 70

org/mklab/sdpj/gpack/lapackwrap/Ilaenv.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 192–200
CollapsibleIfStatements These nested if statements could be combined 3 205–213
CollapsibleIfStatements These nested if statements could be combined 3 218–226
UselessParentheses Useless parentheses. 4 230
UselessParentheses Useless parentheses. 4 231
CollapsibleIfStatements These nested if statements could be combined 3 357–360
CollapsibleIfStatements These nested if statements could be combined 3 369–372
CollapsibleIfStatements These nested if statements could be combined 3 423–425
CollapsibleIfStatements These nested if statements could be combined 3 489–492
CollapsibleIfStatements These nested if statements could be combined 3 501–504
CollapsibleIfStatements These nested if statements could be combined 3 552–555
CollapsibleIfStatements These nested if statements could be combined 3 558–563
CollapsibleIfStatements These nested if statements could be combined 3 559–562

org/mklab/sdpj/iocenter/IO.java

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

org/mklab/sdpj/iocenter/SolverIO.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'i'. 3 810
UnusedLocalVariable Avoid unused local variables such as 'j'. 3 811

org/mklab/sdpj/iocenter/Vsolution.java

Rule Violation Priority Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 908
UnusedLocalVariable Avoid unused local variables such as 'radiusOfOptimal'. 3 955
UnusedLocalVariable Avoid unused local variables such as 'radiusOfMu'. 3 956

org/mklab/sdpj/main/SdpjMain.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'org.mklab.mpf.ap.EFFloat' 4 12
UnusedImports Avoid unused imports such as 'org.mklab.mpf.ap.EFFloatLogger' 4 13

org/mklab/sdpj/main/SdpjMainWithEFFloat.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'org.mklab.mpf.ap.EFFloatLogger' 4 19

org/mklab/sdpj/tool/Tools.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 100
UselessParentheses Useless parentheses. 4 107