PMD Results

The following document contains the results of PMD 5.1.2.

Files

net/sourceforge/pmd/AbstractPropertySource.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 3234
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (method chain calls) 165
Potential violation of Law of Demeter (object not created locally) 184
Potential violation of Law of Demeter (object not created locally) 188
Potential violation of Law of Demeter (method chain calls) 188
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (method chain calls) 192
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (method chain calls) 192

net/sourceforge/pmd/PMD.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 81
There is log block not surrounded by if 89
Potential violation of Law of Demeter (object not created locally) 123
Avoid using if statements without curly braces 124125
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (object not created locally) 126
There is log block not surrounded by if 164
Avoid using if statements without curly braces 219220
Potential violation of Law of Demeter (object not created locally) 229
Potential violation of Law of Demeter (object not created locally) 231
Potential violation of Law of Demeter (object not created locally) 232
Potential violation of Law of Demeter (object not created locally) 241
Potential violation of Law of Demeter (object not created locally) 242
Potential violation of Law of Demeter (object not created locally) 244
Potential violation of Law of Demeter (object not created locally) 354
Avoid declaring a variable if it is unreferenced before a possible exit point. 367
Avoid using if statements without curly braces 397398
Potential violation of Law of Demeter (object not created locally) 399
Potential violation of Law of Demeter (object not created locally) 402
There is log block not surrounded by if 402
Potential violation of Law of Demeter (object not created locally) 402
Potential violation of Law of Demeter (object not created locally) 428
Potential violation of Law of Demeter (object not created locally) 439
Potential violation of Law of Demeter (object not created locally) 442
Potential violation of Law of Demeter (object not created locally) 444

net/sourceforge/pmd/PMDConfiguration.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 165
Potential violation of Law of Demeter (method chain calls) 188
Potential violation of Law of Demeter (object not created locally) 366
Avoid using if statements without curly braces 367368
Potential violation of Law of Demeter (object not created locally) 368

net/sourceforge/pmd/Report.java

Violation Line
Possible God class (WMC=61, ATFD=18, TCC=0.018893387314439947) 4509
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 257
Avoid using if statements without curly braces 325326
Avoid using if statements without curly braces 336337
Potential violation of Law of Demeter (method chain calls) 365
Potential violation of Law of Demeter (method chain calls) 391
Potential violation of Law of Demeter (method chain calls) 421
Potential violation of Law of Demeter (method chain calls) 444
Potential violation of Law of Demeter (method chain calls) 453

net/sourceforge/pmd/RuleChain.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (method chain calls) 76

net/sourceforge/pmd/RulePriority.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 76

net/sourceforge/pmd/RuleSet.java

Violation Line
Possible God class (WMC=85, ATFD=29, TCC=0.06951871657754011) 4535
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (method chain calls) 105
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (method chain calls) 130
Potential violation of Law of Demeter (method chain calls) 185
Potential violation of Law of Demeter (method chain calls) 206
Potential violation of Law of Demeter (object not created locally) 306
Potential violation of Law of Demeter (object not created locally) 307
Potential violation of Law of Demeter (object not created locally) 309
A catch statement that catches an exception only to rethrow it should be avoided. 312314
Potential violation of Law of Demeter (object not created locally) 316
There is log block not surrounded by if 316
Potential violation of Law of Demeter (method chain calls) 340
Potential violation of Law of Demeter (object not created locally) 341
Potential violation of Law of Demeter (object not created locally) 342
Potential violation of Law of Demeter (method chain calls) 376
Potential violation of Law of Demeter (method chain calls) 376
Potential violation of Law of Demeter (object not created locally) 376
Potential violation of Law of Demeter (object not created locally) 376
Potential violation of Law of Demeter (method chain calls) 381
Potential violation of Law of Demeter (method chain calls) 381
Avoid using if statements without curly braces 418419
Avoid using if statements without curly braces 432433
Avoid using if statements without curly braces 442443
Avoid using if statements without curly braces 461462
Avoid using if statements without curly braces 476477
Avoid using if statements without curly braces 487488
Potential violation of Law of Demeter (method chain calls) 509
Potential violation of Law of Demeter (object not created locally) 529

net/sourceforge/pmd/RuleSetFactory.java

Violation Line
Possible God class (WMC=123, ATFD=130, TCC=0.05194805194805195) 4733
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (method chain calls) 94
Potential violation of Law of Demeter (object not created locally) 146
Potential violation of Law of Demeter (object not created locally) 150
Potential violation of Law of Demeter (method chain calls) 163
Potential violation of Law of Demeter (method chain calls) 163
Potential violation of Law of Demeter (object not created locally) 182
Potential violation of Law of Demeter (method chain calls) 198
Potential violation of Law of Demeter (object not created locally) 199
Potential violation of Law of Demeter (object not created locally) 200
Potential violation of Law of Demeter (object not created locally) 204
Potential violation of Law of Demeter (object not created locally) 206
Potential violation of Law of Demeter (object not created locally) 207
Potential violation of Law of Demeter (object not created locally) 208
Potential violation of Law of Demeter (object not created locally) 209
Potential violation of Law of Demeter (object not created locally) 210
Potential violation of Law of Demeter (object not created locally) 220
Avoid unused private methods such as 'classNotFoundProblem(Exception)'. 244
Potential violation of Law of Demeter (object not created locally) 259
Potential violation of Law of Demeter (object not created locally) 260
Potential violation of Law of Demeter (object not created locally) 283
Potential violation of Law of Demeter (object not created locally) 284
Potential violation of Law of Demeter (object not created locally) 288
Potential violation of Law of Demeter (object not created locally) 289
Potential violation of Law of Demeter (object not created locally) 292
Potential violation of Law of Demeter (object not created locally) 293
Potential violation of Law of Demeter (object not created locally) 294
Potential violation of Law of Demeter (method chain calls) 296
Potential violation of Law of Demeter (method chain calls) 302
Potential violation of Law of Demeter (method chain calls) 302
Potential violation of Law of Demeter (object not created locally) 303
Potential violation of Law of Demeter (object not created locally) 304
Potential violation of Law of Demeter (method chain calls) 305
Potential violation of Law of Demeter (object not created locally) 305
Potential violation of Law of Demeter (method chain calls) 306
Potential violation of Law of Demeter (object not created locally) 318
Potential violation of Law of Demeter (object not created locally) 342
Avoid using if statements without curly braces 343344
Potential violation of Law of Demeter (method chain calls) 345
Potential violation of Law of Demeter (object not created locally) 346
Potential violation of Law of Demeter (object not created locally) 346
Potential violation of Law of Demeter (object not created locally) 348
Potential violation of Law of Demeter (object not created locally) 349
Potential violation of Law of Demeter (object not created locally) 352
Potential violation of Law of Demeter (object not created locally) 356
Potential violation of Law of Demeter (object not created locally) 359
Potential violation of Law of Demeter (object not created locally) 361
Potential violation of Law of Demeter (object not created locally) 365
Potential violation of Law of Demeter (object not created locally) 366
Potential violation of Law of Demeter (object not created locally) 367
Potential violation of Law of Demeter (object not created locally) 370
Potential violation of Law of Demeter (object not created locally) 370
Potential violation of Law of Demeter (object not created locally) 372
Potential violation of Law of Demeter (object not created locally) 374
Potential violation of Law of Demeter (object not created locally) 377
Potential violation of Law of Demeter (object not created locally) 378
Potential violation of Law of Demeter (object not created locally) 379
Potential violation of Law of Demeter (object not created locally) 382
Potential violation of Law of Demeter (object not created locally) 382
Potential violation of Law of Demeter (object not created locally) 384
Potential violation of Law of Demeter (object not created locally) 386
Potential violation of Law of Demeter (object not created locally) 389
Potential violation of Law of Demeter (object not created locally) 389
Potential violation of Law of Demeter (method chain calls) 391
Potential violation of Law of Demeter (object not created locally) 391
Potential violation of Law of Demeter (object not created locally) 393
Potential violation of Law of Demeter (method chain calls) 393
Potential violation of Law of Demeter (object not created locally) 393
Potential violation of Law of Demeter (object not created locally) 397
Potential violation of Law of Demeter (object not created locally) 399
Potential violation of Law of Demeter (object not created locally) 401
Potential violation of Law of Demeter (object not created locally) 401
Potential violation of Law of Demeter (object not created locally) 402
Potential violation of Law of Demeter (object not created locally) 403
Potential violation of Law of Demeter (object not created locally) 403
Potential violation of Law of Demeter (object not created locally) 406
Potential violation of Law of Demeter (object not created locally) 410
Potential violation of Law of Demeter (object not created locally) 413
Potential violation of Law of Demeter (object not created locally) 414
Potential violation of Law of Demeter (object not created locally) 415
Potential violation of Law of Demeter (object not created locally) 416
Potential violation of Law of Demeter (object not created locally) 417
Potential violation of Law of Demeter (object not created locally) 418
Potential violation of Law of Demeter (object not created locally) 419
Potential violation of Law of Demeter (object not created locally) 420
Potential violation of Law of Demeter (object not created locally) 421
Potential violation of Law of Demeter (object not created locally) 422
Potential violation of Law of Demeter (method chain calls) 423
Potential violation of Law of Demeter (method chain calls) 423
Potential violation of Law of Demeter (method chain calls) 423
Potential violation of Law of Demeter (object not created locally) 423
Potential violation of Law of Demeter (method chain calls) 423
Potential violation of Law of Demeter (object not created locally) 424
Potential violation of Law of Demeter (object not created locally) 428
Potential violation of Law of Demeter (method chain calls) 432
Potential violation of Law of Demeter (object not created locally) 432
Potential violation of Law of Demeter (method chain calls) 463
Potential violation of Law of Demeter (object not created locally) 473
Potential violation of Law of Demeter (method chain calls) 476478
There is log block not surrounded by if 476
Potential violation of Law of Demeter (method chain calls) 476
There is log block not surrounded by if 480
There is log block not surrounded by if 484
Potential violation of Law of Demeter (method chain calls) 510
Potential violation of Law of Demeter (method chain calls) 511
Potential violation of Law of Demeter (object not created locally) 512
Potential violation of Law of Demeter (object not created locally) 513
Potential violation of Law of Demeter (method chain calls) 513
Potential violation of Law of Demeter (object not created locally) 515
Potential violation of Law of Demeter (method chain calls) 515
Potential violation of Law of Demeter (object not created locally) 517
Potential violation of Law of Demeter (method chain calls) 517
Potential violation of Law of Demeter (method chain calls) 519
Potential violation of Law of Demeter (object not created locally) 519
Potential violation of Law of Demeter (object not created locally) 522
Potential violation of Law of Demeter (method chain calls) 529
Potential violation of Law of Demeter (object not created locally) 529
Potential violation of Law of Demeter (method chain calls) 543
Potential violation of Law of Demeter (object not created locally) 544
Potential violation of Law of Demeter (object not created locally) 545
Potential violation of Law of Demeter (object not created locally) 547
Potential violation of Law of Demeter (object not created locally) 548
Potential violation of Law of Demeter (object not created locally) 549
Potential violation of Law of Demeter (object not created locally) 550
Potential violation of Law of Demeter (object not created locally) 551
Potential violation of Law of Demeter (method chain calls) 551
Potential violation of Law of Demeter (method chain calls) 565
Potential violation of Law of Demeter (method chain calls) 574
Potential violation of Law of Demeter (method chain calls) 575
Avoid unused private methods such as 'valueFrom(Node)'. 582
Potential violation of Law of Demeter (object not created locally) 586
Potential violation of Law of Demeter (object not created locally) 587
Potential violation of Law of Demeter (object not created locally) 646
Potential violation of Law of Demeter (object not created locally) 647
Potential violation of Law of Demeter (object not created locally) 654
Potential violation of Law of Demeter (object not created locally) 670
Potential violation of Law of Demeter (object not created locally) 671
Potential violation of Law of Demeter (object not created locally) 674
Potential violation of Law of Demeter (object not created locally) 675
Potential violation of Law of Demeter (object not created locally) 682
Potential violation of Law of Demeter (method chain calls) 701
Potential violation of Law of Demeter (method chain calls) 709
Potential violation of Law of Demeter (object not created locally) 710
Potential violation of Law of Demeter (object not created locally) 710
Potential violation of Law of Demeter (object not created locally) 711
Potential violation of Law of Demeter (method chain calls) 725
Potential violation of Law of Demeter (method chain calls) 727
Potential violation of Law of Demeter (object not created locally) 728
Potential violation of Law of Demeter (method chain calls) 728
Potential violation of Law of Demeter (object not created locally) 728

net/sourceforge/pmd/RuleSetReferenceId.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 182
Potential violation of Law of Demeter (method chain calls) 182
Potential violation of Law of Demeter (method chain calls) 254

net/sourceforge/pmd/RuleSetWriter.java

Violation Line
Possible God class (WMC=61, ATFD=60, TCC=0.0718954248366013) 4370
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 94
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (object not created locally) 136
Potential violation of Law of Demeter (object not created locally) 155
Potential violation of Law of Demeter (object not created locally) 156
Potential violation of Law of Demeter (object not created locally) 157
Potential violation of Law of Demeter (object not created locally) 158
Potential violation of Law of Demeter (object not created locally) 165
Potential violation of Law of Demeter (object not created locally) 166
Potential violation of Law of Demeter (object not created locally) 167
Potential violation of Law of Demeter (object not created locally) 168
Potential violation of Law of Demeter (object not created locally) 169
Potential violation of Law of Demeter (object not created locally) 170
Potential violation of Law of Demeter (method chain calls) 170
Potential violation of Law of Demeter (object not created locally) 170
Potential violation of Law of Demeter (object not created locally) 171
Potential violation of Law of Demeter (object not created locally) 172
Potential violation of Law of Demeter (object not created locally) 173
Potential violation of Law of Demeter (object not created locally) 174
Potential violation of Law of Demeter (object not created locally) 175
Potential violation of Law of Demeter (object not created locally) 176
Potential violation of Law of Demeter (object not created locally) 177
Avoid unused private methods such as 'setIfNonNull(Object,Element,String)'. 193
Potential violation of Law of Demeter (object not created locally) 206
Potential violation of Law of Demeter (object not created locally) 209
Potential violation of Law of Demeter (object not created locally) 212
Potential violation of Law of Demeter (object not created locally) 227
Potential violation of Law of Demeter (object not created locally) 231
Potential violation of Law of Demeter (object not created locally) 235
Potential violation of Law of Demeter (object not created locally) 240
Potential violation of Law of Demeter (object not created locally) 248
Potential violation of Law of Demeter (object not created locally) 251
Potential violation of Law of Demeter (method chain calls) 269
Potential violation of Law of Demeter (method chain calls) 269
Potential violation of Law of Demeter (object not created locally) 270
Potential violation of Law of Demeter (object not created locally) 273
Potential violation of Law of Demeter (object not created locally) 275
Potential violation of Law of Demeter (object not created locally) 281
Potential violation of Law of Demeter (object not created locally) 292
Potential violation of Law of Demeter (object not created locally) 296
Potential violation of Law of Demeter (object not created locally) 297
Potential violation of Law of Demeter (object not created locally) 298
Potential violation of Law of Demeter (object not created locally) 303
Potential violation of Law of Demeter (object not created locally) 313
Potential violation of Law of Demeter (static property access) 315
Potential violation of Law of Demeter (object not created locally) 317
Potential violation of Law of Demeter (object not created locally) 319
Potential violation of Law of Demeter (object not created locally) 347
Potential violation of Law of Demeter (object not created locally) 350
Potential violation of Law of Demeter (object not created locally) 351
Potential violation of Law of Demeter (object not created locally) 360
Potential violation of Law of Demeter (object not created locally) 367

net/sourceforge/pmd/RuleSets.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 169
Potential violation of Law of Demeter (method chain calls) 181

net/sourceforge/pmd/RuleViolationComparator.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 28
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 40

net/sourceforge/pmd/RulesetsFactoryUtils.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 34

net/sourceforge/pmd/SourceCodeProcessor.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 96
Potential violation of Law of Demeter (method chain calls) 104
Potential violation of Law of Demeter (method chain calls) 120
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (method chain calls) 131
Potential violation of Law of Demeter (method chain calls) 131
Potential violation of Law of Demeter (object not created locally) 139
Potential violation of Law of Demeter (object not created locally) 144

net/sourceforge/pmd/ant/Formatter.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (static property access) 100
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 111
Potential violation of Law of Demeter (object not created locally) 124

net/sourceforge/pmd/ant/PMDTask.java

Violation Line
Possible God class (WMC=67, ATFD=60, TCC=0.023172905525846704) 4376
Potential violation of Law of Demeter (method chain calls) 136
Potential violation of Law of Demeter (method chain calls) 155
Potential violation of Law of Demeter (method chain calls) 171
Potential violation of Law of Demeter (method chain calls) 171
Potential violation of Law of Demeter (method chain calls) 187
Potential violation of Law of Demeter (method chain calls) 187
Potential violation of Law of Demeter (method chain calls) 187
Potential violation of Law of Demeter (method chain calls) 187
Potential violation of Law of Demeter (object not created locally) 201
Potential violation of Law of Demeter (object not created locally) 203
Potential violation of Law of Demeter (object not created locally) 207
Potential violation of Law of Demeter (method chain calls) 207
Potential violation of Law of Demeter (method chain calls) 252
Potential violation of Law of Demeter (object not created locally) 271
Potential violation of Law of Demeter (object not created locally) 275
Potential violation of Law of Demeter (object not created locally) 276
Potential violation of Law of Demeter (method chain calls) 296
Potential violation of Law of Demeter (method chain calls) 305
Potential violation of Law of Demeter (method chain calls) 305
Potential violation of Law of Demeter (method chain calls) 305
Potential violation of Law of Demeter (method chain calls) 305
Potential violation of Law of Demeter (object not created locally) 364

net/sourceforge/pmd/benchmark/BenchmarkReport.java

Violation Line
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 21
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 28

net/sourceforge/pmd/benchmark/BenchmarkResult.java

Violation Line
Useless parentheses. 36

net/sourceforge/pmd/benchmark/Benchmarker.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 40233
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 65
Potential violation of Law of Demeter (method chain calls) 65
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 85
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (object not created locally) 95
Variables that are final and static should be all capitals, 'BenchmarksByName' is not all capitals. 187

net/sourceforge/pmd/benchmark/RuleDuration.java

Violation Line
Potential violation of Law of Demeter (static property access) 20
Potential violation of Law of Demeter (method chain calls) 20

net/sourceforge/pmd/benchmark/StringBuilderCR.java

Violation Line
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 15

net/sourceforge/pmd/benchmark/TextReport.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 2830
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 38
Potential violation of Law of Demeter (static property access) 45
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 70
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 122
Potential violation of Law of Demeter (object not created locally) 123
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (object not created locally) 129
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 131
Potential violation of Law of Demeter (object not created locally) 132
Potential violation of Law of Demeter (object not created locally) 137
Potential violation of Law of Demeter (object not created locally) 137
Potential violation of Law of Demeter (object not created locally) 140
Potential violation of Law of Demeter (object not created locally) 140
Potential violation of Law of Demeter (object not created locally) 142
Potential violation of Law of Demeter (object not created locally) 143
Potential violation of Law of Demeter (object not created locally) 144
Potential violation of Law of Demeter (object not created locally) 145
Potential violation of Law of Demeter (object not created locally) 151
Potential violation of Law of Demeter (object not created locally) 151
Potential violation of Law of Demeter (object not created locally) 154

net/sourceforge/pmd/cli/PMDCommandLineInterface.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 21182
Avoid using for statements without curly braces 5960
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (static property access) 141
Avoid using if statements without curly braces 154
Avoid using if...else statements without curly braces 169
Avoid using if...else statements without curly braces 171

net/sourceforge/pmd/cli/PMDParameters.java

Violation Line
Variables that are final and static should be all capitals, 'separator' is not all capitals. 81
Avoid declaring a variable if it is unreferenced before a possible exit point. 84
Avoid using if statements without curly braces 8688
Avoid using if statements without curly braces 101103
Potential violation of Law of Demeter (object not created locally) 118
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (object not created locally) 120
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 122
Potential violation of Law of Demeter (object not created locally) 123
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (object not created locally) 127
Potential violation of Law of Demeter (object not created locally) 128
Potential violation of Law of Demeter (object not created locally) 129
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 131
Potential violation of Law of Demeter (object not created locally) 132
Potential violation of Law of Demeter (object not created locally) 135
Potential violation of Law of Demeter (method chain calls) 135
Potential violation of Law of Demeter (object not created locally) 137
Potential violation of Law of Demeter (method chain calls) 137
Potential violation of Law of Demeter (method chain calls) 139
Potential violation of Law of Demeter (object not created locally) 139
Potential violation of Law of Demeter (object not created locally) 143
Potential violation of Law of Demeter (object not created locally) 145

net/sourceforge/pmd/cli/XPathCLI.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3376
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 61
Potential violation of Law of Demeter (object not created locally) 63
StringBuffer constructor is initialized with size 16, but has at least 51 characters appended. 63
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 64
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 71

net/sourceforge/pmd/cpd/AbstractTokenizer.java

Violation Line
Useless parentheses. 93
Useless parentheses. 97

net/sourceforge/pmd/cpd/AnyTokenizer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (object not created locally) 45

net/sourceforge/pmd/cpd/CPD.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 93
Potential violation of Law of Demeter (method chain calls) 93
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (method chain calls) 144
Potential violation of Law of Demeter (method chain calls) 155
Potential violation of Law of Demeter (method chain calls) 156

net/sourceforge/pmd/cpd/CPDCommandLineInterface.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 15141
Variables that are final and static should be all capitals, 'progName' is not all capitals. 23
Avoid using if...else statements without curly braces 27
Avoid using if...else statements without curly braces 29
Potential violation of Law of Demeter (method chain calls) 71
Potential violation of Law of Demeter (method chain calls) 83
Potential violation of Law of Demeter (method chain calls) 84
Potential violation of Law of Demeter (method chain calls) 84
Avoid using for statements without curly braces 9195
Avoid using if...else statements without curly braces 93
Avoid using if...else statements without curly braces 95
Potential violation of Law of Demeter (method chain calls) 109112
Potential violation of Law of Demeter (method chain calls) 109113
Potential violation of Law of Demeter (method chain calls) 111

net/sourceforge/pmd/cpd/CPDConfiguration.java

Violation Line
Possible God class (WMC=63, ATFD=24, TCC=0.03508771929824561) 4333
Avoid using if statements without curly braces 122123
Potential violation of Law of Demeter (method chain calls) 122
Avoid using if statements without curly braces 125126
Avoid using if statements without curly braces 127128
Avoid using if statements without curly braces 129130
Potential violation of Law of Demeter (method chain calls) 144
Potential violation of Law of Demeter (object not created locally) 159
Potential violation of Law of Demeter (object not created locally) 161
Potential violation of Law of Demeter (object not created locally) 164
Potential violation of Law of Demeter (object not created locally) 166
Potential violation of Law of Demeter (object not created locally) 169
Potential violation of Law of Demeter (object not created locally) 171
Potential violation of Law of Demeter (method chain calls) 174
Avoid using if statements without curly braces 214215
Avoid using if statements without curly braces 220221

net/sourceforge/pmd/cpd/CPDTask.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 103
Potential violation of Law of Demeter (method chain calls) 113
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 123

net/sourceforge/pmd/cpd/CPPTokenizer.java

Violation Line
Potential violation of Law of Demeter (static property access) 22
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (method chain calls) 2426
Potential violation of Law of Demeter (object not created locally) 2426
Potential violation of Law of Demeter (object not created locally) 25
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (static property access) 28
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (object not created locally) 35

net/sourceforge/pmd/cpd/CSVRenderer.java

Violation Line
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 27
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 28
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 29
Potential violation of Law of Demeter (object not created locally) 34
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (object not created locally) 37
Potential violation of Law of Demeter (object not created locally) 39
Potential violation of Law of Demeter (object not created locally) 40

net/sourceforge/pmd/cpd/CsTokenizer.java

Violation Line
Possible God class (WMC=52, ATFD=20, TCC=0.0) 4238
Potential violation of Law of Demeter (method chain calls) 20
Potential violation of Law of Demeter (method chain calls) 20
Potential violation of Law of Demeter (object not created locally) 22
Use one line for each declaration, it enhances code readability. 22
Potential violation of Law of Demeter (object not created locally) 33
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (object not created locally) 51
No need to call String.valueOf to append to a string. 54
Potential violation of Law of Demeter (object not created locally) 55
Potential violation of Law of Demeter (object not created locally) 59
No need to call String.valueOf to append to a string. 62
No need to call String.valueOf to append to a string. 62
Potential violation of Law of Demeter (object not created locally) 63
No need to call String.valueOf to append to a string. 67
No need to call String.valueOf to append to a string. 67
Potential violation of Law of Demeter (object not created locally) 82
No need to call String.valueOf to append to a string. 85
No need to call String.valueOf to append to a string. 85
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (object not created locally) 100
No need to call String.valueOf to append to a string. 103
Potential violation of Law of Demeter (object not created locally) 104
Potential violation of Law of Demeter (object not created locally) 116
Potential violation of Law of Demeter (object not created locally) 117
Avoid using if statements without curly braces 119120
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 123
Avoid using if statements without curly braces 124
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (object not created locally) 127
Avoid using if statements without curly braces 127
Potential violation of Law of Demeter (object not created locally) 128
Potential violation of Law of Demeter (object not created locally) 129
Potential violation of Law of Demeter (object not created locally) 134
Potential violation of Law of Demeter (object not created locally) 139
Potential violation of Law of Demeter (object not created locally) 141
Potential violation of Law of Demeter (object not created locally) 144
Avoid using if statements without curly braces 148149
Potential violation of Law of Demeter (object not created locally) 154
Potential violation of Law of Demeter (object not created locally) 167
Potential violation of Law of Demeter (object not created locally) 168
Avoid using if statements without curly braces 170171
Potential violation of Law of Demeter (object not created locally) 172
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 198
Potential violation of Law of Demeter (object not created locally) 199
Potential violation of Law of Demeter (object not created locally) 201
Potential violation of Law of Demeter (object not created locally) 209
Potential violation of Law of Demeter (object not created locally) 212
Avoid using if statements without curly braces 213214
Potential violation of Law of Demeter (object not created locally) 215
Potential violation of Law of Demeter (object not created locally) 217
Potential violation of Law of Demeter (object not created locally) 220
Potential violation of Law of Demeter (object not created locally) 226
Potential violation of Law of Demeter (object not created locally) 232

net/sourceforge/pmd/cpd/GUI.java

Violation Line
Possible God class (WMC=137, ATFD=147, TCC=0.0030165912518853697) 4782
Potential violation of Law of Demeter (method chain calls) 205
Potential violation of Law of Demeter (method chain calls) 205
Potential violation of Law of Demeter (method chain calls) 232
Potential violation of Law of Demeter (method chain calls) 232
Potential violation of Law of Demeter (method chain calls) 243
Potential violation of Law of Demeter (method chain calls) 243
Potential violation of Law of Demeter (method chain calls) 259
Potential violation of Law of Demeter (object not created locally) 319
Potential violation of Law of Demeter (method chain calls) 361
Potential violation of Law of Demeter (method chain calls) 361
Potential violation of Law of Demeter (method chain calls) 362
Potential violation of Law of Demeter (method chain calls) 362
Potential violation of Law of Demeter (method chain calls) 379
Potential violation of Law of Demeter (method chain calls) 379
Potential violation of Law of Demeter (method chain calls) 461
Potential violation of Law of Demeter (object not created locally) 461
Potential violation of Law of Demeter (method chain calls) 461
Potential violation of Law of Demeter (method chain calls) 479
Potential violation of Law of Demeter (method chain calls) 482
Potential violation of Law of Demeter (method chain calls) 487
Potential violation of Law of Demeter (method chain calls) 487
Potential violation of Law of Demeter (method chain calls) 495
Potential violation of Law of Demeter (method chain calls) 498
Potential violation of Law of Demeter (method chain calls) 519
Potential violation of Law of Demeter (method chain calls) 519
Potential violation of Law of Demeter (method chain calls) 537
Potential violation of Law of Demeter (method chain calls) 537
Potential violation of Law of Demeter (method chain calls) 537
Potential violation of Law of Demeter (method chain calls) 548
Potential violation of Law of Demeter (object not created locally) 548
Potential violation of Law of Demeter (method chain calls) 548
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 552
Potential violation of Law of Demeter (object not created locally) 552
Potential violation of Law of Demeter (method chain calls) 553
Potential violation of Law of Demeter (object not created locally) 553
Potential violation of Law of Demeter (object not created locally) 554
Potential violation of Law of Demeter (object not created locally) 555
Potential violation of Law of Demeter (object not created locally) 557
Potential violation of Law of Demeter (method chain calls) 632
Potential violation of Law of Demeter (method chain calls) 632
Potential violation of Law of Demeter (method chain calls) 635
Potential violation of Law of Demeter (method chain calls) 635
Useless parentheses. 650
Potential violation of Law of Demeter (object not created locally) 685
Potential violation of Law of Demeter (object not created locally) 686
Potential violation of Law of Demeter (object not created locally) 687
Potential violation of Law of Demeter (object not created locally) 687
Potential violation of Law of Demeter (method chain calls) 697
Potential violation of Law of Demeter (method chain calls) 697
Potential violation of Law of Demeter (method chain calls) 716
Potential violation of Law of Demeter (method chain calls) 716
Potential violation of Law of Demeter (object not created locally) 718
Potential violation of Law of Demeter (object not created locally) 719
Potential violation of Law of Demeter (object not created locally) 719
Potential violation of Law of Demeter (object not created locally) 721
Potential violation of Law of Demeter (object not created locally) 722
Potential violation of Law of Demeter (method chain calls) 724
Potential violation of Law of Demeter (method chain calls) 737
Potential violation of Law of Demeter (method chain calls) 737
Potential violation of Law of Demeter (object not created locally) 738
Potential violation of Law of Demeter (method chain calls) 739
Potential violation of Law of Demeter (method chain calls) 739
Potential violation of Law of Demeter (object not created locally) 740
Potential violation of Law of Demeter (object not created locally) 741
Potential violation of Law of Demeter (object not created locally) 742

net/sourceforge/pmd/cpd/JSPTokenizer.java

Violation Line
Potential violation of Law of Demeter (static property access) 17
Potential violation of Law of Demeter (method chain calls) 17
Potential violation of Law of Demeter (object not created locally) 18
Potential violation of Law of Demeter (object not created locally) 19
Potential violation of Law of Demeter (object not created locally) 20
Potential violation of Law of Demeter (static property access) 21
Potential violation of Law of Demeter (object not created locally) 24

net/sourceforge/pmd/cpd/JavaLanguage.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 20

net/sourceforge/pmd/cpd/JavaTokenizer.java

Violation Line
Possible God class (WMC=47, ATFD=52, TCC=0.1794871794871795) 4183
Potential violation of Law of Demeter (static property access) 37
Potential violation of Law of Demeter (object not created locally) 39
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (static property access) 45
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (object not created locally) 54

net/sourceforge/pmd/cpd/LanguageFactory.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 51
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (method chain calls) 92

net/sourceforge/pmd/cpd/Match.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (method chain calls) 90
Potential violation of Law of Demeter (method chain calls) 90
Potential violation of Law of Demeter (method chain calls) 110

net/sourceforge/pmd/cpd/MatchAlgorithm.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 63
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (method chain calls) 95
Potential violation of Law of Demeter (object not created locally) 96
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (object not created locally) 107
Potential violation of Law of Demeter (object not created locally) 108
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (object not created locally) 117

net/sourceforge/pmd/cpd/MatchCollector.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (method chain calls) 56
Potential violation of Law of Demeter (method chain calls) 57
Potential violation of Law of Demeter (object not created locally) 62
Potential violation of Law of Demeter (object not created locally) 65

net/sourceforge/pmd/cpd/PHPTokenizer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 12
Potential violation of Law of Demeter (object not created locally) 13
Potential violation of Law of Demeter (object not created locally) 14
Potential violation of Law of Demeter (object not created locally) 15

net/sourceforge/pmd/cpd/PLSQLLanguage.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 28

net/sourceforge/pmd/cpd/PLSQLTokenizer.java

Violation Line
Use one line for each declaration, it enhances code readability. 56
There is log block not surrounded by if 58
There is log block not surrounded by if 59
There is log block not surrounded by if 60
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (static property access) 67
Useless parentheses. 85
Potential violation of Law of Demeter (object not created locally) 106
There is log block not surrounded by if 109

net/sourceforge/pmd/cpd/SimpleRenderer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 37
Potential violation of Law of Demeter (object not created locally) 37
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 75

net/sourceforge/pmd/cpd/SourceCode.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 160
Potential violation of Law of Demeter (object not created locally) 164

net/sourceforge/pmd/cpd/TokenEntry.java

Violation Line
Variables should start with a lowercase character, 'TOKENS' starts with uppercase character. 22
The field name indicates a constant but its modifiers do not 2227
Potential violation of Law of Demeter (method chain calls) 53
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (static property access) 76
Potential violation of Law of Demeter (method chain calls) 76
Potential violation of Law of Demeter (method chain calls) 77
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (method chain calls) 124
Potential violation of Law of Demeter (method chain calls) 125

net/sourceforge/pmd/cpd/Tokens.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 35

net/sourceforge/pmd/cpd/VSRenderer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 19
Potential violation of Law of Demeter (object not created locally) 21
Potential violation of Law of Demeter (object not created locally) 21
Potential violation of Law of Demeter (object not created locally) 22
Potential violation of Law of Demeter (object not created locally) 22
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (object not created locally) 26

net/sourceforge/pmd/cpd/XMLRenderer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (object not created locally) 50
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 62
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (method chain calls) 66
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 101
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (object not created locally) 110

net/sourceforge/pmd/dcd/ClassLoaderUtil.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 14167
Potential violation of Law of Demeter (method chain calls) 30
Potential violation of Law of Demeter (method chain calls) 30
Potential violation of Law of Demeter (method chain calls) 127
Potential violation of Law of Demeter (method chain calls) 127
Potential violation of Law of Demeter (method chain calls) 129
Potential violation of Law of Demeter (method chain calls) 129
Potential violation of Law of Demeter (method chain calls) 140

net/sourceforge/pmd/dcd/DCD.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 48173
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 116
Potential violation of Law of Demeter (object not created locally) 117
Potential violation of Law of Demeter (object not created locally) 118
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (method chain calls) 124
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (method chain calls) 124
Potential violation of Law of Demeter (object not created locally) 127
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 131
Potential violation of Law of Demeter (object not created locally) 133

net/sourceforge/pmd/dcd/DumpNodeVisitor.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 35
Potential violation of Law of Demeter (method chain calls) 35
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (method chain calls) 71
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (method chain calls) 102103
Potential violation of Law of Demeter (method chain calls) 102103
Potential violation of Law of Demeter (method chain calls) 102

net/sourceforge/pmd/dcd/UsageNodeVisitor.java

Violation Line
Possible God class (WMC=51, ATFD=21, TCC=0.04678362573099415) 4231
Potential violation of Law of Demeter (method chain calls) 121
Potential violation of Law of Demeter (method chain calls) 134
Potential violation of Law of Demeter (method chain calls) 140
Potential violation of Law of Demeter (method chain calls) 140
Potential violation of Law of Demeter (method chain calls) 141
Potential violation of Law of Demeter (method chain calls) 141
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (method chain calls) 155
Potential violation of Law of Demeter (method chain calls) 163
Potential violation of Law of Demeter (method chain calls) 163
Potential violation of Law of Demeter (method chain calls) 168
Potential violation of Law of Demeter (method chain calls) 168
Potential violation of Law of Demeter (method chain calls) 169
Potential violation of Law of Demeter (method chain calls) 169
Potential violation of Law of Demeter (object not created locally) 186
Potential violation of Law of Demeter (method chain calls) 186
Potential violation of Law of Demeter (object not created locally) 187
Potential violation of Law of Demeter (object not created locally) 188
Potential violation of Law of Demeter (object not created locally) 189
Potential violation of Law of Demeter (object not created locally) 190
Potential violation of Law of Demeter (method chain calls) 190
Potential violation of Law of Demeter (object not created locally) 191
Potential violation of Law of Demeter (method chain calls) 191
Potential violation of Law of Demeter (method chain calls) 191
Potential violation of Law of Demeter (method chain calls) 192
Potential violation of Law of Demeter (method chain calls) 192
Potential violation of Law of Demeter (method chain calls) 192
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (method chain calls) 197
Potential violation of Law of Demeter (method chain calls) 200
Potential violation of Law of Demeter (method chain calls) 200201

net/sourceforge/pmd/dcd/asm/PrintVisitor.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (method chain calls) 29

net/sourceforge/pmd/dcd/asm/TypeSignatureVisitor.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 133

net/sourceforge/pmd/dcd/graph/ClassNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 98
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (method chain calls) 106

net/sourceforge/pmd/dcd/graph/ClassNodeComparator.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 21
Potential violation of Law of Demeter (method chain calls) 23
Potential violation of Law of Demeter (method chain calls) 23
Potential violation of Law of Demeter (method chain calls) 23
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (method chain calls) 27

net/sourceforge/pmd/dcd/graph/ConstructorNode.java

Violation Line
Potential violation of Law of Demeter (static property access) 28
Potential violation of Law of Demeter (static property access) 32
Potential violation of Law of Demeter (static property access) 36
Potential violation of Law of Demeter (method chain calls) 4445
Potential violation of Law of Demeter (method chain calls) 4445
Potential violation of Law of Demeter (static property access) 53
Potential violation of Law of Demeter (method chain calls) 65
Potential violation of Law of Demeter (method chain calls) 65
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (method chain calls) 70

net/sourceforge/pmd/dcd/graph/FieldNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (method chain calls) 27

net/sourceforge/pmd/dcd/graph/MemberNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 64
Potential violation of Law of Demeter (method chain calls) 77
Potential violation of Law of Demeter (method chain calls) 85

net/sourceforge/pmd/dcd/graph/MethodNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 33
Potential violation of Law of Demeter (method chain calls) 33
Potential violation of Law of Demeter (method chain calls) 44
Potential violation of Law of Demeter (method chain calls) 44
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 49

net/sourceforge/pmd/dcd/graph/UsageGraph.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (static property access) 94
Potential violation of Law of Demeter (static property access) 94
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (static property access) 113
Potential violation of Law of Demeter (static property access) 113

net/sourceforge/pmd/lang/AbstractParser.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 26

net/sourceforge/pmd/lang/Language.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 209
Potential violation of Law of Demeter (method chain calls) 263

net/sourceforge/pmd/lang/LanguageFilenameFilter.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 50
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 69

net/sourceforge/pmd/lang/LanguageVersion.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 202
Potential violation of Law of Demeter (method chain calls) 202
Potential violation of Law of Demeter (method chain calls) 219
Avoid using if statements without curly braces 219220
Potential violation of Law of Demeter (method chain calls) 238
Potential violation of Law of Demeter (method chain calls) 240

net/sourceforge/pmd/lang/LanguageVersionDiscoverer.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 28
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 69

net/sourceforge/pmd/lang/ast/AbstractNode.java

Violation Line
Possible God class (WMC=76, ATFD=19, TCC=0.018893387314439947) 4390
Potential violation of Law of Demeter (method chain calls) 125
Potential violation of Law of Demeter (method chain calls) 125
Potential violation of Law of Demeter (object not created locally) 182
Potential violation of Law of Demeter (object not created locally) 195
Potential violation of Law of Demeter (object not created locally) 196
Potential violation of Law of Demeter (object not created locally) 211
Potential violation of Law of Demeter (object not created locally) 212
Potential violation of Law of Demeter (object not created locally) 214
Potential violation of Law of Demeter (object not created locally) 245
Potential violation of Law of Demeter (object not created locally) 261
Potential violation of Law of Demeter (object not created locally) 275
Potential violation of Law of Demeter (object not created locally) 276
Potential violation of Law of Demeter (object not created locally) 291
Potential violation of Law of Demeter (object not created locally) 292
Potential violation of Law of Demeter (object not created locally) 294
Potential violation of Law of Demeter (object not created locally) 296
Potential violation of Law of Demeter (object not created locally) 296
Potential violation of Law of Demeter (object not created locally) 296
Potential violation of Law of Demeter (object not created locally) 298
Potential violation of Law of Demeter (object not created locally) 300
Potential violation of Law of Demeter (object not created locally) 318
Potential violation of Law of Demeter (object not created locally) 329
Avoid using if statements without curly braces 354
Potential violation of Law of Demeter (method chain calls) 371

net/sourceforge/pmd/lang/ast/AbstractTokenManager.java

Violation Line
Potential violation of Law of Demeter (static property access) 21
Potential violation of Law of Demeter (static property access) 25

net/sourceforge/pmd/lang/ast/xpath/AttributeAxisIterator.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 31
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 106
Potential violation of Law of Demeter (object not created locally) 108
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (object not created locally) 113

net/sourceforge/pmd/lang/ast/xpath/DocumentNavigator.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 24
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (method chain calls) 36
Potential violation of Law of Demeter (method chain calls) 106
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 118
Potential violation of Law of Demeter (method chain calls) 154
Potential violation of Law of Demeter (method chain calls) 156

net/sourceforge/pmd/lang/ast/xpath/NodeIterator.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 57
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 69

net/sourceforge/pmd/lang/ast/xpath/saxon/AbstractNodeInfo.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 113
Potential violation of Law of Demeter (method chain calls) 302303

net/sourceforge/pmd/lang/ast/xpath/saxon/AttributeNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 53
Potential violation of Law of Demeter (method chain calls) 53
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (method chain calls) 78

net/sourceforge/pmd/lang/ast/xpath/saxon/ElementNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 99
Potential violation of Law of Demeter (method chain calls) 99
Potential violation of Law of Demeter (method chain calls) 99
Potential violation of Law of Demeter (method chain calls) 99
Potential violation of Law of Demeter (method chain calls) 99
Potential violation of Law of Demeter (method chain calls) 99

net/sourceforge/pmd/lang/dfa/AbstractDataFlowNode.java

Violation Line
Avoid unused imports such as 'java.util.HashMap' 8
Avoid unused imports such as 'java.util.Map' 10
Potential violation of Law of Demeter (method chain calls) 53
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (method chain calls) 134
Potential violation of Law of Demeter (method chain calls) 134

net/sourceforge/pmd/lang/dfa/DFAGraphRule.java

Violation Line
Avoid modifiers which are implied by the context 11

net/sourceforge/pmd/lang/dfa/Linker.java

Violation Line
There is log block not surrounded by if 48
Potential violation of Law of Demeter (object not created locally) 56
There is log block not surrounded by if 56
Potential violation of Law of Demeter (object not created locally) 57
There is log block not surrounded by if 96
There is log block not surrounded by if 98
There is log block not surrounded by if 101
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (object not created locally) 116
Potential violation of Law of Demeter (method chain calls) 123
Potential violation of Law of Demeter (method chain calls) 123
Potential violation of Law of Demeter (object not created locally) 123
Potential violation of Law of Demeter (object not created locally) 123
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (method chain calls) 124
Potential violation of Law of Demeter (method chain calls) 124
Potential violation of Law of Demeter (method chain calls) 124
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (object not created locally) 131
Potential violation of Law of Demeter (object not created locally) 131
Potential violation of Law of Demeter (method chain calls) 131
Potential violation of Law of Demeter (method chain calls) 131
Potential violation of Law of Demeter (object not created locally) 132
Potential violation of Law of Demeter (object not created locally) 219
Potential violation of Law of Demeter (object not created locally) 220
Potential violation of Law of Demeter (object not created locally) 221
Potential violation of Law of Demeter (object not created locally) 222
Potential violation of Law of Demeter (object not created locally) 222
Potential violation of Law of Demeter (object not created locally) 222
Potential violation of Law of Demeter (object not created locally) 223
Potential violation of Law of Demeter (object not created locally) 226
Potential violation of Law of Demeter (object not created locally) 226
Potential violation of Law of Demeter (object not created locally) 226
Potential violation of Law of Demeter (object not created locally) 227
Potential violation of Law of Demeter (object not created locally) 236
Potential violation of Law of Demeter (object not created locally) 237
Potential violation of Law of Demeter (method chain calls) 237
Potential violation of Law of Demeter (method chain calls) 241
Potential violation of Law of Demeter (object not created locally) 242
Potential violation of Law of Demeter (object not created locally) 242
Potential violation of Law of Demeter (method chain calls) 243
Potential violation of Law of Demeter (method chain calls) 243
Potential violation of Law of Demeter (object not created locally) 244
Potential violation of Law of Demeter (method chain calls) 252
Potential violation of Law of Demeter (method chain calls) 259
Potential violation of Law of Demeter (object not created locally) 259
Potential violation of Law of Demeter (object not created locally) 259
Potential violation of Law of Demeter (object not created locally) 260
Potential violation of Law of Demeter (object not created locally) 260
Potential violation of Law of Demeter (object not created locally) 261
Potential violation of Law of Demeter (object not created locally) 276
Potential violation of Law of Demeter (object not created locally) 278
Potential violation of Law of Demeter (object not created locally) 280
Potential violation of Law of Demeter (object not created locally) 283
Potential violation of Law of Demeter (object not created locally) 285
Potential violation of Law of Demeter (object not created locally) 289
Potential violation of Law of Demeter (object not created locally) 289
Potential violation of Law of Demeter (method chain calls) 289
Potential violation of Law of Demeter (method chain calls) 291
Potential violation of Law of Demeter (object not created locally) 291
Potential violation of Law of Demeter (object not created locally) 294
Potential violation of Law of Demeter (object not created locally) 294
Potential violation of Law of Demeter (object not created locally) 295
Potential violation of Law of Demeter (object not created locally) 296
Potential violation of Law of Demeter (object not created locally) 297
Potential violation of Law of Demeter (object not created locally) 298
Potential violation of Law of Demeter (object not created locally) 299
Potential violation of Law of Demeter (object not created locally) 300
Potential violation of Law of Demeter (object not created locally) 302
Potential violation of Law of Demeter (object not created locally) 303
Potential violation of Law of Demeter (object not created locally) 304
Potential violation of Law of Demeter (object not created locally) 305
Potential violation of Law of Demeter (object not created locally) 306
Potential violation of Law of Demeter (object not created locally) 309
Potential violation of Law of Demeter (object not created locally) 309
Potential violation of Law of Demeter (object not created locally) 310
Potential violation of Law of Demeter (object not created locally) 311
Potential violation of Law of Demeter (object not created locally) 325
Potential violation of Law of Demeter (method chain calls) 325
There is log block not surrounded by if 327
Potential violation of Law of Demeter (object not created locally) 335
There is log block not surrounded by if 337
Potential violation of Law of Demeter (method chain calls) 337340
Potential violation of Law of Demeter (object not created locally) 339
Potential violation of Law of Demeter (method chain calls) 339
Potential violation of Law of Demeter (method chain calls) 341
Potential violation of Law of Demeter (object not created locally) 341
Potential violation of Law of Demeter (object not created locally) 341
Potential violation of Law of Demeter (method chain calls) 341
Potential violation of Law of Demeter (object not created locally) 343
Potential violation of Law of Demeter (object not created locally) 349
Potential violation of Law of Demeter (method chain calls) 361
Potential violation of Law of Demeter (object not created locally) 361
Potential violation of Law of Demeter (object not created locally) 361
Potential violation of Law of Demeter (object not created locally) 363
Potential violation of Law of Demeter (object not created locally) 363
Potential violation of Law of Demeter (object not created locally) 364
Potential violation of Law of Demeter (object not created locally) 365
Potential violation of Law of Demeter (object not created locally) 376
Potential violation of Law of Demeter (method chain calls) 376
Potential violation of Law of Demeter (object not created locally) 376
Potential violation of Law of Demeter (method chain calls) 377
Potential violation of Law of Demeter (object not created locally) 377
Potential violation of Law of Demeter (object not created locally) 377
Potential violation of Law of Demeter (object not created locally) 384
Potential violation of Law of Demeter (object not created locally) 384
Potential violation of Law of Demeter (object not created locally) 384
Potential violation of Law of Demeter (object not created locally) 384
Potential violation of Law of Demeter (object not created locally) 385
Potential violation of Law of Demeter (object not created locally) 386
Potential violation of Law of Demeter (object not created locally) 389
Potential violation of Law of Demeter (object not created locally) 389
Potential violation of Law of Demeter (object not created locally) 389
Potential violation of Law of Demeter (object not created locally) 389
Potential violation of Law of Demeter (object not created locally) 390
Potential violation of Law of Demeter (object not created locally) 393
Potential violation of Law of Demeter (object not created locally) 393
Potential violation of Law of Demeter (object not created locally) 393
Potential violation of Law of Demeter (object not created locally) 393
Potential violation of Law of Demeter (object not created locally) 394
Potential violation of Law of Demeter (object not created locally) 405
Potential violation of Law of Demeter (object not created locally) 405
Potential violation of Law of Demeter (object not created locally) 406
Potential violation of Law of Demeter (object not created locally) 406
Potential violation of Law of Demeter (method chain calls) 406
Potential violation of Law of Demeter (object not created locally) 407

net/sourceforge/pmd/lang/dfa/NodeType.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 1386
Variables that are final and static should be all capitals, 'typeMap' is not all capitals. 48

net/sourceforge/pmd/lang/dfa/SequenceChecker.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 60
Potential violation of Law of Demeter (method chain calls) 174
Potential violation of Law of Demeter (method chain calls) 174
Use one line for each declaration, it enhances code readability. 189
There is log block not surrounded by if 191
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (object not created locally) 197
Potential violation of Law of Demeter (method chain calls) 197199
Potential violation of Law of Demeter (method chain calls) 197
Potential violation of Law of Demeter (method chain calls) 197199
There is log block not surrounded by if 197
Potential violation of Law of Demeter (method chain calls) 198
Potential violation of Law of Demeter (object not created locally) 198
Potential violation of Law of Demeter (object not created locally) 202
There is log block not surrounded by if 203
Potential violation of Law of Demeter (method chain calls) 209
Potential violation of Law of Demeter (method chain calls) 209
There is log block not surrounded by if 215
Potential violation of Law of Demeter (method chain calls) 216
Potential violation of Law of Demeter (method chain calls) 216
Potential violation of Law of Demeter (method chain calls) 223
There is log block not surrounded by if 223
There is log block not surrounded by if 229
Potential violation of Law of Demeter (method chain calls) 230
Potential violation of Law of Demeter (method chain calls) 230
There is log block not surrounded by if 239
Potential violation of Law of Demeter (method chain calls) 240
Potential violation of Law of Demeter (method chain calls) 240
Potential violation of Law of Demeter (method chain calls) 240
Potential violation of Law of Demeter (method chain calls) 240

net/sourceforge/pmd/lang/dfa/StackObject.java

Violation Line
Useless parentheses. 28

net/sourceforge/pmd/lang/dfa/Structure.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 7275
Potential violation of Law of Demeter (method chain calls) 7275
There is log block not surrounded by if 72
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (method chain calls) 7881
There is log block not surrounded by if 78
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (method chain calls) 7881
Potential violation of Law of Demeter (method chain calls) 79
StringBuffer constructor is initialized with size 16, but has at least 108 characters appended. 99
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 100

net/sourceforge/pmd/lang/dfa/pathfinder/CurrentPath.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 51
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 82

net/sourceforge/pmd/lang/dfa/pathfinder/DAAPathFinder.java

Violation Line
Possible God class (WMC=65, ATFD=54, TCC=0.0) 4332
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 110
Potential violation of Law of Demeter (static property access) 110
Potential violation of Law of Demeter (method chain calls) 114
Potential violation of Law of Demeter (method chain calls) 115
Potential violation of Law of Demeter (static property access) 115
Potential violation of Law of Demeter (method chain calls) 117
Potential violation of Law of Demeter (method chain calls) 117
Potential violation of Law of Demeter (static property access) 117
Potential violation of Law of Demeter (method chain calls) 126
Potential violation of Law of Demeter (method chain calls) 128
Potential violation of Law of Demeter (object not created locally) 128
Potential violation of Law of Demeter (method chain calls) 130
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 135
Potential violation of Law of Demeter (method chain calls) 135
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (object not created locally) 175
Potential violation of Law of Demeter (object not created locally) 188
Potential violation of Law of Demeter (object not created locally) 212
Potential violation of Law of Demeter (object not created locally) 215
Potential violation of Law of Demeter (object not created locally) 218
Potential violation of Law of Demeter (object not created locally) 222
Potential violation of Law of Demeter (object not created locally) 223
Potential violation of Law of Demeter (object not created locally) 249
Potential violation of Law of Demeter (object not created locally) 258
Potential violation of Law of Demeter (object not created locally) 259
Potential violation of Law of Demeter (static property access) 259
Potential violation of Law of Demeter (object not created locally) 268
Potential violation of Law of Demeter (object not created locally) 277
Potential violation of Law of Demeter (object not created locally) 278
Potential violation of Law of Demeter (object not created locally) 296
Potential violation of Law of Demeter (object not created locally) 297
Potential violation of Law of Demeter (object not created locally) 314
Potential violation of Law of Demeter (object not created locally) 316
Potential violation of Law of Demeter (method chain calls) 316
Potential violation of Law of Demeter (object not created locally) 318
Potential violation of Law of Demeter (method chain calls) 318
Potential violation of Law of Demeter (object not created locally) 319
Potential violation of Law of Demeter (object not created locally) 320
Potential violation of Law of Demeter (method chain calls) 329
Potential violation of Law of Demeter (method chain calls) 329
Potential violation of Law of Demeter (method chain calls) 329

net/sourceforge/pmd/lang/dfa/report/AbstractReportNode.java

Violation Line
Potential violation of Law of Demeter (static property access) 45
Potential violation of Law of Demeter (static property access) 48
Potential violation of Law of Demeter (method chain calls) 56
Potential violation of Law of Demeter (object not created locally) 95

net/sourceforge/pmd/lang/dfa/report/ClassNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 23
Potential violation of Law of Demeter (method chain calls) 23

net/sourceforge/pmd/lang/dfa/report/PackageNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 23
Potential violation of Law of Demeter (method chain calls) 23
Potential violation of Law of Demeter (method chain calls) 23

net/sourceforge/pmd/lang/dfa/report/ReportHTMLPrintVisitor.java

Violation Line
StringBuffer constructor is initialized with size 16, but has at least 23 characters appended. 29
StringBuffer constructor is initialized with size 16, but has at least 52 characters appended. 31
Potential violation of Law of Demeter (method chain calls) 57
Potential violation of Law of Demeter (method chain calls) 57
Potential violation of Law of Demeter (object not created locally) 126
Avoid unused private methods such as 'renderViolation(ViolationNode)'. 131
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (object not created locally) 136
Avoid unused private methods such as 'renderPackage(PackageNode)'. 141
Potential violation of Law of Demeter (method chain calls) 150
Avoid unused private methods such as 'renderClass(ClassNode)'. 160
Potential violation of Law of Demeter (method chain calls) 192

net/sourceforge/pmd/lang/dfa/report/ReportTree.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (object not created locally) 117
Potential violation of Law of Demeter (object not created locally) 123
Potential violation of Law of Demeter (object not created locally) 136
Avoid unused private methods such as 'equalsNodeInLevel(AbstractReportNode,AbstractReportNode)'. 161162
Potential violation of Law of Demeter (method chain calls) 164
Potential violation of Law of Demeter (method chain calls) 182
Potential violation of Law of Demeter (method chain calls) 184
Potential violation of Law of Demeter (object not created locally) 189

net/sourceforge/pmd/lang/dfa/report/ViolationNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (object not created locally) 28
Potential violation of Law of Demeter (method chain calls) 28
Potential violation of Law of Demeter (method chain calls) 29
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (method chain calls) 30
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (method chain calls) 31
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (object not created locally) 32

net/sourceforge/pmd/lang/ecmascript/EcmascriptParserOptions.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 121

net/sourceforge/pmd/lang/ecmascript/ast/ASTArrayComprehension.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25

net/sourceforge/pmd/lang/ecmascript/ast/ASTAstRoot.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 22

net/sourceforge/pmd/lang/ecmascript/ast/ASTFunctionCall.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25

net/sourceforge/pmd/lang/ecmascript/ast/ASTFunctionNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 22

net/sourceforge/pmd/lang/ecmascript/ast/ASTLabeledStatement.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 21

net/sourceforge/pmd/lang/ecmascript/ast/ASTName.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (method chain calls) 67
Potential violation of Law of Demeter (method chain calls) 77

net/sourceforge/pmd/lang/ecmascript/ast/ASTNewExpression.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25

net/sourceforge/pmd/lang/ecmascript/ast/ASTSwitchCase.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 34

net/sourceforge/pmd/lang/ecmascript/ast/ASTSwitchStatement.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25

net/sourceforge/pmd/lang/ecmascript/ast/ASTTryStatement.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 34

net/sourceforge/pmd/lang/ecmascript/ast/AbstractEcmascriptNode.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 48

net/sourceforge/pmd/lang/ecmascript/ast/DumpFacade.java

Violation Line
Useless parentheses. 20
Potential violation of Law of Demeter (method chain calls) 71
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 86
Potential violation of Law of Demeter (method chain calls) 90
Potential violation of Law of Demeter (method chain calls) 94
Potential violation of Law of Demeter (method chain calls) 98
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (method chain calls) 106
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 112
Potential violation of Law of Demeter (method chain calls) 116
Potential violation of Law of Demeter (method chain calls) 120
Potential violation of Law of Demeter (method chain calls) 124
Potential violation of Law of Demeter (method chain calls) 128
Potential violation of Law of Demeter (method chain calls) 131
Potential violation of Law of Demeter (method chain calls) 135
Potential violation of Law of Demeter (method chain calls) 138
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (method chain calls) 143
Potential violation of Law of Demeter (method chain calls) 143
Potential violation of Law of Demeter (method chain calls) 145
Potential violation of Law of Demeter (method chain calls) 148
Potential violation of Law of Demeter (method chain calls) 152
Potential violation of Law of Demeter (method chain calls) 152
Potential violation of Law of Demeter (method chain calls) 154
Potential violation of Law of Demeter (method chain calls) 158
Potential violation of Law of Demeter (method chain calls) 161
Potential violation of Law of Demeter (method chain calls) 165
Potential violation of Law of Demeter (method chain calls) 169
Potential violation of Law of Demeter (method chain calls) 172
Potential violation of Law of Demeter (method chain calls) 176
Potential violation of Law of Demeter (method chain calls) 179

net/sourceforge/pmd/lang/ecmascript/ast/EcmascriptParser.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (method chain calls) 68
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (object not created locally) 72

net/sourceforge/pmd/lang/ecmascript/ast/EcmascriptTreeBuilder.java

Violation Line
Avoid protected fields in a final class. Change to private or package access. 133
Avoid protected fields in a final class. Change to private or package access. 134
Avoid protected fields in a final class. Change to private or package access. 137
Avoid protected fields in a final class. Change to private or package access. 140
Potential violation of Law of Demeter (object not created locally) 158
Potential violation of Law of Demeter (object not created locally) 188
Potential violation of Law of Demeter (object not created locally) 188
Potential violation of Law of Demeter (object not created locally) 189
Potential violation of Law of Demeter (method chain calls) 216
Potential violation of Law of Demeter (method chain calls) 217
Potential violation of Law of Demeter (method chain calls) 227
Potential violation of Law of Demeter (method chain calls) 227
Potential violation of Law of Demeter (object not created locally) 227
Potential violation of Law of Demeter (method chain calls) 240

net/sourceforge/pmd/lang/ecmascript/ast/SourceCodePositioner.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 33

net/sourceforge/pmd/lang/ecmascript/rule/EcmascriptRuleChainVisitor.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 28
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (method chain calls) 39
Potential violation of Law of Demeter (method chain calls) 41

net/sourceforge/pmd/lang/ecmascript/rule/basic/ConsistentReturnRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 24
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (object not created locally) 29

net/sourceforge/pmd/lang/java/AbstractJavaParser.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (method chain calls) 56

net/sourceforge/pmd/lang/java/Java13Parser.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 26

net/sourceforge/pmd/lang/java/Java14Parser.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 26

net/sourceforge/pmd/lang/java/Java15Parser.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 26

net/sourceforge/pmd/lang/java/Java16Parser.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 24

net/sourceforge/pmd/lang/java/Java17Parser.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 24

net/sourceforge/pmd/lang/java/Java18Parser.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 24

net/sourceforge/pmd/lang/java/ast/ASTAnnotation.java

Violation Line
Avoid unused private methods such as 'checkAnnototation(Node,String,Rule)'. 42
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 47

net/sourceforge/pmd/lang/java/ast/ASTClassOrInterfaceBodyDeclaration.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (method chain calls) 49

net/sourceforge/pmd/lang/java/ast/ASTConstructorDeclaration.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 22

net/sourceforge/pmd/lang/java/ast/ASTFieldDeclaration.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (method chain calls) 116
Potential violation of Law of Demeter (object not created locally) 128

net/sourceforge/pmd/lang/java/ast/ASTFormalParameter.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 39
Potential violation of Law of Demeter (method chain calls) 68
Potential violation of Law of Demeter (method chain calls) 76

net/sourceforge/pmd/lang/java/ast/ASTImportDeclaration.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 51
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (object not created locally) 55

net/sourceforge/pmd/lang/java/ast/ASTLiteral.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 39
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 116
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (method chain calls) 120

net/sourceforge/pmd/lang/java/ast/ASTLocalVariableDeclaration.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 62
Potential violation of Law of Demeter (method chain calls) 66
Potential violation of Law of Demeter (object not created locally) 78

net/sourceforge/pmd/lang/java/ast/ASTMethodDeclaration.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (method chain calls) 75

net/sourceforge/pmd/lang/java/ast/ASTPackageDeclaration.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26

net/sourceforge/pmd/lang/java/ast/ASTPrimitiveType.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 19

net/sourceforge/pmd/lang/java/ast/ASTThrowStatement.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 39

net/sourceforge/pmd/lang/java/ast/ASTType.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 28
Potential violation of Law of Demeter (method chain calls) 30

net/sourceforge/pmd/lang/java/ast/ASTTypeDeclaration.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 24

net/sourceforge/pmd/lang/java/ast/ASTVariableDeclaratorId.java

Violation Line
Avoid unused imports such as 'net.sourceforge.pmd.lang.symboltable.NameDeclaration' 12
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (method chain calls) 61
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (method chain calls) 71
Potential violation of Law of Demeter (method chain calls) 71
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (object not created locally) 102

net/sourceforge/pmd/lang/java/ast/AbstractJavaNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 63

net/sourceforge/pmd/lang/java/ast/Comment.java

Violation Line
Avoid using if statements without curly braces 36
Potential violation of Law of Demeter (static property access) 40

net/sourceforge/pmd/lang/java/ast/CommentUtil.java

Violation Line
Avoid using if statements without curly braces 25
Avoid using if statements without curly braces 40
Potential violation of Law of Demeter (method chain calls) 43
Avoid using if statements without curly braces 46
Potential violation of Law of Demeter (method chain calls) 52
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'JAVADOC_TAG' is not final. 58
The field name indicates a constant but its modifiers do not 58
Variables should start with a lowercase character, 'JAVADOC_TAG' starts with uppercase character. 58
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'JAVADOC_CACHE' is not final. 59
The field name indicates a constant but its modifiers do not 59
Variables should start with a lowercase character, 'JAVADOC_CACHE' starts with uppercase character. 59
Potential violation of Law of Demeter (object not created locally) 87
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 94
Potential violation of Law of Demeter (object not created locally) 94
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 104
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (object not created locally) 110
Avoid using if statements without curly braces 130
Avoid using if statements without curly braces 134
Avoid using if statements without curly braces 138
Potential violation of Law of Demeter (method chain calls) 151
Potential violation of Law of Demeter (method chain calls) 151

net/sourceforge/pmd/lang/java/ast/DumpFacade.java

Violation Line
Possible God class (WMC=77, ATFD=23, TCC=0.16666666666666666) 4254
Useless parentheses. 18
Avoid unused private methods such as 'dump(JavaNode,String)'. 38
Potential violation of Law of Demeter (method chain calls) 61
Potential violation of Law of Demeter (method chain calls) 61
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (method chain calls) 104
Potential violation of Law of Demeter (method chain calls) 104
Potential violation of Law of Demeter (method chain calls) 104
Potential violation of Law of Demeter (method chain calls) 106
Potential violation of Law of Demeter (method chain calls) 106
Potential violation of Law of Demeter (method chain calls) 108
Potential violation of Law of Demeter (method chain calls) 111
Potential violation of Law of Demeter (method chain calls) 115
Potential violation of Law of Demeter (method chain calls) 119
Potential violation of Law of Demeter (method chain calls) 119
Potential violation of Law of Demeter (method chain calls) 120
Potential violation of Law of Demeter (method chain calls) 124
Potential violation of Law of Demeter (method chain calls) 128
Potential violation of Law of Demeter (method chain calls) 128
Potential violation of Law of Demeter (method chain calls) 128
Potential violation of Law of Demeter (method chain calls) 129
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 134
Potential violation of Law of Demeter (method chain calls) 137
Potential violation of Law of Demeter (method chain calls) 141
Potential violation of Law of Demeter (method chain calls) 145
Potential violation of Law of Demeter (method chain calls) 145
Potential violation of Law of Demeter (method chain calls) 145
Potential violation of Law of Demeter (method chain calls) 147
Potential violation of Law of Demeter (method chain calls) 151
Potential violation of Law of Demeter (method chain calls) 154
Potential violation of Law of Demeter (method chain calls) 158
Potential violation of Law of Demeter (method chain calls) 158
Potential violation of Law of Demeter (object not created locally) 161
Potential violation of Law of Demeter (object not created locally) 164
Potential violation of Law of Demeter (object not created locally) 167
Potential violation of Law of Demeter (object not created locally) 170
Potential violation of Law of Demeter (object not created locally) 173
Potential violation of Law of Demeter (object not created locally) 176
Potential violation of Law of Demeter (method chain calls) 180
Potential violation of Law of Demeter (method chain calls) 183
Potential violation of Law of Demeter (method chain calls) 187
Potential violation of Law of Demeter (method chain calls) 191
Potential violation of Law of Demeter (object not created locally) 216
Potential violation of Law of Demeter (object not created locally) 219
Potential violation of Law of Demeter (object not created locally) 222
Potential violation of Law of Demeter (object not created locally) 225
Potential violation of Law of Demeter (object not created locally) 228
Potential violation of Law of Demeter (object not created locally) 231
Potential violation of Law of Demeter (object not created locally) 234
Potential violation of Law of Demeter (object not created locally) 237
Potential violation of Law of Demeter (object not created locally) 240
Potential violation of Law of Demeter (object not created locally) 243
Potential violation of Law of Demeter (object not created locally) 246
Potential violation of Law of Demeter (object not created locally) 249

net/sourceforge/pmd/lang/java/dfa/JavaDataFlowNode.java

Violation Line
Useless parentheses. 23

net/sourceforge/pmd/lang/java/dfa/StatementAndBraceFinder.java

Violation Line
Possible God class (WMC=58, ATFD=114, TCC=0.0) 4321
Potential violation of Law of Demeter (method chain calls) 69
Potential violation of Law of Demeter (method chain calls) 69
There is log block not surrounded by if 86
Potential violation of Law of Demeter (object not created locally) 87
There is log block not surrounded by if 96
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (object not created locally) 110
There is log block not surrounded by if 111
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (object not created locally) 114
There is log block not surrounded by if 115
Potential violation of Law of Demeter (object not created locally) 117
Potential violation of Law of Demeter (object not created locally) 118
Potential violation of Law of Demeter (object not created locally) 118
There is log block not surrounded by if 119
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 122
Potential violation of Law of Demeter (object not created locally) 122
There is log block not surrounded by if 123
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (object not created locally) 126
There is log block not surrounded by if 127
Potential violation of Law of Demeter (object not created locally) 139
Potential violation of Law of Demeter (object not created locally) 139
There is log block not surrounded by if 140
There is log block not surrounded by if 148
Potential violation of Law of Demeter (object not created locally) 159
Potential violation of Law of Demeter (object not created locally) 159
There is log block not surrounded by if 160
Potential violation of Law of Demeter (object not created locally) 175
Potential violation of Law of Demeter (object not created locally) 175
There is log block not surrounded by if 176
Potential violation of Law of Demeter (object not created locally) 178
Potential violation of Law of Demeter (object not created locally) 178
Potential violation of Law of Demeter (object not created locally) 179
There is log block not surrounded by if 180
Potential violation of Law of Demeter (object not created locally) 187
Potential violation of Law of Demeter (object not created locally) 188
Potential violation of Law of Demeter (object not created locally) 188
There is log block not surrounded by if 189
Potential violation of Law of Demeter (method chain calls) 190
Potential violation of Law of Demeter (object not created locally) 190
Potential violation of Law of Demeter (object not created locally) 190
Potential violation of Law of Demeter (object not created locally) 191
Potential violation of Law of Demeter (object not created locally) 191
There is log block not surrounded by if 192
Potential violation of Law of Demeter (object not created locally) 194
Potential violation of Law of Demeter (object not created locally) 194
There is log block not surrounded by if 195
Potential violation of Law of Demeter (object not created locally) 198
Potential violation of Law of Demeter (object not created locally) 198
There is log block not surrounded by if 199
Potential violation of Law of Demeter (object not created locally) 201
Potential violation of Law of Demeter (object not created locally) 201
There is log block not surrounded by if 202
Potential violation of Law of Demeter (object not created locally) 204
Potential violation of Law of Demeter (object not created locally) 204
There is log block not surrounded by if 205
Potential violation of Law of Demeter (object not created locally) 216
Potential violation of Law of Demeter (object not created locally) 216
There is log block not surrounded by if 217
Potential violation of Law of Demeter (object not created locally) 228
Potential violation of Law of Demeter (object not created locally) 228
There is log block not surrounded by if 229
Potential violation of Law of Demeter (object not created locally) 231
Potential violation of Law of Demeter (object not created locally) 231
There is log block not surrounded by if 232
Potential violation of Law of Demeter (object not created locally) 242
Potential violation of Law of Demeter (object not created locally) 243
Potential violation of Law of Demeter (object not created locally) 243
There is log block not surrounded by if 244
Potential violation of Law of Demeter (object not created locally) 254
Potential violation of Law of Demeter (object not created locally) 255
Potential violation of Law of Demeter (object not created locally) 255
There is log block not surrounded by if 256
Potential violation of Law of Demeter (object not created locally) 265
Potential violation of Law of Demeter (object not created locally) 266
Potential violation of Law of Demeter (object not created locally) 266
There is log block not surrounded by if 267
Potential violation of Law of Demeter (object not created locally) 276
Potential violation of Law of Demeter (object not created locally) 277
Potential violation of Law of Demeter (object not created locally) 277
There is log block not surrounded by if 278
Avoid unused private methods such as 'addForExpressionNode(Node,Structure)'. 286
Potential violation of Law of Demeter (object not created locally) 292
Potential violation of Law of Demeter (object not created locally) 293
Potential violation of Law of Demeter (object not created locally) 295
Potential violation of Law of Demeter (object not created locally) 297
There is log block not surrounded by if 305
There is log block not surrounded by if 310
There is log block not surrounded by if 316

net/sourceforge/pmd/lang/java/dfa/VariableAccessVisitor.java

Violation Line
Avoid unused private methods such as 'computeNow(Node)'. 46
Potential violation of Law of Demeter (method chain calls) 52
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (method chain calls) 56
Potential violation of Law of Demeter (method chain calls) 56
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (method chain calls) 56
Potential violation of Law of Demeter (object not created locally) 57
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (method chain calls) 71
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (method chain calls) 89
Potential violation of Law of Demeter (method chain calls) 90
Potential violation of Law of Demeter (object not created locally) 94
Potential violation of Law of Demeter (method chain calls) 94
Potential violation of Law of Demeter (method chain calls) 94
Potential violation of Law of Demeter (object not created locally) 94
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (object not created locally) 96
Avoid unused private methods such as 'addAccess(JavaNameOccurrence,DataFlowNode)'. 102
Potential violation of Law of Demeter (object not created locally) 122
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (method chain calls) 126
Potential violation of Law of Demeter (object not created locally) 131

net/sourceforge/pmd/lang/java/javadoc/JavadocTag.java

Violation Line
Variables that are final and static should be all capitals, 'tagsById' is not all capitals. 15

net/sourceforge/pmd/lang/java/rule/AbstractInefficientZeroCheck.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 60
Potential violation of Law of Demeter (method chain calls) 60
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (method chain calls) 8587
Useless parentheses. 8687
Potential violation of Law of Demeter (method chain calls) 8687
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (method chain calls) 87
Useless parentheses. 87
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 110
Potential violation of Law of Demeter (method chain calls) 110
Potential violation of Law of Demeter (method chain calls) 124
Potential violation of Law of Demeter (method chain calls) 124
Potential violation of Law of Demeter (method chain calls) 125
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (method chain calls) 125

net/sourceforge/pmd/lang/java/rule/AbstractJavaRule.java

Violation Line
Possible God class (WMC=124, ATFD=6, TCC=0.0) 4528
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (method chain calls) 50
Potential violation of Law of Demeter (method chain calls) 56

net/sourceforge/pmd/lang/java/rule/AbstractPoorMethodCall.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (method chain calls) 94
Potential violation of Law of Demeter (object not created locally) 94
Potential violation of Law of Demeter (method chain calls) 94
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 101
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (object not created locally) 104

net/sourceforge/pmd/lang/java/rule/GenericLiteralCheckerRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 37
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (method chain calls) 52

net/sourceforge/pmd/lang/java/rule/ImportWrapper.java

Violation Line
Avoid using if statements without curly braces 20
Avoid using if statements without curly braces 21
Potential violation of Law of Demeter (object not created locally) 24
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (object not created locally) 25
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (method chain calls) 27

net/sourceforge/pmd/lang/java/rule/JavaRuleChainVisitor.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 38
Potential violation of Law of Demeter (method chain calls) 40

net/sourceforge/pmd/lang/java/rule/JavaRuleViolation.java

Violation Line
Avoid unused imports such as 'net.sourceforge.pmd.lang.java.ast.ASTMethodDeclaration' 14
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (method chain calls) 98
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (method chain calls) 98
Potential violation of Law of Demeter (method chain calls) 112
Avoid unused private methods such as 'setVariableNameIfExists(Node)'. 115
Potential violation of Law of Demeter (method chain calls) 117
Potential violation of Law of Demeter (method chain calls) 119120
Potential violation of Law of Demeter (method chain calls) 122

net/sourceforge/pmd/lang/java/rule/SymbolTableTestRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 19

net/sourceforge/pmd/lang/java/rule/UselessAssignment.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 69
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (static property access) 81

net/sourceforge/pmd/lang/java/rule/basic/AvoidBranchingStatementAsLastInLoopRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 88
Potential violation of Law of Demeter (method chain calls) 97
Potential violation of Law of Demeter (method chain calls) 98
Potential violation of Law of Demeter (method chain calls) 99

net/sourceforge/pmd/lang/java/rule/basic/AvoidMultipleUnaryOperatorsRule.java

Violation Line
Avoid unused private methods such as 'checkUnaryDescendent(Node,Object)'. 33
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (method chain calls) 48

net/sourceforge/pmd/lang/java/rule/basic/AvoidUsingHardCodedIPRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 69
Potential violation of Law of Demeter (method chain calls) 69
Potential violation of Law of Demeter (method chain calls) 69
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 74
Useless parentheses. 75
Useless parentheses. 87
Useless parentheses. 87
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (object not created locally) 147
Potential violation of Law of Demeter (method chain calls) 193

net/sourceforge/pmd/lang/java/rule/basic/AvoidUsingOctalValuesRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (method chain calls) 31

net/sourceforge/pmd/lang/java/rule/basic/BigIntegerInstantiationRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (object not created locally) 39
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 47

net/sourceforge/pmd/lang/java/rule/basic/BooleanInstantiationRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 52
Potential violation of Law of Demeter (method chain calls) 52
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 100

net/sourceforge/pmd/lang/java/rule/basic/BrokenNullCheckRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 37
Avoid unused private methods such as 'checkForViolations(ASTIfStatement,Object,Node)'. 46
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 8889
Potential violation of Law of Demeter (object not created locally) 115
Potential violation of Law of Demeter (object not created locally) 116
Avoid unused private methods such as 'findExpressionNames(Node,List)'. 128
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 135
Potential violation of Law of Demeter (method chain calls) 141
Potential violation of Law of Demeter (method chain calls) 146
Potential violation of Law of Demeter (object not created locally) 150

net/sourceforge/pmd/lang/java/rule/basic/CheckResultSetRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (object not created locally) 43
Useless parentheses. 43
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (object not created locally) 47
Method call on object which may be null 4852
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (object not created locally) 49
Useless parentheses. 49
Potential violation of Law of Demeter (object not created locally) 50
Potential violation of Law of Demeter (object not created locally) 51

net/sourceforge/pmd/lang/java/rule/basic/CheckSkipResultRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 34
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (object not created locally) 39
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (object not created locally) 46

net/sourceforge/pmd/lang/java/rule/basic/DoubleCheckedLockingRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 83
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (object not created locally) 93
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 93
Potential violation of Law of Demeter (object not created locally) 96
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (object not created locally) 114
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 115
Potential violation of Law of Demeter (object not created locally) 115
Potential violation of Law of Demeter (object not created locally) 116
Potential violation of Law of Demeter (object not created locally) 117
Potential violation of Law of Demeter (object not created locally) 118
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 118
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 122
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 122
Potential violation of Law of Demeter (object not created locally) 123
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (object not created locally) 128
Potential violation of Law of Demeter (object not created locally) 145
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 145
Potential violation of Law of Demeter (object not created locally) 146
Potential violation of Law of Demeter (object not created locally) 146
Useless parentheses. 148
Useless parentheses. 148
Potential violation of Law of Demeter (object not created locally) 148
Potential violation of Law of Demeter (object not created locally) 148
Potential violation of Law of Demeter (object not created locally) 149
Useless parentheses. 150
Potential violation of Law of Demeter (object not created locally) 150
Potential violation of Law of Demeter (object not created locally) 150
Useless parentheses. 150
Potential violation of Law of Demeter (object not created locally) 151
Potential violation of Law of Demeter (object not created locally) 152
Potential violation of Law of Demeter (object not created locally) 152
Useless parentheses. 152
Useless parentheses. 152
Useless parentheses. 182
Useless parentheses. 182
Potential violation of Law of Demeter (object not created locally) 185
Useless parentheses. 193
Useless parentheses. 193

net/sourceforge/pmd/lang/java/rule/basic/OverrideBothEqualsAndHashcodeRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (method chain calls) 50
Potential violation of Law of Demeter (method chain calls) 7071
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 76

net/sourceforge/pmd/lang/java/rule/codesize/AbstractNcssCountRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 55
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (method chain calls) 84
Potential violation of Law of Demeter (object not created locally) 85

net/sourceforge/pmd/lang/java/rule/codesize/CyclomaticComplexityRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (method chain calls) 36
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (method chain calls) 54
Potential violation of Law of Demeter (method chain calls) 63
Potential violation of Law of Demeter (method chain calls) 73

net/sourceforge/pmd/lang/java/rule/codesize/ModifiedCyclomaticComplexityRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 24

net/sourceforge/pmd/lang/java/rule/codesize/NPathComplexityRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 48
Avoid unused private methods such as 'complexitySumOf(JavaNode,int,Object)'. 54
Potential violation of Law of Demeter (object not created locally) 61
Avoid declaring a variable if it is unreferenced before a possible exit point. 91
Avoid declaring a variable if it is unreferenced before a possible exit point. 93
Potential violation of Law of Demeter (method chain calls) 97
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 102
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 103
Potential violation of Law of Demeter (method chain calls) 125
Potential violation of Law of Demeter (method chain calls) 136
Potential violation of Law of Demeter (method chain calls) 147
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (method chain calls) 262

net/sourceforge/pmd/lang/java/rule/codesize/NcssConstructorCountRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 33
Potential violation of Law of Demeter (method chain calls) 33

net/sourceforge/pmd/lang/java/rule/codesize/NcssMethodCountRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 31

net/sourceforge/pmd/lang/java/rule/codesize/NcssTypeCountRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 61

net/sourceforge/pmd/lang/java/rule/codesize/StdCyclomaticComplexityRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 96
Potential violation of Law of Demeter (method chain calls) 103
Potential violation of Law of Demeter (method chain calls) 110
Potential violation of Law of Demeter (method chain calls) 117
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 136
Potential violation of Law of Demeter (method chain calls) 147
Potential violation of Law of Demeter (method chain calls) 155
Potential violation of Law of Demeter (object not created locally) 171
Potential violation of Law of Demeter (object not created locally) 176
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (object not created locally) 209
Potential violation of Law of Demeter (object not created locally) 221
Potential violation of Law of Demeter (object not created locally) 226
Potential violation of Law of Demeter (static property access) 247

net/sourceforge/pmd/lang/java/rule/codesize/TooManyFieldsRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 50

net/sourceforge/pmd/lang/java/rule/comments/AbstractCommentRule.java

Violation Line
Avoid using if statements without curly braces 4243
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 50
Potential violation of Law of Demeter (method chain calls) 59
Avoid using if statements without curly braces 7677
Avoid using if statements without curly braces 8687
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (object not created locally) 104
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (object not created locally) 115
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 132
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 137
Potential violation of Law of Demeter (object not created locally) 137
Potential violation of Law of Demeter (object not created locally) 138
Potential violation of Law of Demeter (object not created locally) 138
Potential violation of Law of Demeter (object not created locally) 141
Potential violation of Law of Demeter (object not created locally) 142
Potential violation of Law of Demeter (object not created locally) 142
Potential violation of Law of Demeter (object not created locally) 157
Potential violation of Law of Demeter (object not created locally) 158
Potential violation of Law of Demeter (object not created locally) 165
Avoid unused private methods such as 'isCommentNotWithin(FormalComment,Node)'. 178
Avoid unnecessary if..then..else statements when returning booleans 182187
Useless parentheses. 182
Useless parentheses. 183
Avoid unused private methods such as 'isCommentBefore(FormalComment,Node)'. 190
Avoid unnecessary if..then..else statements when returning booleans 191196
Useless parentheses. 191
Useless parentheses. 192

net/sourceforge/pmd/lang/java/rule/comments/CodeInCommentsRule.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 1618

net/sourceforge/pmd/lang/java/rule/comments/CommentContentRule.java

Violation Line
Perhaps 'wordsAreRegex' could be replaced by a local variable. 33
Variables that are final and static should be all capitals, 'badWords' is not all capitals. 37
Variables that are final and static should be all capitals, 'NonRegexProperties' is not all capitals. 49
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (method chain calls) 74
Avoid using if statements without curly braces 96
Avoid using if statements without curly braces 99
Avoid using if statements without curly braces 101
Potential violation of Law of Demeter (object not created locally) 101
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (method chain calls) 106
Potential violation of Law of Demeter (method chain calls) 107
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 116
Avoid using if statements without curly braces 133
Avoid using if statements without curly braces 137
Potential violation of Law of Demeter (object not created locally) 137

net/sourceforge/pmd/lang/java/rule/comments/CommentRequiredRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 33
Potential violation of Law of Demeter (static property access) 71
Potential violation of Law of Demeter (static property access) 73
Potential violation of Law of Demeter (static property access) 75
Potential violation of Law of Demeter (method chain calls) 8485
Potential violation of Law of Demeter (method chain calls) 8485
Avoid unused private methods such as 'checkComment(AbstractJavaAccessNode,Object)'. 120
Potential violation of Law of Demeter (method chain calls) 121122
Potential violation of Law of Demeter (method chain calls) 121122
Potential violation of Law of Demeter (method chain calls) 123124
Potential violation of Law of Demeter (method chain calls) 123124
Potential violation of Law of Demeter (method chain calls) 167168
Potential violation of Law of Demeter (method chain calls) 167168
Potential violation of Law of Demeter (method chain calls) 194195
Potential violation of Law of Demeter (method chain calls) 194195

net/sourceforge/pmd/lang/java/rule/comments/CommentSizeRule.java

Violation Line
Avoid using if statements without curly braces 33
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 44
Avoid using if statements without curly braces 44
Avoid using if statements without curly braces 49
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 67
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (object not created locally) 73
Avoid using if statements without curly braces 73
Potential violation of Law of Demeter (method chain calls) 8486
Avoid using if statements without curly braces 90
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (method chain calls) 9395

net/sourceforge/pmd/lang/java/rule/comments/HeaderCommentsRule.java

Violation Line
Variables that are final and static should be all capitals, 'requiredWords' is not all capitals. 18
Variables that are final and static should be all capitals, 'requiredTags' is not all capitals. 19
Potential violation of Law of Demeter (method chain calls) 40

net/sourceforge/pmd/lang/java/rule/controversial/AssignmentInOperandRule.java

Violation Line
Useless parentheses. 49
Useless parentheses. 50
Useless parentheses. 51
Potential violation of Law of Demeter (object not created locally) 51
Useless parentheses. 5354
Useless parentheses. 54

net/sourceforge/pmd/lang/java/rule/controversial/DataflowAnomalyAnalysisRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (method chain calls) 74
Avoid using if statements without curly braces 85
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (static property access) 114
Potential violation of Law of Demeter (static property access) 118
Avoid unused private methods such as 'addDaaViolation(Object,Node,String,String,int,int)'. 132
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (object not created locally) 142
Useless parentheses. 168
Useless parentheses. 169
Potential violation of Law of Demeter (method chain calls) 170
Potential violation of Law of Demeter (method chain calls) 171

net/sourceforge/pmd/lang/java/rule/controversial/DontImportSunRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 12
Potential violation of Law of Demeter (object not created locally) 13
Potential violation of Law of Demeter (object not created locally) 13

net/sourceforge/pmd/lang/java/rule/controversial/NullAssignmentRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (method chain calls) 54
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (method chain calls) 54
Potential violation of Law of Demeter (method chain calls) 54

net/sourceforge/pmd/lang/java/rule/controversial/OnlyOneReturnRule.java

Violation Line
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 34

net/sourceforge/pmd/lang/java/rule/controversial/SuspiciousOctalEscapeRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 16
Potential violation of Law of Demeter (object not created locally) 16
Potential violation of Law of Demeter (object not created locally) 20
Potential violation of Law of Demeter (object not created locally) 21
Potential violation of Law of Demeter (object not created locally) 22
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (object not created locally) 24
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (object not created locally) 44

net/sourceforge/pmd/lang/java/rule/coupling/CouplingBetweenObjectsRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 106
Avoid unused private methods such as 'handleASTTypeChildren(Node)'. 117
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 122
Potential violation of Law of Demeter (method chain calls) 135
Potential violation of Law of Demeter (method chain calls) 140
Potential violation of Law of Demeter (method chain calls) 140
Potential violation of Law of Demeter (method chain calls) 141
Potential violation of Law of Demeter (object not created locally) 141
Position literals first in String comparisons for EqualsIgnoreCase 163
Position literals first in String comparisons for EqualsIgnoreCase 163
Position literals first in String comparisons for EqualsIgnoreCase 163
Position literals first in String comparisons for EqualsIgnoreCase 163
Position literals first in String comparisons for EqualsIgnoreCase 163
Position literals first in String comparisons for EqualsIgnoreCase 163

net/sourceforge/pmd/lang/java/rule/coupling/LawOfDemeterRule.java

Violation Line
Possible God class (WMC=77, ATFD=51, TCC=0.043478260869565216) 4415
Avoid unused private methods such as 'addViolations(List,RuleContext)'. 67
Potential violation of Law of Demeter (object not created locally) 154
Potential violation of Law of Demeter (object not created locally) 181
Potential violation of Law of Demeter (object not created locally) 181
Potential violation of Law of Demeter (object not created locally) 189
Potential violation of Law of Demeter (object not created locally) 204
Potential violation of Law of Demeter (method chain calls) 205
Potential violation of Law of Demeter (object not created locally) 205
Potential violation of Law of Demeter (object not created locally) 260
Potential violation of Law of Demeter (method chain calls) 260
Potential violation of Law of Demeter (method chain calls) 260
Potential violation of Law of Demeter (method chain calls) 260
Potential violation of Law of Demeter (method chain calls) 260
Potential violation of Law of Demeter (method chain calls) 264
Potential violation of Law of Demeter (method chain calls) 264
Potential violation of Law of Demeter (method chain calls) 264
Potential violation of Law of Demeter (object not created locally) 264
Potential violation of Law of Demeter (method chain calls) 264
No need to check for null before an instanceof 273
Potential violation of Law of Demeter (method chain calls) 274
Potential violation of Law of Demeter (method chain calls) 275
Potential violation of Law of Demeter (method chain calls) 289
Potential violation of Law of Demeter (method chain calls) 289
Potential violation of Law of Demeter (object not created locally) 300
Potential violation of Law of Demeter (method chain calls) 311
Potential violation of Law of Demeter (object not created locally) 313
Potential violation of Law of Demeter (object not created locally) 315
Potential violation of Law of Demeter (object not created locally) 316
Potential violation of Law of Demeter (object not created locally) 317
Potential violation of Law of Demeter (object not created locally) 320
Potential violation of Law of Demeter (object not created locally) 324
Potential violation of Law of Demeter (object not created locally) 326
Potential violation of Law of Demeter (method chain calls) 327
Potential violation of Law of Demeter (object not created locally) 327
Potential violation of Law of Demeter (object not created locally) 329
Potential violation of Law of Demeter (object not created locally) 334
Potential violation of Law of Demeter (object not created locally) 336
Useless parentheses. 343
Useless parentheses. 344
Potential violation of Law of Demeter (object not created locally) 353
Potential violation of Law of Demeter (method chain calls) 353
Potential violation of Law of Demeter (method chain calls) 353
Potential violation of Law of Demeter (method chain calls) 361

net/sourceforge/pmd/lang/java/rule/coupling/LooseCouplingRule.java

Violation Line
Avoid unused private methods such as 'methodHasOverride(Node)'. 40
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (object not created locally) 46

net/sourceforge/pmd/lang/java/rule/coupling/LoosePackageCouplingRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 67
Useless parentheses. 116
Potential violation of Law of Demeter (object not created locally) 122

net/sourceforge/pmd/lang/java/rule/design/AccessorClassGenerationRule.java

Violation Line
Possible God class (WMC=48, ATFD=23, TCC=0.04411764705882353) 4311
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 158
Potential violation of Law of Demeter (method chain calls) 158
Potential violation of Law of Demeter (object not created locally) 166
Potential violation of Law of Demeter (method chain calls) 185
Potential violation of Law of Demeter (method chain calls) 185
Avoid declaring a variable if it is unreferenced before a possible exit point. 190
Potential violation of Law of Demeter (object not created locally) 200
Potential violation of Law of Demeter (method chain calls) 228
Potential violation of Law of Demeter (method chain calls) 241
Potential violation of Law of Demeter (method chain calls) 243
Use equals() to compare object references. 255
Potential violation of Law of Demeter (object not created locally) 262
Potential violation of Law of Demeter (object not created locally) 262
Potential violation of Law of Demeter (object not created locally) 262
Potential violation of Law of Demeter (method chain calls) 262
Potential violation of Law of Demeter (object not created locally) 262
Useless parentheses. 262
Potential violation of Law of Demeter (object not created locally) 263

net/sourceforge/pmd/lang/java/rule/design/AssignmentToNonFinalStaticRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 47

net/sourceforge/pmd/lang/java/rule/design/AvoidReassigningParametersRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 20
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 33
Potential violation of Law of Demeter (object not created locally) 33
Useless parentheses. 33
Potential violation of Law of Demeter (object not created locally) 34
Potential violation of Law of Demeter (object not created locally) 34
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (object not created locally) 37
Potential violation of Law of Demeter (object not created locally) 37
Potential violation of Law of Demeter (method chain calls) 45

net/sourceforge/pmd/lang/java/rule/design/CloseResourceRule.java

Violation Line
Possible God class (WMC=67, ATFD=53, TCC=0.0) 4329
Avoid unused private methods such as 'checkForResources(Node,Object)'. 106
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (object not created locally) 115
Potential violation of Law of Demeter (object not created locally) 116
Potential violation of Law of Demeter (object not created locally) 117
Potential violation of Law of Demeter (method chain calls) 119
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (method chain calls) 119
Useless parentheses. 120
Potential violation of Law of Demeter (object not created locally) 120
Potential violation of Law of Demeter (object not created locally) 120
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (method chain calls) 136
Potential violation of Law of Demeter (method chain calls) 136
Potential violation of Law of Demeter (object not created locally) 144
Potential violation of Law of Demeter (object not created locally) 145
Potential violation of Law of Demeter (object not created locally) 162
Potential violation of Law of Demeter (object not created locally) 167
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 181
Potential violation of Law of Demeter (object not created locally) 181
Potential violation of Law of Demeter (method chain calls) 183
Potential violation of Law of Demeter (object not created locally) 183
Potential violation of Law of Demeter (object not created locally) 184
Potential violation of Law of Demeter (object not created locally) 185
Potential violation of Law of Demeter (method chain calls) 190
Potential violation of Law of Demeter (object not created locally) 190
Potential violation of Law of Demeter (object not created locally) 201
Potential violation of Law of Demeter (object not created locally) 201
Potential violation of Law of Demeter (method chain calls) 202
Potential violation of Law of Demeter (object not created locally) 202
Potential violation of Law of Demeter (object not created locally) 203
Potential violation of Law of Demeter (object not created locally) 205
Potential violation of Law of Demeter (object not created locally) 206
Potential violation of Law of Demeter (object not created locally) 210
Potential violation of Law of Demeter (object not created locally) 211
Potential violation of Law of Demeter (object not created locally) 215
Potential violation of Law of Demeter (object not created locally) 229
Potential violation of Law of Demeter (object not created locally) 232
Potential violation of Law of Demeter (object not created locally) 234
Potential violation of Law of Demeter (object not created locally) 235
Useless parentheses. 236
Useless parentheses. 236
Potential violation of Law of Demeter (object not created locally) 237
Potential violation of Law of Demeter (object not created locally) 238
Useless parentheses. 239
Potential violation of Law of Demeter (object not created locally) 240
Potential violation of Law of Demeter (object not created locally) 249
Potential violation of Law of Demeter (object not created locally) 251
Potential violation of Law of Demeter (object not created locally) 251
Potential violation of Law of Demeter (object not created locally) 269
Potential violation of Law of Demeter (object not created locally) 271
Potential violation of Law of Demeter (object not created locally) 297
Potential violation of Law of Demeter (object not created locally) 299
Useless parentheses. 300
Potential violation of Law of Demeter (method chain calls) 300
Potential violation of Law of Demeter (object not created locally) 300
Potential violation of Law of Demeter (object not created locally) 310
Potential violation of Law of Demeter (object not created locally) 311
Potential violation of Law of Demeter (object not created locally) 312
Potential violation of Law of Demeter (object not created locally) 323

net/sourceforge/pmd/lang/java/rule/design/CompareObjectsWithEqualsRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 29
Potential violation of Law of Demeter (method chain calls) 33
Potential violation of Law of Demeter (method chain calls) 34
Useless parentheses. 38
Useless parentheses. 38
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (method chain calls) 54
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 62
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (method chain calls) 76
Potential violation of Law of Demeter (method chain calls) 76
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (object not created locally) 76

net/sourceforge/pmd/lang/java/rule/design/ConfusingTernaryRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (object not created locally) 67
Useless parentheses. 7274
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (method chain calls) 74
Useless parentheses. 143
Potential violation of Law of Demeter (object not created locally) 148
Useless parentheses. 148
Potential violation of Law of Demeter (object not created locally) 151
Potential violation of Law of Demeter (object not created locally) 153
Useless parentheses. 153
Potential violation of Law of Demeter (object not created locally) 156

net/sourceforge/pmd/lang/java/rule/design/ConstructorCallsOverridableMethodRule.java

Violation Line
Possible God class (WMC=156, ATFD=99, TCC=0.012477718360071301) 4972
Potential violation of Law of Demeter (method chain calls) 286
Potential violation of Law of Demeter (object not created locally) 483
Potential violation of Law of Demeter (object not created locally) 484
Avoid unused private methods such as 'putEvalPackage(EvalPackage)'. 569
Potential violation of Law of Demeter (method chain calls) 600
Potential violation of Law of Demeter (method chain calls) 600
Potential violation of Law of Demeter (method chain calls) 600
Potential violation of Law of Demeter (method chain calls) 600
Potential violation of Law of Demeter (method chain calls) 600
Potential violation of Law of Demeter (method chain calls) 600
Potential violation of Law of Demeter (method chain calls) 604
Potential violation of Law of Demeter (method chain calls) 606
Potential violation of Law of Demeter (method chain calls) 606
Potential violation of Law of Demeter (method chain calls) 608
Potential violation of Law of Demeter (method chain calls) 609
Potential violation of Law of Demeter (object not created locally) 611
Potential violation of Law of Demeter (object not created locally) 612
Potential violation of Law of Demeter (method chain calls) 619
Potential violation of Law of Demeter (method chain calls) 619
Potential violation of Law of Demeter (method chain calls) 622
Potential violation of Law of Demeter (method chain calls) 623
Potential violation of Law of Demeter (object not created locally) 655
Potential violation of Law of Demeter (object not created locally) 656
Potential violation of Law of Demeter (object not created locally) 657
Potential violation of Law of Demeter (object not created locally) 657
Potential violation of Law of Demeter (object not created locally) 662
Potential violation of Law of Demeter (object not created locally) 663
Potential violation of Law of Demeter (method chain calls) 663
Potential violation of Law of Demeter (method chain calls) 664
Potential violation of Law of Demeter (object not created locally) 664
Potential violation of Law of Demeter (object not created locally) 665
Potential violation of Law of Demeter (object not created locally) 667
Potential violation of Law of Demeter (object not created locally) 667
Potential violation of Law of Demeter (object not created locally) 667
Potential violation of Law of Demeter (object not created locally) 668
Potential violation of Law of Demeter (object not created locally) 668
Potential violation of Law of Demeter (object not created locally) 669
Potential violation of Law of Demeter (object not created locally) 670
Potential violation of Law of Demeter (object not created locally) 691
Potential violation of Law of Demeter (object not created locally) 695
Potential violation of Law of Demeter (object not created locally) 695
Potential violation of Law of Demeter (object not created locally) 697
Potential violation of Law of Demeter (object not created locally) 698
Potential violation of Law of Demeter (method chain calls) 702
Potential violation of Law of Demeter (method chain calls) 703
Potential violation of Law of Demeter (object not created locally) 705
Potential violation of Law of Demeter (object not created locally) 706
Potential violation of Law of Demeter (object not created locally) 706
Potential violation of Law of Demeter (object not created locally) 707
Potential violation of Law of Demeter (object not created locally) 731
Potential violation of Law of Demeter (object not created locally) 732
Potential violation of Law of Demeter (object not created locally) 737
Potential violation of Law of Demeter (method chain calls) 738
Potential violation of Law of Demeter (object not created locally) 738
Potential violation of Law of Demeter (object not created locally) 740
Potential violation of Law of Demeter (method chain calls) 741
Potential violation of Law of Demeter (object not created locally) 741
Potential violation of Law of Demeter (object not created locally) 742
Potential violation of Law of Demeter (object not created locally) 743
Potential violation of Law of Demeter (object not created locally) 743
Potential violation of Law of Demeter (object not created locally) 744
Potential violation of Law of Demeter (method chain calls) 802
Potential violation of Law of Demeter (method chain calls) 802
Potential violation of Law of Demeter (method chain calls) 805
Potential violation of Law of Demeter (method chain calls) 805
Potential violation of Law of Demeter (object not created locally) 810
Potential violation of Law of Demeter (method chain calls) 811
Potential violation of Law of Demeter (method chain calls) 811
Potential violation of Law of Demeter (method chain calls) 816
Potential violation of Law of Demeter (method chain calls) 816
Potential violation of Law of Demeter (object not created locally) 832
Potential violation of Law of Demeter (object not created locally) 832
Potential violation of Law of Demeter (object not created locally) 832
Potential violation of Law of Demeter (object not created locally) 832
Potential violation of Law of Demeter (object not created locally) 835
Potential violation of Law of Demeter (method chain calls) 838
Potential violation of Law of Demeter (method chain calls) 838
Potential violation of Law of Demeter (method chain calls) 839
Potential violation of Law of Demeter (method chain calls) 839
Avoid unused private methods such as 'addCalledMethodsOfNode(Node,List,String)'. 848
Potential violation of Law of Demeter (method chain calls) 872
Potential violation of Law of Demeter (method chain calls) 873
Potential violation of Law of Demeter (object not created locally) 883
Potential violation of Law of Demeter (method chain calls) 883
Potential violation of Law of Demeter (object not created locally) 883
Potential violation of Law of Demeter (object not created locally) 886
Potential violation of Law of Demeter (object not created locally) 887
Potential violation of Law of Demeter (object not created locally) 889
Potential violation of Law of Demeter (method chain calls) 912
Potential violation of Law of Demeter (object not created locally) 924
Potential violation of Law of Demeter (method chain calls) 925
Potential violation of Law of Demeter (method chain calls) 925
Potential violation of Law of Demeter (object not created locally) 925
Potential violation of Law of Demeter (object not created locally) 926
Potential violation of Law of Demeter (object not created locally) 940
Potential violation of Law of Demeter (object not created locally) 941
Potential violation of Law of Demeter (object not created locally) 942
Potential violation of Law of Demeter (object not created locally) 944
Potential violation of Law of Demeter (object not created locally) 945
Potential violation of Law of Demeter (object not created locally) 946
Potential violation of Law of Demeter (object not created locally) 947
Potential violation of Law of Demeter (object not created locally) 949
Potential violation of Law of Demeter (object not created locally) 951
Potential violation of Law of Demeter (object not created locally) 953
Potential violation of Law of Demeter (object not created locally) 955
Potential violation of Law of Demeter (object not created locally) 955
Potential violation of Law of Demeter (object not created locally) 957
Potential violation of Law of Demeter (object not created locally) 959
Potential violation of Law of Demeter (object not created locally) 962
Potential violation of Law of Demeter (object not created locally) 967

net/sourceforge/pmd/lang/java/rule/design/ExcessiveNodeCountRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 37

net/sourceforge/pmd/lang/java/rule/design/GenericClassCounterRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 89
Avoid unused private methods such as 'addAMatch(Node,Object)'. 155
Potential violation of Law of Demeter (object not created locally) 158
Potential violation of Law of Demeter (object not created locally) 159
Avoid unused private methods such as 'searchForAMatch(String,Node)'. 164
Potential violation of Law of Demeter (object not created locally) 175

net/sourceforge/pmd/lang/java/rule/design/GodClassRule.java

Violation Line
Possible God class (WMC=54, ATFD=32, TCC=0.0) 4374
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 108
Potential violation of Law of Demeter (object not created locally) 169
Potential violation of Law of Demeter (object not created locally) 169
Potential violation of Law of Demeter (object not created locally) 169
Useless parentheses. 188
Potential violation of Law of Demeter (method chain calls) 195
Potential violation of Law of Demeter (method chain calls) 195
Potential violation of Law of Demeter (object not created locally) 197
Potential violation of Law of Demeter (object not created locally) 217
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 217
Potential violation of Law of Demeter (method chain calls) 218
Potential violation of Law of Demeter (object not created locally) 218
Potential violation of Law of Demeter (object not created locally) 228
Potential violation of Law of Demeter (object not created locally) 228
Potential violation of Law of Demeter (method chain calls) 230
Potential violation of Law of Demeter (object not created locally) 243
Potential violation of Law of Demeter (object not created locally) 247
Potential violation of Law of Demeter (object not created locally) 254
Potential violation of Law of Demeter (method chain calls) 259
Potential violation of Law of Demeter (object not created locally) 259
Potential violation of Law of Demeter (object not created locally) 261
Potential violation of Law of Demeter (method chain calls) 263
Potential violation of Law of Demeter (object not created locally) 263
Potential violation of Law of Demeter (object not created locally) 272
Potential violation of Law of Demeter (method chain calls) 277
Potential violation of Law of Demeter (object not created locally) 277
Potential violation of Law of Demeter (method chain calls) 279
Potential violation of Law of Demeter (object not created locally) 279
Potential violation of Law of Demeter (method chain calls) 289
Potential violation of Law of Demeter (method chain calls) 290
Potential violation of Law of Demeter (object not created locally) 290
Potential violation of Law of Demeter (method chain calls) 304
Potential violation of Law of Demeter (method chain calls) 313

net/sourceforge/pmd/lang/java/rule/design/IdempotentOperationsRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (method chain calls) 53
Potential violation of Law of Demeter (method chain calls) 53
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (method chain calls) 54
Potential violation of Law of Demeter (method chain calls) 54
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 60
Potential violation of Law of Demeter (method chain calls) 60
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 64
Potential violation of Law of Demeter (method chain calls) 64
Potential violation of Law of Demeter (method chain calls) 64
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (method chain calls) 65
Potential violation of Law of Demeter (method chain calls) 65
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 74

net/sourceforge/pmd/lang/java/rule/design/ImmutableFieldRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 55
Potential violation of Law of Demeter (object not created locally) 55
Potential violation of Law of Demeter (method chain calls) 62
Avoid unused private methods such as 'initializedInConstructor(List,Set)'. 65
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 87
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 96
Potential violation of Law of Demeter (object not created locally) 116
Potential violation of Law of Demeter (method chain calls) 121122

net/sourceforge/pmd/lang/java/rule/design/NonThreadSafeSingletonRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 83
Useless parentheses. 83
Potential violation of Law of Demeter (object not created locally) 84
Useless parentheses. 85
Potential violation of Law of Demeter (object not created locally) 85
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 94

net/sourceforge/pmd/lang/java/rule/design/PositionalIteratorRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 19
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 50
Potential violation of Law of Demeter (object not created locally) 51

net/sourceforge/pmd/lang/java/rule/design/PreserveStackTraceRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 50
Potential violation of Law of Demeter (object not created locally) 50
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 62
Potential violation of Law of Demeter (method chain calls) 62
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 74
Useless parentheses. 77
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (method chain calls) 8485
Potential violation of Law of Demeter (object not created locally) 8485
Potential violation of Law of Demeter (method chain calls) 8485
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (method chain calls) 106
Potential violation of Law of Demeter (object not created locally) 108
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (method chain calls) 127
Potential violation of Law of Demeter (object not created locally) 131
Potential violation of Law of Demeter (object not created locally) 132
Potential violation of Law of Demeter (object not created locally) 135
Potential violation of Law of Demeter (object not created locally) 141
Potential violation of Law of Demeter (object not created locally) 171

net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 28
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (method chain calls) 32
Useless parentheses. 32
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 56
Potential violation of Law of Demeter (method chain calls) 56
Potential violation of Law of Demeter (method chain calls) 57
Potential violation of Law of Demeter (method chain calls) 57
Potential violation of Law of Demeter (method chain calls) 57
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 62
Potential violation of Law of Demeter (method chain calls) 63
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (method chain calls) 83
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (method chain calls) 84
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (method chain calls) 113
Potential violation of Law of Demeter (method chain calls) 113
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (method chain calls) 114
Potential violation of Law of Demeter (method chain calls) 114
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (method chain calls) 180
Potential violation of Law of Demeter (method chain calls) 180
Potential violation of Law of Demeter (method chain calls) 180
Potential violation of Law of Demeter (method chain calls) 180
Potential violation of Law of Demeter (method chain calls) 180
Potential violation of Law of Demeter (method chain calls) 180
Potential violation of Law of Demeter (method chain calls) 180
Potential violation of Law of Demeter (object not created locally) 189
Potential violation of Law of Demeter (object not created locally) 192
Useless parentheses. 199
Potential violation of Law of Demeter (method chain calls) 241
Potential violation of Law of Demeter (method chain calls) 244

net/sourceforge/pmd/lang/java/rule/design/SingularFieldRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (object not created locally) 55
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 62
Potential violation of Law of Demeter (object not created locally) 64
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (method chain calls) 80
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 104
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (object not created locally) 127
Potential violation of Law of Demeter (object not created locally) 135
Potential violation of Law of Demeter (object not created locally) 136
Potential violation of Law of Demeter (object not created locally) 147
Potential violation of Law of Demeter (method chain calls) 148

net/sourceforge/pmd/lang/java/rule/design/SwitchDensityRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (method chain calls) 85
Potential violation of Law of Demeter (method chain calls) 95

net/sourceforge/pmd/lang/java/rule/design/UnnecessaryLocalBeforeReturnRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 39
Potential violation of Law of Demeter (method chain calls) 39
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (object not created locally) 50
Potential violation of Law of Demeter (method chain calls) 50
Potential violation of Law of Demeter (object not created locally) 50
Potential violation of Law of Demeter (object not created locally) 51
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 53

net/sourceforge/pmd/lang/java/rule/design/UnsynchronizedStaticDateFormatterRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (method chain calls) 52
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 57

net/sourceforge/pmd/lang/java/rule/design/UseCollectionIsEmptyRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 67
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (method chain calls) 75
Potential violation of Law of Demeter (method chain calls) 8486
Potential violation of Law of Demeter (method chain calls) 8486
Potential violation of Law of Demeter (method chain calls) 88
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (method chain calls) 91
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (method chain calls) 91
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (method chain calls) 9295
Potential violation of Law of Demeter (method chain calls) 9295
Potential violation of Law of Demeter (method chain calls) 9295
Potential violation of Law of Demeter (method chain calls) 9295
Potential violation of Law of Demeter (object not created locally) 9295
Potential violation of Law of Demeter (method chain calls) 104106
Potential violation of Law of Demeter (method chain calls) 104106

net/sourceforge/pmd/lang/java/rule/design/UseUtilityClassRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 34
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (method chain calls) 39
Potential violation of Law of Demeter (method chain calls) 44
Potential violation of Law of Demeter (object not created locally) 50
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 62

net/sourceforge/pmd/lang/java/rule/finalizers/AvoidCallingFinalizeRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (method chain calls) 30
Potential violation of Law of Demeter (method chain calls) 31
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (method chain calls) 43
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 45
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (method chain calls) 51
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (method chain calls) 52

net/sourceforge/pmd/lang/java/rule/imports/DontImportJavaLangRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 21
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (object not created locally) 28
Potential violation of Law of Demeter (object not created locally) 28
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (object not created locally) 30

net/sourceforge/pmd/lang/java/rule/imports/DuplicateImportsRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 33
Potential violation of Law of Demeter (method chain calls) 35
Potential violation of Law of Demeter (method chain calls) 56
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 65
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (method chain calls) 84
Potential violation of Law of Demeter (method chain calls) 84

net/sourceforge/pmd/lang/java/rule/imports/ImportFromSamePackageRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 14
Potential violation of Law of Demeter (method chain calls) 14
Potential violation of Law of Demeter (object not created locally) 16

net/sourceforge/pmd/lang/java/rule/imports/UnnecessaryFullyQualifiedNameRule.java

Violation Line
Avoid unused private methods such as 'checkImports(JavaNode,Object,boolean)'. 56
Potential violation of Law of Demeter (object not created locally) 62
Potential violation of Law of Demeter (object not created locally) 64
Potential violation of Law of Demeter (object not created locally) 64
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (method chain calls) 65
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (object not created locally) 96
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (method chain calls) 99
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (method chain calls) 104
Potential violation of Law of Demeter (method chain calls) 104
Potential violation of Law of Demeter (method chain calls) 104
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 110
Potential violation of Law of Demeter (method chain calls) 110
Potential violation of Law of Demeter (method chain calls) 110
Potential violation of Law of Demeter (method chain calls) 119
Potential violation of Law of Demeter (method chain calls) 129
Potential violation of Law of Demeter (method chain calls) 129

net/sourceforge/pmd/lang/java/rule/imports/UnusedImportsRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (object not created locally) 107
Potential violation of Law of Demeter (method chain calls) 107
Potential violation of Law of Demeter (method chain calls) 108
Potential violation of Law of Demeter (object not created locally) 108
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (method chain calls) 145
Potential violation of Law of Demeter (method chain calls) 145
Potential violation of Law of Demeter (method chain calls) 145

net/sourceforge/pmd/lang/java/rule/javabeans/BeanMembersShouldSerializeRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 50
Potential violation of Law of Demeter (method chain calls) 6162
Potential violation of Law of Demeter (method chain calls) 6162
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 64
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (method chain calls) 75
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (method chain calls) 80
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (method chain calls) 81
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 85
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (method chain calls) 86
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (object not created locally) 91
Useless parentheses. 91
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (method chain calls) 113
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (method chain calls) 115
Potential violation of Law of Demeter (object not created locally) 115
Potential violation of Law of Demeter (object not created locally) 115

net/sourceforge/pmd/lang/java/rule/junit/AbstractJUnitRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 86
Potential violation of Law of Demeter (method chain calls) 86
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (object not created locally) 120
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 122
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (method chain calls) 125

net/sourceforge/pmd/lang/java/rule/junit/JUnitAssertionsShouldIncludeMessageRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (object not created locally) 49

net/sourceforge/pmd/lang/java/rule/junit/JUnitTestsShouldIncludeAssertRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 65
Useless parentheses. 66
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (method chain calls) 66
Avoid unused private methods such as 'isAssertOrFailStatement(ASTStatementExpression)'. 81
Potential violation of Law of Demeter (object not created locally) 87
Potential violation of Law of Demeter (object not created locally) 87
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 91

net/sourceforge/pmd/lang/java/rule/junit/TestClassWithoutTestCasesRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 24
Potential violation of Law of Demeter (object not created locally) 42

net/sourceforge/pmd/lang/java/rule/logging/GuardLogStatementJavaUtilRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 64

net/sourceforge/pmd/lang/java/rule/logging/GuardLogStatementRule.java

Violation Line
Variables that are final and static should be all capitals, 'xpathExpression' is not all capitals. 44
Potential violation of Law of Demeter (method chain calls) 7578
Potential violation of Law of Demeter (method chain calls) 7578
Potential violation of Law of Demeter (method chain calls) 7578
Potential violation of Law of Demeter (method chain calls) 7578
Potential violation of Law of Demeter (method chain calls) 104105
Potential violation of Law of Demeter (method chain calls) 107
Avoid using if statements without curly braces 114115
Potential violation of Law of Demeter (method chain calls) 127128
Potential violation of Law of Demeter (object not created locally) 127128
Potential violation of Law of Demeter (object not created locally) 128
Avoid using if statements without curly braces 134138

net/sourceforge/pmd/lang/java/rule/logging/MoreThanOneLoggerRule.java

Violation Line
Avoid unused private methods such as 'init(JavaNode,Object)'. 69
Potential violation of Law of Demeter (method chain calls) 88
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (method chain calls) 94
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (object not created locally) 9597
Potential violation of Law of Demeter (object not created locally) 96
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 98

net/sourceforge/pmd/lang/java/rule/migrating/JUnitUseExpectedRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 51
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 98
Avoid unused private methods such as 'getCatch(Node)'. 107

net/sourceforge/pmd/lang/java/rule/migrating/UnnecessaryCastRule.java

Violation Line
Avoid unused private methods such as 'process(Node,Object)'. 73
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (method chain calls) 86
Potential violation of Law of Demeter (method chain calls) 86

net/sourceforge/pmd/lang/java/rule/naming/AvoidDollarSignsRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 14
Potential violation of Law of Demeter (method chain calls) 22
Potential violation of Law of Demeter (method chain calls) 30

net/sourceforge/pmd/lang/java/rule/naming/AvoidFieldNameMatchingMethodNameRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 38
Potential violation of Law of Demeter (object not created locally) 38
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (object not created locally) 47

net/sourceforge/pmd/lang/java/rule/naming/AvoidFieldNameMatchingTypeNameRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 21
Potential violation of Law of Demeter (method chain calls) 21

net/sourceforge/pmd/lang/java/rule/naming/ClassNamingConventionsRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 12
Potential violation of Law of Demeter (method chain calls) 12

net/sourceforge/pmd/lang/java/rule/naming/MethodNamingConventionsRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 15
Potential violation of Law of Demeter (object not created locally) 18

net/sourceforge/pmd/lang/java/rule/naming/SuspiciousHashcodeMethodNameRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 28
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (object not created locally) 29
Position literals first in String comparisons for EqualsIgnoreCase 29
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (method chain calls) 30
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (object not created locally) 33

net/sourceforge/pmd/lang/java/rule/naming/VariableNamingConventionsRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 108
Potential violation of Law of Demeter (method chain calls) 108
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 109
Avoid unused private methods such as 'checkVariableDeclarators(String,String,Node,boolean,boolean,Object)'. 138139
Potential violation of Law of Demeter (object not created locally) 156
Potential violation of Law of Demeter (object not created locally) 162
Potential violation of Law of Demeter (object not created locally) 162
Potential violation of Law of Demeter (object not created locally) 171
Potential violation of Law of Demeter (object not created locally) 178
Potential violation of Law of Demeter (method chain calls) 194
Potential violation of Law of Demeter (method chain calls) 195
Potential violation of Law of Demeter (method chain calls) 195
Potential violation of Law of Demeter (method chain calls) 195
Potential violation of Law of Demeter (method chain calls) 195
Potential violation of Law of Demeter (method chain calls) 206
Potential violation of Law of Demeter (method chain calls) 207
Potential violation of Law of Demeter (method chain calls) 207
Potential violation of Law of Demeter (method chain calls) 207
Potential violation of Law of Demeter (method chain calls) 207
Avoid using if statements without curly braces 219

net/sourceforge/pmd/lang/java/rule/optimizations/AbstractOptimizationRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 31

net/sourceforge/pmd/lang/java/rule/optimizations/AvoidInstantiatingObjectsInLoopsRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 30
Potential violation of Law of Demeter (method chain calls) 30
Potential violation of Law of Demeter (method chain calls) 30
Potential violation of Law of Demeter (method chain calls) 30
Potential violation of Law of Demeter (method chain calls) 30
Potential violation of Law of Demeter (method chain calls) 30
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (object not created locally) 56

net/sourceforge/pmd/lang/java/rule/optimizations/LocalVariableCouldBeFinalRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 21
Potential violation of Law of Demeter (object not created locally) 22
Potential violation of Law of Demeter (object not created locally) 24
Potential violation of Law of Demeter (object not created locally) 28
Potential violation of Law of Demeter (object not created locally) 28

net/sourceforge/pmd/lang/java/rule/optimizations/MethodArgumentCouldBeFinalRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 33
Useless parentheses. 34
Potential violation of Law of Demeter (object not created locally) 34
Potential violation of Law of Demeter (object not created locally) 35

net/sourceforge/pmd/lang/java/rule/optimizations/PrematureDeclarationRule.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 31
Potential violation of Law of Demeter (method chain calls) 43
replace o.getClass().equals(MyClass.class) with o instanceof MyClass 43
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (method chain calls) 49
Avoid using if statements without curly braces 59
Use equals() to compare object references. 83
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (method chain calls) 85
Avoid using if statements without curly braces 85
Potential violation of Law of Demeter (object not created locally) 85
Potential violation of Law of Demeter (object not created locally) 101
Avoid using if statements without curly braces 103
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (object not created locally) 107
Avoid using if statements without curly braces 108
Avoid using a branching statement as the last in a loop. 109
Avoid using if statements without curly braces 128
Potential violation of Law of Demeter (object not created locally) 158
Avoid using if statements without curly braces 173
Avoid unused private methods such as 'blocksAfter(AbstractJavaNode,AbstractJavaNode)'. 187

net/sourceforge/pmd/lang/java/rule/optimizations/RedundantFieldInitializerRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (object not created locally) 50
Potential violation of Law of Demeter (method chain calls) 50
Potential violation of Law of Demeter (object not created locally) 51
Potential violation of Law of Demeter (method chain calls) 51
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (method chain calls) 79
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (method chain calls) 84
Potential violation of Law of Demeter (object not created locally) 85
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (method chain calls) 93
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (method chain calls) 119
Potential violation of Law of Demeter (method chain calls) 130

net/sourceforge/pmd/lang/java/rule/optimizations/UnnecessaryWrapperObjectCreationRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (method chain calls) 51
Potential violation of Law of Demeter (method chain calls) 51
Useless parentheses. 53
Potential violation of Law of Demeter (object not created locally) 55
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 59
Useless parentheses. 61

net/sourceforge/pmd/lang/java/rule/optimizations/UseStringBufferForStringAppendsRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (object not created locally) 50

net/sourceforge/pmd/lang/java/rule/regex/RegexHelper.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 59

net/sourceforge/pmd/lang/java/rule/strictexception/AvoidCatchingThrowableRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (object not created locally) 24

net/sourceforge/pmd/lang/java/rule/strictexception/ExceptionAsFlowControlRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (object not created locally) 2930
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (method chain calls) 38
Potential violation of Law of Demeter (object not created locally) 38

net/sourceforge/pmd/lang/java/rule/strictexception/SignatureDeclareThrowsExceptionRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 38
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 50
Potential violation of Law of Demeter (object not created locally) 57
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (method chain calls) 107

net/sourceforge/pmd/lang/java/rule/strings/AvoidDuplicateLiteralsRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (object not created locally) 120
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (object not created locally) 147
Potential violation of Law of Demeter (object not created locally) 150
Potential violation of Law of Demeter (method chain calls) 151
Potential violation of Law of Demeter (object not created locally) 151
Potential violation of Law of Demeter (method chain calls) 151
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (object not created locally) 166
Potential violation of Law of Demeter (object not created locally) 171
Potential violation of Law of Demeter (object not created locally) 171
Avoid using if statements without curly braces 194
Avoid using if statements without curly braces 195
Avoid using if statements without curly braces 196
Avoid using if statements without curly braces 210

net/sourceforge/pmd/lang/java/rule/strings/ConsecutiveAppendsShouldReuseRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 57
Avoid unused private methods such as 'getNextBlockStatementSibling(Node)'. 64
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 85
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (method chain calls) 104
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (method chain calls) 106
Avoid unused private methods such as 'isFirstChild(Node,Class)'. 113
Potential violation of Law of Demeter (method chain calls) 114
Potential violation of Law of Demeter (method chain calls) 114

net/sourceforge/pmd/lang/java/rule/strings/ConsecutiveLiteralAppendsRule.java

Violation Line
Possible God class (WMC=57, ATFD=38, TCC=0.027777777777777776) 4318
Potential violation of Law of Demeter (method chain calls) 90
Potential violation of Law of Demeter (object not created locally) 96
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 104
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (object not created locally) 157
Potential violation of Law of Demeter (object not created locally) 158
Potential violation of Law of Demeter (method chain calls) 158
Potential violation of Law of Demeter (object not created locally) 160
Potential violation of Law of Demeter (object not created locally) 161
Potential violation of Law of Demeter (object not created locally) 173
Potential violation of Law of Demeter (object not created locally) 177
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 191
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (object not created locally) 193
Potential violation of Law of Demeter (object not created locally) 193
Potential violation of Law of Demeter (object not created locally) 226
Potential violation of Law of Demeter (object not created locally) 232
Potential violation of Law of Demeter (object not created locally) 233
Potential violation of Law of Demeter (object not created locally) 234
Potential violation of Law of Demeter (method chain calls) 234
Potential violation of Law of Demeter (object not created locally) 253
Potential violation of Law of Demeter (object not created locally) 255
Potential violation of Law of Demeter (object not created locally) 279
Potential violation of Law of Demeter (object not created locally) 300
Potential violation of Law of Demeter (object not created locally) 301
Potential violation of Law of Demeter (object not created locally) 313
Potential violation of Law of Demeter (object not created locally) 316

net/sourceforge/pmd/lang/java/rule/strings/InefficientEmptyStringCheckRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 38
Potential violation of Law of Demeter (method chain calls) 38
Potential violation of Law of Demeter (method chain calls) 39
Potential violation of Law of Demeter (method chain calls) 39
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (method chain calls) 41

net/sourceforge/pmd/lang/java/rule/strings/InefficientStringBufferingRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 50
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (method chain calls) 92
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (object not created locally) 114
Potential violation of Law of Demeter (method chain calls) 124
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 134
Potential violation of Law of Demeter (object not created locally) 135
Potential violation of Law of Demeter (object not created locally) 136
Potential violation of Law of Demeter (object not created locally) 137
Potential violation of Law of Demeter (object not created locally) 138
Potential violation of Law of Demeter (object not created locally) 152
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (method chain calls) 153
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (object not created locally) 161
Potential violation of Law of Demeter (object not created locally) 162
Potential violation of Law of Demeter (object not created locally) 165
Potential violation of Law of Demeter (object not created locally) 174

net/sourceforge/pmd/lang/java/rule/strings/InsufficientStringBufferDeclarationRule.java

Violation Line
Possible God class (WMC=72, ATFD=60, TCC=0.01818181818181818) 4352
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 85
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (object not created locally) 151
Potential violation of Law of Demeter (method chain calls) 151
Potential violation of Law of Demeter (object not created locally) 152
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (object not created locally) 166
Potential violation of Law of Demeter (object not created locally) 167
Potential violation of Law of Demeter (object not created locally) 168
Potential violation of Law of Demeter (object not created locally) 169
Potential violation of Law of Demeter (method chain calls) 170
Potential violation of Law of Demeter (object not created locally) 170
Potential violation of Law of Demeter (object not created locally) 186
Potential violation of Law of Demeter (object not created locally) 186
Potential violation of Law of Demeter (object not created locally) 187
Potential violation of Law of Demeter (object not created locally) 188
Potential violation of Law of Demeter (method chain calls) 188
Potential violation of Law of Demeter (object not created locally) 191
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (object not created locally) 194
Potential violation of Law of Demeter (method chain calls) 194
Potential violation of Law of Demeter (method chain calls) 194
Potential violation of Law of Demeter (method chain calls) 196
Potential violation of Law of Demeter (object not created locally) 196
Potential violation of Law of Demeter (method chain calls) 200
Potential violation of Law of Demeter (object not created locally) 200
Potential violation of Law of Demeter (object not created locally) 203
Potential violation of Law of Demeter (object not created locally) 231
Potential violation of Law of Demeter (object not created locally) 235
Potential violation of Law of Demeter (object not created locally) 240
Potential violation of Law of Demeter (object not created locally) 241
Potential violation of Law of Demeter (object not created locally) 242
Potential violation of Law of Demeter (object not created locally) 243
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 246
Potential violation of Law of Demeter (object not created locally) 246
Potential violation of Law of Demeter (object not created locally) 247
Potential violation of Law of Demeter (object not created locally) 248
Potential violation of Law of Demeter (object not created locally) 255
Potential violation of Law of Demeter (object not created locally) 256
Potential violation of Law of Demeter (object not created locally) 256
Potential violation of Law of Demeter (object not created locally) 258
Avoid unused private methods such as 'getInitialLength(Node)'. 278
Potential violation of Law of Demeter (object not created locally) 288
Potential violation of Law of Demeter (object not created locally) 289
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 289
Potential violation of Law of Demeter (object not created locally) 290
Potential violation of Law of Demeter (object not created locally) 291
Potential violation of Law of Demeter (object not created locally) 293
Potential violation of Law of Demeter (object not created locally) 316
Potential violation of Law of Demeter (object not created locally) 318
Potential violation of Law of Demeter (object not created locally) 344

net/sourceforge/pmd/lang/java/rule/strings/StringInstantiationRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 47

net/sourceforge/pmd/lang/java/rule/strings/StringToStringRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 22
Potential violation of Law of Demeter (object not created locally) 24
Potential violation of Law of Demeter (method chain calls) 24
Potential violation of Law of Demeter (object not created locally) 25
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (object not created locally) 27

net/sourceforge/pmd/lang/java/rule/strings/UnnecessaryCaseChangeRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (method chain calls) 56
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 80

net/sourceforge/pmd/lang/java/rule/strings/UseIndexOfCharRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 39

net/sourceforge/pmd/lang/java/rule/strings/UseStringBufferLengthRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 60
Useless parentheses. 69
Potential violation of Law of Demeter (method chain calls) 99
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (method chain calls) 114
Potential violation of Law of Demeter (method chain calls) 116
Potential violation of Law of Demeter (object not created locally) 117
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 117
Potential violation of Law of Demeter (method chain calls) 118
Potential violation of Law of Demeter (object not created locally) 118
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 119
Potential violation of Law of Demeter (method chain calls) 119
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (method chain calls) 127

net/sourceforge/pmd/lang/java/rule/strings/UselessStringValueOfRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (object not created locally) 38
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 55
Potential violation of Law of Demeter (object not created locally) 57
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 86

net/sourceforge/pmd/lang/java/rule/sunsecure/AbstractSunSecureRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 38
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 64
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 99

net/sourceforge/pmd/lang/java/rule/sunsecure/ArrayIsStoredDirectlyRule.java

Violation Line
Avoid unused private methods such as 'getExpressionVarName(Node)'. 70
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 94
Potential violation of Law of Demeter (object not created locally) 96
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 101
Potential violation of Law of Demeter (object not created locally) 107
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (object not created locally) 118
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 122
Potential violation of Law of Demeter (object not created locally) 129
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 134
Potential violation of Law of Demeter (object not created locally) 137
Potential violation of Law of Demeter (object not created locally) 151

net/sourceforge/pmd/lang/java/rule/sunsecure/MethodReturnsInternalArrayRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 35
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 58

net/sourceforge/pmd/lang/java/rule/unnecessary/UnnecessaryConversionTemporaryRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 42

net/sourceforge/pmd/lang/java/rule/unnecessary/UnnecessaryReturnRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 17

net/sourceforge/pmd/lang/java/rule/unnecessary/UselessOperationOnImmutableRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 62
Potential violation of Law of Demeter (method chain calls) 66
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (method chain calls) 67
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (method chain calls) 69
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (method chain calls) 91
Potential violation of Law of Demeter (object not created locally) 91

net/sourceforge/pmd/lang/java/rule/unnecessary/UselessOverridingMethodRule.java

Violation Line
Possible God class (WMC=50, ATFD=24, TCC=0.047619047619047616) 4258
Avoid unused private methods such as 'isMethodType(ASTMethodDeclaration,String)'. 77
Potential violation of Law of Demeter (object not created locally) 8182
Avoid unused private methods such as 'isMethodThrowingType(ASTMethodDeclaration,List)'. 88
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (object not created locally) 129
Potential violation of Law of Demeter (method chain calls) 129
Potential violation of Law of Demeter (object not created locally) 129
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 134
Potential violation of Law of Demeter (method chain calls) 134
Potential violation of Law of Demeter (object not created locally) 137
Potential violation of Law of Demeter (method chain calls) 137
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 145
Potential violation of Law of Demeter (object not created locally) 145
Potential violation of Law of Demeter (object not created locally) 148
Potential violation of Law of Demeter (method chain calls) 151152
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (object not created locally) 159
Potential violation of Law of Demeter (method chain calls) 164
Potential violation of Law of Demeter (object not created locally) 165
Potential violation of Law of Demeter (object not created locally) 166
Potential violation of Law of Demeter (object not created locally) 166
Potential violation of Law of Demeter (object not created locally) 170
Potential violation of Law of Demeter (object not created locally) 171
Potential violation of Law of Demeter (object not created locally) 172
Potential violation of Law of Demeter (object not created locally) 173
Potential violation of Law of Demeter (object not created locally) 173
Potential violation of Law of Demeter (object not created locally) 179
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 182
Potential violation of Law of Demeter (method chain calls) 184
Potential violation of Law of Demeter (object not created locally) 184
Potential violation of Law of Demeter (object not created locally) 193
Potential violation of Law of Demeter (object not created locally) 196
Potential violation of Law of Demeter (object not created locally) 197
Potential violation of Law of Demeter (object not created locally) 198
Potential violation of Law of Demeter (method chain calls) 198
Potential violation of Law of Demeter (object not created locally) 199
Potential violation of Law of Demeter (object not created locally) 204
Potential violation of Law of Demeter (object not created locally) 205
Potential violation of Law of Demeter (object not created locally) 208
Potential violation of Law of Demeter (object not created locally) 213
Potential violation of Law of Demeter (object not created locally) 218
Potential violation of Law of Demeter (method chain calls) 219220
Potential violation of Law of Demeter (object not created locally) 221
Potential violation of Law of Demeter (object not created locally) 221
Potential violation of Law of Demeter (method chain calls) 238
Potential violation of Law of Demeter (method chain calls) 242
Potential violation of Law of Demeter (method chain calls) 247
Potential violation of Law of Demeter (method chain calls) 253
Potential violation of Law of Demeter (object not created locally) 253

net/sourceforge/pmd/lang/java/rule/unusedcode/UnusedFormalParameterRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 56
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 56
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (method chain calls) 60
Potential violation of Law of Demeter (method chain calls) 60
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (method chain calls) 61
Potential violation of Law of Demeter (method chain calls) 61
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (object not created locally) 74
Avoid unused private methods such as 'check(Node,Object)'. 81
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 84
Potential violation of Law of Demeter (method chain calls) 8586
Potential violation of Law of Demeter (method chain calls) 8586
Potential violation of Law of Demeter (object not created locally) 87
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 101
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (object not created locally) 102

net/sourceforge/pmd/lang/java/rule/unusedcode/UnusedLocalVariableRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 22
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (object not created locally) 36

net/sourceforge/pmd/lang/java/rule/unusedcode/UnusedModifierRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 19
Potential violation of Law of Demeter (object not created locally) 27
Useless parentheses. 27
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (object not created locally) 27
Avoid unused private methods such as 'check(Node,Object)'. 50
Potential violation of Law of Demeter (method chain calls) 53
Potential violation of Law of Demeter (method chain calls) 53
Potential violation of Law of Demeter (method chain calls) 54

net/sourceforge/pmd/lang/java/rule/unusedcode/UnusedPrivateFieldRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 3132
Potential violation of Law of Demeter (object not created locally) 33
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (object not created locally) 41
Avoid unused private methods such as 'usedInOuterEnum(ASTClassOrInterfaceDeclaration,NameDeclaration)'. 48
Avoid unused private methods such as 'usedInOuterClass(ASTClassOrInterfaceDeclaration,NameDeclaration)'. 62
Avoid unused private methods such as 'usedInOuter(NameDeclaration,JavaNode)'. 73
Potential violation of Law of Demeter (method chain calls) 91
Potential violation of Law of Demeter (method chain calls) 101
Potential violation of Law of Demeter (object not created locally) 101
Potential violation of Law of Demeter (object not created locally) 113

net/sourceforge/pmd/lang/java/rule/unusedcode/UnusedPrivateMethodRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (object not created locally) 47
Avoid unused private methods such as 'calledFromOutsideItself(List,NameDeclaration)'. 75
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (method chain calls) 91
Potential violation of Law of Demeter (method chain calls) 91
Avoid unused private methods such as 'privateAndNotExcluded(NameDeclaration)'. 98
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (method chain calls) 100
Potential violation of Law of Demeter (object not created locally) 100

net/sourceforge/pmd/lang/java/symboltable/AbstractJavaScope.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 26

net/sourceforge/pmd/lang/java/symboltable/Applier.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 1017

net/sourceforge/pmd/lang/java/symboltable/ClassNameDeclaration.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (method chain calls) 29

net/sourceforge/pmd/lang/java/symboltable/ClassScope.java

Violation Line
Possible God class (WMC=78, ATFD=70, TCC=0.015151515151515152) 4334
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (method chain calls) 77
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 94
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (method chain calls) 97
Useless parentheses. 112
Potential violation of Law of Demeter (method chain calls) 112
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (object not created locally) 128
Potential violation of Law of Demeter (method chain calls) 129
Potential violation of Law of Demeter (object not created locally) 129
Potential violation of Law of Demeter (method chain calls) 129
Potential violation of Law of Demeter (method chain calls) 131
Potential violation of Law of Demeter (method chain calls) 131
Potential violation of Law of Demeter (object not created locally) 131
Potential violation of Law of Demeter (object not created locally) 135
Potential violation of Law of Demeter (object not created locally) 136
Potential violation of Law of Demeter (method chain calls) 136
Potential violation of Law of Demeter (object not created locally) 140
Potential violation of Law of Demeter (object not created locally) 141
Potential violation of Law of Demeter (object not created locally) 142
Potential violation of Law of Demeter (object not created locally) 144
Potential violation of Law of Demeter (object not created locally) 145
Potential violation of Law of Demeter (object not created locally) 146
Potential violation of Law of Demeter (object not created locally) 147
Potential violation of Law of Demeter (method chain calls) 147
Potential violation of Law of Demeter (object not created locally) 147
Potential violation of Law of Demeter (object not created locally) 149
Potential violation of Law of Demeter (object not created locally) 150
Potential violation of Law of Demeter (object not created locally) 150
Potential violation of Law of Demeter (object not created locally) 165
Potential violation of Law of Demeter (method chain calls) 166
Potential violation of Law of Demeter (object not created locally) 166
Potential violation of Law of Demeter (object not created locally) 175
Potential violation of Law of Demeter (method chain calls) 176
Potential violation of Law of Demeter (object not created locally) 177
Potential violation of Law of Demeter (object not created locally) 181
Potential violation of Law of Demeter (method chain calls) 181
Potential violation of Law of Demeter (method chain calls) 181
Potential violation of Law of Demeter (object not created locally) 182
Potential violation of Law of Demeter (object not created locally) 186
Potential violation of Law of Demeter (method chain calls) 187
Potential violation of Law of Demeter (method chain calls) 188
Potential violation of Law of Demeter (object not created locally) 188
Potential violation of Law of Demeter (method chain calls) 188
Potential violation of Law of Demeter (method chain calls) 188
Potential violation of Law of Demeter (method chain calls) 188
Potential violation of Law of Demeter (method chain calls) 188
Potential violation of Law of Demeter (method chain calls) 188
Potential violation of Law of Demeter (object not created locally) 189
Potential violation of Law of Demeter (method chain calls) 206
Potential violation of Law of Demeter (method chain calls) 208
Potential violation of Law of Demeter (method chain calls) 209
Potential violation of Law of Demeter (method chain calls) 230
Potential violation of Law of Demeter (method chain calls) 230
Potential violation of Law of Demeter (object not created locally) 233
Potential violation of Law of Demeter (object not created locally) 237
Potential violation of Law of Demeter (object not created locally) 238
Potential violation of Law of Demeter (object not created locally) 240
Potential violation of Law of Demeter (object not created locally) 240
Potential violation of Law of Demeter (method chain calls) 240
Potential violation of Law of Demeter (method chain calls) 241
Potential violation of Law of Demeter (object not created locally) 241
Potential violation of Law of Demeter (method chain calls) 241
Potential violation of Law of Demeter (object not created locally) 242
Potential violation of Law of Demeter (method chain calls) 242
Potential violation of Law of Demeter (method chain calls) 242
Potential violation of Law of Demeter (object not created locally) 247
Potential violation of Law of Demeter (object not created locally) 249
Potential violation of Law of Demeter (object not created locally) 252
Potential violation of Law of Demeter (object not created locally) 255
Potential violation of Law of Demeter (object not created locally) 256
Potential violation of Law of Demeter (method chain calls) 257
Potential violation of Law of Demeter (object not created locally) 257
Potential violation of Law of Demeter (object not created locally) 257
Potential violation of Law of Demeter (object not created locally) 258
Potential violation of Law of Demeter (object not created locally) 259
Potential violation of Law of Demeter (object not created locally) 266
Potential violation of Law of Demeter (object not created locally) 267
Potential violation of Law of Demeter (object not created locally) 268
Potential violation of Law of Demeter (object not created locally) 269
Potential violation of Law of Demeter (object not created locally) 270
Potential violation of Law of Demeter (object not created locally) 271
Potential violation of Law of Demeter (object not created locally) 272
Potential violation of Law of Demeter (object not created locally) 273
Potential violation of Law of Demeter (object not created locally) 274
Potential violation of Law of Demeter (object not created locally) 275
Potential violation of Law of Demeter (object not created locally) 276
Potential violation of Law of Demeter (object not created locally) 277
Potential violation of Law of Demeter (object not created locally) 279
Potential violation of Law of Demeter (object not created locally) 280
Potential violation of Law of Demeter (object not created locally) 281
Potential violation of Law of Demeter (object not created locally) 292
Potential violation of Law of Demeter (method chain calls) 300
Potential violation of Law of Demeter (method chain calls) 301
Potential violation of Law of Demeter (method chain calls) 302
Potential violation of Law of Demeter (object not created locally) 312
Potential violation of Law of Demeter (object not created locally) 313
Potential violation of Law of Demeter (object not created locally) 316
Potential violation of Law of Demeter (object not created locally) 317
Potential violation of Law of Demeter (method chain calls) 319
Potential violation of Law of Demeter (object not created locally) 319
Potential violation of Law of Demeter (method chain calls) 320
Potential violation of Law of Demeter (object not created locally) 325
Potential violation of Law of Demeter (object not created locally) 326

net/sourceforge/pmd/lang/java/symboltable/JavaNameOccurrence.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 76
Potential violation of Law of Demeter (method chain calls) 76
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (method chain calls) 85
Potential violation of Law of Demeter (method chain calls) 86
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (method chain calls) 89
Potential violation of Law of Demeter (object not created locally) 96
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 134
Potential violation of Law of Demeter (method chain calls) 134
Potential violation of Law of Demeter (object not created locally) 149
Potential violation of Law of Demeter (object not created locally) 150
Potential violation of Law of Demeter (object not created locally) 151
Potential violation of Law of Demeter (object not created locally) 165
Potential violation of Law of Demeter (object not created locally) 166
Potential violation of Law of Demeter (object not created locally) 167
Potential violation of Law of Demeter (object not created locally) 168
Potential violation of Law of Demeter (method chain calls) 168
Potential violation of Law of Demeter (object not created locally) 168
Potential violation of Law of Demeter (object not created locally) 205
Potential violation of Law of Demeter (object not created locally) 207
Potential violation of Law of Demeter (object not created locally) 207
Potential violation of Law of Demeter (method chain calls) 217
Potential violation of Law of Demeter (object not created locally) 217
Potential violation of Law of Demeter (method chain calls) 224

net/sourceforge/pmd/lang/java/symboltable/LocalScope.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (method chain calls) 28
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (method chain calls) 44
Potential violation of Law of Demeter (method chain calls) 44
Potential violation of Law of Demeter (method chain calls) 44
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 63
Potential violation of Law of Demeter (method chain calls) 63

net/sourceforge/pmd/lang/java/symboltable/MethodNameDeclaration.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 20
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (static property access) 67
Potential violation of Law of Demeter (method chain calls) 67
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (static property access) 78
Potential violation of Law of Demeter (method chain calls) 79
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (method chain calls) 88
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (method chain calls) 89
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (object not created locally) 104
Potential violation of Law of Demeter (method chain calls) 106
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (method chain calls) 107
Potential violation of Law of Demeter (object not created locally) 107
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (method chain calls) 121
Potential violation of Law of Demeter (method chain calls) 121
Potential violation of Law of Demeter (method chain calls) 126

net/sourceforge/pmd/lang/java/symboltable/MethodScope.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 33
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 63
Potential violation of Law of Demeter (method chain calls) 67
Potential violation of Law of Demeter (method chain calls) 67

net/sourceforge/pmd/lang/java/symboltable/NameFinder.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 57
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (method chain calls) 60
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 62
Potential violation of Law of Demeter (object not created locally) 62
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 64
Potential violation of Law of Demeter (object not created locally) 64
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (object not created locally) 68
Avoid unused private methods such as 'add(JavaNameOccurrence)'. 74
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 76
Potential violation of Law of Demeter (object not created locally) 78

net/sourceforge/pmd/lang/java/symboltable/OccurrenceFinder.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 21
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (object not created locally) 37

net/sourceforge/pmd/lang/java/symboltable/ScopeAndDeclarationFinder.java

Violation Line
Avoid unused private methods such as 'createLocalScope(JavaNode)'. 96
Avoid unused private methods such as 'createMethodScope(JavaNode)'. 108
Avoid unused private methods such as 'createClassScope(JavaNode)'. 120
Potential violation of Law of Demeter (method chain calls) 140
Potential violation of Law of Demeter (method chain calls) 159
Potential violation of Law of Demeter (object not created locally) 239
Potential violation of Law of Demeter (method chain calls) 292
Avoid unused private methods such as 'cont(AbstractJavaNode)'. 304

net/sourceforge/pmd/lang/java/symboltable/Search.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 24
Potential violation of Law of Demeter (method chain calls) 24

net/sourceforge/pmd/lang/java/symboltable/SimpleTypedNameDeclaration.java

Violation Line
Avoid using if statements without curly braces 6162
Avoid using if statements without curly braces 6364
Avoid using if statements without curly braces 6566
Avoid using if statements without curly braces 6970
Avoid using if statements without curly braces 7273
Potential violation of Law of Demeter (static property access) 76
Avoid using if statements without curly braces 7677
Avoid using if statements without curly braces 8081
Potential violation of Law of Demeter (static property access) 86
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 94
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (object not created locally) 96
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (object not created locally) 104
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 115
Potential violation of Law of Demeter (object not created locally) 116
Potential violation of Law of Demeter (object not created locally) 117
Potential violation of Law of Demeter (object not created locally) 118
Potential violation of Law of Demeter (object not created locally) 119

net/sourceforge/pmd/lang/java/symboltable/SourceFileScope.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (method chain calls) 92
Potential violation of Law of Demeter (method chain calls) 92
Potential violation of Law of Demeter (method chain calls) 92
Potential violation of Law of Demeter (method chain calls) 92

net/sourceforge/pmd/lang/java/symboltable/SymbolFacade.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 10
Potential violation of Law of Demeter (method chain calls) 10

net/sourceforge/pmd/lang/java/symboltable/TypedNameDeclaration.java

Violation Line
Avoid modifiers which are implied by the context 9
Avoid modifiers which are implied by the context 11

net/sourceforge/pmd/lang/java/symboltable/VariableNameDeclaration.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 33
Potential violation of Law of Demeter (object not created locally) 33
Potential violation of Law of Demeter (method chain calls) 33
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (method chain calls) 48
Avoid using if statements without curly braces 5354
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (method chain calls) 62
Potential violation of Law of Demeter (method chain calls) 62
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (method chain calls) 79
Potential violation of Law of Demeter (method chain calls) 79
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 82
Avoid using if statements without curly braces 8990
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (method chain calls) 100
Potential violation of Law of Demeter (static property access) 100
Potential violation of Law of Demeter (method chain calls) 105

net/sourceforge/pmd/lang/java/typeresolution/ClassTypeResolver.java

Violation Line
Possible God class (WMC=134, ATFD=72, TCC=0.0) 4731
There is log block not surrounded by if 156
Potential violation of Law of Demeter (object not created locally) 156
Potential violation of Law of Demeter (method chain calls) 156
Potential violation of Law of Demeter (object not created locally) 156
Potential violation of Law of Demeter (method chain calls) 156
There is log block not surrounded by if 158
Potential violation of Law of Demeter (object not created locally) 158
Potential violation of Law of Demeter (method chain calls) 158
Potential violation of Law of Demeter (object not created locally) 158
Potential violation of Law of Demeter (method chain calls) 158
Potential violation of Law of Demeter (object not created locally) 168
Potential violation of Law of Demeter (object not created locally) 169
Potential violation of Law of Demeter (object not created locally) 171
Potential violation of Law of Demeter (method chain calls) 175
Potential violation of Law of Demeter (method chain calls) 175
Potential violation of Law of Demeter (method chain calls) 190
Potential violation of Law of Demeter (object not created locally) 196
Potential violation of Law of Demeter (object not created locally) 234
Potential violation of Law of Demeter (object not created locally) 235
Potential violation of Law of Demeter (object not created locally) 235
Potential violation of Law of Demeter (method chain calls) 241
Potential violation of Law of Demeter (method chain calls) 242
Potential violation of Law of Demeter (method chain calls) 242
Potential violation of Law of Demeter (method chain calls) 242
Potential violation of Law of Demeter (method chain calls) 242
Potential violation of Law of Demeter (method chain calls) 242
Potential violation of Law of Demeter (method chain calls) 267
Potential violation of Law of Demeter (object not created locally) 269
Potential violation of Law of Demeter (object not created locally) 270
Potential violation of Law of Demeter (object not created locally) 270
Avoid unused private methods such as 'rollupTypeUnary(TypeNode)'. 559
Potential violation of Law of Demeter (object not created locally) 562
Potential violation of Law of Demeter (object not created locally) 563
Potential violation of Law of Demeter (method chain calls) 565
Potential violation of Law of Demeter (method chain calls) 565
Avoid unused private methods such as 'rollupTypeUnaryNumericPromotion(TypeNode)'. 572
Potential violation of Law of Demeter (object not created locally) 575
Potential violation of Law of Demeter (object not created locally) 576
Potential violation of Law of Demeter (method chain calls) 578
Potential violation of Law of Demeter (object not created locally) 580
Potential violation of Law of Demeter (object not created locally) 580
Potential violation of Law of Demeter (object not created locally) 581
Potential violation of Law of Demeter (method chain calls) 584
Potential violation of Law of Demeter (method chain calls) 584
Avoid unused private methods such as 'rollupTypeBinaryNumericPromotion(TypeNode)'. 593
Potential violation of Law of Demeter (object not created locally) 596
Potential violation of Law of Demeter (object not created locally) 597
Potential violation of Law of Demeter (object not created locally) 598
Potential violation of Law of Demeter (method chain calls) 600
Potential violation of Law of Demeter (method chain calls) 601
Potential violation of Law of Demeter (object not created locally) 604
Potential violation of Law of Demeter (object not created locally) 604
Potential violation of Law of Demeter (object not created locally) 606
Potential violation of Law of Demeter (object not created locally) 606
Potential violation of Law of Demeter (object not created locally) 608
Potential violation of Law of Demeter (object not created locally) 608
Potential violation of Law of Demeter (object not created locally) 610
Potential violation of Law of Demeter (object not created locally) 610
Potential violation of Law of Demeter (object not created locally) 612
Potential violation of Law of Demeter (object not created locally) 612
Potential violation of Law of Demeter (object not created locally) 620
Potential violation of Law of Demeter (object not created locally) 621
Potential violation of Law of Demeter (object not created locally) 655
Potential violation of Law of Demeter (object not created locally) 696
Potential violation of Law of Demeter (object not created locally) 699
Potential violation of Law of Demeter (object not created locally) 700
Potential violation of Law of Demeter (object not created locally) 700
Potential violation of Law of Demeter (object not created locally) 721
Potential violation of Law of Demeter (object not created locally) 721

net/sourceforge/pmd/lang/java/typeresolution/PMDASMClassLoader.java

Violation Line
A class which only has private constructors should be final 3193
Avoid using if statements without curly braces 41
Use equals() to compare object references. 41

net/sourceforge/pmd/lang/java/typeresolution/TypeHelper.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 1360
Potential violation of Law of Demeter (object not created locally) 25
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (object not created locally) 51
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 56

net/sourceforge/pmd/lang/java/typeresolution/rules/CloneMethodMustImplementCloneable.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (object not created locally) 34
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (object not created locally) 37
Potential violation of Law of Demeter (object not created locally) 38
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (method chain calls) 44
Potential violation of Law of Demeter (method chain calls) 44
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (object not created locally) 45
Potential violation of Law of Demeter (method chain calls) 52
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (method chain calls) 57
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (method chain calls) 74
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 76
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (method chain calls) 79
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (method chain calls) 80
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 83

net/sourceforge/pmd/lang/java/typeresolution/rules/LooseCoupling.java

Violation Line
Avoid unused private methods such as 'methodHasOverride(Node)'. 38
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (object not created locally) 44

net/sourceforge/pmd/lang/java/typeresolution/rules/SignatureDeclareThrowsException.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 51
Potential violation of Law of Demeter (object not created locally) 51
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (method chain calls) 61
Potential violation of Law of Demeter (method chain calls) 80
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (method chain calls) 93
Potential violation of Law of Demeter (method chain calls) 98
Potential violation of Law of Demeter (method chain calls) 120
Potential violation of Law of Demeter (method chain calls) 120121
Avoid unused private methods such as 'checkExceptions(Node,Object)'. 135
Potential violation of Law of Demeter (object not created locally) 137
Potential violation of Law of Demeter (method chain calls) 172

net/sourceforge/pmd/lang/java/typeresolution/rules/imports/UnusedImports.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 20
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (method chain calls) 38
Potential violation of Law of Demeter (method chain calls) 40

net/sourceforge/pmd/lang/java/typeresolution/visitors/PMDASMVisitor.java

Violation Line
Possible God class (WMC=86, ATFD=27, TCC=7.25689404934688E-4) 4406
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 64
Potential violation of Law of Demeter (method chain calls) 157
Potential violation of Law of Demeter (method chain calls) 157

net/sourceforge/pmd/lang/java/xpath/GetCommentOnFunction.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 36
Potential violation of Law of Demeter (method chain calls) 38
Potential violation of Law of Demeter (method chain calls) 39
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (method chain calls) 41

net/sourceforge/pmd/lang/java/xpath/JavaFunctions.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 1323
Potential violation of Law of Demeter (method chain calls) 2021
Potential violation of Law of Demeter (method chain calls) 20

net/sourceforge/pmd/lang/java/xpath/TypeOfFunction.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 35
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 62
Potential violation of Law of Demeter (method chain calls) 67
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (method chain calls) 76
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (object not created locally) 79

net/sourceforge/pmd/lang/jsp/ast/AbstractJspNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 52
Potential violation of Law of Demeter (method chain calls) 52

net/sourceforge/pmd/lang/jsp/ast/DumpFacade.java

Violation Line
Useless parentheses. 20
Avoid unused private methods such as 'dump(Node,String)'. 40
Potential violation of Law of Demeter (method chain calls) 66
Potential violation of Law of Demeter (method chain calls) 66
Potential violation of Law of Demeter (method chain calls) 68
Potential violation of Law of Demeter (method chain calls) 68
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (method chain calls) 77
Potential violation of Law of Demeter (method chain calls) 77
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 84
Potential violation of Law of Demeter (method chain calls) 84
Potential violation of Law of Demeter (method chain calls) 85
Potential violation of Law of Demeter (method chain calls) 85

net/sourceforge/pmd/lang/jsp/ast/OpenTagRegister.java

Violation Line
Avoid using if statements without curly braces 2628
Avoid using if statements without curly braces 4042
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 55
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 70

net/sourceforge/pmd/lang/jsp/rule/JspRuleChainVisitor.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 38
Potential violation of Law of Demeter (method chain calls) 40

net/sourceforge/pmd/lang/jsp/rule/basic/NoInlineStyleInformationRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 68
Potential violation of Law of Demeter (method chain calls) 68
Potential violation of Law of Demeter (method chain calls) 79
Potential violation of Law of Demeter (method chain calls) 79
Potential violation of Law of Demeter (object not created locally) 8283
Potential violation of Law of Demeter (method chain calls) 8283
Potential violation of Law of Demeter (method chain calls) 8283

net/sourceforge/pmd/lang/plsql/PLSQLParser.java

Violation Line
Perhaps 'parser' could be replaced by a local variable. 26
Potential violation of Law of Demeter (method chain calls) 52

net/sourceforge/pmd/lang/plsql/ast/ASTMethodDeclaration.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 34

net/sourceforge/pmd/lang/plsql/ast/ASTProgramUnit.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 35

net/sourceforge/pmd/lang/plsql/ast/ASTTypeMethod.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 34

net/sourceforge/pmd/lang/plsql/ast/ASTVariableOrConstantDeclaratorId.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 61
Potential violation of Law of Demeter (method chain calls) 63
Potential violation of Law of Demeter (method chain calls) 66
Potential violation of Law of Demeter (method chain calls) 66
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (method chain calls) 75
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 85

net/sourceforge/pmd/lang/plsql/ast/AbstractPLSQLNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (method chain calls) 92
Potential violation of Law of Demeter (method chain calls) 107

net/sourceforge/pmd/lang/plsql/ast/DumpFacade.java

Violation Line
Useless parentheses. 18
Avoid unused private methods such as 'dump(PLSQLNode,String)'. 38
Avoid unused local variables such as 'primaryPrefix'. 63
Potential violation of Law of Demeter (object not created locally) 78

net/sourceforge/pmd/lang/plsql/ast/PLSQLNode.java

Violation Line
Avoid modifiers which are implied by the context 13
Avoid modifiers which are implied by the context 16

net/sourceforge/pmd/lang/plsql/dfa/DataFlowFacade.java

Violation Line
There is log block not surrounded by if 38
Potential violation of Law of Demeter (method chain calls) 39
There is log block not surrounded by if 54
Potential violation of Law of Demeter (method chain calls) 55
There is log block not surrounded by if 62
Potential violation of Law of Demeter (method chain calls) 63
There is log block not surrounded by if 72
Potential violation of Law of Demeter (method chain calls) 73
There is log block not surrounded by if 87
Potential violation of Law of Demeter (method chain calls) 88
There is log block not surrounded by if 101
Potential violation of Law of Demeter (method chain calls) 102
There is log block not surrounded by if 115
Potential violation of Law of Demeter (method chain calls) 116

net/sourceforge/pmd/lang/plsql/dfa/PLSQLDataFlowNode.java

Violation Line
Useless parentheses. 24

net/sourceforge/pmd/lang/plsql/dfa/StatementAndBraceFinder.java

Violation Line
Possible God class (WMC=84, ATFD=184, TCC=0.0) 4628
Potential violation of Law of Demeter (method chain calls) 67
Potential violation of Law of Demeter (method chain calls) 67
There is log block not surrounded by if 68
Potential violation of Law of Demeter (method chain calls) 69
Potential violation of Law of Demeter (method chain calls) 93
Potential violation of Law of Demeter (method chain calls) 93
Potential violation of Law of Demeter (method chain calls) 105
Potential violation of Law of Demeter (method chain calls) 105
There is log block not surrounded by if 111
Potential violation of Law of Demeter (object not created locally) 115
There is log block not surrounded by if 116
There is log block not surrounded by if 122
Potential violation of Law of Demeter (object not created locally) 126
There is log block not surrounded by if 127
Potential violation of Law of Demeter (object not created locally) 136
There is log block not surrounded by if 137
Potential violation of Law of Demeter (object not created locally) 146
There is log block not surrounded by if 147
Potential violation of Law of Demeter (object not created locally) 156
There is log block not surrounded by if 157
Potential violation of Law of Demeter (object not created locally) 166
There is log block not surrounded by if 167
Potential violation of Law of Demeter (object not created locally) 178
There is log block not surrounded by if 179
There is log block not surrounded by if 184
There is log block not surrounded by if 186
There is log block not surrounded by if 193
Potential violation of Law of Demeter (object not created locally) 194
Potential violation of Law of Demeter (object not created locally) 198
Potential violation of Law of Demeter (object not created locally) 199
Potential violation of Law of Demeter (object not created locally) 199
There is log block not surrounded by if 200
There is log block not surrounded by if 202
Potential violation of Law of Demeter (object not created locally) 203
Potential violation of Law of Demeter (object not created locally) 204
Potential violation of Law of Demeter (object not created locally) 204
There is log block not surrounded by if 205
Potential violation of Law of Demeter (object not created locally) 207
Potential violation of Law of Demeter (object not created locally) 208
Potential violation of Law of Demeter (object not created locally) 208
There is log block not surrounded by if 209
Potential violation of Law of Demeter (object not created locally) 211
Potential violation of Law of Demeter (object not created locally) 212
Potential violation of Law of Demeter (object not created locally) 212
There is log block not surrounded by if 213
Potential violation of Law of Demeter (method chain calls) 219
Potential violation of Law of Demeter (method chain calls) 219
Potential violation of Law of Demeter (object not created locally) 221
Potential violation of Law of Demeter (object not created locally) 222
Potential violation of Law of Demeter (object not created locally) 222
There is log block not surrounded by if 223
There is log block not surrounded by if 225
Potential violation of Law of Demeter (object not created locally) 227
Potential violation of Law of Demeter (object not created locally) 228
Potential violation of Law of Demeter (object not created locally) 228
There is log block not surrounded by if 229
There is log block not surrounded by if 238
There is log block not surrounded by if 249
There is log block not surrounded by if 251
Potential violation of Law of Demeter (object not created locally) 259
Potential violation of Law of Demeter (object not created locally) 260
Potential violation of Law of Demeter (object not created locally) 260
There is log block not surrounded by if 261
There is log block not surrounded by if 272
There is log block not surrounded by if 274
Potential violation of Law of Demeter (method chain calls) 289
There is log block not surrounded by if 289
Potential violation of Law of Demeter (method chain calls) 289
There is log block not surrounded by if 291
Potential violation of Law of Demeter (object not created locally) 298
Potential violation of Law of Demeter (object not created locally) 301
Potential violation of Law of Demeter (object not created locally) 301
There is log block not surrounded by if 302
Potential violation of Law of Demeter (object not created locally) 306
Potential violation of Law of Demeter (object not created locally) 308
Potential violation of Law of Demeter (object not created locally) 308
Potential violation of Law of Demeter (object not created locally) 309
There is log block not surrounded by if 310
Potential violation of Law of Demeter (method chain calls) 318
Potential violation of Law of Demeter (object not created locally) 319
There is log block not surrounded by if 319
Potential violation of Law of Demeter (object not created locally) 336
There is log block not surrounded by if 337
Potential violation of Law of Demeter (object not created locally) 337
Potential violation of Law of Demeter (object not created locally) 338
Potential violation of Law of Demeter (object not created locally) 338
Potential violation of Law of Demeter (object not created locally) 343
Potential violation of Law of Demeter (object not created locally) 343
There is log block not surrounded by if 344
Potential violation of Law of Demeter (object not created locally) 348
Potential violation of Law of Demeter (object not created locally) 349
There is log block not surrounded by if 349
Potential violation of Law of Demeter (object not created locally) 350
Potential violation of Law of Demeter (object not created locally) 350
Potential violation of Law of Demeter (object not created locally) 355
Potential violation of Law of Demeter (object not created locally) 355
There is log block not surrounded by if 356
Potential violation of Law of Demeter (object not created locally) 359
Potential violation of Law of Demeter (object not created locally) 359
There is log block not surrounded by if 360
Potential violation of Law of Demeter (method chain calls) 362365
There is log block not surrounded by if 362
Potential violation of Law of Demeter (method chain calls) 362365
Potential violation of Law of Demeter (method chain calls) 362365
Potential violation of Law of Demeter (method chain calls) 363
Potential violation of Law of Demeter (method chain calls) 364
Potential violation of Law of Demeter (method chain calls) 364
Potential violation of Law of Demeter (object not created locally) 376
Potential violation of Law of Demeter (object not created locally) 376
There is log block not surrounded by if 377
Potential violation of Law of Demeter (object not created locally) 399
Potential violation of Law of Demeter (object not created locally) 400
Potential violation of Law of Demeter (object not created locally) 400
There is log block not surrounded by if 401
Potential violation of Law of Demeter (object not created locally) 406
Potential violation of Law of Demeter (object not created locally) 406
There is log block not surrounded by if 407
Potential violation of Law of Demeter (object not created locally) 420
Potential violation of Law of Demeter (object not created locally) 420
There is log block not surrounded by if 421
Potential violation of Law of Demeter (object not created locally) 426
Potential violation of Law of Demeter (object not created locally) 426
There is log block not surrounded by if 427
Potential violation of Law of Demeter (object not created locally) 451
Potential violation of Law of Demeter (object not created locally) 454
Potential violation of Law of Demeter (object not created locally) 454
There is log block not surrounded by if 455
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 459
Potential violation of Law of Demeter (object not created locally) 459
Potential violation of Law of Demeter (object not created locally) 462
Potential violation of Law of Demeter (object not created locally) 462
Use equals() to compare object references. 470
Potential violation of Law of Demeter (object not created locally) 472
Potential violation of Law of Demeter (object not created locally) 472
There is log block not surrounded by if 473
Potential violation of Law of Demeter (object not created locally) 477
Potential violation of Law of Demeter (object not created locally) 477
There is log block not surrounded by if 478
Potential violation of Law of Demeter (object not created locally) 486
Potential violation of Law of Demeter (object not created locally) 486
There is log block not surrounded by if 487
Potential violation of Law of Demeter (object not created locally) 500
Potential violation of Law of Demeter (object not created locally) 500
There is log block not surrounded by if 501
Potential violation of Law of Demeter (object not created locally) 507
Potential violation of Law of Demeter (object not created locally) 507
There is log block not surrounded by if 508
Potential violation of Law of Demeter (object not created locally) 521
Potential violation of Law of Demeter (object not created locally) 521
There is log block not surrounded by if 522
Potential violation of Law of Demeter (object not created locally) 541
Potential violation of Law of Demeter (object not created locally) 542
Potential violation of Law of Demeter (object not created locally) 542
There is log block not surrounded by if 543
Potential violation of Law of Demeter (object not created locally) 559
Potential violation of Law of Demeter (object not created locally) 560
Potential violation of Law of Demeter (object not created locally) 560
There is log block not surrounded by if 561
Potential violation of Law of Demeter (object not created locally) 577
Potential violation of Law of Demeter (object not created locally) 578
Potential violation of Law of Demeter (object not created locally) 578
There is log block not surrounded by if 579
Potential violation of Law of Demeter (object not created locally) 588
Potential violation of Law of Demeter (object not created locally) 589
Potential violation of Law of Demeter (object not created locally) 589
There is log block not surrounded by if 590
Potential violation of Law of Demeter (object not created locally) 599
Potential violation of Law of Demeter (object not created locally) 600
Potential violation of Law of Demeter (object not created locally) 600
There is log block not surrounded by if 601
Avoid unused private methods such as 'addForExpressionNode(Node,Structure)'. 609
Potential violation of Law of Demeter (object not created locally) 613
Potential violation of Law of Demeter (object not created locally) 614

net/sourceforge/pmd/lang/plsql/dfa/VariableAccessVisitor.java

Violation Line
Avoid unused private methods such as 'computeNow(Node)'. 72
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (method chain calls) 94
Potential violation of Law of Demeter (object not created locally) 94
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (method chain calls) 97
Potential violation of Law of Demeter (method chain calls) 97
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (method chain calls) 115
Potential violation of Law of Demeter (method chain calls) 116
Potential violation of Law of Demeter (method chain calls) 120
Potential violation of Law of Demeter (method chain calls) 120
Potential violation of Law of Demeter (object not created locally) 120
Potential violation of Law of Demeter (object not created locally) 120
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 122
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 131132
Potential violation of Law of Demeter (object not created locally) 131
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 134135
Potential violation of Law of Demeter (object not created locally) 134
Potential violation of Law of Demeter (object not created locally) 149
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (method chain calls) 153
Potential violation of Law of Demeter (object not created locally) 158

net/sourceforge/pmd/lang/plsql/rule/AbstractPLSQLRule.java

Violation Line
Possible God class (WMC=149, ATFD=16, TCC=0.06666666666666667) 4791
Avoid assignments in operands 54
Potential violation of Law of Demeter (object not created locally) 55
Avoid assignments in operands 58
Potential violation of Law of Demeter (object not created locally) 59
Avoid assignments in operands 62
Potential violation of Law of Demeter (object not created locally) 63
Avoid assignments in operands 66
Potential violation of Law of Demeter (object not created locally) 67
Avoid assignments in operands 70
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (method chain calls) 78

net/sourceforge/pmd/lang/plsql/rule/PLSQLRuleChainVisitor.java

Violation Line
There is log block not surrounded by if 43
There is log block not surrounded by if 44
There is log block not surrounded by if 45
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 46
There is log block not surrounded by if 46
There is log block not surrounded by if 47
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 51

net/sourceforge/pmd/lang/plsql/rule/codesize/AbstractNcssCountRule.java

Violation Line
There is log block not surrounded by if 47
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 57
Potential violation of Law of Demeter (method chain calls) 6063
Potential violation of Law of Demeter (method chain calls) 60
There is log block not surrounded by if 60
Potential violation of Law of Demeter (method chain calls) 66
There is log block not surrounded by if 66
Potential violation of Law of Demeter (method chain calls) 6668
There is log block not surrounded by if 76
Potential violation of Law of Demeter (method chain calls) 96
Potential violation of Law of Demeter (object not created locally) 97
There is log block not surrounded by if 201

net/sourceforge/pmd/lang/plsql/rule/codesize/CyclomaticComplexityRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 108
Potential violation of Law of Demeter (method chain calls) 121
Potential violation of Law of Demeter (method chain calls) 130
Potential violation of Law of Demeter (method chain calls) 143
Potential violation of Law of Demeter (method chain calls) 156
Potential violation of Law of Demeter (object not created locally) 168
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (method chain calls) 193
There is log block not surrounded by if 227
Potential violation of Law of Demeter (object not created locally) 227
Potential violation of Law of Demeter (object not created locally) 232
Potential violation of Law of Demeter (object not created locally) 237
Potential violation of Law of Demeter (object not created locally) 252
There is log block not surrounded by if 252
Potential violation of Law of Demeter (object not created locally) 257
Potential violation of Law of Demeter (object not created locally) 262
There is log block not surrounded by if 276
Potential violation of Law of Demeter (object not created locally) 276
Potential violation of Law of Demeter (object not created locally) 300
Potential violation of Law of Demeter (object not created locally) 318
There is log block not surrounded by if 332
Potential violation of Law of Demeter (object not created locally) 332
Potential violation of Law of Demeter (object not created locally) 349
Potential violation of Law of Demeter (object not created locally) 367
There is log block not surrounded by if 382
Potential violation of Law of Demeter (object not created locally) 382
Potential violation of Law of Demeter (object not created locally) 390
Potential violation of Law of Demeter (object not created locally) 407

net/sourceforge/pmd/lang/plsql/rule/codesize/NPathComplexityRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 57
Avoid unused private methods such as 'complexitySumOf(PLSQLNode,int,Object)'. 64
Potential violation of Law of Demeter (object not created locally) 72
There is log block not surrounded by if 90
There is log block not surrounded by if 106
There is log block not surrounded by if 122
There is log block not surrounded by if 138
There is log block not surrounded by if 154
Potential violation of Law of Demeter (method chain calls) 179
Potential violation of Law of Demeter (method chain calls) 180
Potential violation of Law of Demeter (method chain calls) 181
There is log block not surrounded by if 186
Useless parentheses. 214
Potential violation of Law of Demeter (method chain calls) 230
There is log block not surrounded by if 235
Useless parentheses. 250
Potential violation of Law of Demeter (method chain calls) 264
There is log block not surrounded by if 269
Potential violation of Law of Demeter (method chain calls) 286
Useless parentheses. 288
Potential violation of Law of Demeter (method chain calls) 299
Useless parentheses. 301
Potential violation of Law of Demeter (method chain calls) 312
Useless parentheses. 314
Potential violation of Law of Demeter (object not created locally) 356
Useless parentheses. 361
Potential violation of Law of Demeter (object not created locally) 378
Useless parentheses. 383
Potential violation of Law of Demeter (method chain calls) 432

net/sourceforge/pmd/lang/plsql/rule/codesize/NcssMethodCountRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 31

net/sourceforge/pmd/lang/plsql/rule/codesize/NcssObjectCountRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 57
There is log block not surrounded by if 73
There is log block not surrounded by if 88

net/sourceforge/pmd/lang/plsql/rule/codesize/TooManyFieldsRule.java

Violation Line
Avoid unused local variables such as 'fd'. 54
Avoid unused local variables such as 'fd'. 74
Avoid unused private methods such as 'bumpCounterFor(PLSQLNode)'. 87

net/sourceforge/pmd/lang/plsql/rule/design/ExcessiveLengthRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 3336
Potential violation of Law of Demeter (method chain calls) 3336
There is log block not surrounded by if 33
Potential violation of Law of Demeter (method chain calls) 3336
Potential violation of Law of Demeter (method chain calls) 3336
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (method chain calls) 3842
Potential violation of Law of Demeter (method chain calls) 38
Potential violation of Law of Demeter (method chain calls) 3842
Potential violation of Law of Demeter (method chain calls) 3842
There is log block not surrounded by if 38
Potential violation of Law of Demeter (method chain calls) 3842
There is log block not surrounded by if 48
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (method chain calls) 48

net/sourceforge/pmd/lang/plsql/rule/design/ExcessiveNodeCountRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 37

net/sourceforge/pmd/lang/plsql/symboltable/Applier.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 1017

net/sourceforge/pmd/lang/plsql/symboltable/ClassScope.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (method chain calls) 68
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (method chain calls) 81
Potential violation of Law of Demeter (method chain calls) 111
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 127
Potential violation of Law of Demeter (object not created locally) 128
Potential violation of Law of Demeter (method chain calls) 128
Potential violation of Law of Demeter (method chain calls) 128
Potential violation of Law of Demeter (method chain calls) 130
Potential violation of Law of Demeter (method chain calls) 130
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 134
Potential violation of Law of Demeter (method chain calls) 135
Useless parentheses. 137
There is log block not surrounded by if 153
Potential violation of Law of Demeter (method chain calls) 160
Potential violation of Law of Demeter (method chain calls) 164
Potential violation of Law of Demeter (method chain calls) 164
Potential violation of Law of Demeter (method chain calls) 164
Potential violation of Law of Demeter (method chain calls) 164
Potential violation of Law of Demeter (object not created locally) 173
Potential violation of Law of Demeter (object not created locally) 174
Potential violation of Law of Demeter (object not created locally) 176
Potential violation of Law of Demeter (object not created locally) 177
Potential violation of Law of Demeter (method chain calls) 179
Potential violation of Law of Demeter (object not created locally) 179
Potential violation of Law of Demeter (method chain calls) 180
Potential violation of Law of Demeter (object not created locally) 184
Potential violation of Law of Demeter (object not created locally) 185

net/sourceforge/pmd/lang/plsql/symboltable/LocalScope.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 21
Potential violation of Law of Demeter (method chain calls) 22
Potential violation of Law of Demeter (object not created locally) 23
Potential violation of Law of Demeter (object not created locally) 24
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 38
Potential violation of Law of Demeter (method chain calls) 38
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 49
Potential violation of Law of Demeter (method chain calls) 54

net/sourceforge/pmd/lang/plsql/symboltable/MethodNameDeclaration.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (method chain calls) 43
Avoid unused local variables such as 'p'. 44
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (method chain calls) 61
Potential violation of Law of Demeter (object not created locally) 62
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (method chain calls) 63
Potential violation of Law of Demeter (method chain calls) 85
Potential violation of Law of Demeter (static property access) 85
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (method chain calls) 90
Potential violation of Law of Demeter (method chain calls) 90
Potential violation of Law of Demeter (static property access) 98
Potential violation of Law of Demeter (method chain calls) 99
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 101
Potential violation of Law of Demeter (object not created locally) 108
Potential violation of Law of Demeter (method chain calls) 108
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (object not created locally) 109
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (object not created locally) 127
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (method chain calls) 147150
There is log block not surrounded by if 147
Potential violation of Law of Demeter (method chain calls) 148

net/sourceforge/pmd/lang/plsql/symboltable/MethodScope.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (object not created locally) 38
Potential violation of Law of Demeter (method chain calls) 40
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (method chain calls) 48
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (method chain calls) 68

net/sourceforge/pmd/lang/plsql/symboltable/NameFinder.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 50
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 60
Avoid unused private methods such as 'add(PLSQLNameOccurrence)'. 69
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 71
Potential violation of Law of Demeter (object not created locally) 73

net/sourceforge/pmd/lang/plsql/symboltable/OccurrenceFinder.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 24
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (object not created locally) 30
Potential violation of Law of Demeter (object not created locally) 39
There is log block not surrounded by if 42
Potential violation of Law of Demeter (method chain calls) 4245
Potential violation of Law of Demeter (object not created locally) 43
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (object not created locally) 44
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (object not created locally) 49

net/sourceforge/pmd/lang/plsql/symboltable/PLSQLNameOccurrence.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 63
Potential violation of Law of Demeter (method chain calls) 63
Potential violation of Law of Demeter (object not created locally) 64
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (method chain calls) 77
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (method chain calls) 78
Potential violation of Law of Demeter (method chain calls) 79
Potential violation of Law of Demeter (method chain calls) 79
Potential violation of Law of Demeter (method chain calls) 79
Potential violation of Law of Demeter (object not created locally) 90
Avoid unused private methods such as 'thirdChildHasDottedName(Node)'. 132
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 134
Potential violation of Law of Demeter (method chain calls) 134
Potential violation of Law of Demeter (object not created locally) 223
Potential violation of Law of Demeter (method chain calls) 223
Potential violation of Law of Demeter (method chain calls) 230

net/sourceforge/pmd/lang/plsql/symboltable/ScopeAndDeclarationFinder.java

Violation Line
Avoid unused private methods such as 'createLocalScope(PLSQLNode)'. 74
Avoid unused private methods such as 'createMethodScope(PLSQLNode)'. 86
Avoid unused private methods such as 'createClassScope(PLSQLNode)'. 98
Potential violation of Law of Demeter (method chain calls) 118
Potential violation of Law of Demeter (method chain calls) 136
Potential violation of Law of Demeter (method chain calls) 145
Potential violation of Law of Demeter (method chain calls) 155
Potential violation of Law of Demeter (method chain calls) 164
There is log block not surrounded by if 289
There is log block not surrounded by if 292
Potential violation of Law of Demeter (object not created locally) 298
Potential violation of Law of Demeter (object not created locally) 299
Potential violation of Law of Demeter (object not created locally) 301
There is log block not surrounded by if 302
Potential violation of Law of Demeter (object not created locally) 305
There is log block not surrounded by if 327
There is log block not surrounded by if 330
Potential violation of Law of Demeter (object not created locally) 336
Potential violation of Law of Demeter (object not created locally) 337
Potential violation of Law of Demeter (object not created locally) 339
There is log block not surrounded by if 340
Potential violation of Law of Demeter (object not created locally) 343
Potential violation of Law of Demeter (method chain calls) 371
Avoid unused private methods such as 'cont(PLSQLNode)'. 383

net/sourceforge/pmd/lang/plsql/symboltable/Search.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 26

net/sourceforge/pmd/lang/plsql/symboltable/SourceFileScope.java

Violation Line
No need to import a type that lives in the same package 7
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (method chain calls) 47

net/sourceforge/pmd/lang/plsql/symboltable/VariableNameDeclaration.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 22
Potential violation of Law of Demeter (method chain calls) 2629
There is log block not surrounded by if 26
Potential violation of Law of Demeter (method chain calls) 47
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (method chain calls) 47
There is log block not surrounded by if 52
There is log block not surrounded by if 53
Potential violation of Law of Demeter (object not created locally) 53
There is log block not surrounded by if 54
There is log block not surrounded by if 55
Potential violation of Law of Demeter (method chain calls) 55
There is log block not surrounded by if 68
There is log block not surrounded by if 71
Potential violation of Law of Demeter (method chain calls) 7173

net/sourceforge/pmd/lang/rule/AbstractDelegateRule.java

Violation Line
Possible God class (WMC=49, ATFD=34, TCC=8.865248226950354E-4) 4228

net/sourceforge/pmd/lang/rule/AbstractRule.java

Violation Line
Possible God class (WMC=58, ATFD=25, TCC=0.05204872646733112) 4447
Potential violation of Law of Demeter (method chain calls) 310
Potential violation of Law of Demeter (method chain calls) 324
Potential violation of Law of Demeter (method chain calls) 327
Potential violation of Law of Demeter (method chain calls) 327
Potential violation of Law of Demeter (method chain calls) 327
Potential violation of Law of Demeter (method chain calls) 327
Potential violation of Law of Demeter (method chain calls) 358359
Potential violation of Law of Demeter (method chain calls) 358359
Potential violation of Law of Demeter (method chain calls) 358359
Potential violation of Law of Demeter (object not created locally) 358359
Potential violation of Law of Demeter (method chain calls) 358359
Potential violation of Law of Demeter (method chain calls) 376377
Potential violation of Law of Demeter (method chain calls) 376377
Potential violation of Law of Demeter (method chain calls) 376377
Potential violation of Law of Demeter (method chain calls) 376377
Potential violation of Law of Demeter (object not created locally) 376377
Potential violation of Law of Demeter (method chain calls) 385386
Potential violation of Law of Demeter (object not created locally) 385386
Potential violation of Law of Demeter (method chain calls) 385386
Potential violation of Law of Demeter (method chain calls) 385386
Potential violation of Law of Demeter (method chain calls) 394396
Potential violation of Law of Demeter (object not created locally) 394396
Potential violation of Law of Demeter (method chain calls) 394396
Potential violation of Law of Demeter (method chain calls) 394396
Potential violation of Law of Demeter (method chain calls) 404405
Potential violation of Law of Demeter (method chain calls) 404405
Potential violation of Law of Demeter (object not created locally) 404405
Potential violation of Law of Demeter (method chain calls) 404405
Potential violation of Law of Demeter (object not created locally) 431
Potential violation of Law of Demeter (method chain calls) 431
Potential violation of Law of Demeter (object not created locally) 431
Potential violation of Law of Demeter (method chain calls) 431
Potential violation of Law of Demeter (method chain calls) 432
Potential violation of Law of Demeter (object not created locally) 432
Potential violation of Law of Demeter (method chain calls) 444
Potential violation of Law of Demeter (method chain calls) 444
Potential violation of Law of Demeter (method chain calls) 444
Potential violation of Law of Demeter (object not created locally) 445
Potential violation of Law of Demeter (method chain calls) 445

net/sourceforge/pmd/lang/rule/AbstractRuleChainVisitor.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (method chain calls) 83
Potential violation of Law of Demeter (object not created locally) 87
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (method chain calls) 131
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 144

net/sourceforge/pmd/lang/rule/AbstractRuleViolationFactory.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (method chain calls) 4143

net/sourceforge/pmd/lang/rule/ParametricRuleViolation.java

Violation Line
Avoid using if statements without curly braces 74
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 87

net/sourceforge/pmd/lang/rule/RuleReference.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 61
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (method chain calls) 116
Potential violation of Law of Demeter (method chain calls) 129
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (method chain calls) 164
Potential violation of Law of Demeter (method chain calls) 182
Potential violation of Law of Demeter (method chain calls) 227
Useless parentheses. 253
Useless parentheses. 258
Useless parentheses. 271
Potential violation of Law of Demeter (object not created locally) 282
Potential violation of Law of Demeter (method chain calls) 292
Potential violation of Law of Demeter (method chain calls) 302
Avoid using if statements without curly braces 304

net/sourceforge/pmd/lang/rule/XPathRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 104

net/sourceforge/pmd/lang/rule/properties/AbstractDelimitedProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 40

net/sourceforge/pmd/lang/rule/properties/AbstractEnumeratedProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 105

net/sourceforge/pmd/lang/rule/properties/AbstractNumericProperty.java

Violation Line
Variables that are final and static should be all capitals, 'numberFieldTypesByKey' is not all capitals. 26
Potential violation of Law of Demeter (method chain calls) 65
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 82
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 83
Potential violation of Law of Demeter (method chain calls) 97

net/sourceforge/pmd/lang/rule/properties/AbstractPackagedProperty.java

Violation Line
Variables that are final and static should be all capitals, 'packagedFieldTypesByKey' is not all capitals. 29
Avoid unused private methods such as 'checkValidPackages(Object,String)'. 90
Potential violation of Law of Demeter (method chain calls) 92
Potential violation of Law of Demeter (method chain calls) 103
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (method chain calls) 110
Potential violation of Law of Demeter (method chain calls) 110
Potential violation of Law of Demeter (method chain calls) 110
Potential violation of Law of Demeter (method chain calls) 111
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (object not created locally) 116
Potential violation of Law of Demeter (object not created locally) 146
Potential violation of Law of Demeter (method chain calls) 146

net/sourceforge/pmd/lang/rule/properties/AbstractProperty.java

Violation Line
Possible God class (WMC=65, ATFD=6, TCC=0.0291005291005291) 4392
Potential violation of Law of Demeter (method chain calls) 180
Potential violation of Law of Demeter (method chain calls) 184
Potential violation of Law of Demeter (method chain calls) 187
Potential violation of Law of Demeter (method chain calls) 258
Potential violation of Law of Demeter (method chain calls) 276
Potential violation of Law of Demeter (method chain calls) 277
Potential violation of Law of Demeter (method chain calls) 277
Potential violation of Law of Demeter (object not created locally) 277
Potential violation of Law of Demeter (method chain calls) 283
Potential violation of Law of Demeter (method chain calls) 327
Potential violation of Law of Demeter (method chain calls) 327

net/sourceforge/pmd/lang/rule/properties/AbstractScalarProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 62

net/sourceforge/pmd/lang/rule/properties/CharacterMultiProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (method chain calls) 97
Potential violation of Law of Demeter (method chain calls) 97
Potential violation of Law of Demeter (method chain calls) 97
Potential violation of Law of Demeter (method chain calls) 97

net/sourceforge/pmd/lang/rule/properties/CharacterProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25

net/sourceforge/pmd/lang/rule/properties/DoubleMultiProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 27
Potential violation of Law of Demeter (method chain calls) 28

net/sourceforge/pmd/lang/rule/properties/DoubleProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 27

net/sourceforge/pmd/lang/rule/properties/EnumeratedMultiProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 79
Potential violation of Law of Demeter (method chain calls) 80
Potential violation of Law of Demeter (method chain calls) 98
Potential violation of Law of Demeter (method chain calls) 115
Potential violation of Law of Demeter (method chain calls) 119

net/sourceforge/pmd/lang/rule/properties/FloatMultiProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 27

net/sourceforge/pmd/lang/rule/properties/FloatProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (method chain calls) 26

net/sourceforge/pmd/lang/rule/properties/IntegerMultiProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 27

net/sourceforge/pmd/lang/rule/properties/IntegerProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (method chain calls) 26

net/sourceforge/pmd/lang/rule/properties/LongMultiProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 26
Potential violation of Law of Demeter (method chain calls) 27

net/sourceforge/pmd/lang/rule/properties/LongProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 25
Potential violation of Law of Demeter (method chain calls) 26

net/sourceforge/pmd/lang/rule/properties/MethodMultiProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 88
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (method chain calls) 113

net/sourceforge/pmd/lang/rule/properties/MethodProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 109
Potential violation of Law of Demeter (method chain calls) 112
Potential violation of Law of Demeter (method chain calls) 128
Potential violation of Law of Demeter (method chain calls) 181
Potential violation of Law of Demeter (method chain calls) 192
Potential violation of Law of Demeter (method chain calls) 205
Potential violation of Law of Demeter (method chain calls) 281
Potential violation of Law of Demeter (object not created locally) 281
Potential violation of Law of Demeter (object not created locally) 281

net/sourceforge/pmd/lang/rule/properties/PropertyDescriptorFactory.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 9115
Potential violation of Law of Demeter (object not created locally) 24
Potential violation of Law of Demeter (method chain calls) 24
Potential violation of Law of Demeter (object not created locally) 25
Potential violation of Law of Demeter (object not created locally) 28

net/sourceforge/pmd/lang/rule/properties/PropertyDescriptorWrapper.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 101

net/sourceforge/pmd/lang/rule/properties/StringMultiProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (method chain calls) 73

net/sourceforge/pmd/lang/rule/properties/TypeMultiProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 84
Potential violation of Law of Demeter (method chain calls) 95
Potential violation of Law of Demeter (method chain calls) 120

net/sourceforge/pmd/lang/rule/properties/TypeProperty.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 86
Potential violation of Law of Demeter (method chain calls) 111

net/sourceforge/pmd/lang/rule/properties/factories/BasicPropertyDescriptorFactory.java

Violation Line
Too many static imports may lead to messy code 4227
Variables that are final and static should be all capitals, 'coreFieldTypesByKey' is not all capitals. 36
Potential violation of Law of Demeter (method chain calls) 191
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (method chain calls) 216
Potential violation of Law of Demeter (method chain calls) 216

net/sourceforge/pmd/lang/rule/properties/factories/PropertyDescriptorUtil.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3793
Variables that are final and static should be all capitals, 'ComparatorByOrder' is not all capitals. 39
Variables that are final and static should be all capitals, 'descriptorFactoriesByType' is not all capitals. 45
Potential violation of Law of Demeter (method chain calls) 86

net/sourceforge/pmd/lang/rule/stat/StatisticalRuleHelper.java

Violation Line
Useless parentheses. 58
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 83
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (method chain calls) 128
Avoid unused private methods such as 'makeViolations(RuleContext,Set)'. 133
Potential violation of Law of Demeter (method chain calls) 135
Potential violation of Law of Demeter (method chain calls) 135

net/sourceforge/pmd/lang/rule/xpath/JaxenXPathRuleQuery.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 6970
Potential violation of Law of Demeter (method chain calls) 6970
Potential violation of Law of Demeter (method chain calls) 6970
Potential violation of Law of Demeter (method chain calls) 6970
Potential violation of Law of Demeter (method chain calls) 6970
Potential violation of Law of Demeter (method chain calls) 6970
Potential violation of Law of Demeter (object not created locally) 77
There is log block not surrounded by if 104
Potential violation of Law of Demeter (object not created locally) 123
Potential violation of Law of Demeter (object not created locally) 123
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 135
Potential violation of Law of Demeter (object not created locally) 136
Potential violation of Law of Demeter (object not created locally) 137
Potential violation of Law of Demeter (object not created locally) 138
Potential violation of Law of Demeter (method chain calls) 140
Potential violation of Law of Demeter (method chain calls) 142
Potential violation of Law of Demeter (object not created locally) 147
Potential violation of Law of Demeter (object not created locally) 149
Potential violation of Law of Demeter (method chain calls) 151
Potential violation of Law of Demeter (object not created locally) 151
Potential violation of Law of Demeter (object not created locally) 152
Potential violation of Law of Demeter (object not created locally) 154
Potential violation of Law of Demeter (object not created locally) 157
Potential violation of Law of Demeter (object not created locally) 158
Potential violation of Law of Demeter (object not created locally) 158
Potential violation of Law of Demeter (object not created locally) 161
Potential violation of Law of Demeter (method chain calls) 162
Potential violation of Law of Demeter (method chain calls) 162
Potential violation of Law of Demeter (object not created locally) 170
Potential violation of Law of Demeter (object not created locally) 170
Potential violation of Law of Demeter (object not created locally) 171
Potential violation of Law of Demeter (object not created locally) 171
Avoid unused private methods such as 'indexXPath(XPath,String)'. 202
Potential violation of Law of Demeter (method chain calls) 217
Potential violation of Law of Demeter (object not created locally) 220

net/sourceforge/pmd/lang/rule/xpath/SaxonXPathRuleQuery.java

Violation Line
Potential violation of Law of Demeter (static property access) 66
Potential violation of Law of Demeter (method chain calls) 73
Potential violation of Law of Demeter (method chain calls) 75
Potential violation of Law of Demeter (method chain calls) 75
Potential violation of Law of Demeter (method chain calls) 7879
Potential violation of Law of Demeter (method chain calls) 90
Potential violation of Law of Demeter (method chain calls) 90
Potential violation of Law of Demeter (object not created locally) 152
Potential violation of Law of Demeter (method chain calls) 156
Potential violation of Law of Demeter (object not created locally) 167
Potential violation of Law of Demeter (object not created locally) 169
Potential violation of Law of Demeter (object not created locally) 177
Potential violation of Law of Demeter (method chain calls) 177

net/sourceforge/pmd/lang/symboltable/AbstractScope.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 39
Potential violation of Law of Demeter (method chain calls) 39
Potential violation of Law of Demeter (method chain calls) 51
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (method chain calls) 82
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (method chain calls) 84

net/sourceforge/pmd/lang/vm/VmHandler.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 49

net/sourceforge/pmd/lang/vm/ast/ASTMethod.java

Violation Line
This final field could be made static 42
Potential violation of Law of Demeter (method chain calls) 104
Potential violation of Law of Demeter (method chain calls) 104
Potential violation of Law of Demeter (method chain calls) 104
Potential violation of Law of Demeter (object not created locally) 127

net/sourceforge/pmd/lang/vm/ast/ASTReference.java

Violation Line
Avoid using if statements without curly braces 9798
Avoid using if statements without curly braces 109110

net/sourceforge/pmd/lang/vm/ast/ASTStringLiteral.java

Violation Line
This final field could be made static 32
Avoid using if statements without curly braces 6263
Avoid using if statements without curly braces 6566
Avoid using if statements without curly braces 7980
Potential violation of Law of Demeter (object not created locally) 87
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 100

net/sourceforge/pmd/lang/vm/ast/AbstractVmNode.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 136
Potential violation of Law of Demeter (method chain calls) 136
Useless parentheses. 165
Potential violation of Law of Demeter (object not created locally) 172
Use equals() to compare object references. 186
Use equals() to compare object references. 192
Potential violation of Law of Demeter (object not created locally) 194
Potential violation of Law of Demeter (object not created locally) 196

net/sourceforge/pmd/lang/vm/ast/MacroParseException.java

Violation Line
Useless parentheses. 69
Useless parentheses. 69
Useless parentheses. 87
Useless parentheses. 87

net/sourceforge/pmd/lang/vm/ast/NodeUtils.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 32132
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'tmp_t' is not final. 45
Use one line for each declaration, it enhances code readability. 54
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (object not created locally) 55
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (static property access) 120
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (method chain calls) 126
Potential violation of Law of Demeter (object not created locally) 126

net/sourceforge/pmd/lang/vm/ast/TemplateParseException.java

Violation Line
Useless parentheses. 112
Useless parentheses. 112
Useless parentheses. 126
Useless parentheses. 126
Potential violation of Law of Demeter (object not created locally) 148
Avoid appending characters as strings in StringBuffer.append. 161
Potential violation of Law of Demeter (object not created locally) 161
Potential violation of Law of Demeter (object not created locally) 165
Potential violation of Law of Demeter (object not created locally) 168
Avoid appending characters as strings in StringBuffer.append. 176
Potential violation of Law of Demeter (object not created locally) 176
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 184
Potential violation of Law of Demeter (object not created locally) 188
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (object not created locally) 195
Potential violation of Law of Demeter (object not created locally) 199
Potential violation of Law of Demeter (object not created locally) 199
Potential violation of Law of Demeter (object not created locally) 200

net/sourceforge/pmd/lang/vm/ast/TokenMgrError.java

Violation Line
Exceptions should not extend java.lang.Error 5
A switch statement does not contain a break 4783
Potential violation of Law of Demeter (object not created locally) 51
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (object not created locally) 57
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (object not created locally) 72
Avoid assignments in operands 75
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 85
Useless parentheses. 97103
Overriding method merely calls super 115117

net/sourceforge/pmd/lang/vm/directive/DirectiveConstants.java

Violation Line
An Interface should be used only to model a behaviour; consider converting this to a class. 2835
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 34

net/sourceforge/pmd/lang/vm/directive/InputBase.java

Violation Line
No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 2932

net/sourceforge/pmd/lang/vm/directive/VelocimacroProxy.java

Violation Line
Perhaps 'argArray' could be replaced by a local variable. 33
Perhaps 'literalArgArray' could be replaced by a local variable. 34

net/sourceforge/pmd/lang/vm/rule/VmRuleChainVisitor.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 42
Potential violation of Law of Demeter (method chain calls) 45

net/sourceforge/pmd/lang/vm/rule/basic/AvoidDeeplyNestedIfStmtsRule.java

Violation Line
Avoid unused private methods such as 'handleIf(AbstractVmNode,Object)'. 45

net/sourceforge/pmd/lang/vm/rule/basic/AvoidReassigningParametersRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 23
Potential violation of Law of Demeter (method chain calls) 23
Potential violation of Law of Demeter (object not created locally) 28
Potential violation of Law of Demeter (method chain calls) 28
Potential violation of Law of Demeter (method chain calls) 28
Potential violation of Law of Demeter (method chain calls) 29
Potential violation of Law of Demeter (object not created locally) 29
Potential violation of Law of Demeter (method chain calls) 29

net/sourceforge/pmd/lang/vm/rule/basic/CollapsibleIfStatementsRule.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 28
Potential violation of Law of Demeter (method chain calls) 28
Avoid unused private methods such as 'handleIfElseIf(AbstractVmNode,Object)'. 34
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (method chain calls) 43

net/sourceforge/pmd/lang/vm/rule/basic/EmptyForeachStmtRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 19
Potential violation of Law of Demeter (object not created locally) 22
Potential violation of Law of Demeter (object not created locally) 22
Potential violation of Law of Demeter (method chain calls) 23
Potential violation of Law of Demeter (method chain calls) 23
Potential violation of Law of Demeter (object not created locally) 23

net/sourceforge/pmd/lang/vm/rule/basic/EmptyIfStmtRule.java

Violation Line
Avoid unused private methods such as 'handleIf(AbstractVmNode,Object)'. 35
Potential violation of Law of Demeter (object not created locally) 37
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (method chain calls) 41
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (method chain calls) 41

net/sourceforge/pmd/lang/vm/rule/basic/NoInlineJavaScriptRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 17
Potential violation of Law of Demeter (object not created locally) 18
Potential violation of Law of Demeter (object not created locally) 19
Potential violation of Law of Demeter (method chain calls) 20
Potential violation of Law of Demeter (object not created locally) 20

net/sourceforge/pmd/lang/vm/rule/basic/UnusedMacroParameterRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 28
Potential violation of Law of Demeter (object not created locally) 31

net/sourceforge/pmd/lang/vm/util/DirectiveMapper.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 2252

net/sourceforge/pmd/lang/vm/util/LogUtil.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3365

net/sourceforge/pmd/lang/vm/util/VelocityCharStream.java

Violation Line
Variables that are final and static should be all capitals, 'staticFlag' is not all capitals. 43
Unnecessary final modifier in final class 65114
Useless parentheses. 88
Potential violation of Law of Demeter (object not created locally) 106
Unnecessary final modifier in final class 116175
Avoid assignments in operands 153154
Unnecessary final modifier in final class 180187
Unnecessary final modifier in final class 189229
Useless parentheses. 221
Useless parentheses. 221
Unnecessary final modifier in final class 234258
Avoid assignments in operands 246
Useless parentheses. 257
This statement may have some unnecessary parentheses 257
Unnecessary final modifier in final class 264267
Unnecessary final modifier in final class 273276
Unnecessary final modifier in final class 281284
Unnecessary final modifier in final class 289292
Unnecessary final modifier in final class 297300
Unnecessary final modifier in final class 305308
Unnecessary final modifier in final class 313319
Avoid assignments in operands 317
Avoid using if statements without curly braces 317318
Unnecessary final modifier in final class 432443
Unnecessary final modifier in final class 448464
Useless parentheses. 458
Use one line for each declaration, it enhances code readability. 495
Use one line for each declaration, it enhances code readability. 496
Avoid assignments in operands 515
Avoid using if...else statements without curly braces 516
Avoid using if...else statements without curly braces 518

net/sourceforge/pmd/lang/xml/XmlParserOptions.java

Violation Line
Avoid using if...else statements without curly braces 90
Avoid using if...else statements without curly braces 92
Potential violation of Law of Demeter (method chain calls) 182

net/sourceforge/pmd/lang/xml/ast/DumpFacade.java

Violation Line
Useless parentheses. 22
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 74

net/sourceforge/pmd/lang/xml/ast/XmlParser.java

Violation Line
Possible God class (WMC=72, ATFD=93, TCC=0.10837438423645321) 4444
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 79
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 103
Potential violation of Law of Demeter (object not created locally) 156
Potential violation of Law of Demeter (object not created locally) 159
Potential violation of Law of Demeter (object not created locally) 161
Potential violation of Law of Demeter (object not created locally) 164
Potential violation of Law of Demeter (object not created locally) 165
Potential violation of Law of Demeter (method chain calls) 177
Potential violation of Law of Demeter (object not created locally) 179
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 181
Potential violation of Law of Demeter (object not created locally) 182
Potential violation of Law of Demeter (object not created locally) 202
Potential violation of Law of Demeter (object not created locally) 203
Potential violation of Law of Demeter (object not created locally) 227
Potential violation of Law of Demeter (object not created locally) 228
Potential violation of Law of Demeter (object not created locally) 229
Potential violation of Law of Demeter (object not created locally) 230
Potential violation of Law of Demeter (method chain calls) 250252
Potential violation of Law of Demeter (object not created locally) 253
Potential violation of Law of Demeter (object not created locally) 254
Potential violation of Law of Demeter (object not created locally) 267
Potential violation of Law of Demeter (object not created locally) 268
Potential violation of Law of Demeter (object not created locally) 269
Potential violation of Law of Demeter (object not created locally) 270
Potential violation of Law of Demeter (object not created locally) 278
Potential violation of Law of Demeter (object not created locally) 279
Potential violation of Law of Demeter (method chain calls) 286
Potential violation of Law of Demeter (object not created locally) 287
Potential violation of Law of Demeter (method chain calls) 298
Do not use the short type 304
Potential violation of Law of Demeter (method chain calls) 329
Potential violation of Law of Demeter (method chain calls) 352
Potential violation of Law of Demeter (method chain calls) 353
Potential violation of Law of Demeter (method chain calls) 355
Potential violation of Law of Demeter (method chain calls) 357
Potential violation of Law of Demeter (method chain calls) 357
Potential violation of Law of Demeter (method chain calls) 357
Potential violation of Law of Demeter (method chain calls) 357
Potential violation of Law of Demeter (method chain calls) 357
Potential violation of Law of Demeter (method chain calls) 357
Potential violation of Law of Demeter (method chain calls) 360
Potential violation of Law of Demeter (object not created locally) 385386
Potential violation of Law of Demeter (object not created locally) 385
Potential violation of Law of Demeter (method chain calls) 397398
Potential violation of Law of Demeter (object not created locally) 404
Potential violation of Law of Demeter (object not created locally) 429

net/sourceforge/pmd/lang/xml/rule/AbstractDomXmlRule.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 82

net/sourceforge/pmd/lang/xml/rule/XmlRuleChainVisitor.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 26
Potential violation of Law of Demeter (object not created locally) 27
Potential violation of Law of Demeter (object not created locally) 28
Potential violation of Law of Demeter (method chain calls) 36

net/sourceforge/pmd/lang/xpath/Initializer.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 1964
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (object not created locally) 37
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (object not created locally) 59

net/sourceforge/pmd/lang/xpath/MatchesFunction.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 31
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 35
Potential violation of Law of Demeter (object not created locally) 36
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 47

net/sourceforge/pmd/lang/xpath/PMDFunctions.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 632

net/sourceforge/pmd/processor/MonoThreadProcessor.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 52
There is log block not surrounded by if 63
Potential violation of Law of Demeter (object not created locally) 74
Avoid unused private methods such as 'addError(Report,String,Exception,String)'. 79

net/sourceforge/pmd/processor/MultiThreadProcessor.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 39
Potential violation of Law of Demeter (object not created locally) 51
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (method chain calls) 71
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 74

net/sourceforge/pmd/processor/PmdRunnable.java

Violation Line
Avoid unused private methods such as 'addErrorAndShutdown(Report,Exception,String)'. 52
Potential violation of Law of Demeter (object not created locally) 62
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (object not created locally) 77
There is log block not surrounded by if 80
Potential violation of Law of Demeter (object not created locally) 115

net/sourceforge/pmd/renderers/AbstractIncrementingRenderer.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 61

net/sourceforge/pmd/renderers/CSVRenderer.java

Violation Line
Variables that are final and static should be all capitals, 'DefaultSeparator' is not all capitals. 32
Variables that are final and static should be all capitals, 'propertyDescriptorsById' is not all capitals. 34
Variables that are final and static should be all capitals, 'AllColumns' is not all capitals. 39
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (method chain calls) 46
Potential violation of Law of Demeter (method chain calls) 47
Avoid using if statements without curly braces 54
Avoid unused private methods such as 'csvWriter()'. 87
Avoid using if statements without curly braces 88
Potential violation of Law of Demeter (method chain calls) 103
Potential violation of Law of Demeter (method chain calls) 113
Potential violation of Law of Demeter (method chain calls) 123

net/sourceforge/pmd/renderers/CSVWriter.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (method chain calls) 32
Potential violation of Law of Demeter (method chain calls) 35
Potential violation of Law of Demeter (method chain calls) 35
Potential violation of Law of Demeter (object not created locally) 51
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (method chain calls) 58
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 61
Avoid using if statements without curly braces 67

net/sourceforge/pmd/renderers/EmacsRenderer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 37
Potential violation of Law of Demeter (object not created locally) 38
Potential violation of Law of Demeter (object not created locally) 39
Potential violation of Law of Demeter (object not created locally) 40

net/sourceforge/pmd/renderers/HTMLRenderer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 7980
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (object not created locally) 112
Potential violation of Law of Demeter (object not created locally) 113
Potential violation of Law of Demeter (object not created locally) 115
Potential violation of Law of Demeter (object not created locally) 118
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (object not created locally) 120122
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 122
Potential violation of Law of Demeter (object not created locally) 123
Potential violation of Law of Demeter (object not created locally) 123
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (object not created locally) 127
Potential violation of Law of Demeter (method chain calls) 127
Potential violation of Law of Demeter (object not created locally) 131
Potential violation of Law of Demeter (object not created locally) 132
Potential violation of Law of Demeter (object not created locally) 133
Avoid using if statements without curly braces 140
Potential violation of Law of Demeter (object not created locally) 150
Potential violation of Law of Demeter (object not created locally) 151
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (object not created locally) 156
Potential violation of Law of Demeter (object not created locally) 157
Potential violation of Law of Demeter (object not created locally) 157
Potential violation of Law of Demeter (object not created locally) 158
Potential violation of Law of Demeter (object not created locally) 158
Potential violation of Law of Demeter (object not created locally) 159
Potential violation of Law of Demeter (object not created locally) 160
Avoid using if statements without curly braces 166
Potential violation of Law of Demeter (object not created locally) 177
Potential violation of Law of Demeter (object not created locally) 178
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 183
Potential violation of Law of Demeter (object not created locally) 184
Potential violation of Law of Demeter (object not created locally) 184
Potential violation of Law of Demeter (method chain calls) 184
Potential violation of Law of Demeter (object not created locally) 185
Potential violation of Law of Demeter (object not created locally) 185
Potential violation of Law of Demeter (method chain calls) 185
Potential violation of Law of Demeter (method chain calls) 186
Potential violation of Law of Demeter (method chain calls) 186
Potential violation of Law of Demeter (object not created locally) 186
Potential violation of Law of Demeter (object not created locally) 186
Potential violation of Law of Demeter (object not created locally) 187188
Potential violation of Law of Demeter (object not created locally) 187
Potential violation of Law of Demeter (object not created locally) 189
Potential violation of Law of Demeter (object not created locally) 189190
Potential violation of Law of Demeter (object not created locally) 189
Potential violation of Law of Demeter (object not created locally) 191
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (method chain calls) 204

net/sourceforge/pmd/renderers/IDEAJRenderer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (object not created locally) 92

net/sourceforge/pmd/renderers/RendererFactory.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 21140
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (object not created locally) 55
Potential violation of Law of Demeter (object not created locally) 57
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (method chain calls) 77
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 80
There is log block not surrounded by if 81
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (method chain calls) 96
Potential violation of Law of Demeter (method chain calls) 98
Potential violation of Law of Demeter (object not created locally) 116
Potential violation of Law of Demeter (object not created locally) 126

net/sourceforge/pmd/renderers/SummaryHTMLRenderer.java

Violation Line
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 55
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 56
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 57
Potential violation of Law of Demeter (object not created locally) 61
Potential violation of Law of Demeter (method chain calls) 66

net/sourceforge/pmd/renderers/TextColorRenderer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (object not created locally) 117
Potential violation of Law of Demeter (method chain calls) 120
Potential violation of Law of Demeter (object not created locally) 120
Potential violation of Law of Demeter (object not created locally) 121
Potential violation of Law of Demeter (object not created locally) 122123
Potential violation of Law of Demeter (object not created locally) 125128
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (object not created locally) 127
Potential violation of Law of Demeter (object not created locally) 127
Potential violation of Law of Demeter (object not created locally) 127
Potential violation of Law of Demeter (object not created locally) 129
Potential violation of Law of Demeter (object not created locally) 129
Potential violation of Law of Demeter (method chain calls) 129
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 131
Potential violation of Law of Demeter (object not created locally) 131132
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 138
Potential violation of Law of Demeter (object not created locally) 139
Potential violation of Law of Demeter (object not created locally) 140
Potential violation of Law of Demeter (object not created locally) 141
Potential violation of Law of Demeter (object not created locally) 141
Potential violation of Law of Demeter (object not created locally) 142
Potential violation of Law of Demeter (object not created locally) 146
Potential violation of Law of Demeter (object not created locally) 149
Potential violation of Law of Demeter (method chain calls) 149
Potential violation of Law of Demeter (object not created locally) 150
Potential violation of Law of Demeter (object not created locally) 151152
Potential violation of Law of Demeter (object not created locally) 154
Potential violation of Law of Demeter (object not created locally) 154
Potential violation of Law of Demeter (object not created locally) 155
Potential violation of Law of Demeter (method chain calls) 160161
Potential violation of Law of Demeter (method chain calls) 160161
Potential violation of Law of Demeter (method chain calls) 160161
Potential violation of Law of Demeter (method chain calls) 160161
Potential violation of Law of Demeter (method chain calls) 163164
Potential violation of Law of Demeter (method chain calls) 163164
Potential violation of Law of Demeter (method chain calls) 163164
Potential violation of Law of Demeter (method chain calls) 163164
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 181
Potential violation of Law of Demeter (object not created locally) 184
Potential violation of Law of Demeter (method chain calls) 216
Potential violation of Law of Demeter (method chain calls) 217
Potential violation of Law of Demeter (method chain calls) 217
Potential violation of Law of Demeter (object not created locally) 220
Potential violation of Law of Demeter (object not created locally) 221

net/sourceforge/pmd/renderers/TextPadRenderer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (object not created locally) 51
Potential violation of Law of Demeter (method chain calls) 53
Potential violation of Law of Demeter (object not created locally) 53
Potential violation of Law of Demeter (object not created locally) 55
Potential violation of Law of Demeter (object not created locally) 56

net/sourceforge/pmd/renderers/TextRenderer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 46
Potential violation of Law of Demeter (object not created locally) 47
Potential violation of Law of Demeter (object not created locally) 48
Potential violation of Law of Demeter (object not created locally) 49
Potential violation of Law of Demeter (object not created locally) 66
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (method chain calls) 75
Potential violation of Law of Demeter (object not created locally) 76

net/sourceforge/pmd/renderers/VBHTMLRenderer.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 33
Potential violation of Law of Demeter (object not created locally) 52
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (method chain calls) 54
Potential violation of Law of Demeter (object not created locally) 56
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (object not created locally) 6162
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 69
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 7374
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (object not created locally) 76
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 78
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 98
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 108
Potential violation of Law of Demeter (object not created locally) 110
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (object not created locally) 111
Potential violation of Law of Demeter (object not created locally) 114
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 119
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 120
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 121
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 122123
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 124125
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 126127
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 128
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 129
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 130
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 131
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 132

net/sourceforge/pmd/renderers/XMLRenderer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 54
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (object not created locally) 77
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (method chain calls) 85
Potential violation of Law of Demeter (object not created locally) 85
Potential violation of Law of Demeter (method chain calls) 85
Potential violation of Law of Demeter (object not created locally) 86
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (object not created locally) 87
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (object not created locally) 89
Potential violation of Law of Demeter (object not created locally) 90
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (object not created locally) 92
Potential violation of Law of Demeter (method chain calls) 93
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (method chain calls) 93
Potential violation of Law of Demeter (object not created locally) 94
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (method chain calls) 95
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (method chain calls) 95
Potential violation of Law of Demeter (object not created locally) 96
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (object not created locally) 101
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (object not created locally) 125
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 137
Potential violation of Law of Demeter (method chain calls) 137
Potential violation of Law of Demeter (object not created locally) 141
Potential violation of Law of Demeter (object not created locally) 145

net/sourceforge/pmd/renderers/XSLTRenderer.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 104
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (object not created locally) 122
Potential violation of Law of Demeter (object not created locally) 123
Potential violation of Law of Demeter (method chain calls) 145

net/sourceforge/pmd/util/ClassUtil.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 124
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (method chain calls) 146
Potential violation of Law of Demeter (method chain calls) 146
Potential violation of Law of Demeter (method chain calls) 146
Potential violation of Law of Demeter (method chain calls) 146
Potential violation of Law of Demeter (method chain calls) 150
Potential violation of Law of Demeter (method chain calls) 150

net/sourceforge/pmd/util/ClasspathClassLoader.java

Violation Line
Avoid unused private methods such as 'addFileURLs(List,URL)'. 60
Potential violation of Law of Demeter (object not created locally) 65
Potential violation of Law of Demeter (object not created locally) 67
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (method chain calls) 80
Potential violation of Law of Demeter (method chain calls) 80
Potential violation of Law of Demeter (method chain calls) 88
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 91
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 92

net/sourceforge/pmd/util/CollectionUtil.java

Violation Line
Possible God class (WMC=49, ATFD=41, TCC=0.0) 4312
Avoid using if statements without curly braces 51
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 133
Potential violation of Law of Demeter (method chain calls) 189
Potential violation of Law of Demeter (method chain calls) 189
Potential violation of Law of Demeter (method chain calls) 215
Avoid using if statements without curly braces 256
Potential violation of Law of Demeter (method chain calls) 259
Potential violation of Law of Demeter (method chain calls) 259
Avoid using if statements without curly braces 259
Potential violation of Law of Demeter (object not created locally) 278
Potential violation of Law of Demeter (method chain calls) 283
Potential violation of Law of Demeter (method chain calls) 283
Potential violation of Law of Demeter (object not created locally) 300
Potential violation of Law of Demeter (object not created locally) 303
Potential violation of Law of Demeter (object not created locally) 304
Potential violation of Law of Demeter (method chain calls) 307
Potential violation of Law of Demeter (object not created locally) 307
Potential violation of Law of Demeter (method chain calls) 307
Potential violation of Law of Demeter (object not created locally) 309

net/sourceforge/pmd/util/CompoundIterator.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 63
Potential violation of Law of Demeter (method chain calls) 63

net/sourceforge/pmd/util/DateTimeUtil.java

Violation Line
A class which only has private constructors should be final 1051
Avoid using if statements without curly braces 21

net/sourceforge/pmd/util/EmptyIterator.java

Violation Line
A class which only has private constructors should be final 1534
Variables that are final and static should be all capitals, 'instance' is not all capitals. 18

net/sourceforge/pmd/util/FileFinder.java

Violation Line
Avoid unused private methods such as 'scanDirectory(File,List,boolean)'. 29

net/sourceforge/pmd/util/FileIterable.java

Violation Line
Last statement in finalize method should be a call to super.finalize() 3642
Avoid using if statements without curly braces 3738

net/sourceforge/pmd/util/FileUtil.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (object not created locally) 123
Avoid using if statements without curly braces 124125
Potential violation of Law of Demeter (object not created locally) 124

net/sourceforge/pmd/util/IOUtil.java

Violation Line
Avoid unused imports such as 'net.sourceforge.pmd.lang.ast.ParseException' 14
A class which only has private constructors should be final 2050

net/sourceforge/pmd/util/ResourceLoader.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 34
Potential violation of Law of Demeter (method chain calls) 34

net/sourceforge/pmd/util/StringUtil.java

Violation Line
Possible God class (WMC=86, ATFD=13, TCC=0.0) 4518
Avoid using if statements without curly braces 33
Avoid using if statements without curly braces 49
Potential violation of Law of Demeter (object not created locally) 134
Potential violation of Law of Demeter (object not created locally) 137
Potential violation of Law of Demeter (object not created locally) 138
Potential violation of Law of Demeter (object not created locally) 142
Potential violation of Law of Demeter (object not created locally) 143
Potential violation of Law of Demeter (object not created locally) 160
Potential violation of Law of Demeter (object not created locally) 163
Potential violation of Law of Demeter (object not created locally) 164
Potential violation of Law of Demeter (object not created locally) 168
Potential violation of Law of Demeter (object not created locally) 169
Potential violation of Law of Demeter (object not created locally) 196
Potential violation of Law of Demeter (object not created locally) 197
Potential violation of Law of Demeter (object not created locally) 198
Potential violation of Law of Demeter (object not created locally) 319
Potential violation of Law of Demeter (object not created locally) 323
Potential violation of Law of Demeter (object not created locally) 324
Potential violation of Law of Demeter (method chain calls) 386
Potential violation of Law of Demeter (method chain calls) 386
Potential violation of Law of Demeter (method chain calls) 386
Potential violation of Law of Demeter (method chain calls) 386
Potential violation of Law of Demeter (method chain calls) 412
Potential violation of Law of Demeter (method chain calls) 412
Potential violation of Law of Demeter (method chain calls) 413
Potential violation of Law of Demeter (object not created locally) 418
Potential violation of Law of Demeter (method chain calls) 443
Potential violation of Law of Demeter (method chain calls) 443
Potential violation of Law of Demeter (static property access) 458
Potential violation of Law of Demeter (method chain calls) 509
Potential violation of Law of Demeter (method chain calls) 509
Potential violation of Law of Demeter (method chain calls) 511
Potential violation of Law of Demeter (method chain calls) 511

net/sourceforge/pmd/util/TypeMap.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 115
Potential violation of Law of Demeter (object not created locally) 118
Potential violation of Law of Demeter (object not created locally) 118
Potential violation of Law of Demeter (object not created locally) 150

net/sourceforge/pmd/util/database/DBMSMetadata.java

Violation Line
There is log block not surrounded by if 128
There is log block not surrounded by if 133
There is log block not surrounded by if 144
There is log block not surrounded by if 163
There is log block not surrounded by if 169
There is log block not surrounded by if 173
There is log block not surrounded by if 180
There is log block not surrounded by if 182
There is log block not surrounded by if 204
There is log block not surrounded by if 208
There is log block not surrounded by if 213
There is log block not surrounded by if 264
There is log block not surrounded by if 265
Potential violation of Law of Demeter (method chain calls) 266
Potential violation of Law of Demeter (method chain calls) 281
Potential violation of Law of Demeter (object not created locally) 282
Potential violation of Law of Demeter (object not created locally) 343
Potential violation of Law of Demeter (object not created locally) 356
Potential violation of Law of Demeter (object not created locally) 369
Potential violation of Law of Demeter (object not created locally) 382
Potential violation of Law of Demeter (method chain calls) 400
Potential violation of Law of Demeter (object not created locally) 410
Potential violation of Law of Demeter (object not created locally) 411
Potential violation of Law of Demeter (object not created locally) 412
Potential violation of Law of Demeter (object not created locally) 413
Potential violation of Law of Demeter (object not created locally) 428
Potential violation of Law of Demeter (object not created locally) 445
Potential violation of Law of Demeter (object not created locally) 448
Potential violation of Law of Demeter (object not created locally) 449
Potential violation of Law of Demeter (object not created locally) 450
Potential violation of Law of Demeter (object not created locally) 456
Potential violation of Law of Demeter (object not created locally) 457
Potential violation of Law of Demeter (object not created locally) 458
Potential violation of Law of Demeter (object not created locally) 483486
Potential violation of Law of Demeter (object not created locally) 523
Potential violation of Law of Demeter (object not created locally) 526
Potential violation of Law of Demeter (object not created locally) 527
Potential violation of Law of Demeter (object not created locally) 528
Potential violation of Law of Demeter (object not created locally) 533
Potential violation of Law of Demeter (object not created locally) 534
Potential violation of Law of Demeter (object not created locally) 535
Potential violation of Law of Demeter (object not created locally) 544

net/sourceforge/pmd/util/database/DBType.java

Violation Line
Perhaps 'name' could be replaced by a local variable. 44
There is log block not surrounded by if 96
Avoid assignments in operands 108109
Avoid assignments in operands 114
There is log block not surrounded by if 149
There is log block not surrounded by if 161
Potential violation of Law of Demeter (object not created locally) 163
There is log block not surrounded by if 167
Potential violation of Law of Demeter (object not created locally) 172
There is log block not surrounded by if 175
There is log block not surrounded by if 182
Potential violation of Law of Demeter (object not created locally) 189
Potential violation of Law of Demeter (object not created locally) 190
Potential violation of Law of Demeter (object not created locally) 208
Potential violation of Law of Demeter (object not created locally) 209
Potential violation of Law of Demeter (object not created locally) 210
Potential violation of Law of Demeter (object not created locally) 213
The method name and parameter number are suspiciously close to equals(Object) 250
Potential violation of Law of Demeter (method chain calls) 339
There is log block not surrounded by if 339
Potential violation of Law of Demeter (method chain calls) 339
Potential violation of Law of Demeter (method chain calls) 340
Potential violation of Law of Demeter (method chain calls) 340

net/sourceforge/pmd/util/database/DBURI.java

Violation Line
Possible God class (WMC=60, ATFD=42, TCC=0.059770114942528735) 4568
Potential violation of Law of Demeter (object not created locally) 282
Potential violation of Law of Demeter (object not created locally) 284
Potential violation of Law of Demeter (object not created locally) 287
Potential violation of Law of Demeter (object not created locally) 294
Potential violation of Law of Demeter (object not created locally) 325
Potential violation of Law of Demeter (object not created locally) 327
Potential violation of Law of Demeter (object not created locally) 331
Potential violation of Law of Demeter (object not created locally) 338
Potential violation of Law of Demeter (method chain calls) 465
Potential violation of Law of Demeter (method chain calls) 467
Potential violation of Law of Demeter (method chain calls) 467
Potential violation of Law of Demeter (method chain calls) 501
Potential violation of Law of Demeter (method chain calls) 528
Potential violation of Law of Demeter (method chain calls) 530
Potential violation of Law of Demeter (method chain calls) 530
Potential violation of Law of Demeter (method chain calls) 530
Potential violation of Law of Demeter (method chain calls) 530
Potential violation of Law of Demeter (method chain calls) 533
Potential violation of Law of Demeter (method chain calls) 535

net/sourceforge/pmd/util/database/ResourceLoader.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 19

net/sourceforge/pmd/util/database/ResourceResolver.java

Violation Line
Avoid using if statements without curly braces 1718

net/sourceforge/pmd/util/database/SourceObject.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 5657
Potential violation of Law of Demeter (method chain calls) 5657
Potential violation of Law of Demeter (method chain calls) 5657
Potential violation of Law of Demeter (method chain calls) 5657
Avoid using if...else statements without curly braces 125
Potential violation of Law of Demeter (method chain calls) 126
Avoid using if...else statements without curly braces 127
Potential violation of Law of Demeter (method chain calls) 128
Avoid using if...else statements without curly braces 129
Potential violation of Law of Demeter (method chain calls) 130
Avoid using if...else statements without curly braces 131
Potential violation of Law of Demeter (method chain calls) 132
Avoid using if...else statements without curly braces 133
Potential violation of Law of Demeter (method chain calls) 134
Avoid using if...else statements without curly braces 135
Potential violation of Law of Demeter (method chain calls) 136
Avoid using if...else statements without curly braces 137
Potential violation of Law of Demeter (method chain calls) 138
Avoid using if...else statements without curly braces 139
Potential violation of Law of Demeter (method chain calls) 140
Avoid using if...else statements without curly braces 141
Avoid using if...else statements without curly braces 143

net/sourceforge/pmd/util/datasource/FileDataSource.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 39
Potential violation of Law of Demeter (method chain calls) 39
Potential violation of Law of Demeter (method chain calls) 49

net/sourceforge/pmd/util/designer/CodeEditorTextPane.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 14
Potential violation of Law of Demeter (object not created locally) 32
Potential violation of Law of Demeter (object not created locally) 34
Useless parentheses. 36
Potential violation of Law of Demeter (object not created locally) 42

net/sourceforge/pmd/util/designer/DFAPanel.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (method chain calls) 68
Potential violation of Law of Demeter (object not created locally) 68
Potential violation of Law of Demeter (method chain calls) 70
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (method chain calls) 86
Potential violation of Law of Demeter (object not created locally) 88
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 95
Potential violation of Law of Demeter (object not created locally) 96
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (object not created locally) 100
Potential violation of Law of Demeter (method chain calls) 128
Potential violation of Law of Demeter (object not created locally) 130
Potential violation of Law of Demeter (object not created locally) 135
Potential violation of Law of Demeter (object not created locally) 136
Potential violation of Law of Demeter (object not created locally) 138
Potential violation of Law of Demeter (object not created locally) 141
Potential violation of Law of Demeter (object not created locally) 144
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (method chain calls) 153
Potential violation of Law of Demeter (object not created locally) 154
Potential violation of Law of Demeter (method chain calls) 154
Potential violation of Law of Demeter (object not created locally) 155
Potential violation of Law of Demeter (object not created locally) 155
Potential violation of Law of Demeter (object not created locally) 305

net/sourceforge/pmd/util/designer/Designer.java

Violation Line
Possible God class (WMC=156, ATFD=168, TCC=0.022040816326530613) 41037
Potential violation of Law of Demeter (method chain calls) 134
Potential violation of Law of Demeter (method chain calls) 135
Potential violation of Law of Demeter (method chain calls) 135
Potential violation of Law of Demeter (method chain calls) 135
Potential violation of Law of Demeter (object not created locally) 147
Potential violation of Law of Demeter (object not created locally) 147
Potential violation of Law of Demeter (object not created locally) 148
Potential violation of Law of Demeter (method chain calls) 157
Potential violation of Law of Demeter (method chain calls) 166
Potential violation of Law of Demeter (method chain calls) 166
Potential violation of Law of Demeter (method chain calls) 175
Potential violation of Law of Demeter (method chain calls) 175
Potential violation of Law of Demeter (object not created locally) 184
Potential violation of Law of Demeter (method chain calls) 203
Potential violation of Law of Demeter (method chain calls) 301
Potential violation of Law of Demeter (object not created locally) 350
Potential violation of Law of Demeter (method chain calls) 350
Potential violation of Law of Demeter (object not created locally) 365
Potential violation of Law of Demeter (object not created locally) 365
Potential violation of Law of Demeter (method chain calls) 397
Potential violation of Law of Demeter (method chain calls) 400
Potential violation of Law of Demeter (object not created locally) 411
Potential violation of Law of Demeter (method chain calls) 412
Potential violation of Law of Demeter (object not created locally) 412
Potential violation of Law of Demeter (object not created locally) 412
Potential violation of Law of Demeter (method chain calls) 419
Potential violation of Law of Demeter (object not created locally) 426
Potential violation of Law of Demeter (object not created locally) 427
Potential violation of Law of Demeter (object not created locally) 427
Potential violation of Law of Demeter (object not created locally) 428
Potential violation of Law of Demeter (method chain calls) 476
Potential violation of Law of Demeter (object not created locally) 476
Potential violation of Law of Demeter (method chain calls) 482
Potential violation of Law of Demeter (method chain calls) 482
Potential violation of Law of Demeter (method chain calls) 482
Potential violation of Law of Demeter (method chain calls) 482
Potential violation of Law of Demeter (object not created locally) 482
Potential violation of Law of Demeter (object not created locally) 496
Potential violation of Law of Demeter (object not created locally) 497
Potential violation of Law of Demeter (method chain calls) 523
Potential violation of Law of Demeter (method chain calls) 523
Potential violation of Law of Demeter (method chain calls) 525
Potential violation of Law of Demeter (method chain calls) 525
Potential violation of Law of Demeter (method chain calls) 543
Potential violation of Law of Demeter (method chain calls) 543
Potential violation of Law of Demeter (method chain calls) 553
Potential violation of Law of Demeter (object not created locally) 557
Potential violation of Law of Demeter (object not created locally) 558
Potential violation of Law of Demeter (object not created locally) 561
Potential violation of Law of Demeter (object not created locally) 563
Potential violation of Law of Demeter (object not created locally) 564
Potential violation of Law of Demeter (object not created locally) 567
Potential violation of Law of Demeter (object not created locally) 568
Potential violation of Law of Demeter (object not created locally) 570
Potential violation of Law of Demeter (method chain calls) 570
Potential violation of Law of Demeter (object not created locally) 571
Potential violation of Law of Demeter (object not created locally) 572
Potential violation of Law of Demeter (method chain calls) 572
Potential violation of Law of Demeter (method chain calls) 574
Potential violation of Law of Demeter (method chain calls) 574
Potential violation of Law of Demeter (object not created locally) 584
Potential violation of Law of Demeter (object not created locally) 586
Potential violation of Law of Demeter (method chain calls) 599
Potential violation of Law of Demeter (object not created locally) 625
Potential violation of Law of Demeter (method chain calls) 625
Potential violation of Law of Demeter (object not created locally) 625
Potential violation of Law of Demeter (method chain calls) 625
Potential violation of Law of Demeter (method chain calls) 625
Potential violation of Law of Demeter (method chain calls) 625
Potential violation of Law of Demeter (method chain calls) 625
Potential violation of Law of Demeter (method chain calls) 625
Potential violation of Law of Demeter (object not created locally) 629630
Potential violation of Law of Demeter (object not created locally) 629
Potential violation of Law of Demeter (object not created locally) 630
Potential violation of Law of Demeter (object not created locally) 631
Potential violation of Law of Demeter (object not created locally) 643
Potential violation of Law of Demeter (object not created locally) 644
Potential violation of Law of Demeter (object not created locally) 720
Potential violation of Law of Demeter (object not created locally) 722
Potential violation of Law of Demeter (object not created locally) 723
Potential violation of Law of Demeter (method chain calls) 725
Potential violation of Law of Demeter (method chain calls) 725
Potential violation of Law of Demeter (object not created locally) 726
Potential violation of Law of Demeter (object not created locally) 743
Potential violation of Law of Demeter (object not created locally) 758
Potential violation of Law of Demeter (object not created locally) 758
Potential violation of Law of Demeter (object not created locally) 759
Potential violation of Law of Demeter (method chain calls) 763
Potential violation of Law of Demeter (method chain calls) 763
Potential violation of Law of Demeter (method chain calls) 764
Potential violation of Law of Demeter (method chain calls) 764
Potential violation of Law of Demeter (object not created locally) 785
Potential violation of Law of Demeter (method chain calls) 799
Potential violation of Law of Demeter (static property access) 833
Potential violation of Law of Demeter (method chain calls) 835
Potential violation of Law of Demeter (method chain calls) 837
Potential violation of Law of Demeter (static property access) 837
Potential violation of Law of Demeter (method chain calls) 837
Avoid unused private methods such as 'makeTextComponentUndoable(JTextComponent)'. 860
Potential violation of Law of Demeter (object not created locally) 879
Potential violation of Law of Demeter (object not created locally) 891
Potential violation of Law of Demeter (method chain calls) 903
Potential violation of Law of Demeter (method chain calls) 903
Potential violation of Law of Demeter (object not created locally) 915
Potential violation of Law of Demeter (object not created locally) 940
Potential violation of Law of Demeter (object not created locally) 941
Potential violation of Law of Demeter (object not created locally) 942
Potential violation of Law of Demeter (method chain calls) 957
Potential violation of Law of Demeter (method chain calls) 960
Potential violation of Law of Demeter (object not created locally) 960
Potential violation of Law of Demeter (method chain calls) 961
Potential violation of Law of Demeter (object not created locally) 961
Potential violation of Law of Demeter (object not created locally) 964
Potential violation of Law of Demeter (object not created locally) 966
Potential violation of Law of Demeter (object not created locally) 971
Potential violation of Law of Demeter (object not created locally) 972
Potential violation of Law of Demeter (object not created locally) 973
Potential violation of Law of Demeter (object not created locally) 973
Potential violation of Law of Demeter (object not created locally) 974
Potential violation of Law of Demeter (object not created locally) 980
Potential violation of Law of Demeter (object not created locally) 982
Potential violation of Law of Demeter (object not created locally) 984
Potential violation of Law of Demeter (object not created locally) 991
Potential violation of Law of Demeter (object not created locally) 992
Potential violation of Law of Demeter (object not created locally) 994
Potential violation of Law of Demeter (object not created locally) 995
Potential violation of Law of Demeter (object not created locally) 997
Potential violation of Law of Demeter (object not created locally) 998
Potential violation of Law of Demeter (object not created locally) 999
Potential violation of Law of Demeter (method chain calls) 999
Potential violation of Law of Demeter (method chain calls) 999
Potential violation of Law of Demeter (object not created locally) 1000
Potential violation of Law of Demeter (object not created locally) 1000
Potential violation of Law of Demeter (object not created locally) 1002
Potential violation of Law of Demeter (object not created locally) 1003
Potential violation of Law of Demeter (method chain calls) 1004
Potential violation of Law of Demeter (object not created locally) 1004
Potential violation of Law of Demeter (method chain calls) 1004
Potential violation of Law of Demeter (object not created locally) 1005
Potential violation of Law of Demeter (object not created locally) 1005
Potential violation of Law of Demeter (object not created locally) 1008
Potential violation of Law of Demeter (object not created locally) 1009
Potential violation of Law of Demeter (object not created locally) 1011
Potential violation of Law of Demeter (object not created locally) 1012
Potential violation of Law of Demeter (object not created locally) 1013
Potential violation of Law of Demeter (object not created locally) 1017
Potential violation of Law of Demeter (method chain calls) 1029
Potential violation of Law of Demeter (method chain calls) 1030
Potential violation of Law of Demeter (method chain calls) 1032

net/sourceforge/pmd/util/filter/AndFilter.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 25

net/sourceforge/pmd/util/filter/FileExtensionFilter.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 37
Potential violation of Law of Demeter (method chain calls) 37
Potential violation of Law of Demeter (object not created locally) 37

net/sourceforge/pmd/util/filter/Filters.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 16203
Potential violation of Law of Demeter (object not created locally) 74

net/sourceforge/pmd/util/filter/OrFilter.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 25

net/sourceforge/pmd/util/filter/RegexStringFilter.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 57
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (object not created locally) 60
Potential violation of Law of Demeter (method chain calls) 68
Potential violation of Law of Demeter (method chain calls) 77

net/sourceforge/pmd/util/log/AntLogHandler.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 54

net/sourceforge/pmd/util/log/ConsoleLogHandler.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 30

net/sourceforge/pmd/util/viewer/Viewer.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 1520

net/sourceforge/pmd/util/viewer/gui/ASTPanel.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 63
Potential violation of Law of Demeter (object not created locally) 83
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (object not created locally) 87
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (method chain calls) 102

net/sourceforge/pmd/util/viewer/gui/EvaluationResultsPanel.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 53

net/sourceforge/pmd/util/viewer/gui/MainFrame.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 72
Potential violation of Law of Demeter (method chain calls) 86
Potential violation of Law of Demeter (static property access) 149
Potential violation of Law of Demeter (object not created locally) 156
Potential violation of Law of Demeter (static property access) 159
Potential violation of Law of Demeter (object not created locally) 166

net/sourceforge/pmd/util/viewer/gui/ParseExceptionHandler.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 55
Potential violation of Law of Demeter (method chain calls) 60
Potential violation of Law of Demeter (method chain calls) 61

net/sourceforge/pmd/util/viewer/gui/SourceCodePanel.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 70

net/sourceforge/pmd/util/viewer/gui/menu/AttributesSubMenu.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 40
Potential violation of Law of Demeter (object not created locally) 40

net/sourceforge/pmd/util/viewer/gui/menu/SimpleNodeSubMenu.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 41
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (object not created locally) 42
Potential violation of Law of Demeter (object not created locally) 44

net/sourceforge/pmd/util/viewer/model/ASTModel.java

Violation Line
Potential violation of Law of Demeter (method chain calls) 43
Potential violation of Law of Demeter (method chain calls) 50
Potential violation of Law of Demeter (object not created locally) 58
Potential violation of Law of Demeter (method chain calls) 59
Potential violation of Law of Demeter (object not created locally) 59
Potential violation of Law of Demeter (method chain calls) 70

net/sourceforge/pmd/util/viewer/model/AttributeToolkit.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 1739

net/sourceforge/pmd/util/viewer/model/ViewerModel.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 43
There is log block not surrounded by if 66
There is log block not surrounded by if 67
There is log block not surrounded by if 69
There is log block not surrounded by if 70
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 78
There is log block not surrounded by if 80
Potential violation of Law of Demeter (object not created locally) 85
Potential violation of Law of Demeter (method chain calls) 131

net/sourceforge/pmd/util/viewer/util/NLS.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 1430

net/sourceforge/pmd/lang/plsql/ast/JJTPLSQLParserState.java

Violation Line
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'node_created' is not final. 12
Avoid assignments in operands 52
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 113

net/sourceforge/pmd/lang/plsql/ast/PLSQLParser.java

Violation Line
Possible God class (WMC=26078, ATFD=704, TCC=0.1660292250763039) 2040070
Avoid unused imports such as 'net.sourceforge.pmd.lang.ast.Node' 23
Avoid unused imports such as 'net.sourceforge.pmd.lang.ast.TokenMgrError' 25
Potential violation of Law of Demeter (object not created locally) 37
Avoid unused local variables such as 'node'. 37
Avoid unused local variables such as 's'. 39
Potential violation of Law of Demeter (method chain calls) 68
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 72
Potential violation of Law of Demeter (object not created locally) 75
Potential violation of Law of Demeter (object not created locally) 8386
Potential violation of Law of Demeter (object not created locally) 84
Potential violation of Law of Demeter (object not created locally) 85
Potential violation of Law of Demeter (object not created locally) 90
An empty statement (semicolon) not part of a loop 167
An empty statement (semicolon) not part of a loop 260
Avoid using if statements without curly braces 272
Do not use if statements that are always true or always false 272
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 280
Do not use if statements that are always true or always false 281
Avoid using if statements without curly braces 281
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 283
Avoid using if statements without curly braces 284
Do not use if statements that are always true or always false 284
Avoid using if statements without curly braces 286
Do not use if statements that are always true or always false 286
Do not use if statements that are always true or always false 305
Avoid using if statements without curly braces 305
Potential violation of Law of Demeter (object not created locally) 305
Potential violation of Law of Demeter (object not created locally) 305
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 313
Do not use if statements that are always true or always false 314
Avoid using if statements without curly braces 314
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 316
Do not use if statements that are always true or always false 317
Avoid using if statements without curly braces 317
Do not use if statements that are always true or always false 319
Avoid using if statements without curly braces 319
Potential violation of Law of Demeter (object not created locally) 422
Potential violation of Law of Demeter (object not created locally) 422
Potential violation of Law of Demeter (object not created locally) 426
Avoid using if statements without curly braces 426
Potential violation of Law of Demeter (object not created locally) 426
Do not use if statements that are always true or always false 426
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 434
Do not use if statements that are always true or always false 435
Avoid using if statements without curly braces 435
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 437
Do not use if statements that are always true or always false 438
Avoid using if statements without curly braces 438
Do not use if statements that are always true or always false 440
Avoid using if statements without curly braces 440
An empty statement (semicolon) not part of a loop 485
Do not use if statements that are always true or always false 503
Avoid using if statements without curly braces 503
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 511
Avoid using if statements without curly braces 512
Do not use if statements that are always true or always false 512
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 514
Avoid using if statements without curly braces 515
Do not use if statements that are always true or always false 515
Avoid using if statements without curly braces 517
Do not use if statements that are always true or always false 517
An empty statement (semicolon) not part of a loop 539
An empty statement (semicolon) not part of a loop 802
An empty statement (semicolon) not part of a loop 816
An empty statement (semicolon) not part of a loop 825
Avoid using if statements without curly braces 829
Do not use if statements that are always true or always false 829
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 837
Do not use if statements that are always true or always false 838
Avoid using if statements without curly braces 838
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 840
Do not use if statements that are always true or always false 841
Avoid using if statements without curly braces 841
Avoid using if statements without curly braces 843
Do not use if statements that are always true or always false 843
An empty statement (semicolon) not part of a loop 868
An empty statement (semicolon) not part of a loop 888
An empty statement (semicolon) not part of a loop 893
An empty statement (semicolon) not part of a loop 902
An empty statement (semicolon) not part of a loop 1297
Do not use if statements that are always true or always false 1308
Potential violation of Law of Demeter (object not created locally) 1308
Potential violation of Law of Demeter (object not created locally) 1308
Avoid using if statements without curly braces 1308
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1316
Do not use if statements that are always true or always false 1317
Avoid using if statements without curly braces 1317
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1319
Avoid using if statements without curly braces 1320
Do not use if statements that are always true or always false 1320
Do not use if statements that are always true or always false 1322
Avoid using if statements without curly braces 1322
An empty statement (semicolon) not part of a loop 1347
An empty statement (semicolon) not part of a loop 1367
An empty statement (semicolon) not part of a loop 1372
A non-case label was present in a switch statement 14101677
A non-case label was present in a switch statement 14101677
An empty statement (semicolon) not part of a loop 1670
An empty statement (semicolon) not part of a loop 1684
An empty statement (semicolon) not part of a loop 1689
An empty statement (semicolon) not part of a loop 2036
Do not use if statements that are always true or always false 2047
Potential violation of Law of Demeter (object not created locally) 2047
Avoid using if statements without curly braces 2047
Potential violation of Law of Demeter (object not created locally) 2047
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2055
Do not use if statements that are always true or always false 2056
Avoid using if statements without curly braces 2056
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2058
Do not use if statements that are always true or always false 2059
Avoid using if statements without curly braces 2059
Do not use if statements that are always true or always false 2061
Avoid using if statements without curly braces 2061
Do not use if statements that are always true or always false 2126
Avoid using if statements without curly braces 2126
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2134
Avoid using if statements without curly braces 2135
Do not use if statements that are always true or always false 2135
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2137
Do not use if statements that are always true or always false 2138
Avoid using if statements without curly braces 2138
Do not use if statements that are always true or always false 2140
Avoid using if statements without curly braces 2140
An empty statement (semicolon) not part of a loop 2499
Do not use if statements that are always true or always false 2509
Avoid using if statements without curly braces 2509
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2517
Do not use if statements that are always true or always false 2518
Avoid using if statements without curly braces 2518
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2520
Do not use if statements that are always true or always false 2521
Avoid using if statements without curly braces 2521
Do not use if statements that are always true or always false 2523
Avoid using if statements without curly braces 2523
An empty statement (semicolon) not part of a loop 2886
An empty statement (semicolon) not part of a loop 3251
An empty statement (semicolon) not part of a loop 3605
An empty statement (semicolon) not part of a loop 3971
An empty statement (semicolon) not part of a loop 4323
Avoid using if statements without curly braces 4688
Do not use if statements that are always true or always false 4688
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 4696
Avoid using if statements without curly braces 4697
Do not use if statements that are always true or always false 4697
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 4699
Avoid using if statements without curly braces 4700
Do not use if statements that are always true or always false 4700
Do not use if statements that are always true or always false 4702
Avoid using if statements without curly braces 4702
An empty statement (semicolon) not part of a loop 4733
An empty statement (semicolon) not part of a loop 4753
An empty statement (semicolon) not part of a loop 4758
A non-case label was present in a switch statement 47755300
An empty statement (semicolon) not part of a loop 4784
An empty statement (semicolon) not part of a loop 4820
An empty statement (semicolon) not part of a loop 4833
An empty statement (semicolon) not part of a loop 4838
An empty statement (semicolon) not part of a loop 4858
An empty statement (semicolon) not part of a loop 5219
A non-case label was present in a switch statement 52245236
A non-case label was present in a switch statement 52245236
A non-case label was present in a switch statement 52245236
A non-case label was present in a switch statement 52245236
An empty statement (semicolon) not part of a loop 5228
An empty statement (semicolon) not part of a loop 5247
An empty statement (semicolon) not part of a loop 5264
A non-case label was present in a switch statement 52665287
A non-case label was present in a switch statement 52665287
A non-case label was present in a switch statement 52665287
An empty statement (semicolon) not part of a loop 5270
An empty statement (semicolon) not part of a loop 5285
An empty statement (semicolon) not part of a loop 5292
An empty statement (semicolon) not part of a loop 5309
A non-case label was present in a switch statement 56745941
A non-case label was present in a switch statement 56745941
A non-case label was present in a switch statement 56745941
An empty statement (semicolon) not part of a loop 5934
An empty statement (semicolon) not part of a loop 5948
An empty statement (semicolon) not part of a loop 6295
An empty statement (semicolon) not part of a loop 6307
Do not use if statements that are always true or always false 6318
Avoid using if statements without curly braces 6318
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 6326
Avoid using if statements without curly braces 6327
Do not use if statements that are always true or always false 6327
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 6329
Do not use if statements that are always true or always false 6330
Avoid using if statements without curly braces 6330
Do not use if statements that are always true or always false 6332
Avoid using if statements without curly braces 6332
Use one line for each declaration, it enhances code readability. 6345
An empty statement (semicolon) not part of a loop 6351
Potential violation of Law of Demeter (object not created locally) 6354
Potential violation of Law of Demeter (object not created locally) 6354
Useless parentheses. 6354
Potential violation of Law of Demeter (object not created locally) 6354
Potential violation of Law of Demeter (object not created locally) 6354
Do not use if statements that are always true or always false 6357
Avoid using if statements without curly braces 6357
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 6365
Do not use if statements that are always true or always false 6366
Avoid using if statements without curly braces 6366
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 6368
Avoid using if statements without curly braces 6369
Do not use if statements that are always true or always false 6369
Do not use if statements that are always true or always false 6371
Avoid using if statements without curly braces 6371
An empty statement (semicolon) not part of a loop 6405
An empty statement (semicolon) not part of a loop 6419
An empty statement (semicolon) not part of a loop 6701
Potential violation of Law of Demeter (object not created locally) 6705
Avoid using if statements without curly braces 6705
Potential violation of Law of Demeter (object not created locally) 6705
Do not use if statements that are always true or always false 6705
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 6713
Do not use if statements that are always true or always false 6714
Avoid using if statements without curly braces 6714
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 6716
Avoid using if statements without curly braces 6717
Do not use if statements that are always true or always false 6717
Avoid using if statements without curly braces 6719
Do not use if statements that are always true or always false 6719
Avoid using if statements without curly braces 6758
Do not use if statements that are always true or always false 6758
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 6766
Do not use if statements that are always true or always false 6767
Avoid using if statements without curly braces 6767
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 6769
Avoid using if statements without curly braces 6770
Do not use if statements that are always true or always false 6770
Avoid using if statements without curly braces 6772
Do not use if statements that are always true or always false 6772
An empty statement (semicolon) not part of a loop 6797
Potential violation of Law of Demeter (static property access) 6801
Position literals first in String comparisons for EqualsIgnoreCase 6801
Potential violation of Law of Demeter (static property access) 6803
Position literals first in String comparisons for EqualsIgnoreCase 6803
Do not use if statements that are always true or always false 6806
Avoid using if statements without curly braces 68066810
An empty statement (semicolon) not part of a loop 6819
An empty statement (semicolon) not part of a loop 6831
Avoid using if statements without curly braces 6841
Do not use if statements that are always true or always false 6841
Potential violation of Law of Demeter (object not created locally) 6841
Potential violation of Law of Demeter (object not created locally) 6841
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 6849
Avoid using if statements without curly braces 6850
Do not use if statements that are always true or always false 6850
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 6852
Do not use if statements that are always true or always false 6853
Avoid using if statements without curly braces 6853
Do not use if statements that are always true or always false 6855
Avoid using if statements without curly braces 6855
Potential violation of Law of Demeter (object not created locally) 6872
Avoid appending characters as strings in StringBuffer.append. 6872
Potential violation of Law of Demeter (object not created locally) 7214
Potential violation of Law of Demeter (object not created locally) 7214
A non-case label was present in a switch statement 72157228
An empty statement (semicolon) not part of a loop 7219
Potential violation of Law of Demeter (object not created locally) 7227
Potential violation of Law of Demeter (object not created locally) 7227
An empty statement (semicolon) not part of a loop 7232
Avoid appending characters as strings in StringBuffer.append. 7235
Potential violation of Law of Demeter (object not created locally) 7235
Potential violation of Law of Demeter (object not created locally) 7238
Do not use if statements that are always true or always false 7238
Potential violation of Law of Demeter (object not created locally) 7238
Avoid using if statements without curly braces 7238
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7246
Do not use if statements that are always true or always false 7247
Avoid using if statements without curly braces 7247
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7249
Do not use if statements that are always true or always false 7250
Avoid using if statements without curly braces 7250
Avoid using if statements without curly braces 7252
Do not use if statements that are always true or always false 7252
Potential violation of Law of Demeter (object not created locally) 7269
Potential violation of Law of Demeter (object not created locally) 7269
Potential violation of Law of Demeter (object not created locally) 7272
An empty statement (semicolon) not part of a loop 7274
Potential violation of Law of Demeter (object not created locally) 7277
Potential violation of Law of Demeter (object not created locally) 7277
Potential violation of Law of Demeter (object not created locally) 7284
An empty statement (semicolon) not part of a loop 7288
Potential violation of Law of Demeter (object not created locally) 7291
An empty statement (semicolon) not part of a loop 7295
Potential violation of Law of Demeter (object not created locally) 7304
Potential violation of Law of Demeter (object not created locally) 7308
Potential violation of Law of Demeter (object not created locally) 7316
Potential violation of Law of Demeter (object not created locally) 7316
An empty statement (semicolon) not part of a loop 7320
Avoid using if statements without curly braces 7324
Do not use if statements that are always true or always false 7324
Potential violation of Law of Demeter (object not created locally) 7324
Potential violation of Law of Demeter (object not created locally) 7324
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7332
Do not use if statements that are always true or always false 7333
Avoid using if statements without curly braces 7333
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7335
Avoid using if statements without curly braces 7336
Do not use if statements that are always true or always false 7336
Avoid using if statements without curly braces 7338
Do not use if statements that are always true or always false 7338
Avoid using if statements without curly braces 7356
Potential violation of Law of Demeter (object not created locally) 7356
Do not use if statements that are always true or always false 7356
Potential violation of Law of Demeter (object not created locally) 7356
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7364
Do not use if statements that are always true or always false 7365
Avoid using if statements without curly braces 7365
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7367
Do not use if statements that are always true or always false 7368
Avoid using if statements without curly braces 7368
Avoid using if statements without curly braces 7370
Do not use if statements that are always true or always false 7370
Avoid using if statements without curly braces 7388
Potential violation of Law of Demeter (object not created locally) 7388
Do not use if statements that are always true or always false 7388
Potential violation of Law of Demeter (object not created locally) 7388
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7396
Avoid using if statements without curly braces 7397
Do not use if statements that are always true or always false 7397
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7399
Avoid using if statements without curly braces 7400
Do not use if statements that are always true or always false 7400
Avoid using if statements without curly braces 7402
Do not use if statements that are always true or always false 7402
Potential violation of Law of Demeter (object not created locally) 7422
Potential violation of Law of Demeter (object not created locally) 7422
Potential violation of Law of Demeter (object not created locally) 7428
Potential violation of Law of Demeter (object not created locally) 7428
Potential violation of Law of Demeter (object not created locally) 7658
An empty statement (semicolon) not part of a loop 7660
Potential violation of Law of Demeter (object not created locally) 7663
Potential violation of Law of Demeter (object not created locally) 7663
Potential violation of Law of Demeter (object not created locally) 7668
Potential violation of Law of Demeter (object not created locally) 7668
An empty statement (semicolon) not part of a loop 7672
Potential violation of Law of Demeter (object not created locally) 7689
An empty statement (semicolon) not part of a loop 7693
Avoid using if statements without curly braces 7705
Do not use if statements that are always true or always false 7705
Potential violation of Law of Demeter (object not created locally) 7705
Potential violation of Law of Demeter (object not created locally) 7705
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7713
Avoid using if statements without curly braces 7714
Do not use if statements that are always true or always false 7714
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7716
Do not use if statements that are always true or always false 7717
Avoid using if statements without curly braces 7717
Do not use if statements that are always true or always false 7719
Avoid using if statements without curly braces 7719
Potential violation of Law of Demeter (object not created locally) 7736
Potential violation of Law of Demeter (object not created locally) 7736
Avoid appending characters as strings in StringBuffer.append. 7736
Potential violation of Law of Demeter (object not created locally) 7738
Avoid appending characters as strings in StringBuffer.append. 7738
Potential violation of Law of Demeter (object not created locally) 7738
Potential violation of Law of Demeter (object not created locally) 7738
Potential violation of Law of Demeter (object not created locally) 7740
Avoid appending characters as strings in StringBuffer.append. 7740
Potential violation of Law of Demeter (object not created locally) 7740
Potential violation of Law of Demeter (object not created locally) 7742
Potential violation of Law of Demeter (object not created locally) 7742
Avoid appending characters as strings in StringBuffer.append. 7742
Potential violation of Law of Demeter (object not created locally) 7742
An empty statement (semicolon) not part of a loop 7747
Avoid appending characters as strings in StringBuffer.append. 7754
Potential violation of Law of Demeter (object not created locally) 7754
Potential violation of Law of Demeter (object not created locally) 7754
Potential violation of Law of Demeter (object not created locally) 7756
Potential violation of Law of Demeter (object not created locally) 7756
Avoid appending characters as strings in StringBuffer.append. 7756
Potential violation of Law of Demeter (object not created locally) 7756
Potential violation of Law of Demeter (object not created locally) 7758
Potential violation of Law of Demeter (object not created locally) 7758
Avoid appending characters as strings in StringBuffer.append. 7758
Avoid appending characters as strings in StringBuffer.append. 7760
Potential violation of Law of Demeter (object not created locally) 7760
Potential violation of Law of Demeter (object not created locally) 7760
Potential violation of Law of Demeter (object not created locally) 7760
An empty statement (semicolon) not part of a loop 7766
Potential violation of Law of Demeter (object not created locally) 7773
Avoid appending characters as strings in StringBuffer.append. 7773
Potential violation of Law of Demeter (object not created locally) 7773
Avoid appending characters as strings in StringBuffer.append. 7775
Potential violation of Law of Demeter (object not created locally) 7775
Potential violation of Law of Demeter (object not created locally) 7775
Potential violation of Law of Demeter (object not created locally) 7775
Potential violation of Law of Demeter (object not created locally) 7778
Potential violation of Law of Demeter (object not created locally) 7778
Avoid appending characters as strings in StringBuffer.append. 7778
Potential violation of Law of Demeter (object not created locally) 7781
Potential violation of Law of Demeter (object not created locally) 7781
Avoid using if statements without curly braces 7781
Do not use if statements that are always true or always false 7781
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7789
Do not use if statements that are always true or always false 7790
Avoid using if statements without curly braces 7790
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7792
Avoid using if statements without curly braces 7793
Do not use if statements that are always true or always false 7793
Avoid using if statements without curly braces 7795
Do not use if statements that are always true or always false 7795
Use one line for each declaration, it enhances code readability. 7808
StringBuffer constructor is initialized with size 16, but has at least 25 characters appended. 7809
Potential violation of Law of Demeter (object not created locally) 7821
Potential violation of Law of Demeter (object not created locally) 7828
Potential violation of Law of Demeter (object not created locally) 7829
Potential violation of Law of Demeter (object not created locally) 7834
Potential violation of Law of Demeter (object not created locally) 7839
An empty statement (semicolon) not part of a loop 7843
Potential violation of Law of Demeter (object not created locally) 7848
An empty statement (semicolon) not part of a loop 7852
Potential violation of Law of Demeter (object not created locally) 7857
An empty statement (semicolon) not part of a loop 7861
Potential violation of Law of Demeter (object not created locally) 7864
Avoid appending characters as strings in StringBuffer.append. 7864
An empty statement (semicolon) not part of a loop 7866
Do not use if statements that are always true or always false 7870
Potential violation of Law of Demeter (object not created locally) 7870
Potential violation of Law of Demeter (object not created locally) 7870
Avoid using if statements without curly braces 7870
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7878
Do not use if statements that are always true or always false 7879
Avoid using if statements without curly braces 7879
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 7881
Avoid using if statements without curly braces 7882
Do not use if statements that are always true or always false 7882
Avoid using if statements without curly braces 7884
Do not use if statements that are always true or always false 7884
Use one line for each declaration, it enhances code readability. 7897
StringBuffer constructor is initialized with size 16, but has at least 56 characters appended. 7898
Potential violation of Law of Demeter (object not created locally) 7932
Potential violation of Law of Demeter (object not created locally) 7998
Potential violation of Law of Demeter (object not created locally) 8057
Potential violation of Law of Demeter (object not created locally) 8067
Potential violation of Law of Demeter (object not created locally) 8071
Potential violation of Law of Demeter (object not created locally) 8084
Potential violation of Law of Demeter (object not created locally) 8093
Potential violation of Law of Demeter (object not created locally) 8094
Avoid appending characters as strings in StringBuffer.append. 8099
Potential violation of Law of Demeter (object not created locally) 8099
Potential violation of Law of Demeter (object not created locally) 8099
Potential violation of Law of Demeter (object not created locally) 8099
Avoid appending characters as strings in StringBuffer.append. 8104
Potential violation of Law of Demeter (object not created locally) 8104
Potential violation of Law of Demeter (object not created locally) 8104
Potential violation of Law of Demeter (object not created locally) 8104
An empty statement (semicolon) not part of a loop 8108
Potential violation of Law of Demeter (object not created locally) 8113
An empty statement (semicolon) not part of a loop 8117
Potential violation of Law of Demeter (object not created locally) 8122
An empty statement (semicolon) not part of a loop 8126
Potential violation of Law of Demeter (object not created locally) 8129
Avoid appending characters as strings in StringBuffer.append. 8129
An empty statement (semicolon) not part of a loop 8131
Potential violation of Law of Demeter (object not created locally) 8142
Potential violation of Law of Demeter (object not created locally) 8142
Potential violation of Law of Demeter (object not created locally) 8142
Potential violation of Law of Demeter (object not created locally) 8151
Potential violation of Law of Demeter (object not created locally) 8156
Potential violation of Law of Demeter (object not created locally) 8160
Potential violation of Law of Demeter (object not created locally) 8164
Potential violation of Law of Demeter (object not created locally) 8168
Avoid appending characters as strings in StringBuffer.append. 8170
Potential violation of Law of Demeter (object not created locally) 8170
An empty statement (semicolon) not part of a loop 8172
An empty statement (semicolon) not part of a loop 8182
Do not use if statements that are always true or always false 8186
Potential violation of Law of Demeter (object not created locally) 8186
Avoid using if statements without curly braces 8186
Potential violation of Law of Demeter (object not created locally) 8186
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 8194
Avoid using if statements without curly braces 8195
Do not use if statements that are always true or always false 8195
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 8197
Avoid using if statements without curly braces 8198
Do not use if statements that are always true or always false 8198
Avoid using if statements without curly braces 8200
Do not use if statements that are always true or always false 8200
Potential violation of Law of Demeter (object not created locally) 8232
Potential violation of Law of Demeter (object not created locally) 8236
Potential violation of Law of Demeter (object not created locally) 8236
Avoid appending characters as strings in StringBuffer.append. 8236
Avoid appending characters as strings in StringBuffer.append. 8240
Potential violation of Law of Demeter (object not created locally) 8240
Potential violation of Law of Demeter (object not created locally) 8240
Potential violation of Law of Demeter (object not created locally) 8240
An empty statement (semicolon) not part of a loop 8281
Potential violation of Law of Demeter (object not created locally) 8285
Potential violation of Law of Demeter (object not created locally) 8285
Avoid appending characters as strings in StringBuffer.append. 8285
Avoid appending characters as strings in StringBuffer.append. 8291
Potential violation of Law of Demeter (object not created locally) 8291
Potential violation of Law of Demeter (object not created locally) 8291
Potential violation of Law of Demeter (object not created locally) 8291
Potential violation of Law of Demeter (object not created locally) 8293
Avoid appending characters as strings in StringBuffer.append. 8293
An empty statement (semicolon) not part of a loop 8295
Potential violation of Law of Demeter (object not created locally) 8303
Potential violation of Law of Demeter (object not created locally) 8303
Avoid appending characters as strings in StringBuffer.append. 8303
Potential violation of Law of Demeter (object not created locally) 8307
Avoid appending characters as strings in StringBuffer.append. 8307
Potential violation of Law of Demeter (object not created locally) 8307
An empty statement (semicolon) not part of a loop 8311
Potential violation of Law of Demeter (object not created locally) 8315
Potential violation of Law of Demeter (object not created locally) 8315
Avoid appending characters as strings in StringBuffer.append. 8315
Avoid appending characters as strings in StringBuffer.append. 8319
Potential violation of Law of Demeter (object not created locally) 8319
Potential violation of Law of Demeter (object not created locally) 8319
Potential violation of Law of Demeter (object not created locally) 8344
Potential violation of Law of Demeter (object not created locally) 8348
Potential violation of Law of Demeter (object not created locally) 8348
Avoid appending characters as strings in StringBuffer.append. 8348
Potential violation of Law of Demeter (object not created locally) 8348
Avoid appending characters as strings in StringBuffer.append. 8350
Potential violation of Law of Demeter (object not created locally) 8350
An empty statement (semicolon) not part of a loop 8352
An empty statement (semicolon) not part of a loop 8363
Do not use if statements that are always true or always false 8367
Avoid using if statements without curly braces 8367
Potential violation of Law of Demeter (object not created locally) 8367
Potential violation of Law of Demeter (object not created locally) 8367
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 8375
Do not use if statements that are always true or always false 8376
Avoid using if statements without curly braces 8376
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 8378
Avoid using if statements without curly braces 8379
Do not use if statements that are always true or always false 8379
Do not use if statements that are always true or always false 8381
Avoid using if statements without curly braces 8381
An empty statement (semicolon) not part of a loop 8400
An empty statement (semicolon) not part of a loop 8410
An empty statement (semicolon) not part of a loop 8681
A non-case label was present in a switch statement 86948961
An empty statement (semicolon) not part of a loop 8955
An empty statement (semicolon) not part of a loop 8965
Avoid using if statements without curly braces 8969
Do not use if statements that are always true or always false 8969
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 8977
Do not use if statements that are always true or always false 8978
Avoid using if statements without curly braces 8978
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 8980
Do not use if statements that are always true or always false 8981
Avoid using if statements without curly braces 8981
Do not use if statements that are always true or always false 8983
Avoid using if statements without curly braces 8983
Potential violation of Law of Demeter (static property access) 8998
Avoid using if statements without curly braces 8998
Potential violation of Law of Demeter (static property access) 8999
Avoid using if statements without curly braces 9003
Potential violation of Law of Demeter (static property access) 9003
Potential violation of Law of Demeter (static property access) 9004
Avoid using if statements without curly braces 9004
Avoid using if statements without curly braces 9009
Do not use if statements that are always true or always false 9009
Potential violation of Law of Demeter (static property access) 9025
Potential violation of Law of Demeter (static property access) 9026
Do not use if statements that are always true or always false 9036
Avoid using if statements without curly braces 9036
Avoid unused local variables such as 't'. 9051
Avoid using if statements without curly braces 9057
Do not use if statements that are always true or always false 9057
Avoid using if statements without curly braces 9115
Do not use if statements that are always true or always false 9115
Avoid unused local variables such as 't'. 9130
Avoid using if statements without curly braces 9136
Do not use if statements that are always true or always false 9136
Potential violation of Law of Demeter (static property access) 9153
Potential violation of Law of Demeter (object not created locally) 9158
Do not use if statements that are always true or always false 9164
Potential violation of Law of Demeter (object not created locally) 9164
Potential violation of Law of Demeter (object not created locally) 9164
Avoid using if statements without curly braces 9164
Potential violation of Law of Demeter (object not created locally) 9164
Potential violation of Law of Demeter (object not created locally) 9182
Potential violation of Law of Demeter (object not created locally) 9184
Do not use if statements that are always true or always false 9188
Potential violation of Law of Demeter (object not created locally) 9188
Avoid using if statements without curly braces 9188
Potential violation of Law of Demeter (object not created locally) 9188
Potential violation of Law of Demeter (object not created locally) 9188
Avoid using if statements without curly braces 9253
Do not use if statements that are always true or always false 9253
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 9261
Do not use if statements that are always true or always false 9262
Avoid using if statements without curly braces 9262
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 9264
Do not use if statements that are always true or always false 9265
Avoid using if statements without curly braces 9265
Do not use if statements that are always true or always false 9267
Avoid using if statements without curly braces 9267
Avoid using if statements without curly braces 9333
Do not use if statements that are always true or always false 9333
An empty statement (semicolon) not part of a loop 9362
Avoid using if statements without curly braces 9685
Do not use if statements that are always true or always false 9685
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 9693
Do not use if statements that are always true or always false 9694
Avoid using if statements without curly braces 9694
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 9696
Avoid using if statements without curly braces 9697
Do not use if statements that are always true or always false 9697
Do not use if statements that are always true or always false 9699
Avoid using if statements without curly braces 9699
Do not use if statements that are always true or always false 9983
Avoid using if statements without curly braces 9983
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 9991
Avoid using if statements without curly braces 9992
Do not use if statements that are always true or always false 9992
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 9994
Do not use if statements that are always true or always false 9995
Avoid using if statements without curly braces 9995
Do not use if statements that are always true or always false 9997
Avoid using if statements without curly braces 9997
An empty statement (semicolon) not part of a loop 10021
Potential violation of Law of Demeter (object not created locally) 10031
Potential violation of Law of Demeter (object not created locally) 10031
Avoid using if statements without curly braces 10032
Do not use if statements that are always true or always false 10032
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 10040
Avoid using if statements without curly braces 10041
Do not use if statements that are always true or always false 10041
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 10043
Do not use if statements that are always true or always false 10044
Avoid using if statements without curly braces 10044
Avoid using if statements without curly braces 10046
Do not use if statements that are always true or always false 10046
An empty statement (semicolon) not part of a loop 10306
An empty statement (semicolon) not part of a loop 10312
An empty statement (semicolon) not part of a loop 10326
An empty statement (semicolon) not part of a loop 10336
Avoid using if statements without curly braces 10340
Do not use if statements that are always true or always false 10340
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 10348
Avoid using if statements without curly braces 10349
Do not use if statements that are always true or always false 10349
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 10351
Do not use if statements that are always true or always false 10352
Avoid using if statements without curly braces 10352
Do not use if statements that are always true or always false 10354
Avoid using if statements without curly braces 10354
An empty statement (semicolon) not part of a loop 10633
Avoid using if statements without curly braces 10642
Do not use if statements that are always true or always false 10642
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 10650
Do not use if statements that are always true or always false 10651
Avoid using if statements without curly braces 10651
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 10653
Avoid using if statements without curly braces 10654
Do not use if statements that are always true or always false 10654
Do not use if statements that are always true or always false 10656
Avoid using if statements without curly braces 10656
An empty statement (semicolon) not part of a loop 10933
Avoid using if statements without curly braces 10942
Do not use if statements that are always true or always false 10942
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 10950
Do not use if statements that are always true or always false 10951
Avoid using if statements without curly braces 10951
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 10953
Do not use if statements that are always true or always false 10954
Avoid using if statements without curly braces 10954
Avoid using if statements without curly braces 10956
Do not use if statements that are always true or always false 10956
An empty statement (semicolon) not part of a loop 11235
Avoid using if statements without curly braces 11244
Do not use if statements that are always true or always false 11244
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 11252
Do not use if statements that are always true or always false 11253
Avoid using if statements without curly braces 11253
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 11255
Do not use if statements that are always true or always false 11256
Avoid using if statements without curly braces 11256
Avoid using if statements without curly braces 11258
Do not use if statements that are always true or always false 11258
An empty statement (semicolon) not part of a loop 11535
An empty statement (semicolon) not part of a loop 11550
Avoid using if statements without curly braces 11554
Do not use if statements that are always true or always false 11554
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 11562
Do not use if statements that are always true or always false 11563
Avoid using if statements without curly braces 11563
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 11565
Do not use if statements that are always true or always false 11566
Avoid using if statements without curly braces 11566
Do not use if statements that are always true or always false 11568
Avoid using if statements without curly braces 11568
An empty statement (semicolon) not part of a loop 11593
An empty statement (semicolon) not part of a loop 11603
An empty statement (semicolon) not part of a loop 11867
An empty statement (semicolon) not part of a loop 11882
Avoid using if statements without curly braces 11886
Do not use if statements that are always true or always false 11886
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 11894
Do not use if statements that are always true or always false 11895
Avoid using if statements without curly braces 11895
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 11897
Do not use if statements that are always true or always false 11898
Avoid using if statements without curly braces 11898
Avoid using if statements without curly braces 11900
Do not use if statements that are always true or always false 11900
An empty statement (semicolon) not part of a loop 12179
An empty statement (semicolon) not part of a loop 12194
Avoid using if statements without curly braces 12198
Do not use if statements that are always true or always false 12198
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12206
Avoid using if statements without curly braces 12207
Do not use if statements that are always true or always false 12207
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12209
Do not use if statements that are always true or always false 12210
Avoid using if statements without curly braces 12210
Avoid using if statements without curly braces 12212
Do not use if statements that are always true or always false 12212
An empty statement (semicolon) not part of a loop 12491
An empty statement (semicolon) not part of a loop 12502
Potential violation of Law of Demeter (object not created locally) 12509
Potential violation of Law of Demeter (object not created locally) 12514
An empty statement (semicolon) not part of a loop 12518
Avoid using if statements without curly braces 12524
Do not use if statements that are always true or always false 12524
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12532
Avoid using if statements without curly braces 12533
Do not use if statements that are always true or always false 12533
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12535
Avoid using if statements without curly braces 12536
Do not use if statements that are always true or always false 12536
Do not use if statements that are always true or always false 12538
Avoid using if statements without curly braces 12538
Avoid using if statements without curly braces 12560
Do not use if statements that are always true or always false 12560
Potential violation of Law of Demeter (object not created locally) 12560
Potential violation of Law of Demeter (object not created locally) 12560
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12568
Do not use if statements that are always true or always false 12569
Avoid using if statements without curly braces 12569
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12571
Avoid using if statements without curly braces 12572
Do not use if statements that are always true or always false 12572
Do not use if statements that are always true or always false 12574
Avoid using if statements without curly braces 12574
Potential violation of Law of Demeter (object not created locally) 12595
Avoid using if statements without curly braces 12595
Potential violation of Law of Demeter (object not created locally) 12595
Do not use if statements that are always true or always false 12595
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12603
Avoid using if statements without curly braces 12604
Do not use if statements that are always true or always false 12604
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12606
Do not use if statements that are always true or always false 12607
Avoid using if statements without curly braces 12607
Do not use if statements that are always true or always false 12609
Avoid using if statements without curly braces 12609
An empty statement (semicolon) not part of a loop 12891
An empty statement (semicolon) not part of a loop 12906
Do not use if statements that are always true or always false 12911
Avoid using if statements without curly braces 12911
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12919
Avoid using if statements without curly braces 12920
Do not use if statements that are always true or always false 12920
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12922
Do not use if statements that are always true or always false 12923
Avoid using if statements without curly braces 12923
Avoid using if statements without curly braces 12925
Do not use if statements that are always true or always false 12925
Do not use if statements that are always true or always false 12944
Potential violation of Law of Demeter (object not created locally) 12944
Avoid using if statements without curly braces 12944
Potential violation of Law of Demeter (object not created locally) 12944
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12952
Avoid using if statements without curly braces 12953
Do not use if statements that are always true or always false 12953
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 12955
Do not use if statements that are always true or always false 12956
Avoid using if statements without curly braces 12956
Do not use if statements that are always true or always false 12958
Avoid using if statements without curly braces 12958
An empty statement (semicolon) not part of a loop 13218
Avoid using if statements without curly braces 13222
Do not use if statements that are always true or always false 13222
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 13230
Avoid using if statements without curly braces 13231
Do not use if statements that are always true or always false 13231
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 13233
Avoid using if statements without curly braces 13234
Do not use if statements that are always true or always false 13234
Do not use if statements that are always true or always false 13236
Avoid using if statements without curly braces 13236
An empty statement (semicolon) not part of a loop 13482
An empty statement (semicolon) not part of a loop 13491
Do not use if statements that are always true or always false 13495
Potential violation of Law of Demeter (object not created locally) 13495
Avoid using if statements without curly braces 13495
Potential violation of Law of Demeter (object not created locally) 13495
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 13503
Avoid using if statements without curly braces 13504
Do not use if statements that are always true or always false 13504
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 13506
Avoid using if statements without curly braces 13507
Do not use if statements that are always true or always false 13507
Do not use if statements that are always true or always false 13509
Avoid using if statements without curly braces 13509
An empty statement (semicolon) not part of a loop 13755
An empty statement (semicolon) not part of a loop 13764
Potential violation of Law of Demeter (object not created locally) 13768
Potential violation of Law of Demeter (object not created locally) 13768
Avoid using if statements without curly braces 13768
Do not use if statements that are always true or always false 13768
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 13776
Do not use if statements that are always true or always false 13777
Avoid using if statements without curly braces 13777
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 13779
Avoid using if statements without curly braces 13780
Do not use if statements that are always true or always false 13780
Avoid using if statements without curly braces 13782
Do not use if statements that are always true or always false 13782
An empty statement (semicolon) not part of a loop 14028
Avoid using if statements without curly braces 14032
Potential violation of Law of Demeter (object not created locally) 14032
Potential violation of Law of Demeter (object not created locally) 14032
Do not use if statements that are always true or always false 14032
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14040
Avoid using if statements without curly braces 14041
Do not use if statements that are always true or always false 14041
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14043
Avoid using if statements without curly braces 14044
Do not use if statements that are always true or always false 14044
Avoid using if statements without curly braces 14046
Do not use if statements that are always true or always false 14046
Potential violation of Law of Demeter (object not created locally) 14065
Do not use if statements that are always true or always false 14065
Potential violation of Law of Demeter (object not created locally) 14065
Avoid using if statements without curly braces 14065
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14073
Avoid using if statements without curly braces 14074
Do not use if statements that are always true or always false 14074
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14076
Do not use if statements that are always true or always false 14077
Avoid using if statements without curly braces 14077
Do not use if statements that are always true or always false 14079
Avoid using if statements without curly braces 14079
An empty statement (semicolon) not part of a loop 14339
A non-case label was present in a switch statement 1434914361
A non-case label was present in a switch statement 1434914361
An empty statement (semicolon) not part of a loop 14353
An empty statement (semicolon) not part of a loop 14365
An empty statement (semicolon) not part of a loop 14370
Avoid using if statements without curly braces 14374
Do not use if statements that are always true or always false 14374
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14382
Avoid using if statements without curly braces 14383
Do not use if statements that are always true or always false 14383
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14385
Do not use if statements that are always true or always false 14386
Avoid using if statements without curly braces 14386
Avoid using if statements without curly braces 14388
Do not use if statements that are always true or always false 14388
An empty statement (semicolon) not part of a loop 14412
An empty statement (semicolon) not part of a loop 14420
An empty statement (semicolon) not part of a loop 14436
Avoid using if statements without curly braces 14440
Do not use if statements that are always true or always false 14440
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14448
Do not use if statements that are always true or always false 14449
Avoid using if statements without curly braces 14449
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14451
Avoid using if statements without curly braces 14452
Do not use if statements that are always true or always false 14452
Avoid using if statements without curly braces 14454
Do not use if statements that are always true or always false 14454
A non-case label was present in a switch statement 1447614488
An empty statement (semicolon) not part of a loop 14480
An empty statement (semicolon) not part of a loop 14492
An empty statement (semicolon) not part of a loop 14509
An empty statement (semicolon) not part of a loop 14523
A non-case label was present in a switch statement 1452614566
An empty statement (semicolon) not part of a loop 14530
An empty statement (semicolon) not part of a loop 14549
An empty statement (semicolon) not part of a loop 14563
An empty statement (semicolon) not part of a loop 14570
A non-case label was present in a switch statement 1458914601
An empty statement (semicolon) not part of a loop 14593
An empty statement (semicolon) not part of a loop 14605
Avoid using if statements without curly braces 14610
Do not use if statements that are always true or always false 14610
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14618
Avoid using if statements without curly braces 14619
Do not use if statements that are always true or always false 14619
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14621
Do not use if statements that are always true or always false 14622
Avoid using if statements without curly braces 14622
Avoid using if statements without curly braces 14624
Do not use if statements that are always true or always false 14624
Avoid using if statements without curly braces 14644
Do not use if statements that are always true or always false 14644
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14652
Avoid using if statements without curly braces 14653
Do not use if statements that are always true or always false 14653
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 14655
Avoid using if statements without curly braces 14656
Do not use if statements that are always true or always false 14656
Avoid using if statements without curly braces 14658
Do not use if statements that are always true or always false 14658
A non-case label was present in a switch statement 1467814945
An empty statement (semicolon) not part of a loop 14938
A non-case label was present in a switch statement 1494615227
An empty statement (semicolon) not part of a loop 14950
A non-case label was present in a switch statement 1495915226
An empty statement (semicolon) not part of a loop 15220
A non-case label was present in a switch statement 1522815507
An empty statement (semicolon) not part of a loop 15232
A non-case label was present in a switch statement 1523915506
An empty statement (semicolon) not part of a loop 15500
Avoid using if statements without curly braces 15522
Do not use if statements that are always true or always false 15522
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 15530
Do not use if statements that are always true or always false 15531
Avoid using if statements without curly braces 15531
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 15533
Avoid using if statements without curly braces 15534
Do not use if statements that are always true or always false 15534
Do not use if statements that are always true or always false 15536
Avoid using if statements without curly braces 15536
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'subtype_name' is not final. 15549
Avoid declaring a variable if it is unreferenced before a possible exit point. 15549
Use one line for each declaration, it enhances code readability. 15549
Avoid unused local variables such as 'subtype_name'. 15549
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'base_type' is not final. 15549
Avoid unused local variables such as 'constraint'. 15549
Avoid unused local variables such as 'start'. 15549
Avoid unused local variables such as 'base_type'. 15549
Avoid unused local variables such as 'collection2'. 15550
Use one line for each declaration, it enhances code readability. 15550
Avoid unused local variables such as 'collection'. 15550
Avoid declaring a variable if it is unreferenced before a possible exit point. 15550
Avoid declaring a variable if it is unreferenced before a possible exit point. 15552
Avoid unused local variables such as 'endElement'. 15552
Use one line for each declaration, it enhances code readability. 15552
Avoid unused local variables such as 'startElement'. 15552
Avoid unused local variables such as 'indexBy'. 15553
Avoid unused local variables such as 'baseType'. 15553
Avoid declaring a variable if it is unreferenced before a possible exit point. 15553
Avoid unused local variables such as 'returnType'. 15553
Use one line for each declaration, it enhances code readability. 15553
Avoid declaring a variable if it is unreferenced before a possible exit point. 15554
Avoid unused local variables such as 'lastField'. 15554
An empty statement (semicolon) not part of a loop 15585
An empty statement (semicolon) not part of a loop 15594
A non-case label was present in a switch statement 1564415656
A non-case label was present in a switch statement 1564415656
An empty statement (semicolon) not part of a loop 15648
A non-case label was present in a switch statement 1566315675
A non-case label was present in a switch statement 1566315675
An empty statement (semicolon) not part of a loop 15667
An empty statement (semicolon) not part of a loop 15705
An empty statement (semicolon) not part of a loop 15716
An empty statement (semicolon) not part of a loop 15726
An empty statement (semicolon) not part of a loop 15739
A non-case label was present in a switch statement 1574515757
A non-case label was present in a switch statement 1574515757
An empty statement (semicolon) not part of a loop 15749
Avoid using if statements without curly braces 16021
Potential violation of Law of Demeter (object not created locally) 16021
Do not use if statements that are always true or always false 16021
Potential violation of Law of Demeter (object not created locally) 16021
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16029
Do not use if statements that are always true or always false 16030
Avoid using if statements without curly braces 16030
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16032
Do not use if statements that are always true or always false 16033
Avoid using if statements without curly braces 16033
Do not use if statements that are always true or always false 16035
Avoid using if statements without curly braces 16035
Avoid declaring a variable if it is unreferenced before a possible exit point. 16049
Avoid unused local variables such as 'dataType'. 16049
Avoid unused local variables such as 'defaultValue'. 16050
Avoid declaring a variable if it is unreferenced before a possible exit point. 16050
An empty statement (semicolon) not part of a loop 16063
An empty statement (semicolon) not part of a loop 16069
An empty statement (semicolon) not part of a loop 16091
Do not use if statements that are always true or always false 16095
Potential violation of Law of Demeter (object not created locally) 16095
Avoid using if statements without curly braces 16095
Potential violation of Law of Demeter (object not created locally) 16095
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16103
Do not use if statements that are always true or always false 16104
Avoid using if statements without curly braces 16104
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16106
Do not use if statements that are always true or always false 16107
Avoid using if statements without curly braces 16107
Do not use if statements that are always true or always false 16109
Avoid using if statements without curly braces 16109
Do not use if statements that are always true or always false 16127
Avoid using if statements without curly braces 16127
Potential violation of Law of Demeter (object not created locally) 16127
Potential violation of Law of Demeter (object not created locally) 16145
Do not use if statements that are always true or always false 16145
Avoid using if statements without curly braces 16145
Do not use if statements that are always true or always false 16163
Avoid using if statements without curly braces 16163
Potential violation of Law of Demeter (object not created locally) 16163
An empty statement (semicolon) not part of a loop 16210
An empty statement (semicolon) not part of a loop 16255
Do not use if statements that are always true or always false 16292
Avoid using if statements without curly braces 16292
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16300
Avoid using if statements without curly braces 16301
Do not use if statements that are always true or always false 16301
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16303
Do not use if statements that are always true or always false 16304
Avoid using if statements without curly braces 16304
Avoid using if statements without curly braces 16306
Do not use if statements that are always true or always false 16306
An empty statement (semicolon) not part of a loop 16330
An empty statement (semicolon) not part of a loop 16339
A non-case label was present in a switch statement 1634416355
An empty statement (semicolon) not part of a loop 16348
An empty statement (semicolon) not part of a loop 16360
Potential violation of Law of Demeter (object not created locally) 16365
Do not use if statements that are always true or always false 16365
Avoid using if statements without curly braces 16365
Potential violation of Law of Demeter (object not created locally) 16365
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16373
Avoid using if statements without curly braces 16374
Do not use if statements that are always true or always false 16374
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16376
Avoid using if statements without curly braces 16377
Do not use if statements that are always true or always false 16377
Avoid using if statements without curly braces 16379
Do not use if statements that are always true or always false 16379
Do not use if statements that are always true or always false 16397
Avoid using if statements without curly braces 16397
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16405
Avoid using if statements without curly braces 16406
Do not use if statements that are always true or always false 16406
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16408
Do not use if statements that are always true or always false 16409
Avoid using if statements without curly braces 16409
Do not use if statements that are always true or always false 16411
Avoid using if statements without curly braces 16411
Avoid using if statements without curly braces 16429
Do not use if statements that are always true or always false 16429
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16437
Avoid using if statements without curly braces 16438
Do not use if statements that are always true or always false 16438
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16440
Avoid using if statements without curly braces 16441
Do not use if statements that are always true or always false 16441
Avoid using if statements without curly braces 16443
Do not use if statements that are always true or always false 16443
Potential violation of Law of Demeter (object not created locally) 16473
Potential violation of Law of Demeter (object not created locally) 16473
Potential violation of Law of Demeter (object not created locally) 16715
Potential violation of Law of Demeter (object not created locally) 16715
Potential violation of Law of Demeter (object not created locally) 16719
Potential violation of Law of Demeter (object not created locally) 16719
Avoid using if statements without curly braces 16729
Potential violation of Law of Demeter (object not created locally) 16729
Do not use if statements that are always true or always false 16729
Potential violation of Law of Demeter (object not created locally) 16729
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16737
Avoid using if statements without curly braces 16738
Do not use if statements that are always true or always false 16738
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16740
Do not use if statements that are always true or always false 16741
Avoid using if statements without curly braces 16741
Avoid using if statements without curly braces 16743
Do not use if statements that are always true or always false 16743
Potential violation of Law of Demeter (object not created locally) 16760
Avoid appending characters as strings in StringBuffer.append. 16760
Potential violation of Law of Demeter (object not created locally) 16760
Potential violation of Law of Demeter (object not created locally) 16762
Potential violation of Law of Demeter (object not created locally) 16762
Avoid appending characters as strings in StringBuffer.append. 16762
Potential violation of Law of Demeter (object not created locally) 16762
Potential violation of Law of Demeter (object not created locally) 16764
Potential violation of Law of Demeter (object not created locally) 16764
Avoid appending characters as strings in StringBuffer.append. 16764
Potential violation of Law of Demeter (object not created locally) 16766
Avoid appending characters as strings in StringBuffer.append. 16766
Potential violation of Law of Demeter (object not created locally) 16766
Potential violation of Law of Demeter (object not created locally) 16766
An empty statement (semicolon) not part of a loop 16771
Potential violation of Law of Demeter (object not created locally) 16778
Avoid appending characters as strings in StringBuffer.append. 16778
Potential violation of Law of Demeter (object not created locally) 16778
Potential violation of Law of Demeter (object not created locally) 16780
Avoid appending characters as strings in StringBuffer.append. 16780
Potential violation of Law of Demeter (object not created locally) 16780
Potential violation of Law of Demeter (object not created locally) 16780
Potential violation of Law of Demeter (object not created locally) 16782
Avoid appending characters as strings in StringBuffer.append. 16782
Potential violation of Law of Demeter (object not created locally) 16782
Potential violation of Law of Demeter (object not created locally) 16784
Avoid appending characters as strings in StringBuffer.append. 16784
Potential violation of Law of Demeter (object not created locally) 16784
Potential violation of Law of Demeter (object not created locally) 16784
An empty statement (semicolon) not part of a loop 16790
Potential violation of Law of Demeter (object not created locally) 16797
Avoid appending characters as strings in StringBuffer.append. 16797
Potential violation of Law of Demeter (object not created locally) 16797
Potential violation of Law of Demeter (object not created locally) 16799
Potential violation of Law of Demeter (object not created locally) 16799
Avoid appending characters as strings in StringBuffer.append. 16799
Potential violation of Law of Demeter (object not created locally) 16799
Avoid appending characters as strings in StringBuffer.append. 16802
Potential violation of Law of Demeter (object not created locally) 16802
Potential violation of Law of Demeter (object not created locally) 16802
Potential violation of Law of Demeter (object not created locally) 16805
Potential violation of Law of Demeter (object not created locally) 16805
Do not use if statements that are always true or always false 16805
Avoid using if statements without curly braces 16805
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16813
Do not use if statements that are always true or always false 16814
Avoid using if statements without curly braces 16814
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16816
Avoid using if statements without curly braces 16817
Do not use if statements that are always true or always false 16817
Do not use if statements that are always true or always false 16819
Avoid using if statements without curly braces 16819
Potential violation of Law of Demeter (object not created locally) 16835
Potential violation of Law of Demeter (object not created locally) 16835
Potential violation of Law of Demeter (object not created locally) 16838
Potential violation of Law of Demeter (object not created locally) 16840
Potential violation of Law of Demeter (object not created locally) 16840
Avoid using if statements without curly braces 16843
Potential violation of Law of Demeter (object not created locally) 16843
Potential violation of Law of Demeter (object not created locally) 16843
Do not use if statements that are always true or always false 16843
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16851
Avoid using if statements without curly braces 16852
Do not use if statements that are always true or always false 16852
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 16854
Avoid using if statements without curly braces 16855
Do not use if statements that are always true or always false 16855
Avoid using if statements without curly braces 16857
Do not use if statements that are always true or always false 16857
Potential violation of Law of Demeter (object not created locally) 16873
Potential violation of Law of Demeter (object not created locally) 17115
Avoid appending characters as strings in StringBuffer.append. 17115
Potential violation of Law of Demeter (object not created locally) 17115
Potential violation of Law of Demeter (object not created locally) 17115
An empty statement (semicolon) not part of a loop 17119
Potential violation of Law of Demeter (object not created locally) 17124
Potential violation of Law of Demeter (object not created locally) 17124
Potential violation of Law of Demeter (object not created locally) 17126
Avoid appending characters as strings in StringBuffer.append. 17126
Potential violation of Law of Demeter (object not created locally) 17126
Potential violation of Law of Demeter (object not created locally) 17126
Potential violation of Law of Demeter (object not created locally) 17128
Potential violation of Law of Demeter (object not created locally) 17128
Avoid appending characters as strings in StringBuffer.append. 17128
Avoid appending characters as strings in StringBuffer.append. 17130
Potential violation of Law of Demeter (object not created locally) 17130
Potential violation of Law of Demeter (object not created locally) 17130
Potential violation of Law of Demeter (object not created locally) 17130
An empty statement (semicolon) not part of a loop 17133
Potential violation of Law of Demeter (object not created locally) 17143
Avoid appending characters as strings in StringBuffer.append. 17143
Potential violation of Law of Demeter (object not created locally) 17143
Potential violation of Law of Demeter (object not created locally) 17145
Avoid appending characters as strings in StringBuffer.append. 17145
Potential violation of Law of Demeter (object not created locally) 17145
Potential violation of Law of Demeter (object not created locally) 17145
An empty statement (semicolon) not part of a loop 17149
Potential violation of Law of Demeter (object not created locally) 17152
Avoid appending characters as strings in StringBuffer.append. 17152
Potential violation of Law of Demeter (object not created locally) 17152
Do not use if statements that are always true or always false 17155
Potential violation of Law of Demeter (object not created locally) 17155
Avoid using if statements without curly braces 17155
Potential violation of Law of Demeter (object not created locally) 17155
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17163
Do not use if statements that are always true or always false 17164
Avoid using if statements without curly braces 17164
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17166
Avoid using if statements without curly braces 17167
Do not use if statements that are always true or always false 17167
Avoid using if statements without curly braces 17169
Do not use if statements that are always true or always false 17169
Avoid appending characters as strings in StringBuffer.append. 17188
Potential violation of Law of Demeter (object not created locally) 17188
Potential violation of Law of Demeter (object not created locally) 17188
Potential violation of Law of Demeter (object not created locally) 17188
Potential violation of Law of Demeter (object not created locally) 17190
Potential violation of Law of Demeter (object not created locally) 17192
Potential violation of Law of Demeter (object not created locally) 17192
Avoid appending characters as strings in StringBuffer.append. 17192
Potential violation of Law of Demeter (object not created locally) 17192
Potential violation of Law of Demeter (object not created locally) 17196
Potential violation of Law of Demeter (object not created locally) 17200
Potential violation of Law of Demeter (object not created locally) 17200
Avoid appending characters as strings in StringBuffer.append. 17200
Avoid appending characters as strings in StringBuffer.append. 17204
Potential violation of Law of Demeter (object not created locally) 17204
Potential violation of Law of Demeter (object not created locally) 17204
Potential violation of Law of Demeter (object not created locally) 17204
An empty statement (semicolon) not part of a loop 17214
An empty statement (semicolon) not part of a loop 17220
Avoid appending characters as strings in StringBuffer.append. 17228
Potential violation of Law of Demeter (object not created locally) 17228
Potential violation of Law of Demeter (object not created locally) 17228
Potential violation of Law of Demeter (object not created locally) 17228
Do not use if statements that are always true or always false 17232
Avoid using if statements without curly braces 17232
Potential violation of Law of Demeter (object not created locally) 17232
Potential violation of Law of Demeter (object not created locally) 17232
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17240
Avoid using if statements without curly braces 17241
Do not use if statements that are always true or always false 17241
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17243
Do not use if statements that are always true or always false 17244
Avoid using if statements without curly braces 17244
Avoid using if statements without curly braces 17246
Do not use if statements that are always true or always false 17246
Potential violation of Law of Demeter (object not created locally) 17262
Avoid appending characters as strings in StringBuffer.append. 17264
Potential violation of Law of Demeter (object not created locally) 17264
Potential violation of Law of Demeter (object not created locally) 17284
Potential violation of Law of Demeter (object not created locally) 17284
Avoid appending characters as strings in StringBuffer.append. 17284
An empty statement (semicolon) not part of a loop 17288
Potential violation of Law of Demeter (object not created locally) 17527
Potential violation of Law of Demeter (object not created locally) 17527
Avoid appending characters as strings in StringBuffer.append. 17527
Potential violation of Law of Demeter (object not created locally) 17527
An empty statement (semicolon) not part of a loop 17531
Potential violation of Law of Demeter (object not created locally) 17534
Potential violation of Law of Demeter (object not created locally) 17536
Avoid appending characters as strings in StringBuffer.append. 17536
Potential violation of Law of Demeter (object not created locally) 17536
Potential violation of Law of Demeter (object not created locally) 17536
Avoid appending characters as strings in StringBuffer.append. 17538
Potential violation of Law of Demeter (object not created locally) 17538
Potential violation of Law of Demeter (object not created locally) 17541
Avoid using if statements without curly braces 17541
Potential violation of Law of Demeter (object not created locally) 17541
Do not use if statements that are always true or always false 17541
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17549
Avoid using if statements without curly braces 17550
Do not use if statements that are always true or always false 17550
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17552
Avoid using if statements without curly braces 17553
Do not use if statements that are always true or always false 17553
Do not use if statements that are always true or always false 17555
Avoid using if statements without curly braces 17555
Potential violation of Law of Demeter (object not created locally) 17586
Potential violation of Law of Demeter (object not created locally) 17588
Avoid appending characters as strings in StringBuffer.append. 17588
Avoid appending characters as strings in StringBuffer.append. 17590
Potential violation of Law of Demeter (object not created locally) 17590
Potential violation of Law of Demeter (object not created locally) 17590
Potential violation of Law of Demeter (object not created locally) 17590
Potential violation of Law of Demeter (object not created locally) 17597
Potential violation of Law of Demeter (object not created locally) 17597
Potential violation of Law of Demeter (object not created locally) 17597
An empty statement (semicolon) not part of a loop 17601
Potential violation of Law of Demeter (object not created locally) 17604
Potential violation of Law of Demeter (object not created locally) 17606
Avoid appending characters as strings in StringBuffer.append. 17606
Potential violation of Law of Demeter (object not created locally) 17606
Potential violation of Law of Demeter (object not created locally) 17606
Potential violation of Law of Demeter (object not created locally) 17608
Avoid appending characters as strings in StringBuffer.append. 17608
An empty statement (semicolon) not part of a loop 17613
Avoid using if statements without curly braces 17624
Potential violation of Law of Demeter (object not created locally) 17624
Do not use if statements that are always true or always false 17624
Potential violation of Law of Demeter (object not created locally) 17624
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17632
Avoid using if statements without curly braces 17633
Do not use if statements that are always true or always false 17633
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17635
Avoid using if statements without curly braces 17636
Do not use if statements that are always true or always false 17636
Avoid using if statements without curly braces 17638
Do not use if statements that are always true or always false 17638
Potential violation of Law of Demeter (object not created locally) 17654
Potential violation of Law of Demeter (object not created locally) 17654
An empty statement (semicolon) not part of a loop 17659
Potential violation of Law of Demeter (object not created locally) 17666
Potential violation of Law of Demeter (object not created locally) 17668
Potential violation of Law of Demeter (object not created locally) 17668
Potential violation of Law of Demeter (object not created locally) 17672
Potential violation of Law of Demeter (object not created locally) 17672
Do not use if statements that are always true or always false 17672
Avoid using if statements without curly braces 17672
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17680
Do not use if statements that are always true or always false 17681
Avoid using if statements without curly braces 17681
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17683
Do not use if statements that are always true or always false 17684
Avoid using if statements without curly braces 17684
Do not use if statements that are always true or always false 17686
Avoid using if statements without curly braces 17686
Potential violation of Law of Demeter (object not created locally) 17702
Potential violation of Law of Demeter (object not created locally) 17702
An empty statement (semicolon) not part of a loop 17707
Potential violation of Law of Demeter (object not created locally) 17714
Potential violation of Law of Demeter (object not created locally) 17716
Potential violation of Law of Demeter (object not created locally) 17716
Potential violation of Law of Demeter (object not created locally) 17720
Do not use if statements that are always true or always false 17720
Potential violation of Law of Demeter (object not created locally) 17720
Avoid using if statements without curly braces 17720
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17728
Do not use if statements that are always true or always false 17729
Avoid using if statements without curly braces 17729
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17731
Do not use if statements that are always true or always false 17732
Avoid using if statements without curly braces 17732
Avoid using if statements without curly braces 17734
Do not use if statements that are always true or always false 17734
Potential violation of Law of Demeter (object not created locally) 17750
Potential violation of Law of Demeter (object not created locally) 17750
An empty statement (semicolon) not part of a loop 17757
Potential violation of Law of Demeter (object not created locally) 17766
Potential violation of Law of Demeter (object not created locally) 17771
Potential violation of Law of Demeter (object not created locally) 17775
Potential violation of Law of Demeter (object not created locally) 17783
Potential violation of Law of Demeter (object not created locally) 17783
Do not use if statements that are always true or always false 17787
Potential violation of Law of Demeter (object not created locally) 17787
Avoid using if statements without curly braces 17787
Potential violation of Law of Demeter (object not created locally) 17787
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17795
Avoid using if statements without curly braces 17796
Do not use if statements that are always true or always false 17796
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 17798
Do not use if statements that are always true or always false 17799
Avoid using if statements without curly braces 17799
Do not use if statements that are always true or always false 17801
Avoid using if statements without curly braces 17801
StringBuffer constructor is initialized with size 16, but has at least 61 characters appended. 17817
Potential violation of Law of Demeter (object not created locally) 17820
Potential violation of Law of Demeter (object not created locally) 17820
An empty statement (semicolon) not part of a loop 17834
Potential violation of Law of Demeter (object not created locally) 17846
Avoid appending characters as strings in StringBuffer.append. 17846
Potential violation of Law of Demeter (object not created locally) 17850
Avoid appending characters as strings in StringBuffer.append. 17850
An empty statement (semicolon) not part of a loop 17854
Potential violation of Law of Demeter (object not created locally) 17859
Avoid appending characters as strings in StringBuffer.append. 17859
Potential violation of Law of Demeter (object not created locally) 17869
Avoid appending characters as strings in StringBuffer.append. 17869
An empty statement (semicolon) not part of a loop 17873
Potential violation of Law of Demeter (object not created locally) 17875
Avoid appending characters as strings in StringBuffer.append. 17875
Potential violation of Law of Demeter (object not created locally) 17887
An empty statement (semicolon) not part of a loop 17891
Potential violation of Law of Demeter (object not created locally) 17896
Potential violation of Law of Demeter (object not created locally) 17900
Potential violation of Law of Demeter (object not created locally) 17904
Potential violation of Law of Demeter (object not created locally) 17908
Potential violation of Law of Demeter (object not created locally) 17915
Potential violation of Law of Demeter (object not created locally) 17919
Potential violation of Law of Demeter (object not created locally) 17929
An empty statement (semicolon) not part of a loop 17933
Potential violation of Law of Demeter (object not created locally) 17944
Potential violation of Law of Demeter (object not created locally) 17948
Potential violation of Law of Demeter (object not created locally) 17952
Potential violation of Law of Demeter (object not created locally) 17956
Potential violation of Law of Demeter (object not created locally) 17969
Potential violation of Law of Demeter (object not created locally) 17973
An empty statement (semicolon) not part of a loop 17983
Potential violation of Law of Demeter (object not created locally) 17992
Potential violation of Law of Demeter (object not created locally) 17992
Potential violation of Law of Demeter (object not created locally) 17996
Avoid appending characters as strings in StringBuffer.append. 18000
Potential violation of Law of Demeter (object not created locally) 18000
Potential violation of Law of Demeter (object not created locally) 18000
Potential violation of Law of Demeter (object not created locally) 18004
Potential violation of Law of Demeter (object not created locally) 18004
Potential violation of Law of Demeter (object not created locally) 18004
Avoid appending characters as strings in StringBuffer.append. 18004
An empty statement (semicolon) not part of a loop 18014
Avoid using if statements without curly braces 18019
Potential violation of Law of Demeter (object not created locally) 18019
Do not use if statements that are always true or always false 18019
Potential violation of Law of Demeter (object not created locally) 18019
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18027
Avoid using if statements without curly braces 18028
Do not use if statements that are always true or always false 18028
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18030
Do not use if statements that are always true or always false 18031
Avoid using if statements without curly braces 18031
Do not use if statements that are always true or always false 18033
Avoid using if statements without curly braces 18033
Potential violation of Law of Demeter (object not created locally) 18049
Potential violation of Law of Demeter (object not created locally) 18049
An empty statement (semicolon) not part of a loop 18056
Potential violation of Law of Demeter (object not created locally) 18065
Potential violation of Law of Demeter (object not created locally) 18069
Potential violation of Law of Demeter (object not created locally) 18073
Potential violation of Law of Demeter (object not created locally) 18081
Potential violation of Law of Demeter (object not created locally) 18081
Potential violation of Law of Demeter (object not created locally) 18085
Avoid using if statements without curly braces 18085
Do not use if statements that are always true or always false 18085
Potential violation of Law of Demeter (object not created locally) 18085
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18093
Avoid using if statements without curly braces 18094
Do not use if statements that are always true or always false 18094
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18096
Avoid using if statements without curly braces 18097
Do not use if statements that are always true or always false 18097
Do not use if statements that are always true or always false 18099
Avoid using if statements without curly braces 18099
Potential violation of Law of Demeter (object not created locally) 18115
Potential violation of Law of Demeter (object not created locally) 18115
An empty statement (semicolon) not part of a loop 18120
Potential violation of Law of Demeter (object not created locally) 18127
Potential violation of Law of Demeter (object not created locally) 18129
Potential violation of Law of Demeter (object not created locally) 18129
Potential violation of Law of Demeter (object not created locally) 18133
Potential violation of Law of Demeter (object not created locally) 18133
Avoid using if statements without curly braces 18133
Do not use if statements that are always true or always false 18133
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18141
Do not use if statements that are always true or always false 18142
Avoid using if statements without curly braces 18142
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18144
Avoid using if statements without curly braces 18145
Do not use if statements that are always true or always false 18145
Do not use if statements that are always true or always false 18147
Avoid using if statements without curly braces 18147
Potential violation of Law of Demeter (object not created locally) 18163
Potential violation of Law of Demeter (object not created locally) 18163
An empty statement (semicolon) not part of a loop 18171
Potential violation of Law of Demeter (object not created locally) 18180
Potential violation of Law of Demeter (object not created locally) 18184
Potential violation of Law of Demeter (object not created locally) 18188
Potential violation of Law of Demeter (object not created locally) 18192
Potential violation of Law of Demeter (object not created locally) 18200
Potential violation of Law of Demeter (object not created locally) 18200
Avoid using if statements without curly braces 18204
Potential violation of Law of Demeter (object not created locally) 18204
Potential violation of Law of Demeter (object not created locally) 18204
Do not use if statements that are always true or always false 18204
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18212
Avoid using if statements without curly braces 18213
Do not use if statements that are always true or always false 18213
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18215
Do not use if statements that are always true or always false 18216
Avoid using if statements without curly braces 18216
Avoid using if statements without curly braces 18218
Do not use if statements that are always true or always false 18218
Potential violation of Law of Demeter (object not created locally) 18239
Potential violation of Law of Demeter (object not created locally) 18243
Potential violation of Law of Demeter (object not created locally) 18251
Potential violation of Law of Demeter (object not created locally) 18251
Potential violation of Law of Demeter (object not created locally) 18490
Potential violation of Law of Demeter (object not created locally) 18490
Potential violation of Law of Demeter (object not created locally) 18499
Avoid using if statements without curly braces 18499
Potential violation of Law of Demeter (object not created locally) 18499
Do not use if statements that are always true or always false 18499
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18507
Do not use if statements that are always true or always false 18508
Avoid using if statements without curly braces 18508
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18510
Avoid using if statements without curly braces 18511
Do not use if statements that are always true or always false 18511
Avoid using if statements without curly braces 18513
Do not use if statements that are always true or always false 18513
Potential violation of Law of Demeter (object not created locally) 18531
Potential violation of Law of Demeter (object not created locally) 18533
Potential violation of Law of Demeter (object not created locally) 18533
Potential violation of Law of Demeter (object not created locally) 18771
Potential violation of Law of Demeter (object not created locally) 18771
Potential violation of Law of Demeter (object not created locally) 18780
Avoid using if statements without curly braces 18780
Potential violation of Law of Demeter (object not created locally) 18780
Do not use if statements that are always true or always false 18780
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18788
Avoid using if statements without curly braces 18789
Do not use if statements that are always true or always false 18789
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 18791
Avoid using if statements without curly braces 18792
Do not use if statements that are always true or always false 18792
Avoid using if statements without curly braces 18794
Do not use if statements that are always true or always false 18794
Avoid declaring a variable if it is unreferenced before a possible exit point. 18812
Avoid unused local variables such as 'thisToken'. 18812
Potential violation of Law of Demeter (object not created locally) 18818
Potential violation of Law of Demeter (object not created locally) 18818
Potential violation of Law of Demeter (object not created locally) 18818
Potential violation of Law of Demeter (object not created locally) 19056
Potential violation of Law of Demeter (object not created locally) 19058
Potential violation of Law of Demeter (object not created locally) 19058
Potential violation of Law of Demeter (object not created locally) 19296
Potential violation of Law of Demeter (object not created locally) 19296
A non-case label was present in a switch statement 1930419313
An empty statement (semicolon) not part of a loop 19307
Potential violation of Law of Demeter (object not created locally) 19312
Potential violation of Law of Demeter (object not created locally) 19312
Potential violation of Law of Demeter (object not created locally) 19322
Avoid using if statements without curly braces 19322
Do not use if statements that are always true or always false 19322
Potential violation of Law of Demeter (object not created locally) 19322
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 19330
Avoid using if statements without curly braces 19331
Do not use if statements that are always true or always false 19331
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 19333
Avoid using if statements without curly braces 19334
Do not use if statements that are always true or always false 19334
Avoid using if statements without curly braces 19336
Do not use if statements that are always true or always false 19336
Potential violation of Law of Demeter (object not created locally) 19362
Potential violation of Law of Demeter (object not created locally) 19362
Potential violation of Law of Demeter (object not created locally) 19372
Potential violation of Law of Demeter (object not created locally) 19372
Potential violation of Law of Demeter (object not created locally) 19375
Potential violation of Law of Demeter (object not created locally) 19375
Potential violation of Law of Demeter (object not created locally) 19604
Potential violation of Law of Demeter (object not created locally) 19604
Potential violation of Law of Demeter (object not created locally) 19610
Potential violation of Law of Demeter (object not created locally) 19614
Potential violation of Law of Demeter (object not created locally) 19619
Potential violation of Law of Demeter (object not created locally) 19623
Avoid appending characters as strings in StringBuffer.append. 19630
Potential violation of Law of Demeter (object not created locally) 19630
Potential violation of Law of Demeter (object not created locally) 19632
Potential violation of Law of Demeter (object not created locally) 19632
A non-case label was present in a switch statement 1963319647
A non-case label was present in a switch statement 1963319647
A non-case label was present in a switch statement 1963319647
An empty statement (semicolon) not part of a loop 19637
Potential violation of Law of Demeter (object not created locally) 19644
Potential violation of Law of Demeter (object not created locally) 19646
Potential violation of Law of Demeter (object not created locally) 19646
Potential violation of Law of Demeter (object not created locally) 19649
Avoid appending characters as strings in StringBuffer.append. 19649
Potential violation of Law of Demeter (object not created locally) 19662
Do not use if statements that are always true or always false 19662
Potential violation of Law of Demeter (object not created locally) 19662
Avoid using if statements without curly braces 19662
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 19670
Do not use if statements that are always true or always false 19671
Avoid using if statements without curly braces 19671
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 19673
Do not use if statements that are always true or always false 19674
Avoid using if statements without curly braces 19674
Avoid using if statements without curly braces 19676
Do not use if statements that are always true or always false 19676
Potential violation of Law of Demeter (object not created locally) 19694
Avoid appending characters as strings in StringBuffer.append. 19694
Potential violation of Law of Demeter (object not created locally) 19696
Potential violation of Law of Demeter (object not created locally) 19696
Avoid appending characters as strings in StringBuffer.append. 19700
Potential violation of Law of Demeter (object not created locally) 19700
Potential violation of Law of Demeter (object not created locally) 19702
Potential violation of Law of Demeter (object not created locally) 19702
Potential violation of Law of Demeter (object not created locally) 19706
Potential violation of Law of Demeter (object not created locally) 19706
Potential violation of Law of Demeter (static property access) 19706
Avoid appending characters as strings in StringBuffer.append. 19706
Potential violation of Law of Demeter (object not created locally) 19710
Potential violation of Law of Demeter (object not created locally) 19710
Avoid appending characters as strings in StringBuffer.append. 19710
Potential violation of Law of Demeter (static property access) 19710
Potential violation of Law of Demeter (object not created locally) 19715
Potential violation of Law of Demeter (object not created locally) 19719
Potential violation of Law of Demeter (static property access) 19719
Avoid appending characters as strings in StringBuffer.append. 19719
Potential violation of Law of Demeter (object not created locally) 19719
Avoid appending characters as strings in StringBuffer.append. 19723
Potential violation of Law of Demeter (object not created locally) 19723
Potential violation of Law of Demeter (object not created locally) 19723
Potential violation of Law of Demeter (static property access) 19723
Potential violation of Law of Demeter (object not created locally) 19727
Potential violation of Law of Demeter (object not created locally) 19727
Potential violation of Law of Demeter (object not created locally) 19727
Avoid appending characters as strings in StringBuffer.append. 19727
Potential violation of Law of Demeter (object not created locally) 19966
Avoid appending characters as strings in StringBuffer.append. 19966
Potential violation of Law of Demeter (object not created locally) 19966
Potential violation of Law of Demeter (object not created locally) 19966
Potential violation of Law of Demeter (object not created locally) 19982
Do not use if statements that are always true or always false 19991
Avoid using if statements without curly braces 19991
Potential violation of Law of Demeter (object not created locally) 19991
Potential violation of Law of Demeter (object not created locally) 19991
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 19999
Avoid using if statements without curly braces 20000
Do not use if statements that are always true or always false 20000
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20002
Do not use if statements that are always true or always false 20003
Avoid using if statements without curly braces 20003
Avoid using if statements without curly braces 20005
Do not use if statements that are always true or always false 20005
Potential violation of Law of Demeter (object not created locally) 20053
Potential violation of Law of Demeter (object not created locally) 20053
Potential violation of Law of Demeter (object not created locally) 20057
Do not use if statements that are always true or always false 20059
Avoid using if statements without curly braces 20059
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20067
Avoid using if statements without curly braces 20068
Do not use if statements that are always true or always false 20068
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20070
Avoid using if statements without curly braces 20071
Do not use if statements that are always true or always false 20071
Avoid using if statements without curly braces 20073
Do not use if statements that are always true or always false 20073
Potential violation of Law of Demeter (object not created locally) 20093
Potential violation of Law of Demeter (method chain calls) 20099
Potential violation of Law of Demeter (static property access) 20099
Potential violation of Law of Demeter (static property access) 20100
Potential violation of Law of Demeter (static property access) 20105
Potential violation of Law of Demeter (static property access) 20120
Potential violation of Law of Demeter (object not created locally) 20123
Potential violation of Law of Demeter (object not created locally) 20128
Do not use if statements that are always true or always false 20128
Potential violation of Law of Demeter (object not created locally) 20128
Potential violation of Law of Demeter (object not created locally) 20128
Avoid using if statements without curly braces 20128
Potential violation of Law of Demeter (object not created locally) 20157
Do not use if statements that are always true or always false 20158
Avoid using if statements without curly braces 20158
Potential violation of Law of Demeter (object not created locally) 20176
Avoid using if statements without curly braces 20177
Do not use if statements that are always true or always false 20177
Avoid using if statements without curly braces 20207
Do not use if statements that are always true or always false 20207
Potential violation of Law of Demeter (object not created locally) 20231
Avoid using if statements without curly braces 20232
Do not use if statements that are always true or always false 20232
Potential violation of Law of Demeter (object not created locally) 20254
Potential violation of Law of Demeter (object not created locally) 20254
Do not use if statements that are always true or always false 20255
Avoid using if statements without curly braces 20255
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20263
Do not use if statements that are always true or always false 20264
Avoid using if statements without curly braces 20264
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20266
Do not use if statements that are always true or always false 20267
Avoid using if statements without curly braces 20267
Avoid using if statements without curly braces 20269
Do not use if statements that are always true or always false 20269
Potential violation of Law of Demeter (object not created locally) 20286
Potential violation of Law of Demeter (object not created locally) 20286
An empty statement (semicolon) not part of a loop 20290
Avoid appending characters as strings in StringBuffer.append. 20297
Potential violation of Law of Demeter (object not created locally) 20297
Avoid appending characters as strings in StringBuffer.append. 20301
Potential violation of Law of Demeter (object not created locally) 20301
Potential violation of Law of Demeter (object not created locally) 20310
Potential violation of Law of Demeter (object not created locally) 20310
Potential violation of Law of Demeter (object not created locally) 20314
Potential violation of Law of Demeter (object not created locally) 20314
Do not use if statements that are always true or always false 20315
Avoid using if statements without curly braces 20315
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20323
Do not use if statements that are always true or always false 20324
Avoid using if statements without curly braces 20324
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20326
Do not use if statements that are always true or always false 20327
Avoid using if statements without curly braces 20327
Do not use if statements that are always true or always false 20329
Avoid using if statements without curly braces 20329
Potential violation of Law of Demeter (object not created locally) 20346
Potential violation of Law of Demeter (object not created locally) 20346
An empty statement (semicolon) not part of a loop 20351
Potential violation of Law of Demeter (object not created locally) 20359
Avoid appending characters as strings in StringBuffer.append. 20359
Potential violation of Law of Demeter (object not created locally) 20359
Potential violation of Law of Demeter (object not created locally) 20359
Potential violation of Law of Demeter (object not created locally) 20363
Potential violation of Law of Demeter (object not created locally) 20363
Avoid using if statements without curly braces 20364
Do not use if statements that are always true or always false 20364
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20372
Do not use if statements that are always true or always false 20373
Avoid using if statements without curly braces 20373
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20375
Avoid using if statements without curly braces 20376
Do not use if statements that are always true or always false 20376
Do not use if statements that are always true or always false 20378
Avoid using if statements without curly braces 20378
An empty statement (semicolon) not part of a loop 20638
Do not use if statements that are always true or always false 20643
Avoid using if statements without curly braces 20643
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20651
Avoid using if statements without curly braces 20652
Do not use if statements that are always true or always false 20652
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20654
Do not use if statements that are always true or always false 20655
Avoid using if statements without curly braces 20655
Avoid using if statements without curly braces 20657
Do not use if statements that are always true or always false 20657
An empty statement (semicolon) not part of a loop 20677
Do not use if statements that are always true or always false 20688
Avoid using if statements without curly braces 20688
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20696
Do not use if statements that are always true or always false 20697
Avoid using if statements without curly braces 20697
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20699
Do not use if statements that are always true or always false 20700
Avoid using if statements without curly braces 20700
Do not use if statements that are always true or always false 20702
Avoid using if statements without curly braces 20702
An empty statement (semicolon) not part of a loop 20732
An empty statement (semicolon) not part of a loop 20753
Potential violation of Law of Demeter (object not created locally) 20757
Potential violation of Law of Demeter (object not created locally) 20757
Avoid using if statements without curly braces 20758
Do not use if statements that are always true or always false 20758
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20766
Do not use if statements that are always true or always false 20767
Avoid using if statements without curly braces 20767
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20769
Avoid using if statements without curly braces 20770
Do not use if statements that are always true or always false 20770
Avoid using if statements without curly braces 20772
Do not use if statements that are always true or always false 20772
Do not use if statements that are always true or always false 20794
Avoid using if statements without curly braces 20794
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20802
Do not use if statements that are always true or always false 20803
Avoid using if statements without curly braces 20803
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 20805
Do not use if statements that are always true or always false 20806
Avoid using if statements without curly braces 20806
Avoid using if statements without curly braces 20808
Do not use if statements that are always true or always false 20808
Do not use if statements that are always true or always false 20826
Potential violation of Law of Demeter (object not created locally) 20826
Avoid using if statements without curly braces 20826
A non-case label was present in a switch statement 2085921220
An empty statement (semicolon) not part of a loop 21214
An empty statement (semicolon) not part of a loop 21246
An empty statement (semicolon) not part of a loop 21264
Avoid using if statements without curly braces 21504
Do not use if statements that are always true or always false 21504
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21512
Avoid using if statements without curly braces 21513
Do not use if statements that are always true or always false 21513
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21515
Do not use if statements that are always true or always false 21516
Avoid using if statements without curly braces 21516
Avoid using if statements without curly braces 21518
Do not use if statements that are always true or always false 21518
Avoid using if statements without curly braces 21542
Do not use if statements that are always true or always false 21542
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21550
Do not use if statements that are always true or always false 21551
Avoid using if statements without curly braces 21551
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21553
Avoid using if statements without curly braces 21554
Do not use if statements that are always true or always false 21554
Do not use if statements that are always true or always false 21556
Avoid using if statements without curly braces 21556
Potential violation of Law of Demeter (object not created locally) 21576
Potential violation of Law of Demeter (object not created locally) 21576
Do not use if statements that are always true or always false 21576
Avoid using if statements without curly braces 21576
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21584
Do not use if statements that are always true or always false 21585
Avoid using if statements without curly braces 21585
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21587
Do not use if statements that are always true or always false 21588
Avoid using if statements without curly braces 21588
Avoid using if statements without curly braces 21590
Do not use if statements that are always true or always false 21590
A non-case label was present in a switch statement 2162921641
An empty statement (semicolon) not part of a loop 21633
A non-case label was present in a switch statement 2166821680
An empty statement (semicolon) not part of a loop 21672
An empty statement (semicolon) not part of a loop 21685
Do not use if statements that are always true or always false 21689
Avoid using if statements without curly braces 21689
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21697
Do not use if statements that are always true or always false 21698
Avoid using if statements without curly braces 21698
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21700
Do not use if statements that are always true or always false 21701
Avoid using if statements without curly braces 21701
Do not use if statements that are always true or always false 21703
Avoid using if statements without curly braces 21703
An empty statement (semicolon) not part of a loop 21751
An empty statement (semicolon) not part of a loop 21758
An empty statement (semicolon) not part of a loop 21795
Avoid using if statements without curly braces 21802
Do not use if statements that are always true or always false 21802
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21810
Avoid using if statements without curly braces 21811
Do not use if statements that are always true or always false 21811
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21813
Do not use if statements that are always true or always false 21814
Avoid using if statements without curly braces 21814
Do not use if statements that are always true or always false 21816
Avoid using if statements without curly braces 21816
An empty statement (semicolon) not part of a loop 21846
An empty statement (semicolon) not part of a loop 21856
An empty statement (semicolon) not part of a loop 21883
An empty statement (semicolon) not part of a loop 21891
Avoid using if statements without curly braces 21895
Do not use if statements that are always true or always false 21895
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21903
Do not use if statements that are always true or always false 21904
Avoid using if statements without curly braces 21904
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21906
Do not use if statements that are always true or always false 21907
Avoid using if statements without curly braces 21907
Avoid using if statements without curly braces 21909
Do not use if statements that are always true or always false 21909
An empty statement (semicolon) not part of a loop 21933
An empty statement (semicolon) not part of a loop 21944
An empty statement (semicolon) not part of a loop 21950
Do not use if statements that are always true or always false 21954
Avoid using if statements without curly braces 21954
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21962
Do not use if statements that are always true or always false 21963
Avoid using if statements without curly braces 21963
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 21965
Do not use if statements that are always true or always false 21966
Avoid using if statements without curly braces 21966
Avoid using if statements without curly braces 21968
Do not use if statements that are always true or always false 21968
An empty statement (semicolon) not part of a loop 21991
An empty statement (semicolon) not part of a loop 22002
An empty statement (semicolon) not part of a loop 22008
A non-case label was present in a switch statement 2201622028
An empty statement (semicolon) not part of a loop 22020
An empty statement (semicolon) not part of a loop 22033
Potential violation of Law of Demeter (object not created locally) 22051
Avoid using if statements without curly braces 22051
Do not use if statements that are always true or always false 22051
Potential violation of Law of Demeter (object not created locally) 22051
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22059
Avoid using if statements without curly braces 22060
Do not use if statements that are always true or always false 22060
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22062
Do not use if statements that are always true or always false 22063
Avoid using if statements without curly braces 22063
Avoid using if statements without curly braces 22065
Do not use if statements that are always true or always false 22065
An empty statement (semicolon) not part of a loop 22088
An empty statement (semicolon) not part of a loop 22096
Avoid using if statements without curly braces 22116
Do not use if statements that are always true or always false 22116
Potential violation of Law of Demeter (object not created locally) 22116
Potential violation of Law of Demeter (object not created locally) 22116
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22124
Do not use if statements that are always true or always false 22125
Avoid using if statements without curly braces 22125
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22127
Do not use if statements that are always true or always false 22128
Avoid using if statements without curly braces 22128
Do not use if statements that are always true or always false 22130
Avoid using if statements without curly braces 22130
An empty statement (semicolon) not part of a loop 22153
Avoid using if statements without curly braces 22173
Do not use if statements that are always true or always false 22173
Potential violation of Law of Demeter (object not created locally) 22173
Potential violation of Law of Demeter (object not created locally) 22173
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22181
Avoid using if statements without curly braces 22182
Do not use if statements that are always true or always false 22182
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22184
Do not use if statements that are always true or always false 22185
Avoid using if statements without curly braces 22185
Avoid using if statements without curly braces 22187
Do not use if statements that are always true or always false 22187
An empty statement (semicolon) not part of a loop 22209
An empty statement (semicolon) not part of a loop 22217
An empty statement (semicolon) not part of a loop 22713
Avoid using if statements without curly braces 22729
Potential violation of Law of Demeter (object not created locally) 22729
Do not use if statements that are always true or always false 22729
Potential violation of Law of Demeter (object not created locally) 22729
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22737
Do not use if statements that are always true or always false 22738
Avoid using if statements without curly braces 22738
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22740
Avoid using if statements without curly braces 22741
Do not use if statements that are always true or always false 22741
Avoid using if statements without curly braces 22743
Do not use if statements that are always true or always false 22743
Avoid using if statements without curly braces 22761
Do not use if statements that are always true or always false 22761
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22769
Do not use if statements that are always true or always false 22770
Avoid using if statements without curly braces 22770
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22772
Avoid using if statements without curly braces 22773
Do not use if statements that are always true or always false 22773
Do not use if statements that are always true or always false 22775
Avoid using if statements without curly braces 22775
An empty statement (semicolon) not part of a loop 22815
An empty statement (semicolon) not part of a loop 22825
An empty statement (semicolon) not part of a loop 22844
Avoid using if statements without curly braces 22848
Do not use if statements that are always true or always false 22848
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22856
Do not use if statements that are always true or always false 22857
Avoid using if statements without curly braces 22857
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 22859
Avoid using if statements without curly braces 22860
Do not use if statements that are always true or always false 22860
Avoid using if statements without curly braces 22862
Do not use if statements that are always true or always false 22862
An empty statement (semicolon) not part of a loop 22888
An empty statement (semicolon) not part of a loop 22900
An empty statement (semicolon) not part of a loop 22936
An empty statement (semicolon) not part of a loop 22960
An empty statement (semicolon) not part of a loop 22968
An empty statement (semicolon) not part of a loop 22976
An empty statement (semicolon) not part of a loop 22984
An empty statement (semicolon) not part of a loop 23011
A non-case label was present in a switch statement 2335623623
A non-case label was present in a switch statement 2335623623
An empty statement (semicolon) not part of a loop 23616
An empty statement (semicolon) not part of a loop 23630
An empty statement (semicolon) not part of a loop 23977
An empty statement (semicolon) not part of a loop 23989
Avoid using if statements without curly braces 23993
Do not use if statements that are always true or always false 23993
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 24001
Do not use if statements that are always true or always false 24002
Avoid using if statements without curly braces 24002
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 24004
Do not use if statements that are always true or always false 24005
Avoid using if statements without curly braces 24005
Avoid using if statements without curly braces 24007
Do not use if statements that are always true or always false 24007
An empty statement (semicolon) not part of a loop 24032
An empty statement (semicolon) not part of a loop 24052
An empty statement (semicolon) not part of a loop 24057
An empty statement (semicolon) not part of a loop 24067
An empty statement (semicolon) not part of a loop 24073
An empty statement (semicolon) not part of a loop 24078
An empty statement (semicolon) not part of a loop 24186
An empty statement (semicolon) not part of a loop 24212
An empty statement (semicolon) not part of a loop 24223
An empty statement (semicolon) not part of a loop 24231
A non-case label was present in a switch statement 2423624939
An empty statement (semicolon) not part of a loop 24579
A non-case label was present in a switch statement 2494024979
An empty statement (semicolon) not part of a loop 24944
An empty statement (semicolon) not part of a loop 24984
An empty statement (semicolon) not part of a loop 24993
An empty statement (semicolon) not part of a loop 25005
An empty statement (semicolon) not part of a loop 25027
A non-case label was present in a switch statement 2505025073
An empty statement (semicolon) not part of a loop 25054
An empty statement (semicolon) not part of a loop 25077
Avoid using if statements without curly braces 25081
Potential violation of Law of Demeter (object not created locally) 25081
Potential violation of Law of Demeter (object not created locally) 25081
Do not use if statements that are always true or always false 25081
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 25089
Do not use if statements that are always true or always false 25090
Avoid using if statements without curly braces 25090
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 25092
Do not use if statements that are always true or always false 25093
Avoid using if statements without curly braces 25093
Avoid using if statements without curly braces 25095
Do not use if statements that are always true or always false 25095
An empty statement (semicolon) not part of a loop 25120
An empty statement (semicolon) not part of a loop 25136
A non-case label was present in a switch statement 2515025238
A non-case label was present in a switch statement 2516625177
A non-case label was present in a switch statement 2516625177
An empty statement (semicolon) not part of a loop 25170
A non-case label was present in a switch statement 2517925191
A non-case label was present in a switch statement 2517925191
An empty statement (semicolon) not part of a loop 25183
A non-case label was present in a switch statement 2519225203
A non-case label was present in a switch statement 2519225203
An empty statement (semicolon) not part of a loop 25196
An empty statement (semicolon) not part of a loop 25232
A non-case label was present in a switch statement 2524225319
A non-case label was present in a switch statement 2524725258
A non-case label was present in a switch statement 2524725258
An empty statement (semicolon) not part of a loop 25251
A non-case label was present in a switch statement 2526025272
A non-case label was present in a switch statement 2526025272
An empty statement (semicolon) not part of a loop 25264
A non-case label was present in a switch statement 2527325284
A non-case label was present in a switch statement 2527325284
An empty statement (semicolon) not part of a loop 25277
An empty statement (semicolon) not part of a loop 25313
A non-case label was present in a switch statement 2533025361
An empty statement (semicolon) not part of a loop 25333
A non-case label was present in a switch statement 2572726089
An empty statement (semicolon) not part of a loop 25731
An empty statement (semicolon) not part of a loop 26094
An empty statement (semicolon) not part of a loop 26103
An empty statement (semicolon) not part of a loop 26115
A non-case label was present in a switch statement 2614226179
A non-case label was present in a switch statement 2614226179
An empty statement (semicolon) not part of a loop 26148
An empty statement (semicolon) not part of a loop 26163
An empty statement (semicolon) not part of a loop 26189
An empty statement (semicolon) not part of a loop 26197
An empty statement (semicolon) not part of a loop 26208
Avoid using if statements without curly braces 26212
Do not use if statements that are always true or always false 26212
Potential violation of Law of Demeter (object not created locally) 26212
Potential violation of Law of Demeter (object not created locally) 26212
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 26220
Avoid using if statements without curly braces 26221
Do not use if statements that are always true or always false 26221
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 26223
Avoid using if statements without curly braces 26224
Do not use if statements that are always true or always false 26224
Avoid using if statements without curly braces 26226
Do not use if statements that are always true or always false 26226
Potential violation of Law of Demeter (object not created locally) 26273
Potential violation of Law of Demeter (object not created locally) 26273
Do not use if statements that are always true or always false 26273
Avoid using if statements without curly braces 26273
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 26281
Do not use if statements that are always true or always false 26282
Avoid using if statements without curly braces 26282
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 26284
Avoid using if statements without curly braces 26285
Do not use if statements that are always true or always false 26285
Do not use if statements that are always true or always false 26287
Avoid using if statements without curly braces 26287
Do not use if statements that are always true or always false 26305
Potential violation of Law of Demeter (object not created locally) 26305
Avoid using if statements without curly braces 26305
Potential violation of Law of Demeter (object not created locally) 26305
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 26313
Do not use if statements that are always true or always false 26314
Avoid using if statements without curly braces 26314
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 26316
Avoid using if statements without curly braces 26317
Do not use if statements that are always true or always false 26317
Do not use if statements that are always true or always false 26319
Avoid using if statements without curly braces 26319
A non-case label was present in a switch statement 2634926710
An empty statement (semicolon) not part of a loop 26704
An empty statement (semicolon) not part of a loop 26736
Do not use if statements that are always true or always false 26758
Avoid using if statements without curly braces 26758
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 26766
Do not use if statements that are always true or always false 26767
Avoid using if statements without curly braces 26767
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 26769
Do not use if statements that are always true or always false 26770
Avoid using if statements without curly braces 26770
Avoid using if statements without curly braces 26772
Do not use if statements that are always true or always false 26772
An empty statement (semicolon) not part of a loop 26871
An empty statement (semicolon) not part of a loop 26891
An empty statement (semicolon) not part of a loop 26896
A non-case label was present in a switch statement 2694026952
An empty statement (semicolon) not part of a loop 26944
An empty statement (semicolon) not part of a loop 26954
An empty statement (semicolon) not part of a loop 26988
A non-case label was present in a switch statement 2701727029
An empty statement (semicolon) not part of a loop 27021
An empty statement (semicolon) not part of a loop 27031
An empty statement (semicolon) not part of a loop 27078
An empty statement (semicolon) not part of a loop 27426
A non-case label was present in a switch statement 2744027469
An empty statement (semicolon) not part of a loop 27446
An empty statement (semicolon) not part of a loop 27473
An empty statement (semicolon) not part of a loop 27481
An empty statement (semicolon) not part of a loop 27505
An empty statement (semicolon) not part of a loop 27511
An empty statement (semicolon) not part of a loop 27532
A non-case label was present in a switch statement 2753527553
An empty statement (semicolon) not part of a loop 27539
An empty statement (semicolon) not part of a loop 27550
An empty statement (semicolon) not part of a loop 27557
An empty statement (semicolon) not part of a loop 27577
An empty statement (semicolon) not part of a loop 27588
Do not use if statements that are always true or always false 27611
Potential violation of Law of Demeter (object not created locally) 27611
Avoid using if statements without curly braces 27611
Potential violation of Law of Demeter (object not created locally) 27611
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 27619
Do not use if statements that are always true or always false 27620
Avoid using if statements without curly braces 27620
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 27622
Do not use if statements that are always true or always false 27623
Avoid using if statements without curly braces 27623
Avoid using if statements without curly braces 27625
Do not use if statements that are always true or always false 27625
Potential violation of Law of Demeter (object not created locally) 27655
Potential violation of Law of Demeter (object not created locally) 27669
Potential violation of Law of Demeter (object not created locally) 27669
Avoid appending characters as strings in StringBuffer.append. 27669
An empty statement (semicolon) not part of a loop 27933
Do not use if statements that are always true or always false 27973
Avoid using if statements without curly braces 27973
Potential violation of Law of Demeter (object not created locally) 27973
Potential violation of Law of Demeter (object not created locally) 27973
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 27981
Do not use if statements that are always true or always false 27982
Avoid using if statements without curly braces 27982
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 27984
Avoid using if statements without curly braces 27985
Do not use if statements that are always true or always false 27985
Do not use if statements that are always true or always false 27987
Avoid using if statements without curly braces 27987
An empty statement (semicolon) not part of a loop 28348
An empty statement (semicolon) not part of a loop 28739
Do not use if statements that are always true or always false 28744
Avoid using if statements without curly braces 28744
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 28752
Do not use if statements that are always true or always false 28753
Avoid using if statements without curly braces 28753
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 28755
Avoid using if statements without curly braces 28756
Do not use if statements that are always true or always false 28756
Avoid using if statements without curly braces 28758
Do not use if statements that are always true or always false 28758
An empty statement (semicolon) not part of a loop 28826
An empty statement (semicolon) not part of a loop 29211
Do not use if statements that are always true or always false 29222
Avoid using if statements without curly braces 29222
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 29230
Avoid using if statements without curly braces 29231
Do not use if statements that are always true or always false 29231
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 29233
Do not use if statements that are always true or always false 29234
Avoid using if statements without curly braces 29234
Do not use if statements that are always true or always false 29236
Avoid using if statements without curly braces 29236
Avoid using if statements without curly braces 29303
Potential violation of Law of Demeter (object not created locally) 29303
Do not use if statements that are always true or always false 29303
Do not use if statements that are always true or always false 29344
Potential violation of Law of Demeter (object not created locally) 29344
Avoid using if statements without curly braces 29344
Do not use if statements that are always true or always false 29391
Avoid using if statements without curly braces 29391
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 29399
Do not use if statements that are always true or always false 29400
Avoid using if statements without curly braces 29400
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 29402
Do not use if statements that are always true or always false 29403
Avoid using if statements without curly braces 29403
Avoid using if statements without curly braces 29405
Do not use if statements that are always true or always false 29405
Do not use if statements that are always true or always false 29433
Avoid using if statements without curly braces 29433
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 29441
Do not use if statements that are always true or always false 29442
Avoid using if statements without curly braces 29442
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 29444
Avoid using if statements without curly braces 29445
Do not use if statements that are always true or always false 29445
Avoid using if statements without curly braces 29447
Do not use if statements that are always true or always false 29447
Potential violation of Law of Demeter (object not created locally) 29707
Avoid using if statements without curly braces 29707
Do not use if statements that are always true or always false 29707
Potential violation of Law of Demeter (object not created locally) 30354
Do not use if statements that are always true or always false 30354
Avoid using if statements without curly braces 30354
Potential violation of Law of Demeter (object not created locally) 30984
Avoid using if statements without curly braces 30984
Do not use if statements that are always true or always false 30984
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 30992
Do not use if statements that are always true or always false 30993
Avoid using if statements without curly braces 30993
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 30995
Avoid using if statements without curly braces 30996
Do not use if statements that are always true or always false 30996
Do not use if statements that are always true or always false 30998
Avoid using if statements without curly braces 30998
Do not use if statements that are always true or always false 31285
Avoid using if statements without curly braces 31285
Potential violation of Law of Demeter (object not created locally) 31285
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 31293
Do not use if statements that are always true or always false 31294
Avoid using if statements without curly braces 31294
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 31296
Do not use if statements that are always true or always false 31297
Avoid using if statements without curly braces 31297
Do not use if statements that are always true or always false 31299
Avoid using if statements without curly braces 31299
Avoid using if statements without curly braces 31742
Do not use if statements that are always true or always false 31742
Potential violation of Law of Demeter (object not created locally) 31742
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 31750
Avoid using if statements without curly braces 31751
Do not use if statements that are always true or always false 31751
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 31753
Avoid using if statements without curly braces 31754
Do not use if statements that are always true or always false 31754
Do not use if statements that are always true or always false 31756
Avoid using if statements without curly braces 31756
Potential violation of Law of Demeter (object not created locally) 31996
Do not use if statements that are always true or always false 31996
Avoid using if statements without curly braces 31996
Potential violation of Law of Demeter (object not created locally) 32028
Do not use if statements that are always true or always false 32028
Avoid using if statements without curly braces 32028
Potential violation of Law of Demeter (static property access) 32056
Do not use if statements that are always true or always false 32057
Avoid using if statements without curly braces 32057
Avoid using if statements without curly braces 3205932060
Do not use if statements that are always true or always false 32059
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 32069
Avoid using if statements without curly braces 32070
Do not use if statements that are always true or always false 32070
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 32072
Do not use if statements that are always true or always false 32073
Avoid using if statements without curly braces 32073
Do not use if statements that are always true or always false 32075
Avoid using if statements without curly braces 32075
Avoid using if statements without curly braces 32666
Avoid using if statements without curly braces 32667
Avoid using if statements without curly braces 32672
Avoid using if statements without curly braces 32679
Avoid using if statements without curly braces 32686
Avoid using if statements without curly braces 32687
Avoid using if statements without curly braces 32692
Avoid using if statements without curly braces 32693
Avoid using if statements without curly braces 32702
Avoid using if statements without curly braces 32704
Avoid using if statements without curly braces 32709
Avoid using if statements without curly braces 32710
Avoid using if statements without curly braces 32711
Avoid using if statements without curly braces 32716
Avoid using if statements without curly braces 32717
Avoid using if statements without curly braces 32722
Avoid using if statements without curly braces 32723
Avoid using if statements without curly braces 32728
Avoid using if statements without curly braces 32735
Avoid using if statements without curly braces 32742
Avoid using if statements without curly braces 32743
Avoid using if statements without curly braces 32744
Avoid using if statements without curly braces 32749
Avoid using if statements without curly braces 32750
Avoid using if statements without curly braces 32763
Avoid using if statements without curly braces 32771
Avoid using if statements without curly braces 32778
Avoid using if statements without curly braces 32782
Avoid using if statements without curly braces 32787
Avoid using if statements without curly braces 32788
Avoid using if statements without curly braces 32793
Avoid using if statements without curly braces 32794
Avoid using if statements without curly braces 32799
Avoid using if statements without curly braces 32800
Avoid using if statements without curly braces 32805
Avoid using if statements without curly braces 32810
Avoid using if statements without curly braces 32816
Avoid using if statements without curly braces 32817
Avoid using if statements without curly braces 32829
Avoid using if statements without curly braces 32830
Avoid using if statements without curly braces 32835
Avoid using if statements without curly braces 32836
Avoid using if statements without curly braces 32841
Avoid using if statements without curly braces 32842
Avoid using if statements without curly braces 32847
Avoid using if statements without curly braces 32848
Avoid using if statements without curly braces 32853
Avoid using if statements without curly braces 32854
Avoid using if statements without curly braces 32859
Avoid using if statements without curly braces 32860
Avoid using if statements without curly braces 32874
Avoid using if statements without curly braces 32884
Avoid using if statements without curly braces 32889
Avoid using if statements without curly braces 32890
Avoid using if statements without curly braces 32896
Avoid using if statements without curly braces 32901
Avoid using if statements without curly braces 32902
Avoid using if statements without curly braces 32905
Avoid using if statements without curly braces 32910
Avoid using if statements without curly braces 32911
Avoid using if statements without curly braces 32914
Avoid using if statements without curly braces 32916
Avoid using if statements without curly braces 32927
Avoid using if statements without curly braces 32931
Avoid using if statements without curly braces 32932
Avoid using if statements without curly braces 32933
Avoid using if statements without curly braces 32935
Avoid using if statements without curly braces 32937
Avoid using if statements without curly braces 32946
Avoid using if statements without curly braces 32952
Avoid using if statements without curly braces 32953
Avoid using if statements without curly braces 32954
Avoid using if statements without curly braces 32960
Avoid using if statements without curly braces 32965
Avoid using if statements without curly braces 32966
Avoid using if statements without curly braces 32967
Avoid using if statements without curly braces 32973
Avoid using if statements without curly braces 32984
Avoid using if statements without curly braces 32991
Avoid using if statements without curly braces 32992
Avoid using if statements without curly braces 32999
Avoid using if statements without curly braces 33000
Avoid using if statements without curly braces 33005
Avoid using if statements without curly braces 33006
Avoid using if statements without curly braces 33011
Avoid using if statements without curly braces 33016
Avoid using if statements without curly braces 33029
Avoid using if statements without curly braces 33039
Avoid using if statements without curly braces 33044
Avoid using if statements without curly braces 33056
Avoid using if statements without curly braces 33060
Avoid using if statements without curly braces 33065
Avoid using if statements without curly braces 33066
Avoid using if statements without curly braces 33071
Avoid using if statements without curly braces 33076
Avoid using if statements without curly braces 33077
Avoid using if statements without curly braces 33082
Avoid using if statements without curly braces 33085
Avoid using if statements without curly braces 33087
Avoid using if statements without curly braces 33092
Avoid using if statements without curly braces 33093
Avoid using if statements without curly braces 33094
Avoid using if statements without curly braces 33095
Avoid using if statements without curly braces 33102
Avoid using if statements without curly braces 33103
Avoid using if statements without curly braces 33104
Avoid using if statements without curly braces 33112
Avoid using if statements without curly braces 33119
Avoid using if statements without curly braces 33125
Avoid using if statements without curly braces 33131
Avoid using if statements without curly braces 33138
Avoid using if statements without curly braces 33139
Avoid using if statements without curly braces 33140
Avoid using if statements without curly braces 33149
Avoid using if statements without curly braces 33155
Avoid using if statements without curly braces 33158
Avoid using if statements without curly braces 33167
Avoid using if statements without curly braces 33173
Avoid using if statements without curly braces 33174
Avoid using if statements without curly braces 33179
Avoid using if statements without curly braces 33194
Avoid using if statements without curly braces 33205
Avoid using if statements without curly braces 33206
Avoid using if statements without curly braces 33211
Avoid using if statements without curly braces 33214
Avoid using if statements without curly braces 33215
Avoid using if statements without curly braces 33220
Avoid using if statements without curly braces 33221
Avoid using if statements without curly braces 33222
Avoid using if statements without curly braces 33223
Avoid using if statements without curly braces 33226
Avoid using if statements without curly braces 33228
Avoid using if statements without curly braces 33233
Avoid using if statements without curly braces 33242
Avoid using if statements without curly braces 33244
Avoid using if statements without curly braces 33249
Avoid using if statements without curly braces 33250
Avoid using if statements without curly braces 33255
Avoid using if statements without curly braces 33256
Avoid using if statements without curly braces 33261
Avoid declaring a variable if it is unreferenced before a possible exit point. 33262
Avoid using if statements without curly braces 33263
Avoid using if statements without curly braces 33272
Avoid using if statements without curly braces 33273
Avoid using if statements without curly braces 33274
Avoid declaring a variable if it is unreferenced before a possible exit point. 33275
Avoid using if statements without curly braces 33276
Avoid using if statements without curly braces 33285
Avoid using if statements without curly braces 33286
Avoid using if statements without curly braces 33287
Avoid using if statements without curly braces 33292
Avoid using if statements without curly braces 33293
Avoid using if statements without curly braces 33294
Avoid using if statements without curly braces 33308
Avoid using if statements without curly braces 33313
Avoid using if statements without curly braces 33314
Avoid using if statements without curly braces 33323
Avoid using if statements without curly braces 33329
Avoid using if statements without curly braces 33332
Avoid using if statements without curly braces 33341
Avoid using if statements without curly braces 33347
Avoid using if statements without curly braces 33348
Avoid using if statements without curly braces 33353
Avoid using if statements without curly braces 33354
Avoid using if statements without curly braces 33359
Avoid using if statements without curly braces 33360
Avoid using if statements without curly braces 33361
Avoid using if statements without curly braces 33366
Avoid using if statements without curly braces 33367
Avoid using if statements without curly braces 33381
Avoid using if statements without curly braces 33383
Avoid using if statements without curly braces 33384
Avoid using if statements without curly braces 33393
Avoid using if statements without curly braces 33396
Avoid using if statements without curly braces 33397
Avoid using if statements without curly braces 33406
Avoid using if statements without curly braces 33407
Avoid using if statements without curly braces 33417
Avoid using if statements without curly braces 33418
Avoid using if statements without curly braces 33423
Avoid using if statements without curly braces 33424
Avoid using if statements without curly braces 33425
Avoid using if statements without curly braces 33428
Avoid using if statements without curly braces 33430
Avoid using if statements without curly braces 33432
Avoid using if statements without curly braces 33433
Avoid using if statements without curly braces 33438
Avoid using if statements without curly braces 33439
Avoid using if statements without curly braces 33442
Avoid using if statements without curly braces 33447
Avoid using if statements without curly braces 33448
Avoid using if statements without curly braces 33451
Avoid using if statements without curly braces 33452
Avoid using if statements without curly braces 33453
Avoid using if statements without curly braces 33459
Avoid using if statements without curly braces 33464
Avoid using if statements without curly braces 33465
Avoid using if statements without curly braces 33470
Avoid using if statements without curly braces 33475
Avoid using if statements without curly braces 33476
Avoid using if statements without curly braces 33481
Avoid using if statements without curly braces 33482
Avoid using if statements without curly braces 33487
Avoid using if statements without curly braces 33488
Avoid using if statements without curly braces 33493
Avoid using if statements without curly braces 33496
Avoid using if statements without curly braces 33498
Avoid using if statements without curly braces 33503
Avoid using if statements without curly braces 33508
Avoid using if statements without curly braces 33509
Avoid using if statements without curly braces 33514
Avoid using if statements without curly braces 33525
Avoid using if statements without curly braces 33534
Avoid using if statements without curly braces 33539
Avoid using if statements without curly braces 33542
Avoid using if statements without curly braces 33547
Avoid using if statements without curly braces 33552
Avoid using if statements without curly braces 33553
Avoid using if statements without curly braces 33558
Avoid using if statements without curly braces 33561
Avoid using if statements without curly braces 33563
Avoid using if statements without curly braces 33568
Avoid using if statements without curly braces 33573
Avoid using if statements without curly braces 33576
Avoid using if statements without curly braces 33578
Avoid using if statements without curly braces 33583
Avoid using if statements without curly braces 33584
Avoid using if statements without curly braces 33589
Avoid using if statements without curly braces 33590
Avoid using if statements without curly braces 33595
Avoid using if statements without curly braces 33598
Avoid using if statements without curly braces 33603
Avoid using if statements without curly braces 33612
Avoid using if statements without curly braces 33614
Avoid using if statements without curly braces 33615
Avoid using if statements without curly braces 33620
Avoid using if statements without curly braces 33623
Avoid using if statements without curly braces 33628
Avoid using if statements without curly braces 33629
Avoid using if statements without curly braces 33634
Avoid using if statements without curly braces 33635
Avoid using if statements without curly braces 33636
Avoid using if statements without curly braces 33641
Avoid using if statements without curly braces 33644
Avoid using if statements without curly braces 33645
Avoid using if statements without curly braces 33650
Avoid using if statements without curly braces 33651
Avoid using if statements without curly braces 33656
Avoid using if statements without curly braces 33661
Avoid using if statements without curly braces 33666
Avoid using if statements without curly braces 33671
Avoid using if statements without curly braces 33676
Avoid using if statements without curly braces 33685
Avoid using if statements without curly braces 33691
Avoid using if statements without curly braces 33696
Avoid using if statements without curly braces 33701
Avoid using if statements without curly braces 33706
Avoid using if statements without curly braces 33707
Avoid using if statements without curly braces 33708
Avoid declaring a variable if it is unreferenced before a possible exit point. 33709
Avoid using if statements without curly braces 33710
Avoid using if statements without curly braces 33720
Avoid using if statements without curly braces 33721
Avoid using if statements without curly braces 33722
Avoid using if statements without curly braces 33727
Avoid using if statements without curly braces 33732
Avoid using if statements without curly braces 33737
Avoid using if statements without curly braces 33742
Avoid using if statements without curly braces 33748
Avoid using if statements without curly braces 33749
Avoid using if statements without curly braces 33750
Avoid declaring a variable if it is unreferenced before a possible exit point. 33751
Avoid using if statements without curly braces 33752
Avoid using if statements without curly braces 33757
Avoid using if statements without curly braces 33758
Avoid using if statements without curly braces 33760
Avoid using if statements without curly braces 33765
Avoid using if statements without curly braces 33766
Avoid using if statements without curly braces 33773
Avoid using if statements without curly braces 33779
Avoid using if statements without curly braces 33786
Avoid using if statements without curly braces 33791
Avoid using if statements without curly braces 33792
Avoid using if statements without curly braces 33793
Avoid using if statements without curly braces 33796
Avoid using if statements without curly braces 33797
Avoid using if statements without curly braces 33799
Avoid using if statements without curly braces 33800
Avoid using if statements without curly braces 33801
Avoid using if statements without curly braces 33806
Avoid using if statements without curly braces 33807
Avoid using if statements without curly braces 33809
Avoid using if statements without curly braces 33814
Avoid using if statements without curly braces 33819
Avoid using if statements without curly braces 33828
Avoid using if statements without curly braces 33834
Avoid declaring a variable if it is unreferenced before a possible exit point. 33835
Avoid using if statements without curly braces 33836
Avoid using if statements without curly braces 33841
Avoid using if statements without curly braces 33842
Avoid using if statements without curly braces 33844
Avoid using if statements without curly braces 33849
Avoid using if statements without curly braces 33854
Avoid using if statements without curly braces 33855
Avoid using if statements without curly braces 33860
Avoid using if statements without curly braces 33865
Avoid using if statements without curly braces 33866
Avoid using if statements without curly braces 33867
Avoid declaring a variable if it is unreferenced before a possible exit point. 33868
Avoid using if statements without curly braces 33869
Avoid using if statements without curly braces 33878
Avoid declaring a variable if it is unreferenced before a possible exit point. 33879
Avoid using if statements without curly braces 33880
Avoid using if statements without curly braces 33889
Avoid using if statements without curly braces 33890
Avoid using if statements without curly braces 33891
Avoid declaring a variable if it is unreferenced before a possible exit point. 33892
Avoid using if statements without curly braces 33893
Avoid using if statements without curly braces 33902
Avoid using if statements without curly braces 33907
Avoid using if statements without curly braces 33912
Avoid using if statements without curly braces 33917
Avoid using if statements without curly braces 33920
Avoid using if statements without curly braces 33926
Avoid using if statements without curly braces 33927
Avoid using if statements without curly braces 33928
Avoid using if statements without curly braces 33930
Avoid using if statements without curly braces 33935
Avoid declaring a variable if it is unreferenced before a possible exit point. 33940
Avoid using if statements without curly braces 33941
Avoid using if statements without curly braces 33946
Avoid using if statements without curly braces 33951
Avoid using if statements without curly braces 33956
Avoid using if statements without curly braces 33961
Avoid using if statements without curly braces 33970
Avoid using if statements without curly braces 33976
Avoid using if statements without curly braces 33977
Avoid using if statements without curly braces 33982
Avoid using if statements without curly braces 33983
Avoid using if statements without curly braces 33988
Avoid using if statements without curly braces 33993
Avoid using if statements without curly braces 33994
Avoid using if statements without curly braces 33999
Avoid using if statements without curly braces 34000
Avoid using if statements without curly braces 34005
Avoid using if statements without curly braces 34006
Avoid using if statements without curly braces 34011
Avoid using if statements without curly braces 34012
Avoid using if statements without curly braces 34017
Avoid using if statements without curly braces 34018
Avoid using if statements without curly braces 34023
Avoid using if statements without curly braces 34024
Avoid using if statements without curly braces 34029
Avoid using if statements without curly braces 34030
Avoid using if statements without curly braces 34037
Avoid using if statements without curly braces 34041
Avoid using if statements without curly braces 34051
Avoid using if statements without curly braces 34057
Avoid using if statements without curly braces 34058
Avoid using if statements without curly braces 34063
Avoid using if statements without curly braces 34064
Avoid using if statements without curly braces 34069
Avoid using if statements without curly braces 34070
Avoid using if statements without curly braces 34075
Avoid using if statements without curly braces 34076
Avoid using if statements without curly braces 34105
Avoid using if statements without curly braces 34123
Avoid using if statements without curly braces 34124
Avoid using if statements without curly braces 34129
Avoid using if statements without curly braces 34130
Avoid using if statements without curly braces 34135
Avoid using if statements without curly braces 34136
Avoid using if statements without curly braces 34141
Avoid using if statements without curly braces 34142
Avoid using if statements without curly braces 34147
Avoid using if statements without curly braces 34148
Avoid using if statements without curly braces 34153
Avoid using if statements without curly braces 34154
Avoid using if statements without curly braces 34159
Avoid using if statements without curly braces 34160
Avoid using if statements without curly braces 34165
Avoid using if statements without curly braces 34170
Avoid using if statements without curly braces 34171
Avoid using if statements without curly braces 34176
Avoid using if statements without curly braces 34177
Avoid using if statements without curly braces 34178
Avoid using if statements without curly braces 34185
Avoid using if statements without curly braces 34191
Avoid using if statements without curly braces 34196
Avoid using if statements without curly braces 34201
Avoid using if statements without curly braces 34204
Avoid using if statements without curly braces 34209
Avoid using if statements without curly braces 34210
Avoid using if statements without curly braces 34257
Avoid using if statements without curly braces 34282
Avoid using if statements without curly braces 34291
Avoid using if statements without curly braces 34301
Avoid using if statements without curly braces 34306
Avoid using if statements without curly braces 34311
Avoid using if statements without curly braces 34318
Avoid using if statements without curly braces 34324
Avoid using if statements without curly braces 34331
Avoid using if statements without curly braces 34338
Avoid using if statements without curly braces 34345
Avoid using if statements without curly braces 34350
Avoid using if statements without curly braces 34361
Avoid using if statements without curly braces 34368
Avoid using if statements without curly braces 34378
Avoid using if statements without curly braces 34383
Avoid using if statements without curly braces 34388
Avoid using if statements without curly braces 34393
Avoid using if statements without curly braces 34402
Avoid using if statements without curly braces 34404
Avoid using if statements without curly braces 34405
Avoid using if statements without curly braces 34406
Avoid using if statements without curly braces 34411
Avoid using if statements without curly braces 34420
Avoid using if statements without curly braces 34422
Avoid using if statements without curly braces 34423
Avoid using if statements without curly braces 34424
Avoid using if statements without curly braces 34429
Avoid using if statements without curly braces 34430
Avoid using if statements without curly braces 34431
Avoid using if statements without curly braces 34432
Avoid using if statements without curly braces 34433
Avoid using if statements without curly braces 34434
Avoid using if statements without curly braces 34435
Avoid using if statements without curly braces 34444
Avoid using if statements without curly braces 34446
Avoid using if statements without curly braces 34451
Avoid using if statements without curly braces 34456
Avoid using if statements without curly braces 34462
Avoid using if statements without curly braces 34463
Avoid using if statements without curly braces 34476
Avoid using if statements without curly braces 34488
Avoid using if statements without curly braces 34494
Avoid using if statements without curly braces 34503
Avoid using if statements without curly braces 34509
Avoid using if statements without curly braces 34510
Avoid using if statements without curly braces 34539
Avoid using if statements without curly braces 34551
Avoid using if statements without curly braces 34556
Avoid using if statements without curly braces 34557
Avoid using if statements without curly braces 34562
Avoid using if statements without curly braces 34571
Avoid using if statements without curly braces 34574
Avoid using if statements without curly braces 34576
Avoid using if statements without curly braces 34583
Avoid using if statements without curly braces 34584
Avoid using if statements without curly braces 34585
Avoid using if statements without curly braces 34587
Avoid using if statements without curly braces 34589
Avoid using if statements without curly braces 34595
Avoid using if statements without curly braces 34597
Avoid using if statements without curly braces 34599
Avoid using if statements without curly braces 34601
Avoid using if statements without curly braces 34611
Avoid using if statements without curly braces 34616
Avoid using if statements without curly braces 34617
Avoid using if statements without curly braces 34624
Avoid using if statements without curly braces 34625
Avoid using if statements without curly braces 34627
Avoid using if statements without curly braces 34628
Avoid using if statements without curly braces 34633
Avoid using if statements without curly braces 34636
Avoid using if statements without curly braces 34645
Avoid using if statements without curly braces 34650
Avoid using if statements without curly braces 34656
Avoid using if statements without curly braces 34657
Avoid using if statements without curly braces 34670
Avoid using if statements without curly braces 34678
Avoid using if statements without curly braces 34684
Avoid using if statements without curly braces 34695
Avoid using if statements without curly braces 34696
Avoid using if statements without curly braces 34697
Avoid using if statements without curly braces 34698
Avoid using if statements without curly braces 34699
Avoid using if statements without curly braces 34710
Avoid using if statements without curly braces 34716
Avoid using if statements without curly braces 34719
Avoid using if statements without curly braces 34721
Avoid using if statements without curly braces 34723
Avoid using if statements without curly braces 34725
Avoid using if statements without curly braces 34727
Avoid using if statements without curly braces 34729
Avoid using if statements without curly braces 34734
Avoid using if statements without curly braces 34739
Avoid using if statements without curly braces 34744
Avoid using if statements without curly braces 34745
Avoid using if statements without curly braces 34754
Avoid using if statements without curly braces 34755
Avoid using if statements without curly braces 34760
Avoid using if statements without curly braces 34761
Avoid using if statements without curly braces 34766
Avoid using if statements without curly braces 34769
Avoid using if statements without curly braces 34771
Avoid using if statements without curly braces 34772
Avoid using if statements without curly braces 34773
Avoid using if statements without curly braces 34774
Avoid using if statements without curly braces 34778
Avoid using if statements without curly braces 34784
Avoid using if statements without curly braces 34789
Avoid using if statements without curly braces 34790
Avoid using if statements without curly braces 34795
Avoid using if statements without curly braces 34798
Avoid using if statements without curly braces 34799
Avoid using if statements without curly braces 34800
Avoid using if statements without curly braces 34801
Avoid using if statements without curly braces 34802
Avoid using if statements without curly braces 34806
Avoid using if statements without curly braces 34816
Avoid using if statements without curly braces 34817
Avoid using if statements without curly braces 34822
Avoid using if statements without curly braces 34827
Avoid using if statements without curly braces 34828
Avoid using if statements without curly braces 34829
Avoid declaring a variable if it is unreferenced before a possible exit point. 34830
Avoid using if statements without curly braces 34831
Avoid using if statements without curly braces 34840
Avoid using if statements without curly braces 34841
Avoid using if statements without curly braces 34847
Avoid using if statements without curly braces 34848
Avoid using if statements without curly braces 34857
Avoid using if statements without curly braces 34860
Avoid using if statements without curly braces 34862
Avoid using if statements without curly braces 34863
Avoid using if statements without curly braces 34864
Avoid using if statements without curly braces 34865
Avoid using if statements without curly braces 34866
Avoid using if statements without curly braces 34870
Avoid using if statements without curly braces 34876
Avoid using if statements without curly braces 34877
Avoid using if statements without curly braces 34882
Avoid using if statements without curly braces 34889
Avoid using if statements without curly braces 34894
Avoid using if statements without curly braces 34895
Avoid using if statements without curly braces 34901
Avoid using if statements without curly braces 34908
Avoid using if statements without curly braces 34909
Avoid using if statements without curly braces 34914
Avoid using if statements without curly braces 34917
Avoid using if statements without curly braces 34919
Avoid using if statements without curly braces 34920
Avoid using if statements without curly braces 34921
Avoid using if statements without curly braces 34923
Avoid using if statements without curly braces 34924
Avoid using if statements without curly braces 34925
Avoid using if statements without curly braces 34929
Avoid using if statements without curly braces 34935
Avoid using if statements without curly braces 34936
Avoid using if statements without curly braces 34937
Avoid using if statements without curly braces 34942
Avoid using if statements without curly braces 34943
Avoid using if statements without curly braces 34948
Avoid using if statements without curly braces 34949
Avoid using if statements without curly braces 34954
Avoid using if statements without curly braces 34955
Avoid using if statements without curly braces 34960
Avoid using if statements without curly braces 34961
Avoid using if statements without curly braces 34966
Avoid using if statements without curly braces 34979
Avoid using if statements without curly braces 34986
Avoid using if statements without curly braces 34991
Avoid using if statements without curly braces 34996
Avoid using if statements without curly braces 34997
Avoid using if statements without curly braces 35002
Avoid using if statements without curly braces 35005
Avoid using if statements without curly braces 35006
Avoid using if statements without curly braces 35007
Avoid using if statements without curly braces 35016
Avoid using if statements without curly braces 35022
Avoid using if statements without curly braces 35023
Avoid using if statements without curly braces 35024
Avoid using if statements without curly braces 35029
Avoid using if statements without curly braces 35032
Avoid using if statements without curly braces 35033
Avoid using if statements without curly braces 35034
Avoid using if statements without curly braces 35035
Avoid using if statements without curly braces 35036
Avoid using if statements without curly braces 35051
Avoid using if statements without curly braces 35070
Avoid using if statements without curly braces 35091
Avoid using if statements without curly braces 35101
Avoid using if statements without curly braces 35104
Avoid using if statements without curly braces 35105
Avoid using if statements without curly braces 35110
Avoid using if statements without curly braces 35111
Avoid using if statements without curly braces 35116
Avoid using if statements without curly braces 35121
Avoid using if statements without curly braces 35130
Avoid using if statements without curly braces 35136
Avoid using if statements without curly braces 35137
Avoid using if statements without curly braces 35138
Avoid using if statements without curly braces 35141
Avoid using if statements without curly braces 35142
Avoid using if statements without curly braces 35147
Avoid using if statements without curly braces 35156
Avoid using if statements without curly braces 35158
Avoid using if statements without curly braces 35159
Avoid using if statements without curly braces 35164
Avoid using if statements without curly braces 35173
Avoid using if statements without curly braces 35175
Avoid using if statements without curly braces 35176
Avoid using if statements without curly braces 35177
Avoid using if statements without curly braces 35182
Avoid using if statements without curly braces 35187
Avoid using if statements without curly braces 35188
Avoid using if statements without curly braces 35189
Avoid using if statements without curly braces 35190
Avoid using if statements without curly braces 35195
Avoid using if statements without curly braces 35197
Avoid using if statements without curly braces 35199
Avoid using if statements without curly braces 35204
Avoid using if statements without curly braces 35205
Avoid using if statements without curly braces 35206
Avoid using if statements without curly braces 35211
Avoid using if statements without curly braces 35212
Avoid using if statements without curly braces 35213
Avoid using if statements without curly braces 35224
Avoid using if statements without curly braces 35230
Avoid using if statements without curly braces 35233
Avoid using if statements without curly braces 35235
Avoid using if statements without curly braces 35237
Avoid using if statements without curly braces 35242
Avoid using if statements without curly braces 35247
Avoid using if statements without curly braces 35248
Avoid using if statements without curly braces 35249
Avoid using if statements without curly braces 35250
Avoid using if statements without curly braces 35251
Avoid using if statements without curly braces 35252
Avoid using if statements without curly braces 35253
Avoid using if statements without curly braces 35258
Avoid using if statements without curly braces 35263
Avoid using if statements without curly braces 35264
Avoid using if statements without curly braces 35265
Avoid using if statements without curly braces 35270
Avoid using if statements without curly braces 35271
Avoid using if statements without curly braces 35272
Avoid using if statements without curly braces 35273
Avoid using if statements without curly braces 35274
Avoid using if statements without curly braces 35277
Avoid using if statements without curly braces 35278
Avoid using if statements without curly braces 35283
Avoid using if statements without curly braces 35284
Avoid using if statements without curly braces 35285
Avoid using if statements without curly braces 35286
Avoid using if statements without curly braces 35289
Avoid using if statements without curly braces 35290
Avoid using if statements without curly braces 35291
Avoid using if statements without curly braces 35296
Avoid using if statements without curly braces 35301
Avoid using if statements without curly braces 35307
Avoid using if statements without curly braces 35308
Avoid using if statements without curly braces 35309
Avoid declaring a variable if it is unreferenced before a possible exit point. 35310
Avoid using if statements without curly braces 35311
Avoid using if statements without curly braces 35316
Avoid using if statements without curly braces 35321
Avoid using if statements without curly braces 35322
Avoid using if statements without curly braces 35323
Avoid using if statements without curly braces 35324
Avoid using if statements without curly braces 35329
Avoid using if statements without curly braces 35330
Avoid using if statements without curly braces 35333
Avoid using if statements without curly braces 35338
Avoid using if statements without curly braces 35339
Avoid using if statements without curly braces 35344
Avoid using if statements without curly braces 35345
Avoid using if statements without curly braces 35346
Avoid using if statements without curly braces 35351
Avoid using if statements without curly braces 35352
Avoid using if statements without curly braces 35353
Avoid using if statements without curly braces 35354
Avoid using if statements without curly braces 35369
Avoid using if statements without curly braces 35378
Avoid using if statements without curly braces 35379
Avoid using if statements without curly braces 35380
Avoid using if statements without curly braces 35385
Avoid using if statements without curly braces 35400
Avoid using if statements without curly braces 35407
Avoid using if statements without curly braces 35412
Avoid using if statements without curly braces 35417
Avoid using if statements without curly braces 35422
Avoid using if statements without curly braces 35423
Avoid using if statements without curly braces 35428
Avoid using if statements without curly braces 35429
Avoid using if statements without curly braces 35432
Avoid using if statements without curly braces 35434
Avoid using if statements without curly braces 35436
Avoid using if statements without curly braces 35437
Avoid using if statements without curly braces 35442
Avoid using if statements without curly braces 35443
Avoid using if statements without curly braces 35448
Avoid using if statements without curly braces 35449
Avoid using if statements without curly braces 35450
Avoid using if statements without curly braces 35455
Avoid using if statements without curly braces 35456
Avoid using if statements without curly braces 35461
Avoid using if statements without curly braces 35462
Avoid using if statements without curly braces 35467
Avoid using if statements without curly braces 35468
Avoid using if statements without curly braces 35473
Avoid using if statements without curly braces 35478
Avoid using if statements without curly braces 35484
Avoid using if statements without curly braces 35485
Avoid using if statements without curly braces 35490
Avoid using if statements without curly braces 35495
Avoid using if statements without curly braces 35503
Avoid using if statements without curly braces 35504
Avoid using if statements without curly braces 35506
Avoid using if statements without curly braces 35511
Avoid using if statements without curly braces 35512
Avoid using if statements without curly braces 35517
Avoid using if statements without curly braces 35518
Avoid using if statements without curly braces 35523
Avoid using if statements without curly braces 35561
Avoid using if statements without curly braces 35579
Avoid using if statements without curly braces 35584
Avoid using if statements without curly braces 35589
Avoid using if statements without curly braces 35592
Avoid using if statements without curly braces 35593
Avoid using if statements without curly braces 36014
Avoid using if statements without curly braces 36226
Avoid using if statements without curly braces 36227
Avoid using if statements without curly braces 36302
Avoid using if statements without curly braces 36338
Avoid using if statements without curly braces 36340
Avoid using if statements without curly braces 36345
Avoid using if statements without curly braces 36346
Avoid using if statements without curly braces 36351
Avoid using if statements without curly braces 36361
Avoid using if statements without curly braces 36362
Avoid using if statements without curly braces 36367
Avoid using if statements without curly braces 36376
Avoid using if statements without curly braces 36378
Avoid using if statements without curly braces 36389
Avoid using if statements without curly braces 36393
Avoid using if statements without curly braces 36398
Avoid using if statements without curly braces 36408
Avoid using if statements without curly braces 36409
Avoid using if statements without curly braces 36414
Avoid using if statements without curly braces 36415
Avoid using if statements without curly braces 36416
Avoid using if statements without curly braces 36421
Avoid using if statements without curly braces 36422
Avoid using if statements without curly braces 36423
Avoid using if statements without curly braces 36424
Avoid using if statements without curly braces 36429
Avoid using if statements without curly braces 36430
Avoid using if statements without curly braces 36431
Avoid using if statements without curly braces 36432
Avoid using if statements without curly braces 36442
Avoid using if statements without curly braces 36447
Avoid using if statements without curly braces 36452
Avoid using if statements without curly braces 36458
Avoid using if statements without curly braces 36463
Avoid using if statements without curly braces 36464
Avoid using if statements without curly braces 36469
Avoid using if statements without curly braces 36476
Avoid using if statements without curly braces 36477
Avoid using if statements without curly braces 36479
Avoid using if statements without curly braces 36481
Avoid using if statements without curly braces 36486
Avoid using if statements without curly braces 36491
Avoid using if statements without curly braces 36502
Avoid using if statements without curly braces 36509
Avoid using if statements without curly braces 36510
Avoid using if statements without curly braces 36519
Avoid using if statements without curly braces 36525
Avoid using if statements without curly braces 36530
Avoid using if statements without curly braces 36535
Avoid using if statements without curly braces 36540
Avoid using if statements without curly braces 36549
Avoid using if statements without curly braces 36555
Avoid using if statements without curly braces 36556
Avoid using if statements without curly braces 36565
Avoid using if statements without curly braces 36567
Avoid using if statements without curly braces 36572
Avoid using if statements without curly braces 36579
Avoid using if statements without curly braces 36580
Avoid using if statements without curly braces 36585
Avoid using if statements without curly braces 36590
Avoid using if statements without curly braces 36593
Avoid using if statements without curly braces 36594
Avoid using if statements without curly braces 36596
Avoid using if statements without curly braces 36598
Avoid using if statements without curly braces 36603
Avoid using if statements without curly braces 36604
Avoid using if statements without curly braces 36609
Avoid using if statements without curly braces 36619
Avoid using if statements without curly braces 36622
Avoid using if statements without curly braces 36623
Avoid using if statements without curly braces 36628
Avoid using if statements without curly braces 36633
Avoid using if statements without curly braces 36638
Avoid using if statements without curly braces 36643
Avoid using if statements without curly braces 36644
Avoid using if statements without curly braces 36649
Avoid using if statements without curly braces 36650
Avoid using if statements without curly braces 36653
Avoid using if statements without curly braces 36658
Avoid using if statements without curly braces 36663
Avoid using if statements without curly braces 36664
Avoid using if statements without curly braces 36669
Avoid using if statements without curly braces 36674
Avoid using if statements without curly braces 36675
Avoid using if statements without curly braces 36680
Avoid using if statements without curly braces 36681
Avoid using if statements without curly braces 36684
Avoid using if statements without curly braces 36686
Avoid using if statements without curly braces 36691
Avoid using if statements without curly braces 36692
Avoid using if statements without curly braces 36697
Avoid using if statements without curly braces 36702
Avoid using if statements without curly braces 36711
Avoid using if statements without curly braces 36717
Avoid using if statements without curly braces 36726
Avoid using if statements without curly braces 36729
Avoid using if statements without curly braces 36734
Avoid using if statements without curly braces 36739
Avoid using if statements without curly braces 36744
Avoid using if statements without curly braces 36749
Avoid using if statements without curly braces 36754
Avoid using if statements without curly braces 36755
Avoid using if statements without curly braces 36758
Avoid using if statements without curly braces 36763
Avoid using if statements without curly braces 36764
Avoid using if statements without curly braces 36769
Avoid using if statements without curly braces 36774
Avoid using if statements without curly braces 36779
Avoid using if statements without curly braces 36924
Avoid using if statements without curly braces 37010
Avoid using if statements without curly braces 37024
Avoid using if statements without curly braces 37030
Avoid using if statements without curly braces 37031
Avoid using if statements without curly braces 37036
Avoid using if statements without curly braces 37041
Avoid using if statements without curly braces 37050
Avoid using if statements without curly braces 37052
Avoid using if statements without curly braces 37057
Avoid using if statements without curly braces 37062
Avoid using if statements without curly braces 37067
Avoid using if statements without curly braces 37076
Avoid using if statements without curly braces 37082
Avoid using if statements without curly braces 37083
Avoid using if statements without curly braces 37088
Avoid using if statements without curly braces 37093
Avoid using if statements without curly braces 37094
Avoid using if statements without curly braces 37097
Avoid using if statements without curly braces 37102
Avoid using if statements without curly braces 37103
Avoid using if statements without curly braces 37112
Avoid using if statements without curly braces 37120
Avoid using if statements without curly braces 37125
Avoid using if statements without curly braces 37130
Avoid using if statements without curly braces 37133
Avoid using if statements without curly braces 37137
Avoid using if statements without curly braces 37140
Avoid using if statements without curly braces 37145
Avoid using if statements without curly braces 37150
Avoid using if statements without curly braces 37151
Avoid using if statements without curly braces 37156
Avoid using if statements without curly braces 37157
Avoid using if statements without curly braces 37164
Avoid using if statements without curly braces 37165
Avoid using if statements without curly braces 37167
Avoid using if statements without curly braces 37172
Avoid using if statements without curly braces 37177
Avoid using if statements without curly braces 37178
Avoid using if statements without curly braces 37183
Avoid using if statements without curly braces 37188
Avoid using if statements without curly braces 37196
Avoid using if statements without curly braces 37197
Avoid using if statements without curly braces 37202
Avoid using if statements without curly braces 37203
Avoid using if statements without curly braces 37208
Avoid using if statements without curly braces 37209
Avoid using if statements without curly braces 37210
Avoid using if statements without curly braces 37213
Avoid using if statements without curly braces 37218
Avoid using if statements without curly braces 37223
Avoid using if statements without curly braces 37264
Avoid using if statements without curly braces 37286
Avoid using if statements without curly braces 37287
Avoid using if statements without curly braces 37296
Avoid using if statements without curly braces 37299
Avoid using if statements without curly braces 37300
Avoid using if statements without curly braces 37301
Avoid using if statements without curly braces 37302
Avoid using if statements without curly braces 37307
Avoid using if statements without curly braces 37320
Avoid using if statements without curly braces 37332
Avoid using if statements without curly braces 37337
Avoid using if statements without curly braces 37343
Avoid using if statements without curly braces 37344
Avoid using if statements without curly braces 37347
Avoid using if statements without curly braces 37356
Avoid using if statements without curly braces 37366
Avoid declaring a variable if it is unreferenced before a possible exit point. 37372
Avoid using if statements without curly braces 37373
Avoid using if statements without curly braces 37378
Avoid using if statements without curly braces 37383
Avoid declaring a variable if it is unreferenced before a possible exit point. 37388
Avoid using if statements without curly braces 37389
Avoid using if statements without curly braces 37394
Avoid using if statements without curly braces 37399
Avoid using if statements without curly braces 37400
Avoid using if statements without curly braces 37401
Avoid using if statements without curly braces 37406
Avoid using if statements without curly braces 37409
Avoid using if statements without curly braces 37414
Avoid using if statements without curly braces 37419
Avoid using if statements without curly braces 37420
Avoid using if statements without curly braces 37425
Avoid using if statements without curly braces 37430
Avoid using if statements without curly braces 37433
Avoid using if statements without curly braces 37438
Avoid using if statements without curly braces 37443
Avoid using if statements without curly braces 37446
Avoid using if statements without curly braces 37448
Avoid using if statements without curly braces 37453
Avoid using if statements without curly braces 37454
Avoid using if statements without curly braces 37460
Avoid using if statements without curly braces 37465
Avoid using if statements without curly braces 37470
Avoid using if statements without curly braces 37475
Avoid using if statements without curly braces 37480
Avoid using if statements without curly braces 37481
Avoid using if statements without curly braces 37482
Avoid using if statements without curly braces 37487
Avoid using if statements without curly braces 37488
Avoid using if statements without curly braces 37493
Avoid using if statements without curly braces 37494
Avoid using if statements without curly braces 37495
Avoid using if statements without curly braces 37512
Avoid using if statements without curly braces 37522
Avoid using if statements without curly braces 37527
Avoid using if statements without curly braces 37533
Avoid using if statements without curly braces 37534
Avoid using if statements without curly braces 37539
Avoid using if statements without curly braces 37550
Avoid using if statements without curly braces 37552
Avoid using if statements without curly braces 37553
Avoid using if statements without curly braces 37558
Avoid using if statements without curly braces 37559
Avoid using if statements without curly braces 37564
Avoid using if statements without curly braces 37569
Avoid using if statements without curly braces 37574
Avoid using if statements without curly braces 37579
Avoid using if statements without curly braces 37584
Avoid using if statements without curly braces 37589
Avoid using if statements without curly braces 37616
Avoid using if statements without curly braces 37631
Avoid using if statements without curly braces 37636
Avoid using if statements without curly braces 37637
Avoid using if statements without curly braces 37642
Avoid using if statements without curly braces 37647
Avoid using if statements without curly braces 37650
Avoid using if statements without curly braces 37652
Avoid using if statements without curly braces 37659
Avoid using if statements without curly braces 37660
Avoid using if statements without curly braces 37664
Avoid using if statements without curly braces 37670
Avoid using if statements without curly braces 37671
Avoid using if statements without curly braces 37680
Avoid using if statements without curly braces 37690
Avoid using if statements without curly braces 37691
Avoid using if statements without curly braces 37692
Avoid using if statements without curly braces 37697
Avoid using if statements without curly braces 37698
Avoid using if statements without curly braces 37703
Avoid using if statements without curly braces 37712
Avoid using if statements without curly braces 37722
Avoid using if statements without curly braces 37728
Avoid using if statements without curly braces 37738
Avoid using if statements without curly braces 37739
Avoid using if statements without curly braces 37740
Avoid using if statements without curly braces 37745
Avoid using if statements without curly braces 37754
Avoid using if statements without curly braces 37760
Avoid using if statements without curly braces 37761
Avoid using if statements without curly braces 37762
Avoid using if statements without curly braces 37772
Avoid using if statements without curly braces 37773
Avoid using if statements without curly braces 37774
Avoid using if statements without curly braces 37779
Avoid using if statements without curly braces 37784
Avoid using if statements without curly braces 37789
Avoid using if statements without curly braces 37798
Avoid using if statements without curly braces 37804
Avoid using if statements without curly braces 37805
Avoid using if statements without curly braces 37814
Avoid using if statements without curly braces 37820
Avoid using if statements without curly braces 37821
Avoid using if statements without curly braces 37822
Avoid using if statements without curly braces 37836
Avoid using if statements without curly braces 37841
Avoid using if statements without curly braces 37846
Avoid using if statements without curly braces 37851
Avoid using if statements without curly braces 37856
Avoid using if statements without curly braces 37861
Avoid using if statements without curly braces 37870
Avoid using if statements without curly braces 37872
Avoid using if statements without curly braces 37886
Avoid using if statements without curly braces 37895
Avoid using if statements without curly braces 37897
Avoid using if statements without curly braces 37906
Avoid using if statements without curly braces 37916
Avoid using if statements without curly braces 37918
Avoid using if statements without curly braces 37922
Avoid using if statements without curly braces 37928
Avoid using if statements without curly braces 37933
Avoid using if statements without curly braces 37938
Avoid using if statements without curly braces 37943
Avoid using if statements without curly braces 37948
Avoid using if statements without curly braces 37953
Avoid using if statements without curly braces 37958
Avoid using if statements without curly braces 37963
Avoid using if statements without curly braces 37968
Avoid using if statements without curly braces 37973
Avoid using if statements without curly braces 37978
Avoid using if statements without curly braces 37983
Avoid using if statements without curly braces 37996
Avoid using if statements without curly braces 38000
Avoid using if statements without curly braces 38005
Avoid using if statements without curly braces 38010
Avoid using if statements without curly braces 38019
Avoid using if statements without curly braces 38025
Avoid using if statements without curly braces 38030
Avoid using if statements without curly braces 38060
Avoid using if statements without curly braces 38074
Avoid using if statements without curly braces 38081
Avoid using if statements without curly braces 38086
Avoid using if statements without curly braces 38087
Avoid using if statements without curly braces 38092
Avoid using if statements without curly braces 38093
Avoid using if statements without curly braces 38098
Avoid using if statements without curly braces 38112
Avoid using if statements without curly braces 38114
Avoid using if statements without curly braces 38116
Avoid using if statements without curly braces 38117
Avoid using if statements without curly braces 38119
Avoid using if statements without curly braces 38120
Avoid using if statements without curly braces 38125
Avoid using if statements without curly braces 38130
Avoid using if statements without curly braces 38135
Avoid using if statements without curly braces 38140
Avoid using if statements without curly braces 38145
Avoid using if statements without curly braces 38150
Avoid using if statements without curly braces 38153
Avoid using if statements without curly braces 38155
Avoid using if statements without curly braces 38166
Avoid using if statements without curly braces 38169
Avoid using if statements without curly braces 38178
Avoid using if statements without curly braces 38184
Avoid using if statements without curly braces 38191
Avoid using if statements without curly braces 38195
Avoid using if statements without curly braces 38197
Avoid using if statements without curly braces 38198
Avoid using if statements without curly braces 38202
Avoid using if statements without curly braces 38208
Avoid using if statements without curly braces 38218
Avoid using if statements without curly braces 38223
Avoid using if statements without curly braces 38228
Avoid using if statements without curly braces 38233
Avoid using if statements without curly braces 38243
Avoid using if statements without curly braces 38245
Avoid using if statements without curly braces 38246
Avoid using if statements without curly braces 38248
Avoid using if statements without curly braces 38249
Avoid using if statements without curly braces 38254
Avoid using if statements without curly braces 38259
Avoid using if statements without curly braces 38268
Avoid using if statements without curly braces 38274
Avoid using if statements without curly braces 38279
Avoid using if statements without curly braces 38280
Avoid using if statements without curly braces 38285
Avoid using if statements without curly braces 38290
Avoid using if statements without curly braces 38295
Avoid using if statements without curly braces 38300
Avoid using if statements without curly braces 38309
Avoid using if statements without curly braces 38315
Avoid using if statements without curly braces 38320
Avoid using if statements without curly braces 38326
Avoid using if statements without curly braces 38331
Avoid using if statements without curly braces 38338
Avoid using if statements without curly braces 38342
Avoid using if statements without curly braces 38347
Avoid using if statements without curly braces 38350
Avoid using if statements without curly braces 38352
Avoid using if statements without curly braces 38357
Avoid using if statements without curly braces 38362
Avoid using if statements without curly braces 38369
Avoid using if statements without curly braces 38370
Avoid using if statements without curly braces 38371
Avoid using if statements without curly braces 38379
Avoid using if statements without curly braces 38385
Avoid using if statements without curly braces 38386
Avoid using if statements without curly braces 38395
Avoid using if statements without curly braces 38398
Avoid using if statements without curly braces 38403
Avoid using if statements without curly braces 38408
Avoid using if statements without curly braces 38413
Avoid using if statements without curly braces 38418
Avoid using if statements without curly braces 38423
Avoid using if statements without curly braces 38428
Avoid using if statements without curly braces 38433
Avoid using if statements without curly braces 38438
Avoid using if statements without curly braces 38445
Avoid using if statements without curly braces 38455
Avoid using if statements without curly braces 38464
Avoid using if statements without curly braces 38469
Avoid using if statements without curly braces 38472
Avoid using if statements without curly braces 38477
Avoid using if statements without curly braces 38482
Avoid using if statements without curly braces 38487
Avoid using if statements without curly braces 38498
Avoid using if statements without curly braces 38499
Avoid using if statements without curly braces 38504
Avoid using if statements without curly braces 38505
Avoid using if statements without curly braces 38514
Avoid using if statements without curly braces 38517
Avoid using if statements without curly braces 38524
Avoid using if statements without curly braces 38525
Avoid using if statements without curly braces 38531
Avoid using if statements without curly braces 38532
Avoid using if statements without curly braces 38534
Avoid using if statements without curly braces 38545
Avoid using if statements without curly braces 38548
Avoid using if statements without curly braces 38550
Avoid using if statements without curly braces 38819
Avoid using if statements without curly braces 38960
Avoid using if statements without curly braces 38961
Avoid using if statements without curly braces 38966
Avoid using if statements without curly braces 38980
Avoid using if statements without curly braces 38986
Avoid using if statements without curly braces 38991
Avoid using if statements without curly braces 38992
Avoid using if statements without curly braces 38997
Avoid using if statements without curly braces 39008
Avoid using if statements without curly braces 39011
Avoid using if statements without curly braces 39016
Avoid using if statements without curly braces 39026
Avoid using if statements without curly braces 39027
Avoid using if statements without curly braces 39032
Avoid using if statements without curly braces 39042
Avoid using if statements without curly braces 39043
Avoid using if statements without curly braces 39048
Avoid using if statements without curly braces 39049
Avoid using if statements without curly braces 39054
Avoid using if statements without curly braces 39064
Avoid using if statements without curly braces 39065
Avoid using if statements without curly braces 39070
Avoid using if statements without curly braces 39071
Avoid using if statements without curly braces 39072
Avoid using if statements without curly braces 39073
Avoid using if statements without curly braces 39082
Avoid using if statements without curly braces 39084
Avoid using if statements without curly braces 39085
Avoid using if statements without curly braces 39087
Avoid using if statements without curly braces 39088
Avoid using if statements without curly braces 39089
Avoid using if statements without curly braces 39090
Avoid using if statements without curly braces 39153
Avoid using if statements without curly braces 39180
Avoid using if statements without curly braces 39185
Avoid using if statements without curly braces 39196
Avoid using if statements without curly braces 39203
Avoid using if statements without curly braces 39204
Avoid using if statements without curly braces 39209
Avoid using if statements without curly braces 39210
Avoid using if statements without curly braces 39213
Avoid using if statements without curly braces 39215
Avoid using if statements without curly braces 39216
Avoid using if statements without curly braces 39217
Avoid using if statements without curly braces 39218
Avoid using if statements without curly braces 39223
Avoid using if statements without curly braces 39228
Avoid using if statements without curly braces 39233
Avoid using if statements without curly braces 39238
Avoid using if statements without curly braces 39243
Avoid using if statements without curly braces 39248
Avoid using if statements without curly braces 39253
Avoid using if statements without curly braces 39258
Avoid using if statements without curly braces 39263
Avoid using if statements without curly braces 39268
Avoid using if statements without curly braces 39273
Avoid using if statements without curly braces 39278
Avoid using if statements without curly braces 39283
Avoid using if statements without curly braces 39288
Avoid using if statements without curly braces 39289
Avoid using if statements without curly braces 39294
Avoid using if statements without curly braces 39295
Avoid using if statements without curly braces 39296
Avoid using if statements without curly braces 39297
Avoid using if statements without curly braces 39302
Avoid using if statements without curly braces 39307
Avoid using if statements without curly braces 39310
Avoid using if statements without curly braces 39311
Avoid using if statements without curly braces 39317
Avoid using if statements without curly braces 39318
Avoid using if statements without curly braces 39323
Avoid using if statements without curly braces 39324
Avoid using if statements without curly braces 39325
Avoid using if statements without curly braces 39326
Avoid using if statements without curly braces 39331
Avoid using if statements without curly braces 39332
Avoid using if statements without curly braces 39337
Avoid using if statements without curly braces 39338
Avoid using if statements without curly braces 39339
Avoid using if statements without curly braces 39340
Avoid using if statements without curly braces 39345
Avoid using if statements without curly braces 39346
Avoid using if statements without curly braces 39347
Avoid using if statements without curly braces 39348
Avoid using if statements without curly braces 39358
Avoid using if statements without curly braces 39363
Avoid using if statements without curly braces 39364
Avoid using if statements without curly braces 39365
Avoid using if statements without curly braces 39370
Avoid using if statements without curly braces 39375
Avoid using if statements without curly braces 39380
Avoid using if statements without curly braces 39391
Avoid using if statements without curly braces 39398
Avoid using if statements without curly braces 39399
Avoid using if statements without curly braces 39400
Avoid using if statements without curly braces 39401
Avoid using if statements without curly braces 39406
Avoid using if statements without curly braces 39411
Avoid using if statements without curly braces 39420
Avoid using if statements without curly braces 39426
Avoid using if statements without curly braces 39431
Avoid using if statements without curly braces 39436
Avoid using if statements without curly braces 39442
Avoid using if statements without curly braces 39459
Avoid using if statements without curly braces 39469
Avoid using if statements without curly braces 39470
Avoid using if statements without curly braces 39475
Avoid using if statements without curly braces 39480
Avoid using if statements without curly braces 39481
Avoid using if statements without curly braces 39484
Avoid using if statements without curly braces 39486
Avoid using if statements without curly braces 39488
Avoid using if statements without curly braces 39489
Avoid using if statements without curly braces 39494
Avoid using if statements without curly braces 39495
Avoid using if statements without curly braces 39500
Avoid using if statements without curly braces 39501
Avoid using if statements without curly braces 39506
Avoid using if statements without curly braces 39507
Avoid using if statements without curly braces 39540
Avoid using if statements without curly braces 39558
Avoid using if statements without curly braces 39563
Avoid using if statements without curly braces 39568
Avoid using if statements without curly braces 39573
Avoid using if statements without curly braces 39578
Avoid using if statements without curly braces 39579
Avoid using if statements without curly braces 39584
Avoid using if statements without curly braces 39589
Avoid using if statements without curly braces 39594
Avoid using if statements without curly braces 39599
Avoid using if statements without curly braces 39604
Avoid using if statements without curly braces 39609
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'token_source' is not final. 39614
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_input_stream' is not final. 39615
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_nt' is not final. 39619
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_lastpos' is not final. 39620
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_scanpos' is not final. 39620
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la' is not final. 39621
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_gen' is not final. 39622
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_0' is not final. 39624
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_1' is not final. 39625
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_2' is not final. 39626
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_3' is not final. 39627
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_4' is not final. 39628
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_5' is not final. 39629
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_6' is not final. 39630
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_7' is not final. 39631
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_8' is not final. 39632
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_9' is not final. 39633
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_10' is not final. 39634
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_11' is not final. 39635
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_12' is not final. 39636
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_13' is not final. 39637
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_rescan' is not final. 39697
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_gc' is not final. 39698
Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' 39701
Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' 39705
Unnecessary use of fully qualified name 'java.io.UnsupportedEncodingException' due to existing import 'java.io.*' 39706
Avoid using for statements without curly braces 39711
Avoid using for statements without curly braces 39712
Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' 39716
Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' 39720
Unnecessary use of fully qualified name 'java.io.UnsupportedEncodingException' due to existing import 'java.io.*' 39721
Avoid using for statements without curly braces 39727
Avoid using for statements without curly braces 39728
Unnecessary use of fully qualified name 'java.io.Reader' due to existing import 'java.io.*' 39732
Avoid using for statements without curly braces 39738
Avoid using for statements without curly braces 39739
Unnecessary use of fully qualified name 'java.io.Reader' due to existing import 'java.io.*' 39743
Avoid using for statements without curly braces 39750
Avoid using for statements without curly braces 39751
Avoid using for statements without curly braces 39760
Avoid using for statements without curly braces 39761
Avoid using for statements without curly braces 39771
Avoid using for statements without curly braces 39772
Avoid declaring a variable if it is unreferenced before a possible exit point. 39776
Avoid assignments in operands 39777
Avoid using if...else statements without curly braces 39777
Avoid using if...else statements without curly braces 39778
Avoid assignments in operands 39781
Avoid using if statements without curly braces 39786
Exceptions should not extend java.lang.Error 39799
Use equals() to compare object references. 39802
Use equals() to compare object references. 39814
Avoid using if statements without curly braces 39815
Avoid using if statements without curly braces 39817
Use equals() to compare object references. 39818
Avoid using if statements without curly braces 39818
Avoid using if...else statements without curly braces 39825
Avoid assignments in operands 39825
Avoid using if...else statements without curly braces 39826
Avoid using if...else statements without curly braces 39835
Avoid using if...else statements without curly braces 39836
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_expentries' is not final. 39841
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_expentry' is not final. 39842
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_kind' is not final. 39843
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_lasttokens' is not final. 39844
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_endpos' is not final. 39845
Avoid using if statements without curly braces 39848
System.arraycopy is more efficient 3985339855
Avoid using if statements without curly braces 39868
Switch statements should have a default label 3996140045

net/sourceforge/pmd/lang/plsql/ast/PLSQLParserConstants.java

Violation Line
An Interface should be used only to model a behaviour; consider converting this to a class. 271279
Variables that are final and static should be all capitals, 'tokenImage' is not all capitals. 844

net/sourceforge/pmd/lang/plsql/ast/PLSQLParserTokenManager.java

Violation Line
Avoid unused imports such as 'net.sourceforge.pmd.lang.ast.Node' 22
Unnecessary use of fully qualified name 'java.io.PrintStream' due to existing import 'java.io.*' 31
Unnecessary use of fully qualified name 'java.io.PrintStream' due to existing import 'java.io.*' 33
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_0(long,long,long,long,long,long,long)'. 182
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 185
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 371
Avoid assignments in operands 373
Avoid using if statements without curly braces 373374
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 376
Avoid unused private methods such as 'jjMoveStringLiteralDfa3_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 625
Avoid assignments in operands 627
Avoid using if statements without curly braces 627628
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 630
Avoid unused private methods such as 'jjMoveStringLiteralDfa4_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 1000
Avoid assignments in operands 1002
Avoid using if statements without curly braces 10021003
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 1005
Avoid unused private methods such as 'jjMoveStringLiteralDfa5_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 1324
Avoid using if statements without curly braces 13261327
Avoid assignments in operands 1326
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 1329
Avoid unused private methods such as 'jjMoveStringLiteralDfa6_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 1718
Avoid assignments in operands 1720
Avoid using if statements without curly braces 17201721
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 1723
Avoid unused private methods such as 'jjMoveStringLiteralDfa7_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 2063
Avoid using if statements without curly braces 20652066
Avoid assignments in operands 2065
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 2068
Avoid unused private methods such as 'jjMoveStringLiteralDfa8_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 2310
Avoid using if statements without curly braces 23122313
Avoid assignments in operands 2312
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 2315
Avoid unused private methods such as 'jjMoveStringLiteralDfa9_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 2534
Avoid using if statements without curly braces 25362537
Avoid assignments in operands 2536
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 2539
Avoid unused private methods such as 'jjMoveStringLiteralDfa10_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 2667
Avoid assignments in operands 2669
Avoid using if statements without curly braces 26692670
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 2672
Avoid unused private methods such as 'jjMoveStringLiteralDfa11_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 2786
Avoid assignments in operands 2788
Avoid using if statements without curly braces 27882789
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 2791
Avoid unused private methods such as 'jjMoveStringLiteralDfa12_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 2888
Avoid using if statements without curly braces 28902891
Avoid assignments in operands 2890
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 2893
Avoid unused private methods such as 'jjMoveStringLiteralDfa13_0(long,long,long,long,long,long,long,long,long,long,long,long,long,long)'. 2972
Avoid using if statements without curly braces 29742975
Avoid assignments in operands 2974
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 2977
Avoid unused private methods such as 'jjMoveStringLiteralDfa14_0(long,long,long,long,long,long,long,long,long,long,long,long)'. 3040
Avoid using if statements without curly braces 30423043
Avoid assignments in operands 3042
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 3045
Avoid unused private methods such as 'jjMoveStringLiteralDfa15_0(long,long,long,long,long,long,long,long,long,long)'. 3098
Avoid using if statements without curly braces 31003101
Avoid assignments in operands 3100
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 3103
Avoid unused private methods such as 'jjMoveStringLiteralDfa16_0(long,long,long,long)'. 3135
Avoid assignments in operands 3137
Avoid using if statements without curly braces 31373138
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 3140
Avoid unused private methods such as 'jjMoveStringLiteralDfa17_0(long,long,long,long)'. 3170
Avoid using if statements without curly braces 31723173
Avoid assignments in operands 3172
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 3175
Avoid unused private methods such as 'jjMoveStringLiteralDfa18_0(long,long,long,long)'. 3194
Avoid assignments in operands 3196
Avoid using if statements without curly braces 31963197
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 3199
Avoid unused private methods such as 'jjMoveStringLiteralDfa19_0(long,long,long,long)'. 3226
Avoid using if statements without curly braces 32283229
Avoid assignments in operands 3228
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 3231
Avoid unused private methods such as 'jjMoveStringLiteralDfa20_0(long,long,long,long)'. 3250
Avoid using if statements without curly braces 32523253
Avoid assignments in operands 3252
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 3255
Avoid unused private methods such as 'jjMoveStringLiteralDfa21_0(long,long,long,long)'. 3284
Avoid using if statements without curly braces 32863287
Avoid assignments in operands 3286
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 3289
Variables that are final and static should be all capitals, 'jjbitVec0' is not all capitals. 3307
Variables that are final and static should be all capitals, 'jjbitVec2' is not all capitals. 3310
Variables that are final and static should be all capitals, 'jjbitVec3' is not all capitals. 3313
Avoid declaring a variable if it is unreferenced before a possible exit point. 3318
Avoid declaring a variable if it is unreferenced before a possible exit point. 3319
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 3323
Avoid using if statements without curly braces 33323333
Avoid assignments in operands 3332
Avoid using if statements without curly braces 33443345
Avoid using if statements without curly braces 33503351
Avoid using if statements without curly braces 33553356
Avoid using if statements without curly braces 33613362
Avoid using if...else statements without curly braces 3365
Avoid using if...else statements without curly braces 3367
Avoid using if...else statements without curly braces 3369
Avoid using if statements without curly braces 33703371
Avoid using if statements without curly braces 33743375
Avoid using if...else statements without curly braces 3379
Avoid using if statements without curly braces 33803381
Avoid using if statements without curly braces 33843385
Avoid using if statements without curly braces 33883389
Avoid using if statements without curly braces 33923393
Avoid using if statements without curly braces 33963397
Avoid using if statements without curly braces 33983399
Avoid using if statements without curly braces 34033404
Avoid using if statements without curly braces 34053406
Avoid using if statements without curly braces 34103411
Avoid using if statements without curly braces 34143415
Avoid using if statements without curly braces 34183419
Avoid using if statements without curly braces 34223423
Avoid using if statements without curly braces 34263427
Avoid using if statements without curly braces 34283429
Avoid using if statements without curly braces 34333434
Avoid using if statements without curly braces 34353436
Avoid using if statements without curly braces 34403441
Avoid using if statements without curly braces 34423443
Avoid using if statements without curly braces 34473448
Avoid using if statements without curly braces 34493450
Avoid using if statements without curly braces 34543455
Avoid using if statements without curly braces 34563457
Avoid using if statements without curly braces 34613462
Avoid using if statements without curly braces 34653466
Avoid using if statements without curly braces 34673468
Avoid using if statements without curly braces 34723473
Avoid using if statements without curly braces 34763477
Avoid using if statements without curly braces 34783479
Avoid using if statements without curly braces 34833484
Avoid using if statements without curly braces 34873488
Avoid using if statements without curly braces 34893490
Avoid using if statements without curly braces 34943495
Avoid using if statements without curly braces 34983499
Avoid using if statements without curly braces 35003501
Avoid using if statements without curly braces 35053506
Avoid using if statements without curly braces 35093510
Avoid using if statements without curly braces 35113512
Avoid using if statements without curly braces 35173518
Avoid using if statements without curly braces 35213522
Avoid using if statements without curly braces 35253526
Avoid using if statements without curly braces 35303531
Avoid using if statements without curly braces 35343535
Avoid using if statements without curly braces 35393540
Avoid using if statements without curly braces 35433544
Avoid using if statements without curly braces 35473548
Avoid using if statements without curly braces 35543555
Avoid using if statements without curly braces 35613562
Avoid using if statements without curly braces 35653566
Avoid using if statements without curly braces 35693570
Avoid using if statements without curly braces 35733574
Avoid using if statements without curly braces 35773578
Avoid using if statements without curly braces 35813582
Avoid using if statements without curly braces 35853586
Avoid using if statements without curly braces 35893590
Avoid using if statements without curly braces 35933594
Avoid using if statements without curly braces 35973598
Avoid using if statements without curly braces 36013602
Avoid using if statements without curly braces 36053606
Avoid using if statements without curly braces 36093610
Avoid using if statements without curly braces 36133614
Avoid using if statements without curly braces 36173618
Avoid using if statements without curly braces 36213622
Avoid using if statements without curly braces 36253626
Avoid using if statements without curly braces 36293630
Avoid using if statements without curly braces 36333634
Avoid using if statements without curly braces 36373638
Avoid using if statements without curly braces 36413642
Avoid using if statements without curly braces 36453646
Avoid using if statements without curly braces 36493650
Avoid using if statements without curly braces 36533654
Avoid using if statements without curly braces 36573658
Avoid using if statements without curly braces 36613662
Avoid using if statements without curly braces 36653666
Avoid using if statements without curly braces 36693670
Avoid using if statements without curly braces 36733674
Avoid using if statements without curly braces 36773678
Avoid using if statements without curly braces 36813682
Avoid using if statements without curly braces 36853686
Avoid using if statements without curly braces 36893690
Do not start a literal by 0 unless its an octal value 3698
Avoid using if statements without curly braces 37063707
Avoid using if statements without curly braces 37123713
Avoid using if...else statements without curly braces 3717
Avoid using if...else statements without curly braces 3719
Avoid using if...else statements without curly braces 3721
Avoid using if...else statements without curly braces 3723
Avoid using if statements without curly braces 37243725
Avoid using if statements without curly braces 37283729
Avoid using if statements without curly braces 37323733
Avoid using if statements without curly braces 37373738
Avoid using if statements without curly braces 37393740
Avoid using if statements without curly braces 37443745
Avoid using if statements without curly braces 37463747
Avoid using if statements without curly braces 37513752
Avoid using if statements without curly braces 37533754
Avoid using if statements without curly braces 37583759
Avoid using if statements without curly braces 37603761
Avoid using if statements without curly braces 37653766
Avoid using if statements without curly braces 37693770
Avoid using if statements without curly braces 37733774
Avoid using if statements without curly braces 37803781
Avoid using if statements without curly braces 37853786
Avoid using if statements without curly braces 37893790
Avoid using if statements without curly braces 37933794
Avoid using if statements without curly braces 37973798
Avoid using if statements without curly braces 38013802
Avoid using if statements without curly braces 38053806
Avoid using if statements without curly braces 38093810
Avoid using if statements without curly braces 38133814
Avoid using if statements without curly braces 38173818
Avoid using if statements without curly braces 38213822
Avoid using if statements without curly braces 38253826
Avoid using if statements without curly braces 38293830
Avoid using if statements without curly braces 38333834
Avoid using if statements without curly braces 38373838
Avoid using if statements without curly braces 38413842
Avoid using if statements without curly braces 38453846
Avoid using if statements without curly braces 38493850
Avoid using if statements without curly braces 38533854
Avoid using if statements without curly braces 38573858
Avoid using if statements without curly braces 38613862
Avoid using if statements without curly braces 38653866
Avoid using if statements without curly braces 38693870
Avoid using if statements without curly braces 38733874
Avoid using if statements without curly braces 38803881
Avoid using if statements without curly braces 38843885
Avoid using if statements without curly braces 38883889
Avoid using if statements without curly braces 38923893
Avoid using if statements without curly braces 38963897
Avoid using if statements without curly braces 39003901
Avoid using if statements without curly braces 39193920
Avoid using if statements without curly braces 39233924
Avoid using if statements without curly braces 39303931
Do not start a literal by 0 unless its an octal value 3947
Do not start a literal by 0 unless its an octal value 3949
Avoid using if statements without curly braces 39573958
Avoid using if statements without curly braces 39633964
Avoid using if statements without curly braces 39693970
Avoid using if statements without curly braces 39733974
Avoid using if statements without curly braces 39753976
Avoid using if statements without curly braces 39813982
Avoid using if statements without curly braces 39833984
Avoid using if statements without curly braces 39893990
Avoid using if statements without curly braces 39913992
Avoid using if statements without curly braces 39963997
Avoid using if statements without curly braces 40004001
Avoid using if statements without curly braces 40044005
Avoid using if statements without curly braces 40084009
Avoid using if statements without curly braces 40124013
Avoid using if statements without curly braces 40164017
Avoid using if statements without curly braces 40204021
Avoid using if statements without curly braces 40244025
Avoid using if statements without curly braces 40284029
Avoid using if statements without curly braces 40334034
Avoid using if statements without curly braces 40374038
Avoid using if statements without curly braces 40414042
Avoid using if statements without curly braces 40454046
Avoid assignments in operands 4059
Avoid using if statements without curly braces 40594060
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 4062
Avoid using if statements without curly braces 40644065
Avoid using if statements without curly braces 40694072
Avoid using for statements without curly braces 40704072
Avoid assignments in operands 4070
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 4072
Avoid using if statements without curly braces 40794080
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_2(long)'. 4094
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 4097
Avoid using if statements without curly braces 41034104
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_1(long)'. 4125
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 4128
Avoid using if statements without curly braces 41344135
Variables that are final and static should be all capitals, 'jjnextStates' is not all capitals. 4142
Useless parentheses. 4153
Avoid using if statements without curly braces 41554156
Useless parentheses. 4165
Variables that are final and static should be all capitals, 'jjstrLiteralImages' is not all capitals. 4172
Variables that are final and static should be all capitals, 'lexStateNames' is not all capitals. 4207
Variables that are final and static should be all capitals, 'jjnewLexState' is not all capitals. 4215
Variables that are final and static should be all capitals, 'jjtoToken' is not all capitals. 4235
Variables that are final and static should be all capitals, 'jjtoSkip' is not all capitals. 4239
Variables that are final and static should be all capitals, 'jjtoSpecial' is not all capitals. 4243
Variables that are final and static should be all capitals, 'jjtoMore' is not all capitals. 4247
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'input_stream' is not final. 4251
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 4254
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 4255
Perhaps 'image' could be replaced by a local variable. 4255
Perhaps 'jjimageLen' could be replaced by a local variable. 4256
Avoid using if statements without curly braces 42614262
Avoid assignments in operands 4284
Avoid using for statements without curly braces 42844285
Avoid using if...else statements without curly braces 4299
Avoid using if...else statements without curly braces 4301
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 4349
Switch statements should have a default label 43624396
Avoid using if statements without curly braces 43994400
Do not start a literal by 0 unless its an octal value 4401
Avoid using if statements without curly braces 44054406
Do not start a literal by 0 unless its an octal value 4409
Do not start a literal by 0 unless its an octal value 4411
Avoid using if...else statements without curly braces 4415
Avoid using if...else statements without curly braces 4424
Avoid using if statements without curly braces 44254426
Avoid using if statements without curly braces 44304431
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 4438
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'error_line' is not final. 4440
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'error_column' is not final. 4441
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'error_after' is not final. 4442
Variables should start with a lowercase character, 'EOFSeen' starts with uppercase character. 4443
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' 4445
Avoid using if...else statements without curly braces 4453
Potential violation of Law of Demeter (method chain calls) 4495

net/sourceforge/pmd/lang/plsql/ast/PLSQLParserTreeConstants.java

Violation Line
An Interface should be used only to model a behaviour; consider converting this to a class. 4282
Avoid modifiers which are implied by the context 6
Avoid modifiers which are implied by the context 7
Avoid modifiers which are implied by the context 8
Avoid modifiers which are implied by the context 9
Avoid modifiers which are implied by the context 10
Avoid modifiers which are implied by the context 11
Avoid modifiers which are implied by the context 12
Avoid modifiers which are implied by the context 13
Avoid modifiers which are implied by the context 14
Avoid modifiers which are implied by the context 15
Avoid modifiers which are implied by the context 16
Avoid modifiers which are implied by the context 17
Avoid modifiers which are implied by the context 18
Avoid modifiers which are implied by the context 19
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 21
Avoid modifiers which are implied by the context 22
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 43
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 49
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 54
Avoid modifiers which are implied by the context 55
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 58
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 61
Avoid modifiers which are implied by the context 62
Avoid modifiers which are implied by the context 63
Avoid modifiers which are implied by the context 64
Avoid modifiers which are implied by the context 65
Avoid modifiers which are implied by the context 66
Avoid modifiers which are implied by the context 67
Avoid modifiers which are implied by the context 68
Avoid modifiers which are implied by the context 69
Avoid modifiers which are implied by the context 70
Avoid modifiers which are implied by the context 71
Avoid modifiers which are implied by the context 72
Avoid modifiers which are implied by the context 73
Avoid modifiers which are implied by the context 74
Avoid modifiers which are implied by the context 75
Avoid modifiers which are implied by the context 76
Avoid modifiers which are implied by the context 77
Avoid modifiers which are implied by the context 78
Avoid modifiers which are implied by the context 79
Avoid modifiers which are implied by the context 80
Avoid modifiers which are implied by the context 81
Avoid modifiers which are implied by the context 82
Avoid modifiers which are implied by the context 83
Avoid modifiers which are implied by the context 84
Avoid modifiers which are implied by the context 85
Avoid modifiers which are implied by the context 86
Avoid modifiers which are implied by the context 87
Avoid modifiers which are implied by the context 88
Avoid modifiers which are implied by the context 89
Avoid modifiers which are implied by the context 90
Avoid modifiers which are implied by the context 91
Avoid modifiers which are implied by the context 92
Avoid modifiers which are implied by the context 93
Avoid modifiers which are implied by the context 94
Avoid modifiers which are implied by the context 95
Avoid modifiers which are implied by the context 96
Avoid modifiers which are implied by the context 97
Avoid modifiers which are implied by the context 98
Avoid modifiers which are implied by the context 99
Avoid modifiers which are implied by the context 100
Avoid modifiers which are implied by the context 101
Avoid modifiers which are implied by the context 102
Avoid modifiers which are implied by the context 103
Avoid modifiers which are implied by the context 104
Avoid modifiers which are implied by the context 105
Avoid modifiers which are implied by the context 106
Avoid modifiers which are implied by the context 107
Avoid modifiers which are implied by the context 108
Avoid modifiers which are implied by the context 109
Avoid modifiers which are implied by the context 110
Avoid modifiers which are implied by the context 111
Avoid modifiers which are implied by the context 112
Avoid modifiers which are implied by the context 113
Avoid modifiers which are implied by the context 114
Avoid modifiers which are implied by the context 115
Avoid modifiers which are implied by the context 116
Avoid modifiers which are implied by the context 117
Avoid modifiers which are implied by the context 118
Avoid modifiers which are implied by the context 119
Avoid modifiers which are implied by the context 120
Avoid modifiers which are implied by the context 121
Avoid modifiers which are implied by the context 122
Avoid modifiers which are implied by the context 123
Avoid modifiers which are implied by the context 124
Avoid modifiers which are implied by the context 125
Avoid modifiers which are implied by the context 126
Avoid modifiers which are implied by the context 127
Avoid modifiers which are implied by the context 128
Avoid modifiers which are implied by the context 129
Avoid modifiers which are implied by the context 130
Avoid modifiers which are implied by the context 131
Avoid modifiers which are implied by the context 132
Avoid modifiers which are implied by the context 133
Avoid modifiers which are implied by the context 134
Avoid modifiers which are implied by the context 135
Avoid modifiers which are implied by the context 136
Avoid modifiers which are implied by the context 137
Avoid modifiers which are implied by the context 138
Avoid modifiers which are implied by the context 139
Avoid modifiers which are implied by the context 140
Avoid modifiers which are implied by the context 141
Variables that are final and static should be all capitals, 'jjtNodeName' is not all capitals. 144
Avoid modifiers which are implied by the context 144281

net/sourceforge/pmd/lang/plsql/ast/PLSQLParserVisitor.java

Violation Line
Avoid modifiers which are implied by the context 6
Avoid modifiers which are implied by the context 7
Avoid modifiers which are implied by the context 8
Avoid modifiers which are implied by the context 9
Avoid modifiers which are implied by the context 10
Avoid modifiers which are implied by the context 11
Avoid modifiers which are implied by the context 12
Avoid modifiers which are implied by the context 13
Avoid modifiers which are implied by the context 14
Avoid modifiers which are implied by the context 15
Avoid modifiers which are implied by the context 16
Avoid modifiers which are implied by the context 17
Avoid modifiers which are implied by the context 18
Avoid modifiers which are implied by the context 19
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 21
Avoid modifiers which are implied by the context 22
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 43
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 49
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 54
Avoid modifiers which are implied by the context 55
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 58
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 61
Avoid modifiers which are implied by the context 62
Avoid modifiers which are implied by the context 63
Avoid modifiers which are implied by the context 64
Avoid modifiers which are implied by the context 65
Avoid modifiers which are implied by the context 66
Avoid modifiers which are implied by the context 67
Avoid modifiers which are implied by the context 68
Avoid modifiers which are implied by the context 69
Avoid modifiers which are implied by the context 70
Avoid modifiers which are implied by the context 71
Avoid modifiers which are implied by the context 72
Avoid modifiers which are implied by the context 73
Avoid modifiers which are implied by the context 74
Avoid modifiers which are implied by the context 75
Avoid modifiers which are implied by the context 76
Avoid modifiers which are implied by the context 77
Avoid modifiers which are implied by the context 78
Avoid modifiers which are implied by the context 79
Avoid modifiers which are implied by the context 80
Avoid modifiers which are implied by the context 81
Avoid modifiers which are implied by the context 82
Avoid modifiers which are implied by the context 83
Avoid modifiers which are implied by the context 84
Avoid modifiers which are implied by the context 85
Avoid modifiers which are implied by the context 86
Avoid modifiers which are implied by the context 87
Avoid modifiers which are implied by the context 88
Avoid modifiers which are implied by the context 89
Avoid modifiers which are implied by the context 90
Avoid modifiers which are implied by the context 91
Avoid modifiers which are implied by the context 92
Avoid modifiers which are implied by the context 93
Avoid modifiers which are implied by the context 94
Avoid modifiers which are implied by the context 95
Avoid modifiers which are implied by the context 96
Avoid modifiers which are implied by the context 97
Avoid modifiers which are implied by the context 98
Avoid modifiers which are implied by the context 99
Avoid modifiers which are implied by the context 100
Avoid modifiers which are implied by the context 101
Avoid modifiers which are implied by the context 102
Avoid modifiers which are implied by the context 103
Avoid modifiers which are implied by the context 104
Avoid modifiers which are implied by the context 105
Avoid modifiers which are implied by the context 106
Avoid modifiers which are implied by the context 107
Avoid modifiers which are implied by the context 108
Avoid modifiers which are implied by the context 109
Avoid modifiers which are implied by the context 110
Avoid modifiers which are implied by the context 111
Avoid modifiers which are implied by the context 112
Avoid modifiers which are implied by the context 113
Avoid modifiers which are implied by the context 114
Avoid modifiers which are implied by the context 115
Avoid modifiers which are implied by the context 116
Avoid modifiers which are implied by the context 117
Avoid modifiers which are implied by the context 118
Avoid modifiers which are implied by the context 119
Avoid modifiers which are implied by the context 120
Avoid modifiers which are implied by the context 121
Avoid modifiers which are implied by the context 122
Avoid modifiers which are implied by the context 123
Avoid modifiers which are implied by the context 124
Avoid modifiers which are implied by the context 125
Avoid modifiers which are implied by the context 126
Avoid modifiers which are implied by the context 127
Avoid modifiers which are implied by the context 128
Avoid modifiers which are implied by the context 129
Avoid modifiers which are implied by the context 130
Avoid modifiers which are implied by the context 131
Avoid modifiers which are implied by the context 132
Avoid modifiers which are implied by the context 133
Avoid modifiers which are implied by the context 134
Avoid modifiers which are implied by the context 135
Avoid modifiers which are implied by the context 136
Avoid modifiers which are implied by the context 137
Avoid modifiers which are implied by the context 138
Avoid modifiers which are implied by the context 139
Avoid modifiers which are implied by the context 140
Avoid modifiers which are implied by the context 141
Avoid modifiers which are implied by the context 142

net/sourceforge/pmd/lang/plsql/ast/ParseException.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 117
Potential violation of Law of Demeter (object not created locally) 120
Potential violation of Law of Demeter (object not created locally) 122
Avoid using if statements without curly braces 127
Potential violation of Law of Demeter (object not created locally) 145
A switch statement does not contain a break 163199
Potential violation of Law of Demeter (object not created locally) 168
Potential violation of Law of Demeter (object not created locally) 171
Potential violation of Law of Demeter (object not created locally) 174
Potential violation of Law of Demeter (object not created locally) 177
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 183
Potential violation of Law of Demeter (object not created locally) 186
Potential violation of Law of Demeter (object not created locally) 189
Avoid assignments in operands 192
Potential violation of Law of Demeter (object not created locally) 194
Potential violation of Law of Demeter (object not created locally) 194
Potential violation of Law of Demeter (object not created locally) 194
Potential violation of Law of Demeter (object not created locally) 194
Potential violation of Law of Demeter (object not created locally) 196
Potential violation of Law of Demeter (object not created locally) 201

net/sourceforge/pmd/lang/vm/ast/JJTVmParserState.java

Violation Line
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'node_created' is not final. 12
Avoid assignments in operands 52
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (object not created locally) 113

net/sourceforge/pmd/lang/vm/ast/ParseException.java

Violation Line
Potential violation of Law of Demeter (object not created locally) 99
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (object not created locally) 104
Avoid using if statements without curly braces 109
Potential violation of Law of Demeter (object not created locally) 127
A switch statement does not contain a break 145181
Potential violation of Law of Demeter (object not created locally) 150
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (object not created locally) 156
Potential violation of Law of Demeter (object not created locally) 159
Potential violation of Law of Demeter (object not created locally) 162
Potential violation of Law of Demeter (object not created locally) 165
Potential violation of Law of Demeter (object not created locally) 168
Potential violation of Law of Demeter (object not created locally) 171
Avoid assignments in operands 174
Potential violation of Law of Demeter (object not created locally) 176
Potential violation of Law of Demeter (object not created locally) 176
Potential violation of Law of Demeter (object not created locally) 176
Potential violation of Law of Demeter (object not created locally) 176
Potential violation of Law of Demeter (object not created locally) 178
Potential violation of Law of Demeter (object not created locally) 183

net/sourceforge/pmd/lang/vm/ast/VmParser.java

Violation Line
Possible God class (WMC=1281, ATFD=80, TCC=0.10217391304347827) 23807
Avoid unused imports such as 'java.io.Reader' 5
Avoid unused imports such as 'java.util.ArrayList' 6
Avoid unused imports such as 'java.util.List' 7
Avoid unused imports such as 'net.sourceforge.pmd.lang.vm.util.VelocityCharStream' 13
String.indexOf(char) is faster than String.indexOf(String). 70
Potential violation of Law of Demeter (object not created locally) 79
Potential violation of Law of Demeter (object not created locally) 80
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (object not created locally) 104
Potential violation of Law of Demeter (object not created locally) 105
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (object not created locally) 107
Useless parentheses. 120
Avoid using if...else statements without curly braces 120
Useless parentheses. 122
This statement may have some unnecessary parentheses 122
Avoid using if...else statements without curly braces 122
Potential violation of Law of Demeter (static property access) 141
Potential violation of Law of Demeter (static property access) 164
Avoid unused private methods such as 'isAssignment()'. 174
Avoid using if statements without curly braces 177
Potential violation of Law of Demeter (static property access) 186
Avoid using if statements without curly braces 191
Potential violation of Law of Demeter (static property access) 198
An empty statement (semicolon) not part of a loop 245
Do not use if statements that are always true or always false 256
Avoid using if statements without curly braces 256
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 264
Do not use if statements that are always true or always false 265
Avoid using if statements without curly braces 265
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 267
Do not use if statements that are always true or always false 268
Avoid using if statements without curly braces 268
Avoid using if statements without curly braces 270
Do not use if statements that are always true or always false 270
An empty statement (semicolon) not part of a loop 389
Switch statements should have a default label 399407
Potential violation of Law of Demeter (static property access) 412
Avoid using for statements without curly braces 423424
An empty statement (semicolon) not part of a loop 447
Avoid using if statements without curly braces 571
Do not use if statements that are always true or always false 571
Avoid using if statements without curly braces 575
Do not use if statements that are always true or always false 575
Do not use if statements that are always true or always false 579
Avoid using if statements without curly braces 579
Avoid using if statements without curly braces 583
Do not use if statements that are always true or always false 583
Do not use if statements that are always true or always false 589
Avoid using if statements without curly braces 589
Do not use if statements that are always true or always false 594
Avoid using if statements without curly braces 594
Avoid using if statements without curly braces 598
Do not use if statements that are always true or always false 598
Do not use if statements that are always true or always false 602
Avoid using if statements without curly braces 602
Do not use if statements that are always true or always false 606
Avoid using if statements without curly braces 606
Avoid using if statements without curly braces 610
Do not use if statements that are always true or always false 610
Potential violation of Law of Demeter (static property access) 653
Potential violation of Law of Demeter (static property access) 653
Potential violation of Law of Demeter (static property access) 657
Potential violation of Law of Demeter (object not created locally) 668
Potential violation of Law of Demeter (object not created locally) 678
Potential violation of Law of Demeter (object not created locally) 682
This call to String.startsWith can be rewritten using String.charAt(0) 682
Potential violation of Law of Demeter (object not created locally) 699
An empty statement (semicolon) not part of a loop 716
An empty statement (semicolon) not part of a loop 722
An empty statement (semicolon) not part of a loop 732
An empty statement (semicolon) not part of a loop 743
An empty statement (semicolon) not part of a loop 748
Avoid using if statements without curly braces 759760
Do not use if statements that are always true or always false 759
Potential violation of Law of Demeter (object not created locally) 763
Do not use if statements that are always true or always false 765
Avoid using if statements without curly braces 765766
Avoid using if statements without curly braces 780782
Do not use if statements that are always true or always false 780
An empty statement (semicolon) not part of a loop 794
Avoid using if statements without curly braces 799
Do not use if statements that are always true or always false 799
Avoid using if statements without curly braces 806807
Do not use if statements that are always true or always false 806
Avoid using if statements without curly braces 815
Do not use if statements that are always true or always false 815
An empty statement (semicolon) not part of a loop 847
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 862
Avoid using if statements without curly braces 863
Do not use if statements that are always true or always false 863
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 865
Avoid using if statements without curly braces 866
Do not use if statements that are always true or always false 866
Avoid using if statements without curly braces 868
Do not use if statements that are always true or always false 868
Potential violation of Law of Demeter (object not created locally) 889
Do not use if statements that are always true or always false 902
Avoid using if statements without curly braces 902
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 910
Avoid using if statements without curly braces 911
Do not use if statements that are always true or always false 911
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 913
Do not use if statements that are always true or always false 914
Avoid using if statements without curly braces 914
Avoid using if statements without curly braces 916
Do not use if statements that are always true or always false 916
An empty statement (semicolon) not part of a loop 945
An empty statement (semicolon) not part of a loop 963
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 985
Avoid using if statements without curly braces 986
Do not use if statements that are always true or always false 986
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 988
Avoid using if statements without curly braces 989
Do not use if statements that are always true or always false 989
Do not use if statements that are always true or always false 991
Avoid using if statements without curly braces 991
A non-case label was present in a switch statement 10181030
An empty statement (semicolon) not part of a loop 1022
An empty statement (semicolon) not part of a loop 1034
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1044
Avoid using if statements without curly braces 1045
Do not use if statements that are always true or always false 1045
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1047
Do not use if statements that are always true or always false 1048
Avoid using if statements without curly braces 1048
Avoid using if statements without curly braces 1050
Do not use if statements that are always true or always false 1050
An empty statement (semicolon) not part of a loop 1076
An empty statement (semicolon) not part of a loop 1097
An empty statement (semicolon) not part of a loop 1106
An empty statement (semicolon) not part of a loop 1127
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1137
Do not use if statements that are always true or always false 1138
Avoid using if statements without curly braces 1138
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1140
Avoid using if statements without curly braces 1141
Do not use if statements that are always true or always false 1141
Do not use if statements that are always true or always false 1143
Avoid using if statements without curly braces 1143
An empty statement (semicolon) not part of a loop 1161
An empty statement (semicolon) not part of a loop 1191
An empty statement (semicolon) not part of a loop 1207
An empty statement (semicolon) not part of a loop 1254
A non-case label was present in a switch statement 12831295
An empty statement (semicolon) not part of a loop 1287
An empty statement (semicolon) not part of a loop 1299
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1309
Avoid using if statements without curly braces 1310
Do not use if statements that are always true or always false 1310
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1312
Do not use if statements that are always true or always false 1313
Avoid using if statements without curly braces 1313
Avoid using if statements without curly braces 1315
Do not use if statements that are always true or always false 1315
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1339
Do not use if statements that are always true or always false 1340
Avoid using if statements without curly braces 1340
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1342
Avoid using if statements without curly braces 1343
Do not use if statements that are always true or always false 1343
Do not use if statements that are always true or always false 1345
Avoid using if statements without curly braces 1345
A non-case label was present in a switch statement 13621373
An empty statement (semicolon) not part of a loop 1366
A non-case label was present in a switch statement 13741407
An empty statement (semicolon) not part of a loop 1377
A non-case label was present in a switch statement 13951406
An empty statement (semicolon) not part of a loop 1399
A non-case label was present in a switch statement 14121423
An empty statement (semicolon) not part of a loop 1416
A non-case label was present in a switch statement 14241457
An empty statement (semicolon) not part of a loop 1427
A non-case label was present in a switch statement 14451456
An empty statement (semicolon) not part of a loop 1449
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1472
Do not use if statements that are always true or always false 1473
Avoid using if statements without curly braces 1473
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1475
Do not use if statements that are always true or always false 1476
Avoid using if statements without curly braces 1476
Avoid using if statements without curly braces 1478
Do not use if statements that are always true or always false 1478
An empty statement (semicolon) not part of a loop 1589
An empty statement (semicolon) not part of a loop 1598
An empty statement (semicolon) not part of a loop 1607
An empty statement (semicolon) not part of a loop 1616
An empty statement (semicolon) not part of a loop 1625
An empty statement (semicolon) not part of a loop 1658
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1673
Avoid using if statements without curly braces 1674
Do not use if statements that are always true or always false 1674
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1676
Do not use if statements that are always true or always false 1677
Avoid using if statements without curly braces 1677
Do not use if statements that are always true or always false 1679
Avoid using if statements without curly braces 1679
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1693
Do not use if statements that are always true or always false 1694
Avoid using if statements without curly braces 1694
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1696
Do not use if statements that are always true or always false 1697
Avoid using if statements without curly braces 1697
Do not use if statements that are always true or always false 1699
Avoid using if statements without curly braces 1699
An empty statement (semicolon) not part of a loop 1720
An empty statement (semicolon) not part of a loop 1755
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1770
Avoid using if statements without curly braces 1771
Do not use if statements that are always true or always false 1771
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1773
Avoid using if statements without curly braces 1774
Do not use if statements that are always true or always false 1774
Avoid using if statements without curly braces 1776
Do not use if statements that are always true or always false 1776
A non-case label was present in a switch statement 17841795
An empty statement (semicolon) not part of a loop 1789
An empty statement (semicolon) not part of a loop 1799
An empty statement (semicolon) not part of a loop 1807
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1817
Avoid using if statements without curly braces 1818
Do not use if statements that are always true or always false 1818
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1820
Avoid using if statements without curly braces 1821
Do not use if statements that are always true or always false 1821
Do not use if statements that are always true or always false 1823
Avoid using if statements without curly braces 1823
An empty statement (semicolon) not part of a loop 1868
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1883
Avoid using if statements without curly braces 1884
Do not use if statements that are always true or always false 1884
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1886
Avoid using if statements without curly braces 1887
Do not use if statements that are always true or always false 1887
Do not use if statements that are always true or always false 1889
Avoid using if statements without curly braces 1889
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1902
Avoid using if statements without curly braces 1903
Do not use if statements that are always true or always false 1903
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1905
Do not use if statements that are always true or always false 1906
Avoid using if statements without curly braces 1906
Avoid using if statements without curly braces 1908
Do not use if statements that are always true or always false 1908
An empty statement (semicolon) not part of a loop 1929
An empty statement (semicolon) not part of a loop 1964
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1979
Do not use if statements that are always true or always false 1980
Avoid using if statements without curly braces 1980
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1982
Do not use if statements that are always true or always false 1983
Avoid using if statements without curly braces 1983
Avoid using if statements without curly braces 1985
Do not use if statements that are always true or always false 1985
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 1998
Do not use if statements that are always true or always false 1999
Avoid using if statements without curly braces 1999
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2001
Do not use if statements that are always true or always false 2002
Avoid using if statements without curly braces 2002
Do not use if statements that are always true or always false 2004
Avoid using if statements without curly braces 2004
An empty statement (semicolon) not part of a loop 2030
An empty statement (semicolon) not part of a loop 2039
An empty statement (semicolon) not part of a loop 2055
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2064
Do not use if statements that are always true or always false 2065
Avoid using if statements without curly braces 2065
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2067
Do not use if statements that are always true or always false 2068
Avoid using if statements without curly braces 2068
Do not use if statements that are always true or always false 2070
Avoid using if statements without curly braces 2070
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2097
Avoid using if statements without curly braces 2098
Do not use if statements that are always true or always false 2098
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2100
Do not use if statements that are always true or always false 2101
Avoid using if statements without curly braces 2101
Avoid using if statements without curly braces 2103
Do not use if statements that are always true or always false 2103
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2127
Do not use if statements that are always true or always false 2128
Avoid using if statements without curly braces 2128
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2130
Avoid using if statements without curly braces 2131
Do not use if statements that are always true or always false 2131
Avoid using if statements without curly braces 2133
Do not use if statements that are always true or always false 2133
An empty statement (semicolon) not part of a loop 2147
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2166
Do not use if statements that are always true or always false 2167
Avoid using if statements without curly braces 2167
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2169
Avoid using if statements without curly braces 2170
Do not use if statements that are always true or always false 2170
Do not use if statements that are always true or always false 2172
Avoid using if statements without curly braces 2172
An empty statement (semicolon) not part of a loop 2187
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2206
Do not use if statements that are always true or always false 2207
Avoid using if statements without curly braces 2207
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2209
Do not use if statements that are always true or always false 2210
Avoid using if statements without curly braces 2210
Do not use if statements that are always true or always false 2212
Avoid using if statements without curly braces 2212
An empty statement (semicolon) not part of a loop 2228
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2249
Do not use if statements that are always true or always false 2250
Avoid using if statements without curly braces 2250
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2252
Avoid using if statements without curly braces 2253
Do not use if statements that are always true or always false 2253
Do not use if statements that are always true or always false 2255
Avoid using if statements without curly braces 2255
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2276
Avoid using if statements without curly braces 2277
Do not use if statements that are always true or always false 2277
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2279
Avoid using if statements without curly braces 2280
Do not use if statements that are always true or always false 2280
Do not use if statements that are always true or always false 2282
Avoid using if statements without curly braces 2282
An empty statement (semicolon) not part of a loop 2306
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2327
Do not use if statements that are always true or always false 2328
Avoid using if statements without curly braces 2328
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2330
Do not use if statements that are always true or always false 2331
Avoid using if statements without curly braces 2331
Avoid using if statements without curly braces 2333
Do not use if statements that are always true or always false 2333
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2354
Avoid using if statements without curly braces 2355
Do not use if statements that are always true or always false 2355
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2357
Do not use if statements that are always true or always false 2358
Avoid using if statements without curly braces 2358
Do not use if statements that are always true or always false 2360
Avoid using if statements without curly braces 2360
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2381
Avoid using if statements without curly braces 2382
Do not use if statements that are always true or always false 2382
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2384
Avoid using if statements without curly braces 2385
Do not use if statements that are always true or always false 2385
Avoid using if statements without curly braces 2387
Do not use if statements that are always true or always false 2387
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2408
Do not use if statements that are always true or always false 2409
Avoid using if statements without curly braces 2409
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2411
Do not use if statements that are always true or always false 2412
Avoid using if statements without curly braces 2412
Avoid using if statements without curly braces 2414
Do not use if statements that are always true or always false 2414
An empty statement (semicolon) not part of a loop 2436
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2457
Avoid using if statements without curly braces 2458
Do not use if statements that are always true or always false 2458
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2460
Avoid using if statements without curly braces 2461
Do not use if statements that are always true or always false 2461
Avoid using if statements without curly braces 2463
Do not use if statements that are always true or always false 2463
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2484
Do not use if statements that are always true or always false 2485
Avoid using if statements without curly braces 2485
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2487
Avoid using if statements without curly braces 2488
Do not use if statements that are always true or always false 2488
Avoid using if statements without curly braces 2490
Do not use if statements that are always true or always false 2490
An empty statement (semicolon) not part of a loop 2513
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2534
Do not use if statements that are always true or always false 2535
Avoid using if statements without curly braces 2535
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2537
Do not use if statements that are always true or always false 2538
Avoid using if statements without curly braces 2538
Avoid using if statements without curly braces 2540
Do not use if statements that are always true or always false 2540
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2561
Do not use if statements that are always true or always false 2562
Avoid using if statements without curly braces 2562
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2564
Avoid using if statements without curly braces 2565
Do not use if statements that are always true or always false 2565
Do not use if statements that are always true or always false 2567
Avoid using if statements without curly braces 2567
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2588
Do not use if statements that are always true or always false 2589
Avoid using if statements without curly braces 2589
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2591
Avoid using if statements without curly braces 2592
Do not use if statements that are always true or always false 2592
Do not use if statements that are always true or always false 2594
Avoid using if statements without curly braces 2594
An empty statement (semicolon) not part of a loop 2617
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2632
Avoid using if statements without curly braces 2633
Do not use if statements that are always true or always false 2633
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 2635
Avoid using if statements without curly braces 2636
Do not use if statements that are always true or always false 2636
Do not use if statements that are always true or always false 2638
Avoid using if statements without curly braces 2638
An empty statement (semicolon) not part of a loop 2674
An empty statement (semicolon) not part of a loop 2726
Avoid using if statements without curly braces 2815
Avoid using if statements without curly braces 2820
Avoid using if statements without curly braces 2825
Avoid using if statements without curly braces 2830
Avoid using if statements without curly braces 2835
Avoid using if statements without curly braces 2840
Avoid using if statements without curly braces 2845
Avoid using if statements without curly braces 2848
Avoid using if statements without curly braces 2853
Avoid using if statements without curly braces 2858
Avoid using if statements without curly braces 2883
Avoid using if statements without curly braces 2897
Avoid using if statements without curly braces 2902
Avoid using if statements without curly braces 2907
Avoid using if statements without curly braces 2912
Avoid using if statements without curly braces 2917
Avoid using if statements without curly braces 2922
Avoid using if statements without curly braces 2927
Avoid using if statements without curly braces 2928
Avoid using if statements without curly braces 2933
Avoid using if statements without curly braces 2938
Avoid using if statements without curly braces 2943
Avoid using if statements without curly braces 2946
Avoid using if statements without curly braces 2950
Avoid using if statements without curly braces 2953
Avoid using if statements without curly braces 2954
Avoid using if statements without curly braces 2961
Avoid using if statements without curly braces 2963
Avoid using if statements without curly braces 2964
Avoid using if statements without curly braces 2969
Avoid using if statements without curly braces 2974
Avoid using if statements without curly braces 2979
Avoid using if statements without curly braces 2984
Avoid using if statements without curly braces 2994
Avoid using if statements without curly braces 2999
Avoid using if statements without curly braces 3004
Avoid using if statements without curly braces 3009
Avoid using if statements without curly braces 3014
Avoid using if statements without curly braces 3019
Avoid using if statements without curly braces 3024
Avoid using if statements without curly braces 3034
Avoid using if statements without curly braces 3044
Avoid using if statements without curly braces 3049
Avoid using if statements without curly braces 3054
Avoid using if statements without curly braces 3055
Avoid using if statements without curly braces 3065
Avoid using if statements without curly braces 3070
Avoid using if statements without curly braces 3075
Avoid using if statements without curly braces 3080
Avoid using if statements without curly braces 3085
Avoid using if statements without curly braces 3090
Avoid using if statements without curly braces 3104
Avoid using if statements without curly braces 3109
Avoid using if statements without curly braces 3118
Avoid using if statements without curly braces 3126
Avoid using if statements without curly braces 3146
Avoid using if statements without curly braces 3164
Avoid using if statements without curly braces 3172
Avoid using if statements without curly braces 3173
Avoid using if statements without curly braces 3174
Avoid using if statements without curly braces 3179
Avoid using if statements without curly braces 3184
Avoid using if statements without curly braces 3185
Avoid using if statements without curly braces 3186
Avoid using if statements without curly braces 3191
Avoid using if statements without curly braces 3194
Avoid using if statements without curly braces 3198
Avoid using if statements without curly braces 3201
Avoid using if statements without curly braces 3202
Avoid using if statements without curly braces 3207
Avoid using if statements without curly braces 3208
Avoid using if statements without curly braces 3211
Avoid using if statements without curly braces 3212
Avoid using if statements without curly braces 3217
Avoid using if statements without curly braces 3222
Avoid using if statements without curly braces 3227
Avoid using if statements without curly braces 3232
Avoid using if statements without curly braces 3237
Avoid using if statements without curly braces 3242
Avoid using if statements without curly braces 3247
Avoid using if statements without curly braces 3252
Avoid using if statements without curly braces 3257
Avoid using if statements without curly braces 3264
Avoid using if statements without curly braces 3282
Avoid using if statements without curly braces 3292
Avoid using if statements without curly braces 3297
Avoid using if statements without curly braces 3298
Avoid using if statements without curly braces 3299
Avoid using if statements without curly braces 3300
Avoid using if statements without curly braces 3305
Avoid using if statements without curly braces 3310
Avoid using if statements without curly braces 3315
Avoid using if statements without curly braces 3320
Avoid using if statements without curly braces 3325
Avoid using if statements without curly braces 3330
Avoid using if statements without curly braces 3335
Avoid using if statements without curly braces 3340
Avoid using if statements without curly braces 3345
Avoid using if statements without curly braces 3346
Avoid using if statements without curly braces 3353
Avoid using if statements without curly braces 3363
Avoid using if statements without curly braces 3369
Avoid using if statements without curly braces 3374
Avoid using if statements without curly braces 3379
Avoid using if statements without curly braces 3384
Avoid using if statements without curly braces 3394
Avoid using if statements without curly braces 3397
Avoid using if statements without curly braces 3401
Avoid using if statements without curly braces 3404
Avoid using if statements without curly braces 3405
Avoid using if statements without curly braces 3407
Avoid using if statements without curly braces 3411
Avoid using if statements without curly braces 3414
Avoid using if statements without curly braces 3415
Avoid using if statements without curly braces 3420
Avoid using if statements without curly braces 3425
Avoid using if statements without curly braces 3428
Avoid using if statements without curly braces 3429
Avoid using if statements without curly braces 3436
Avoid using if statements without curly braces 3441
Avoid using if statements without curly braces 3442
Avoid using if statements without curly braces 3443
Avoid using if statements without curly braces 3453
Avoid using if statements without curly braces 3458
Avoid using if statements without curly braces 3463
Avoid using if statements without curly braces 3468
Avoid using if statements without curly braces 3474
Avoid using if statements without curly braces 3479
Avoid using if statements without curly braces 3484
Avoid using if statements without curly braces 3489
Avoid using if statements without curly braces 3494
Avoid using if statements without curly braces 3497
Avoid using if statements without curly braces 3501
Avoid using if statements without curly braces 3504
Avoid using if statements without curly braces 3505
Avoid using if statements without curly braces 3510
Avoid using if statements without curly braces 3515
Avoid using if statements without curly braces 3520
Avoid using if statements without curly braces 3525
Avoid using if statements without curly braces 3530
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'token_source' is not final. 3535
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_nt' is not final. 3539
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_ntk' is not final. 3540
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_scanpos' is not final. 3541
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_lastpos' is not final. 3541
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la' is not final. 3542
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_gen' is not final. 3543
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_0' is not final. 3545
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_1' is not final. 3546
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_la1_2' is not final. 3547
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_rescan' is not final. 3563
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_gc' is not final. 3564
Avoid using for statements without curly braces 3572
Avoid using for statements without curly braces 3573
Avoid using for statements without curly braces 3583
Avoid using for statements without curly braces 3584
Avoid using for statements without curly braces 3593
Avoid using for statements without curly braces 3594
Avoid using for statements without curly braces 3604
Avoid using for statements without curly braces 3605
Avoid using if...else statements without curly braces 3610
Avoid assignments in operands 3610
Avoid using if...else statements without curly braces 3611
Avoid assignments in operands 3615
Avoid using if statements without curly braces 3620
Exceptions should not extend java.lang.Error 3632
Use equals() to compare object references. 3635
Use equals() to compare object references. 3647
Avoid using if statements without curly braces 3648
Avoid using if statements without curly braces 3650
Avoid using if statements without curly braces 3651
Use equals() to compare object references. 3651
Avoid using if...else statements without curly braces 3658
Avoid using if...else statements without curly braces 3659
Avoid using if...else statements without curly braces 3669
Avoid using if...else statements without curly braces 3670
Avoid assignments in operands 3676
Avoid using if...else statements without curly braces 3677
Potential violation of Law of Demeter (method chain calls) 3677
Potential violation of Law of Demeter (method chain calls) 3677
Avoid using if...else statements without curly braces 3679
Unnecessary use of fully qualified name 'java.util.List' due to existing import 'java.util.List' 3682
Unnecessary use of fully qualified name 'java.util.ArrayList' due to existing import 'java.util.ArrayList' 3682
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_expentries' is not final. 3682
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_expentry' is not final. 3683
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_kind' is not final. 3684
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_lasttokens' is not final. 3685
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'jj_endpos' is not final. 3686
Avoid using if statements without curly braces 3689
System.arraycopy is more efficient 36943696
Avoid using if statements without curly braces 3709
Switch statements should have a default label 37693782

net/sourceforge/pmd/lang/vm/ast/VmParserConstants.java

Violation Line
An Interface should be used only to model a behaviour; consider converting this to a class. 9256
Variables that are final and static should be all capitals, 'tokenImage' is not all capitals. 178

net/sourceforge/pmd/lang/vm/ast/VmParserTokenManager.java

Violation Line
Avoid unused imports such as 'java.io.IOException' 3
Avoid unused imports such as 'java.io.Reader' 4
Avoid unused imports such as 'java.util.HashMap' 7
Avoid unused imports such as 'java.util.Map' 8
Avoid unused imports such as 'net.sourceforge.pmd.lang.vm.directive.Directive' 10
Avoid unused imports such as 'net.sourceforge.pmd.lang.vm.util.VelocityCharStream' 11
Avoid unused imports such as 'net.sourceforge.pmd.lang.vm.util.DirectiveMapper' 12
Avoid using if statements without curly braces 5458
Avoid using if statements without curly braces 7577
Avoid unnecessary return statements 106
Avoid using if statements without curly braces 132133
Avoid using if statements without curly braces 167168
Avoid using if statements without curly braces 182183
Avoid using if statements without curly braces 184185
Avoid using if statements without curly braces 191192
Avoid using if statements without curly braces 193194
Avoid using if statements without curly braces 195196
Avoid using if statements without curly braces 199200
Avoid using if statements without curly braces 201202
Avoid using if statements without curly braces 219220
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_3(long)'. 290
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 293
Avoid using if statements without curly braces 300301
Avoid using if statements without curly braces 304305
Avoid using if statements without curly braces 308309
Avoid using if statements without curly braces 318319
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_3(long,long)'. 329
Avoid assignments in operands 331
Avoid using if statements without curly braces 331332
Useless parentheses. 331
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 334
Avoid using if statements without curly braces 341342
Avoid unused private methods such as 'jjMoveStringLiteralDfa3_3(long,long)'. 355
Avoid using if statements without curly braces 357358
Useless parentheses. 357
Avoid assignments in operands 357
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 360
Avoid using if statements without curly braces 368369
Avoid unused private methods such as 'jjMoveStringLiteralDfa4_3(long,long)'. 379
Avoid assignments in operands 381
Useless parentheses. 381
Avoid using if statements without curly braces 381382
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 384
Avoid using if statements without curly braces 392393
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 405
Variables that are final and static should be all capitals, 'jjbitVec0' is not all capitals. 408
Variables that are final and static should be all capitals, 'jjbitVec2' is not all capitals. 411
Avoid using if statements without curly braces 423424
Avoid assignments in operands 423
Avoid using if...else statements without curly braces 434
Avoid using if statements without curly braces 435436
Avoid using if statements without curly braces 437438
Avoid using if statements without curly braces 441442
Avoid using if statements without curly braces 449450
Avoid using if statements without curly braces 455456
Avoid using if...else statements without curly braces 460
Avoid using if statements without curly braces 463464
Avoid using if...else statements without curly braces 468
Avoid using if statements without curly braces 471472
Avoid using if...else statements without curly braces 475
Avoid using if...else statements without curly braces 477
Avoid using if...else statements without curly braces 479
Avoid using if...else statements without curly braces 481
Avoid using if...else statements without curly braces 483
Avoid using if...else statements without curly braces 485
Avoid using if...else statements without curly braces 487
Avoid using if statements without curly braces 490491
Avoid using if statements without curly braces 496497
Avoid using if...else statements without curly braces 500
Avoid using if statements without curly braces 503504
Avoid using if statements without curly braces 508509
Avoid using if statements without curly braces 511512
Avoid using if statements without curly braces 515516
Avoid using if statements without curly braces 519520
Avoid using if statements without curly braces 523524
Avoid using if statements without curly braces 527528
Avoid using if statements without curly braces 531532
Avoid using if statements without curly braces 535536
Avoid using if statements without curly braces 539540
Avoid using if statements without curly braces 543544
Avoid using if statements without curly braces 547548
Avoid using if statements without curly braces 549550
Avoid using if statements without curly braces 555556
Avoid using if statements without curly braces 559560
Avoid using if statements without curly braces 563564
Avoid using if statements without curly braces 567568
Avoid using if statements without curly braces 571572
Avoid using if statements without curly braces 575576
Avoid using if statements without curly braces 579580
Avoid using if statements without curly braces 583584
Avoid using if statements without curly braces 587588
Avoid using if statements without curly braces 591592
Avoid using if statements without curly braces 595596
Avoid using if statements without curly braces 599600
Avoid using if statements without curly braces 603604
Avoid using if statements without curly braces 607608
Avoid using if statements without curly braces 612613
Avoid using if statements without curly braces 616617
Avoid using if statements without curly braces 620621
Avoid using if statements without curly braces 624625
Avoid using if statements without curly braces 628629
Avoid using if statements without curly braces 632633
Avoid using if statements without curly braces 636637
Avoid using if statements without curly braces 640641
Avoid using if statements without curly braces 644645
Avoid using if statements without curly braces 648649
Avoid using if statements without curly braces 652653
Avoid using if statements without curly braces 656657
Avoid using if statements without curly braces 660661
Avoid using if statements without curly braces 664665
Avoid using if statements without curly braces 668669
Avoid using if statements without curly braces 672673
Avoid using if statements without curly braces 676677
Avoid using if statements without curly braces 680681
Avoid using if statements without curly braces 684685
Avoid using if statements without curly braces 688689
Avoid using if statements without curly braces 692693
Avoid using if statements without curly braces 696697
Avoid using if statements without curly braces 700701
Avoid using if statements without curly braces 704705
Avoid using if statements without curly braces 706707
Avoid using if statements without curly braces 711712
Avoid using if statements without curly braces 715716
Avoid using if statements without curly braces 717718
Avoid using if statements without curly braces 722723
Avoid using if statements without curly braces 724725
Avoid using if statements without curly braces 729730
Avoid using if statements without curly braces 733734
Avoid using if statements without curly braces 737738
Avoid using if statements without curly braces 741742
Avoid using if statements without curly braces 745746
Avoid using if statements without curly braces 747748
Avoid using if statements without curly braces 752753
Avoid using if statements without curly braces 756757
Avoid using if statements without curly braces 758759
Avoid using if statements without curly braces 763764
Avoid using if statements without curly braces 767768
Avoid using if statements without curly braces 771772
Avoid using if statements without curly braces 775776
Avoid using if statements without curly braces 777778
Avoid using if statements without curly braces 782783
Avoid using if statements without curly braces 784785
Avoid using if statements without curly braces 789790
Avoid using if statements without curly braces 793794
Avoid using if statements without curly braces 795796
Avoid using if statements without curly braces 800801
Avoid using if statements without curly braces 804805
Avoid using if statements without curly braces 808809
Avoid using if statements without curly braces 810811
Avoid using if statements without curly braces 815816
Avoid using if statements without curly braces 817818
Do not start a literal by 0 unless its an octal value 827
Avoid using if statements without curly braces 835836
Avoid using if...else statements without curly braces 840
Avoid using if...else statements without curly braces 842
Avoid using if statements without curly braces 843844
Avoid using if...else statements without curly braces 846
Avoid using if...else statements without curly braces 848
Avoid using if...else statements without curly braces 850
Avoid using if...else statements without curly braces 852
Avoid using if...else statements without curly braces 854
Avoid using if statements without curly braces 855856
Avoid using if statements without curly braces 859860
Avoid using if statements without curly braces 866867
Avoid using if statements without curly braces 870871
Avoid using if statements without curly braces 874875
Avoid using if statements without curly braces 878879
Avoid using if statements without curly braces 882883
Avoid using if statements without curly braces 886887
Avoid using if statements without curly braces 890891
Avoid using if statements without curly braces 897898
Avoid using if statements without curly braces 901902
Avoid using if statements without curly braces 905906
Avoid using if statements without curly braces 909910
Avoid using if statements without curly braces 913914
Avoid using if statements without curly braces 917918
Avoid using if statements without curly braces 921922
Avoid using if statements without curly braces 925926
Avoid using if statements without curly braces 929930
Avoid using if statements without curly braces 933934
Avoid using if statements without curly braces 937938
Avoid using if statements without curly braces 942943
Avoid using if statements without curly braces 944945
Avoid using if statements without curly braces 949950
Avoid using if statements without curly braces 953954
Avoid using if statements without curly braces 957958
Avoid using if statements without curly braces 961962
Avoid using if statements without curly braces 965966
Avoid using if statements without curly braces 969970
Avoid using if statements without curly braces 973974
Avoid using if statements without curly braces 977978
Avoid using if statements without curly braces 981982
Avoid using if statements without curly braces 985986
Avoid using if statements without curly braces 989990
Avoid using if statements without curly braces 993994
Avoid using if statements without curly braces 997998
Avoid using if statements without curly braces 10011002
Avoid using if statements without curly braces 10051006
Avoid using if statements without curly braces 10091010
Avoid using if statements without curly braces 10131014
Avoid using if statements without curly braces 10171018
Avoid using if statements without curly braces 10211022
Avoid using if statements without curly braces 10251026
Do not start a literal by 0 unless its an octal value 1036
Do not start a literal by 0 unless its an octal value 1038
Avoid using if statements without curly braces 10441045
Avoid using if statements without curly braces 10481049
Avoid using if statements without curly braces 10521053
Avoid assignments in operands 1066
Avoid using if statements without curly braces 10661067
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1069
Avoid using if statements without curly braces 10771078
Avoid using if statements without curly braces 10811082
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_11(long)'. 1103
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1106
Avoid using if statements without curly braces 11131114
Avoid using if statements without curly braces 11171118
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_11(long,long)'. 1127
Useless parentheses. 1129
Avoid using if statements without curly braces 11291130
Avoid assignments in operands 1129
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1132
Avoid using if statements without curly braces 11391140
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1152
Avoid assignments in operands 1164
Avoid using if statements without curly braces 11641165
Avoid using if statements without curly braces 11761177
Avoid using if...else statements without curly braces 1181
Avoid using if statements without curly braces 11841185
Avoid using if...else statements without curly braces 1189
Avoid using if statements without curly braces 11901191
Avoid using if statements without curly braces 11941195
Avoid using if statements without curly braces 11981199
Avoid using if statements without curly braces 12021203
Avoid using if statements without curly braces 12061207
Avoid using if statements without curly braces 12101211
Avoid using if statements without curly braces 12121213
Avoid using if statements without curly braces 12171218
Avoid using if statements without curly braces 12211222
Avoid using if statements without curly braces 12231224
Avoid using if statements without curly braces 12281229
Avoid using if statements without curly braces 12301231
Avoid using if statements without curly braces 12351236
Avoid using if statements without curly braces 12391240
Avoid using if statements without curly braces 12431244
Avoid using if statements without curly braces 12471248
Avoid using if statements without curly braces 12511252
Avoid using if statements without curly braces 12531254
Avoid using if statements without curly braces 12581259
Avoid using if statements without curly braces 12621263
Avoid using if statements without curly braces 12661267
Avoid using if statements without curly braces 12711272
Avoid using if statements without curly braces 12751276
Avoid using if statements without curly braces 12791280
Avoid using if statements without curly braces 12831284
Avoid using if statements without curly braces 12881289
Avoid using if statements without curly braces 12921293
Avoid using if statements without curly braces 12961297
Avoid using if statements without curly braces 13001301
Avoid using if statements without curly braces 13041305
Avoid using if statements without curly braces 13061307
Avoid using if statements without curly braces 13111312
Avoid using if statements without curly braces 13151316
Avoid using if statements without curly braces 13191320
Avoid using if statements without curly braces 13231324
Avoid using if statements without curly braces 13251326
Avoid using if statements without curly braces 13301331
Avoid using if statements without curly braces 13321333
Avoid using if statements without curly braces 13371338
Avoid using if statements without curly braces 13411342
Avoid using if statements without curly braces 13431344
Avoid using if statements without curly braces 13481349
Avoid using if statements without curly braces 13521353
Avoid using if statements without curly braces 13561357
Avoid using if statements without curly braces 13581359
Avoid using if statements without curly braces 13631364
Avoid using if statements without curly braces 13651366
Do not start a literal by 0 unless its an octal value 1375
Avoid using if statements without curly braces 13831384
Avoid using if...else statements without curly braces 1388
Avoid using if statements without curly braces 13891390
Avoid using if...else statements without curly braces 1392
Avoid using if...else statements without curly braces 1394
Avoid using if...else statements without curly braces 1396
Avoid using if statements without curly braces 13971398
Avoid using if statements without curly braces 14011402
Avoid using if statements without curly braces 14051406
Avoid using if statements without curly braces 14091410
Avoid using if statements without curly braces 14131414
Avoid using if statements without curly braces 14171418
Avoid using if statements without curly braces 14211422
Avoid using if statements without curly braces 14251426
Avoid using if statements without curly braces 14291430
Avoid using if statements without curly braces 14331434
Avoid using if statements without curly braces 14371438
Avoid using if statements without curly braces 14411442
Avoid using if statements without curly braces 14461447
Avoid using if statements without curly braces 14481449
Avoid using if statements without curly braces 14531454
Avoid using if statements without curly braces 14571458
Avoid using if statements without curly braces 14611462
Avoid using if statements without curly braces 14651466
Avoid using if statements without curly braces 14691470
Avoid using if statements without curly braces 14731474
Avoid using if statements without curly braces 14771478
Avoid using if statements without curly braces 14811482
Avoid using if statements without curly braces 14851486
Avoid using if statements without curly braces 14891490
Avoid using if statements without curly braces 14911492
Avoid using if statements without curly braces 14961497
Avoid using if statements without curly braces 15001501
Avoid using if statements without curly braces 15041505
Avoid using if statements without curly braces 15081509
Avoid using if statements without curly braces 15121513
Avoid using if statements without curly braces 15161517
Avoid using if statements without curly braces 15201521
Avoid using if statements without curly braces 15221523
Avoid using if statements without curly braces 15271528
Avoid using if statements without curly braces 15311532
Avoid using if statements without curly braces 15351536
Avoid using if statements without curly braces 15391540
Avoid using if statements without curly braces 15411542
Avoid using if statements without curly braces 15461547
Avoid using if statements without curly braces 15501551
Avoid using if statements without curly braces 15541555
Avoid using if statements without curly braces 15581559
Avoid using if statements without curly braces 15621563
Avoid using if statements without curly braces 15661567
Avoid using if statements without curly braces 15701571
Avoid using if statements without curly braces 15741575
Avoid using if statements without curly braces 15781579
Avoid using if statements without curly braces 15821583
Avoid using if statements without curly braces 15861587
Avoid using if statements without curly braces 15901591
Avoid using if statements without curly braces 15941595
Avoid using if statements without curly braces 15981599
Avoid using if statements without curly braces 16021603
Avoid using if statements without curly braces 16061607
Avoid using if statements without curly braces 16101611
Avoid using if statements without curly braces 16141615
Avoid using if statements without curly braces 16181619
Avoid using if statements without curly braces 16221623
Avoid using if statements without curly braces 16261627
Avoid using if statements without curly braces 16301631
Avoid using if statements without curly braces 16321633
Avoid using if statements without curly braces 16371638
Avoid using if statements without curly braces 16411642
Avoid using if statements without curly braces 16451646
Avoid using if statements without curly braces 16491650
Avoid using if statements without curly braces 16531654
Avoid using if statements without curly braces 16571658
Do not start a literal by 0 unless its an octal value 1668
Do not start a literal by 0 unless its an octal value 1670
Avoid using if statements without curly braces 16761677
Avoid using if statements without curly braces 16901691
Avoid assignments in operands 1690
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1693
Avoid using if statements without curly braces 17011702
Avoid using if statements without curly braces 17051706
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_8(long)'. 1729
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1732
Avoid using if statements without curly braces 17391740
Avoid using if statements without curly braces 17431744
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_8(long,long)'. 1753
Avoid using if statements without curly braces 17551756
Useless parentheses. 1755
Avoid assignments in operands 1755
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1758
Avoid using if statements without curly braces 17651766
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1778
Avoid using if statements without curly braces 17901791
Avoid assignments in operands 1790
Avoid using if statements without curly braces 18021803
Avoid using if statements without curly braces 18061807
Avoid using if statements without curly braces 18101811
Avoid using if statements without curly braces 18141815
Avoid using if statements without curly braces 18181819
Avoid using if statements without curly braces 18221823
Avoid using if statements without curly braces 18261827
Avoid using if statements without curly braces 18301831
Avoid using if statements without curly braces 18341835
Avoid using if statements without curly braces 18361837
Avoid unused local variables such as 'l'. 1846
Do not start a literal by 0 unless its an octal value 1846
Avoid using if statements without curly braces 18521853
Avoid using if statements without curly braces 18561857
Avoid using if statements without curly braces 18601861
Avoid using if statements without curly braces 18641865
Avoid using if statements without curly braces 18681869
Do not start a literal by 0 unless its an octal value 1879
Do not start a literal by 0 unless its an octal value 1881
Avoid using if statements without curly braces 18871888
Avoid using if statements without curly braces 19011902
Avoid assignments in operands 1901
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1904
Avoid using if statements without curly braces 19121913
Avoid using if statements without curly braces 19161917
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_6(long)'. 1938
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1941
Avoid using if statements without curly braces 19481949
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_6(long,long)'. 1958
Avoid using if statements without curly braces 19601961
Avoid assignments in operands 1960
Useless parentheses. 1960
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1963
Avoid using if statements without curly braces 19701971
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 1983
Avoid assignments in operands 1995
Avoid using if statements without curly braces 19951996
Avoid using if statements without curly braces 20072008
Avoid using if statements without curly braces 20112012
Avoid using if statements without curly braces 20152016
Avoid using if statements without curly braces 20192020
Avoid using if statements without curly braces 20232024
Avoid using if statements without curly braces 20272028
Avoid using if statements without curly braces 20312032
Avoid using if statements without curly braces 20352036
Avoid using if statements without curly braces 20392040
Avoid using if statements without curly braces 20412042
Do not start a literal by 0 unless its an octal value 2051
Avoid unused local variables such as 'l'. 2051
Avoid using if statements without curly braces 20572058
Avoid using if statements without curly braces 20612062
Avoid using if statements without curly braces 20652066
Avoid using if statements without curly braces 20692070
Avoid using if statements without curly braces 20732074
Do not start a literal by 0 unless its an octal value 2084
Do not start a literal by 0 unless its an octal value 2086
Avoid using if statements without curly braces 20922093
Avoid using if statements without curly braces 21062107
Avoid assignments in operands 2106
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2109
Avoid using if statements without curly braces 21172118
Avoid using if statements without curly braces 21192120
Avoid using if statements without curly braces 21232124
Avoid using if statements without curly braces 21252126
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_5(long)'. 2150
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2153
Avoid using if statements without curly braces 21602161
Avoid using if statements without curly braces 21642165
Avoid using if statements without curly braces 21702171
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_5(long,long)'. 2178
Avoid assignments in operands 2180
Useless parentheses. 2180
Avoid using if statements without curly braces 21802181
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2183
Avoid using if statements without curly braces 21902191
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2203
Avoid using if statements without curly braces 22152216
Avoid assignments in operands 2215
Avoid using if statements without curly braces 22252226
Avoid using if statements without curly braces 22292230
Avoid using if statements without curly braces 22332234
Avoid using if statements without curly braces 22402241
Avoid using if...else statements without curly braces 2245
Avoid using if statements without curly braces 22482249
Avoid using if...else statements without curly braces 2253
Avoid using if statements without curly braces 22542255
Avoid using if...else statements without curly braces 2259
Avoid using if statements without curly braces 22602261
Avoid using if statements without curly braces 22642265
Avoid using if statements without curly braces 22692270
Avoid using if statements without curly braces 22732274
Avoid using if statements without curly braces 22772278
Avoid using if statements without curly braces 22812282
Avoid using if statements without curly braces 22852286
Avoid using if statements without curly braces 22872288
Avoid using if statements without curly braces 22932294
Avoid using if statements without curly braces 22972298
Avoid using if statements without curly braces 23012302
Avoid using if statements without curly braces 23052306
Avoid using if statements without curly braces 23072308
Avoid using if statements without curly braces 23122313
Avoid using if statements without curly braces 23162317
Avoid using if statements without curly braces 23202321
Avoid using if statements without curly braces 23242325
Avoid using if statements without curly braces 23282329
Avoid using if statements without curly braces 23302331
Avoid using if statements without curly braces 23352336
Avoid using if statements without curly braces 23392340
Avoid using if statements without curly braces 23432344
Do not start a literal by 0 unless its an octal value 2352
Avoid using if...else statements without curly braces 2359
Avoid using if statements without curly braces 23602361
Avoid using if statements without curly braces 23642365
Avoid using if statements without curly braces 23662367
Avoid using if statements without curly braces 23682369
Avoid using if statements without curly braces 23742375
Avoid using if statements without curly braces 23782379
Avoid using if statements without curly braces 23802381
Avoid using if statements without curly braces 23842385
Avoid using if statements without curly braces 23862387
Avoid using if statements without curly braces 23882389
Avoid using if statements without curly braces 23922393
Avoid using if statements without curly braces 23962397
Avoid using if statements without curly braces 24002401
Avoid using if statements without curly braces 24042405
Avoid using if statements without curly braces 24082409
Avoid using if statements without curly braces 24122413
Avoid using if statements without curly braces 24162417
Avoid using if statements without curly braces 24202421
Avoid using if statements without curly braces 24242425
Avoid using if statements without curly braces 24262427
Avoid using if statements without curly braces 24312432
Avoid using if statements without curly braces 24352436
Avoid using if statements without curly braces 24392440
Avoid using if statements without curly braces 24442445
Avoid using if statements without curly braces 24462447
Avoid using if statements without curly braces 24512452
Avoid using if statements without curly braces 24552456
Avoid using if statements without curly braces 24592460
Avoid using if statements without curly braces 24632464
Avoid using if statements without curly braces 24672468
Avoid using if statements without curly braces 24712472
Avoid using if statements without curly braces 24752476
Avoid using if statements without curly braces 24792480
Avoid using if statements without curly braces 24832484
Do not start a literal by 0 unless its an octal value 2494
Do not start a literal by 0 unless its an octal value 2496
Avoid using if statements without curly braces 25032504
Avoid using if statements without curly braces 25052506
Avoid using if statements without curly braces 25102511
Avoid using if statements without curly braces 25242525
Avoid assignments in operands 2524
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2527
Avoid using if statements without curly braces 25352536
Avoid using if statements without curly braces 25392540
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_9(long)'. 2563
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2566
Avoid using if statements without curly braces 25732574
Avoid using if statements without curly braces 25772578
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_9(long,long)'. 2587
Avoid assignments in operands 2589
Avoid using if statements without curly braces 25892590
Useless parentheses. 2589
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2592
Avoid using if statements without curly braces 25992600
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2612
Avoid using if statements without curly braces 26242625
Avoid assignments in operands 2624
Avoid using if statements without curly braces 26362637
Avoid using if statements without curly braces 26402641
Avoid using if statements without curly braces 26442645
Avoid using if statements without curly braces 26482649
Avoid using if statements without curly braces 26522653
Avoid using if statements without curly braces 26562657
Avoid using if statements without curly braces 26602661
Avoid using if statements without curly braces 26642665
Avoid using if statements without curly braces 26682669
Avoid using if statements without curly braces 26702671
Avoid unused local variables such as 'l'. 2680
Do not start a literal by 0 unless its an octal value 2680
Avoid using if statements without curly braces 26862687
Avoid using if statements without curly braces 26902691
Avoid using if statements without curly braces 26942695
Avoid using if statements without curly braces 26982699
Avoid using if statements without curly braces 27022703
Do not start a literal by 0 unless its an octal value 2713
Do not start a literal by 0 unless its an octal value 2715
Avoid using if statements without curly braces 27212722
Avoid assignments in operands 2735
Avoid using if statements without curly braces 27352736
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2738
Avoid using if statements without curly braces 27462747
Avoid using if statements without curly braces 27502751
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_2(long)'. 2780
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2783
Avoid using if statements without curly braces 27902791
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_2(long,long)'. 2806
Useless parentheses. 2808
Avoid assignments in operands 2808
Avoid using if statements without curly braces 28082809
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2811
Avoid using if statements without curly braces 28182819
Avoid unused private methods such as 'jjMoveStringLiteralDfa3_2(long,long)'. 2832
Useless parentheses. 2834
Avoid assignments in operands 2834
Avoid using if statements without curly braces 28342835
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2837
Avoid using if statements without curly braces 28452846
Avoid unused private methods such as 'jjMoveStringLiteralDfa4_2(long,long)'. 2856
Avoid assignments in operands 2858
Useless parentheses. 2858
Avoid using if statements without curly braces 28582859
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2861
Avoid using if statements without curly braces 28692870
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 2882
Avoid assignments in operands 2894
Avoid using if statements without curly braces 28942895
Avoid using if statements without curly braces 29062907
Avoid using if statements without curly braces 29122913
Avoid using if...else statements without curly braces 2917
Avoid using if statements without curly braces 29202921
Avoid using if...else statements without curly braces 2925
Avoid using if...else statements without curly braces 2927
Avoid using if...else statements without curly braces 2929
Avoid using if statements without curly braces 29302931
Avoid using if statements without curly braces 29342935
Avoid using if statements without curly braces 29382939
Avoid using if statements without curly braces 29422943
Avoid using if statements without curly braces 29462947
Avoid using if statements without curly braces 29482949
Avoid using if statements without curly braces 29542955
Avoid using if statements without curly braces 29582959
Avoid using if statements without curly braces 29622963
Avoid using if statements without curly braces 29662967
Avoid using if statements without curly braces 29702971
Avoid using if statements without curly braces 29742975
Avoid using if statements without curly braces 29782979
Avoid using if statements without curly braces 29822983
Avoid using if statements without curly braces 29862987
Avoid using if statements without curly braces 29902991
Avoid using if statements without curly braces 29942995
Avoid using if statements without curly braces 29982999
Avoid using if statements without curly braces 30023003
Avoid using if statements without curly braces 30063007
Avoid using if statements without curly braces 30113012
Avoid using if statements without curly braces 30153016
Avoid using if statements without curly braces 30193020
Avoid using if statements without curly braces 30233024
Avoid using if statements without curly braces 30273028
Avoid using if statements without curly braces 30313032
Avoid using if statements without curly braces 30353036
Avoid using if statements without curly braces 30393040
Avoid using if statements without curly braces 30413042
Avoid using if statements without curly braces 30463047
Avoid using if statements without curly braces 30503051
Avoid using if statements without curly braces 30523053
Avoid using if statements without curly braces 30573058
Avoid using if statements without curly braces 30613062
Avoid using if statements without curly braces 30653066
Avoid using if statements without curly braces 30693070
Avoid using if statements without curly braces 30713072
Avoid using if statements without curly braces 30763077
Avoid using if statements without curly braces 30803081
Avoid using if statements without curly braces 30823083
Avoid using if statements without curly braces 30873088
Avoid using if statements without curly braces 30913092
Avoid using if statements without curly braces 30953096
Avoid using if statements without curly braces 30993100
Avoid using if statements without curly braces 31013102
Avoid using if statements without curly braces 31063107
Avoid using if statements without curly braces 31083109
Avoid using if statements without curly braces 31133114
Avoid using if statements without curly braces 31173118
Avoid using if statements without curly braces 31193120
Avoid using if statements without curly braces 31243125
Avoid using if statements without curly braces 31283129
Avoid using if statements without curly braces 31323133
Avoid using if statements without curly braces 31343135
Avoid using if statements without curly braces 31393140
Avoid using if statements without curly braces 31413142
Do not start a literal by 0 unless its an octal value 3151
Avoid using if statements without curly braces 31573158
Avoid using if statements without curly braces 31613162
Avoid using if statements without curly braces 31683169
Avoid using if statements without curly braces 31723173
Avoid using if statements without curly braces 31763177
Avoid using if statements without curly braces 31803181
Avoid using if statements without curly braces 31843185
Avoid using if statements without curly braces 31883189
Avoid using if statements without curly braces 31923193
Avoid using if statements without curly braces 31993200
Avoid using if statements without curly braces 32033204
Avoid using if statements without curly braces 32073208
Avoid using if statements without curly braces 32113212
Avoid using if statements without curly braces 32153216
Avoid using if statements without curly braces 32193220
Avoid using if statements without curly braces 32233224
Do not start a literal by 0 unless its an octal value 3234
Do not start a literal by 0 unless its an octal value 3236
Avoid using if statements without curly braces 32423243
Avoid using if statements without curly braces 32463247
Avoid using if statements without curly braces 32503251
Avoid assignments in operands 3264
Avoid using if statements without curly braces 32643265
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 3267
Avoid using if statements without curly braces 32753276
Avoid using if statements without curly braces 32793280
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_10(long)'. 3301
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 3304
Avoid using if statements without curly braces 33113312
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_10(long,long)'. 3321
Avoid using if statements without curly braces 33233324
Useless parentheses. 3323
Avoid assignments in operands 3323
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 3326
Avoid using if statements without curly braces 33333334
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 3346
Avoid using if statements without curly braces 33583359
Avoid assignments in operands 3358
Avoid using if statements without curly braces 33703371
Avoid using if statements without curly braces 33753376
Avoid using if statements without curly braces 33793380
Avoid using if statements without curly braces 33813382
Avoid using if statements without curly braces 33853386
Avoid using if statements without curly braces 33893390
Avoid using if statements without curly braces 33933394
Avoid using if statements without curly braces 33973398
Avoid using if statements without curly braces 34013402
Avoid using if statements without curly braces 34053406
Avoid using if statements without curly braces 34093410
Avoid using if statements without curly braces 34133414
Avoid using if statements without curly braces 34173418
Avoid using if statements without curly braces 34213422
Avoid using if statements without curly braces 34233424
Avoid unused local variables such as 'l'. 3433
Do not start a literal by 0 unless its an octal value 3433
Avoid using if statements without curly braces 34393440
Avoid using if statements without curly braces 34433444
Avoid using if statements without curly braces 34473448
Avoid using if statements without curly braces 34513452
Avoid using if statements without curly braces 34553456
Do not start a literal by 0 unless its an octal value 3466
Do not start a literal by 0 unless its an octal value 3468
Avoid using if statements without curly braces 34743475
Avoid using if statements without curly braces 34883489
Avoid assignments in operands 3488
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 3491
Avoid using if statements without curly braces 34993500
Avoid using if statements without curly braces 35143515
Avoid using if statements without curly braces 35323533
Avoid unused private methods such as 'jjStartNfa_0(int,long,long)'. 3539
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_0(long)'. 3566
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 3569
Avoid using if statements without curly braces 35763577
Avoid using if statements without curly braces 35803581
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_0(long,long)'. 3596
Avoid assignments in operands 3598
Avoid using if statements without curly braces 35983599
Useless parentheses. 3598
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 3601
Avoid using if statements without curly braces 36083609
Avoid unused private methods such as 'jjMoveStringLiteralDfa3_0(long,long)'. 3622
Avoid assignments in operands 3624
Useless parentheses. 3624
Avoid using if statements without curly braces 36243625
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 3627
Avoid using if statements without curly braces 36353636
Avoid unused private methods such as 'jjMoveStringLiteralDfa4_0(long,long)'. 3646
Avoid using if statements without curly braces 36483649
Avoid assignments in operands 3648
Useless parentheses. 3648
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 3651
Avoid using if statements without curly braces 36593660
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 3672
Avoid assignments in operands 3684
Avoid using if statements without curly braces 36843685
Avoid using if...else statements without curly braces 3695
Avoid using if...else statements without curly braces 3697
Avoid using if statements without curly braces 37003701
Avoid using if statements without curly braces 37043705
Avoid using if statements without curly braces 37063707
Avoid using if statements without curly braces 37103711
Avoid using if statements without curly braces 37143715
Avoid using if statements without curly braces 37183719
Avoid using if statements without curly braces 37223723
Avoid using if statements without curly braces 37263727
Avoid using if statements without curly braces 37303731
Avoid using if statements without curly braces 37323733
Avoid using if statements without curly braces 37373738
Avoid using if statements without curly braces 37413742
Avoid using if statements without curly braces 37463747
Avoid using if statements without curly braces 37503751
Avoid using if statements without curly braces 37543755
Avoid using if statements without curly braces 37583759
Avoid using if statements without curly braces 37623763
Avoid using if statements without curly braces 37663767
Avoid using if statements without curly braces 37683769
Avoid using if statements without curly braces 37733774
Avoid using if statements without curly braces 37773778
Avoid using if statements without curly braces 37813782
Do not start a literal by 0 unless its an octal value 3790
Avoid using if statements without curly braces 37983799
Avoid using if statements without curly braces 38023803
Avoid using if...else statements without curly braces 3807
Avoid using if statements without curly braces 38083809
Avoid using if statements without curly braces 38123813
Avoid using if statements without curly braces 38163817
Avoid using if statements without curly braces 38203821
Avoid using if statements without curly braces 38243825
Avoid using if statements without curly braces 38283829
Avoid using if statements without curly braces 38323833
Avoid using if statements without curly braces 38363837
Avoid using if statements without curly braces 38403841
Avoid using if statements without curly braces 38443845
Avoid using if statements without curly braces 38463847
Avoid using if statements without curly braces 38513852
Avoid using if statements without curly braces 38553856
Avoid using if statements without curly braces 38593860
Avoid using if statements without curly braces 38633864
Avoid using if statements without curly braces 38673868
Avoid using if statements without curly braces 38713872
Avoid using if statements without curly braces 38753876
Avoid using if statements without curly braces 38793880
Do not start a literal by 0 unless its an octal value 3890
Do not start a literal by 0 unless its an octal value 3892
Avoid using if statements without curly braces 38983899
Avoid using if statements without curly braces 39123913
Avoid assignments in operands 3912
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 3915
Avoid using if statements without curly braces 39233924
Avoid using if statements without curly braces 39253926
Avoid using if statements without curly braces 39403941
Avoid using if statements without curly braces 39423943
Avoid using if statements without curly braces 39603961
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_4(long)'. 4007
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4010
Avoid using if statements without curly braces 40174018
Avoid using if statements without curly braces 40214022
Avoid using if statements without curly braces 40314032
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_4(long,long)'. 4042
Avoid assignments in operands 4044
Useless parentheses. 4044
Avoid using if statements without curly braces 40444045
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4047
Avoid using if statements without curly braces 40544055
Avoid unused private methods such as 'jjMoveStringLiteralDfa3_4(long,long)'. 4068
Useless parentheses. 4070
Avoid assignments in operands 4070
Avoid using if statements without curly braces 40704071
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4073
Avoid using if statements without curly braces 40814082
Avoid unused private methods such as 'jjMoveStringLiteralDfa4_4(long,long)'. 4092
Avoid assignments in operands 4094
Useless parentheses. 4094
Avoid using if statements without curly braces 40944095
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4097
Avoid using if statements without curly braces 41054106
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4118
Avoid assignments in operands 4130
Avoid using if statements without curly braces 41304131
Avoid using if statements without curly braces 41404141
Avoid using if statements without curly braces 41454146
Avoid using if statements without curly braces 41474148
Avoid using if statements without curly braces 41544155
Avoid using if statements without curly braces 41604161
Avoid using if...else statements without curly braces 4165
Avoid using if...else statements without curly braces 4167
Avoid using if...else statements without curly braces 4169
Avoid using if statements without curly braces 41724173
Avoid using if...else statements without curly braces 4177
Avoid using if statements without curly braces 41784179
Avoid using if statements without curly braces 41804181
Avoid using if statements without curly braces 41844185
Avoid using if statements without curly braces 41884189
Avoid using if statements without curly braces 41924193
Avoid using if statements without curly braces 41964197
Avoid using if statements without curly braces 42004201
Avoid using if statements without curly braces 42024203
Avoid using if statements without curly braces 42074208
Avoid using if statements without curly braces 42114212
Avoid using if statements without curly braces 42154216
Avoid using if statements without curly braces 42194220
Avoid using if statements without curly braces 42234224
Avoid using if statements without curly braces 42274228
Avoid using if statements without curly braces 42314232
Avoid using if statements without curly braces 42354236
Avoid using if statements without curly braces 42394240
Avoid using if statements without curly braces 42434244
Avoid using if statements without curly braces 42474248
Avoid using if statements without curly braces 42514252
Avoid using if statements without curly braces 42554256
Avoid using if statements without curly braces 42594260
Avoid using if statements without curly braces 42644265
Avoid using if statements without curly braces 42684269
Avoid using if statements without curly braces 42724273
Avoid using if statements without curly braces 42764277
Avoid using if statements without curly braces 42804281
Avoid using if statements without curly braces 42844285
Avoid using if statements without curly braces 42884289
Avoid using if statements without curly braces 42904291
Avoid using if statements without curly braces 42954296
Avoid using if statements without curly braces 42994300
Avoid using if statements without curly braces 43034304
Avoid using if statements without curly braces 43074308
Avoid using if statements without curly braces 43094310
Avoid using if statements without curly braces 43144315
Avoid using if statements without curly braces 43184319
Avoid using if statements without curly braces 43224323
Avoid using if statements without curly braces 43264327
Avoid using if statements without curly braces 43304331
Avoid using if statements without curly braces 43324333
Avoid using if statements without curly braces 43374338
Avoid using if statements without curly braces 43414342
Avoid using if statements without curly braces 43454346
Avoid using if statements without curly braces 43494350
Avoid using if statements without curly braces 43514352
Avoid using if statements without curly braces 43564357
Avoid using if statements without curly braces 43584359
Avoid using if statements without curly braces 43634364
Avoid using if statements without curly braces 43674368
Avoid using if statements without curly braces 43694370
Avoid using if statements without curly braces 43744375
Avoid using if statements without curly braces 43784379
Avoid using if statements without curly braces 43824383
Avoid using if statements without curly braces 43844385
Avoid using if statements without curly braces 43894390
Avoid using if statements without curly braces 43934394
Avoid using if statements without curly braces 43974398
Avoid using if statements without curly braces 43994400
Avoid using if statements without curly braces 44044405
Avoid using if statements without curly braces 44064407
Avoid using if statements without curly braces 44114412
Do not start a literal by 0 unless its an octal value 4420
Avoid using if...else statements without curly braces 4427
Avoid using if statements without curly braces 44284429
Avoid using if statements without curly braces 44324433
Avoid using if statements without curly braces 44384439
Avoid using if statements without curly braces 44424443
Avoid using if statements without curly braces 44464447
Avoid using if statements without curly braces 44504451
Avoid using if statements without curly braces 44544455
Avoid using if statements without curly braces 44584459
Avoid using if statements without curly braces 44624463
Avoid using if statements without curly braces 44664467
Avoid using if statements without curly braces 44704471
Avoid using if statements without curly braces 44744475
Avoid using if statements without curly braces 44814482
Avoid using if statements without curly braces 44854486
Avoid using if statements without curly braces 44894490
Avoid using if statements without curly braces 44934494
Avoid using if statements without curly braces 44974498
Avoid using if statements without curly braces 45014502
Avoid using if statements without curly braces 45054506
Avoid using if statements without curly braces 45124513
Avoid using if statements without curly braces 45174518
Avoid using if statements without curly braces 45194520
Avoid using if statements without curly braces 45244525
Avoid using if statements without curly braces 45284529
Avoid using if statements without curly braces 45324533
Avoid using if statements without curly braces 45364537
Avoid using if statements without curly braces 45404541
Avoid using if statements without curly braces 45444545
Avoid using if statements without curly braces 45484549
Avoid using if statements without curly braces 45524553
Do not start a literal by 0 unless its an octal value 4563
Do not start a literal by 0 unless its an octal value 4565
Avoid using if statements without curly braces 45714572
Avoid using if statements without curly braces 45754576
Avoid using if statements without curly braces 45794580
Avoid using if statements without curly braces 45934594
Avoid assignments in operands 4593
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4596
Avoid using if statements without curly braces 46094610
Avoid using if statements without curly braces 46194620
Avoid using if statements without curly braces 46374638
Avoid unused private methods such as 'jjStartNfa_1(int,long,long)'. 4644
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_1(long)'. 4673
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4676
Avoid using if statements without curly braces 46834684
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_1(long,long)'. 4699
Avoid using if statements without curly braces 47014702
Avoid assignments in operands 4701
Useless parentheses. 4701
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4704
Avoid using if statements without curly braces 47114712
Avoid unused private methods such as 'jjMoveStringLiteralDfa3_1(long,long)'. 4725
Avoid using if statements without curly braces 47274728
Avoid assignments in operands 4727
Useless parentheses. 4727
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4730
Avoid using if statements without curly braces 47384739
Avoid unused private methods such as 'jjMoveStringLiteralDfa4_1(long,long)'. 4749
Avoid using if statements without curly braces 47514752
Avoid assignments in operands 4751
Useless parentheses. 4751
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4754
Avoid using if statements without curly braces 47624763
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4775
Avoid using if statements without curly braces 47874788
Avoid assignments in operands 4787
Avoid using if...else statements without curly braces 4798
Avoid using if...else statements without curly braces 4800
Avoid using if statements without curly braces 48034804
Avoid using if statements without curly braces 48074808
Avoid using if statements without curly braces 48114812
Avoid using if statements without curly braces 48154816
Avoid using if statements without curly braces 48194820
Avoid using if statements without curly braces 48234824
Avoid using if statements without curly braces 48274828
Avoid using if statements without curly braces 48314832
Avoid using if statements without curly braces 48334834
Avoid using if statements without curly braces 48384839
Avoid using if statements without curly braces 48424843
Avoid using if statements without curly braces 48464847
Avoid using if statements without curly braces 48504851
Avoid using if statements without curly braces 48544855
Avoid using if statements without curly braces 48564857
Avoid using if statements without curly braces 48614862
Avoid using if statements without curly braces 48654866
Avoid using if statements without curly braces 48694870
Do not start a literal by 0 unless its an octal value 4878
Avoid using if statements without curly braces 48864887
Avoid using if statements without curly braces 48904891
Avoid using if...else statements without curly braces 4895
Avoid using if statements without curly braces 48964897
Avoid using if statements without curly braces 49004901
Avoid using if statements without curly braces 49044905
Avoid using if statements without curly braces 49084909
Avoid using if statements without curly braces 49124913
Avoid using if statements without curly braces 49164917
Avoid using if statements without curly braces 49204921
Avoid using if statements without curly braces 49244925
Avoid using if statements without curly braces 49284929
Avoid using if statements without curly braces 49324933
Avoid using if statements without curly braces 49344935
Avoid using if statements without curly braces 49394940
Avoid using if statements without curly braces 49434944
Avoid using if statements without curly braces 49474948
Avoid using if statements without curly braces 49514952
Avoid using if statements without curly braces 49554956
Avoid using if statements without curly braces 49594960
Do not start a literal by 0 unless its an octal value 4970
Do not start a literal by 0 unless its an octal value 4972
Avoid using if statements without curly braces 49784979
Avoid assignments in operands 4992
Avoid using if statements without curly braces 49924993
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4995
Avoid using if statements without curly braces 50035004
Avoid using if statements without curly braces 50075008
Avoid unused private methods such as 'jjMoveStringLiteralDfa1_7(long)'. 5031
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 5034
Avoid using if statements without curly braces 50415042
Avoid unused private methods such as 'jjMoveStringLiteralDfa2_7(long,long)'. 5053
Avoid using if statements without curly braces 50555056
Useless parentheses. 5055
Avoid assignments in operands 5055
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 5058
Avoid using if statements without curly braces 50655066
Avoid using if statements without curly braces 50695070
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 5082
Avoid assignments in operands 5094
Avoid using if statements without curly braces 50945095
Avoid using if statements without curly braces 51065107
Avoid using if statements without curly braces 51105111
Avoid using if statements without curly braces 51145115
Avoid using if statements without curly braces 51185119
Avoid using if statements without curly braces 51225123
Avoid using if statements without curly braces 51265127
Avoid using if statements without curly braces 51305131
Avoid using if statements without curly braces 51345135
Avoid using if statements without curly braces 51385139
Avoid using if statements without curly braces 51405141
Avoid unused local variables such as 'l'. 5150
Do not start a literal by 0 unless its an octal value 5150
Avoid using if statements without curly braces 51565157
Avoid using if statements without curly braces 51605161
Avoid using if statements without curly braces 51645165
Avoid using if statements without curly braces 51685169
Avoid using if statements without curly braces 51725173
Do not start a literal by 0 unless its an octal value 5183
Do not start a literal by 0 unless its an octal value 5185
Avoid using if statements without curly braces 51915192
Avoid using if statements without curly braces 52055206
Avoid assignments in operands 5205
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 5208
Variables that are final and static should be all capitals, 'jjnextStates' is not all capitals. 5211
Useless parentheses. 5233
Avoid using if statements without curly braces 52355236
Variables that are final and static should be all capitals, 'jjstrLiteralImages' is not all capitals. 5242
Variables that are final and static should be all capitals, 'lexStateNames' is not all capitals. 5251
Variables that are final and static should be all capitals, 'jjnewLexState' is not all capitals. 5267
Variables that are final and static should be all capitals, 'jjtoToken' is not all capitals. 5272
Variables that are final and static should be all capitals, 'jjtoSkip' is not all capitals. 5275
Variables that are final and static should be all capitals, 'jjtoSpecial' is not all capitals. 5278
Variables that are final and static should be all capitals, 'jjtoMore' is not all capitals. 5281
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'input_stream' is not final. 5284
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 5287
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 5288
Avoid using for statements without curly braces 53155316
Avoid assignments in operands 5315
Avoid using if...else statements without curly braces 5330
Avoid using if...else statements without curly braces 5332
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 5380
Switch statements should have a default label 53935487
Avoid using if statements without curly braces 54905491
Do not start a literal by 0 unless its an octal value 5492
Avoid using if statements without curly braces 54975498
Do not start a literal by 0 unless its an octal value 5501
Do not start a literal by 0 unless its an octal value 5503
Avoid using if...else statements without curly braces 5507
Avoid using if...else statements without curly braces 5516
Avoid using if statements without curly braces 55175518
Avoid using if statements without curly braces 55225523
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 5530
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'error_line' is not final. 5532
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'error_column' is not final. 5533
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'error_after' is not final. 5534
Variables should start with a lowercase character, 'EOFSeen' starts with uppercase character. 5535
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 5537
Avoid using if...else statements without curly braces 5545
Avoid using if statements without curly braces 55705571
Avoid using if statements without curly braces 55775578
Avoid using if statements without curly braces 56115612
Avoid using if statements without curly braces 56365637
Avoid using if statements without curly braces 56945695
Avoid using if statements without curly braces 57205721
Avoid using if statements without curly braces 57285729
Avoid using if statements without curly braces 57515752
Avoid using if statements without curly braces 57725773
Avoid using if statements without curly braces 58195820
Avoid using if statements without curly braces 58245825
Avoid using if statements without curly braces 58295830
Avoid using if statements without curly braces 58325833
Potential violation of Law of Demeter (static property access) 5862
Potential violation of Law of Demeter (static property access) 5864
Potential violation of Law of Demeter (static property access) 5864
Avoid using if statements without curly braces 59075908
Potential violation of Law of Demeter (method chain calls) 5942

net/sourceforge/pmd/lang/vm/ast/VmParserTreeConstants.java

Violation Line
An Interface should be used only to model a behaviour; consider converting this to a class. 496
Avoid modifiers which are implied by the context 6
Avoid modifiers which are implied by the context 7
Avoid modifiers which are implied by the context 8
Avoid modifiers which are implied by the context 9
Avoid modifiers which are implied by the context 10
Avoid modifiers which are implied by the context 11
Avoid modifiers which are implied by the context 12
Avoid modifiers which are implied by the context 13
Avoid modifiers which are implied by the context 14
Avoid modifiers which are implied by the context 15
Avoid modifiers which are implied by the context 16
Avoid modifiers which are implied by the context 17
Avoid modifiers which are implied by the context 18
Avoid modifiers which are implied by the context 19
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 21
Avoid modifiers which are implied by the context 22
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 43
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 48
Variables that are final and static should be all capitals, 'jjtNodeName' is not all capitals. 51
Avoid modifiers which are implied by the context 5195

net/sourceforge/pmd/lang/vm/ast/VmParserVisitor.java

Violation Line
Avoid modifiers which are implied by the context 6
Avoid modifiers which are implied by the context 7
Avoid modifiers which are implied by the context 8
Avoid modifiers which are implied by the context 9
Avoid modifiers which are implied by the context 10
Avoid modifiers which are implied by the context 11
Avoid modifiers which are implied by the context 12
Avoid modifiers which are implied by the context 13
Avoid modifiers which are implied by the context 14
Avoid modifiers which are implied by the context 15
Avoid modifiers which are implied by the context 16
Avoid modifiers which are implied by the context 17
Avoid modifiers which are implied by the context 18
Avoid modifiers which are implied by the context 19
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 21
Avoid modifiers which are implied by the context 22
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 43
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 48