PMD Results

The following document contains the results of PMD 5.0.2.

Files

net/sourceforge/pmd/AbstractPropertySource.java

ViolationLine
Avoid unnecessary constructors - the compiler will generate these for you32 - 34
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 (method chain calls)188
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 (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

ViolationLine
Potential violation of Law of Demeter (object not created locally)81
Potential violation of Law of Demeter (object not created locally)123
Avoid using if statements without curly braces124 - 125
Potential violation of Law of Demeter (object not created locally)125
Potential violation of Law of Demeter (object not created locally)126
Avoid using if statements without curly braces222 - 223
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
Potential violation of Law of Demeter (object not created locally)244
Potential violation of Law of Demeter (object not created locally)245
Potential violation of Law of Demeter (object not created locally)247
Potential violation of Law of Demeter (object not created locally)357
Avoid declaring a variable if it is unreferenced before a possible exit point.370
Avoid using if statements without curly braces400 - 401
Potential violation of Law of Demeter (object not created locally)402
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)431
Potential violation of Law of Demeter (object not created locally)441
Potential violation of Law of Demeter (object not created locally)444
Potential violation of Law of Demeter (object not created locally)446

net/sourceforge/pmd/PMDConfiguration.java

ViolationLine
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 braces367 - 368
Potential violation of Law of Demeter (object not created locally)368

net/sourceforge/pmd/Report.java

ViolationLine
Possible God class (WMC=53, ATFD=13, TCC=0.026515151515151516)23 - 312
Potential violation of Law of Demeter (method chain calls)29
Potential violation of Law of Demeter (method chain calls)29
Potential violation of Law of Demeter (method chain calls)163
Avoid using if statements without curly braces211 - 212
Avoid using if statements without curly braces217 - 218
Potential violation of Law of Demeter (method chain calls)238
Potential violation of Law of Demeter (method chain calls)253
Potential violation of Law of Demeter (method chain calls)265
Potential violation of Law of Demeter (method chain calls)278
Potential violation of Law of Demeter (method chain calls)282

net/sourceforge/pmd/RuleChain.java

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)63

net/sourceforge/pmd/RuleSet.java

ViolationLine
Possible God class (WMC=85, ATFD=28, TCC=0.06951871657754011)34 - 461
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)101
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)149
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 (method chain calls)175
Potential violation of Law of Demeter (method chain calls)197
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)282
A catch statement that catches an exception only to rethrow it should be avoided.285 - 287
Potential violation of Law of Demeter (object not created locally)289
Potential violation of Law of Demeter (method chain calls)308
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 (method chain calls)333
Potential violation of Law of Demeter (object not created locally)333
Potential violation of Law of Demeter (method chain calls)333
Potential violation of Law of Demeter (object not created locally)333
Potential violation of Law of Demeter (method chain calls)341
Potential violation of Law of Demeter (method chain calls)341
Avoid using if statements without curly braces374
Avoid using if statements without curly braces383
Avoid using if statements without curly braces388
Avoid using if statements without curly braces401
Avoid using if statements without curly braces410
Avoid using if statements without curly braces415
Potential violation of Law of Demeter (method chain calls)434
Potential violation of Law of Demeter (object not created locally)454

net/sourceforge/pmd/RuleSetFactory.java

ViolationLine
Possible God class (WMC=122, ATFD=128, TCC=0.05194805194805195)40 - 723
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)90
Potential violation of Law of Demeter (method chain calls)92
Potential violation of Law of Demeter (object not created locally)144
Potential violation of Law of Demeter (object not created locally)148
Potential violation of Law of Demeter (method chain calls)161
Potential violation of Law of Demeter (method chain calls)161
Potential violation of Law of Demeter (object not created locally)180
Potential violation of Law of Demeter (method chain calls)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)202
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)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 (method chain calls)209
Potential violation of Law of Demeter (method chain calls)211
Potential violation of Law of Demeter (method chain calls)213
Potential violation of Law of Demeter (method chain calls)215
Potential violation of Law of Demeter (object not created locally)218
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)281
Potential violation of Law of Demeter (object not created locally)282
Potential violation of Law of Demeter (object not created locally)285
Potential violation of Law of Demeter (object not created locally)286
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)291
Potential violation of Law of Demeter (method chain calls)297
Potential violation of Law of Demeter (method chain calls)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 (method chain calls)299
Potential violation of Law of Demeter (method chain calls)300
Potential violation of Law of Demeter (object not created locally)332
Avoid using if statements without curly braces333 - 334
Potential violation of Law of Demeter (method chain calls)333
Potential violation of Law of Demeter (method chain calls)335
Potential violation of Law of Demeter (object not created locally)336
Potential violation of Law of Demeter (object not created locally)336
Potential violation of Law of Demeter (object not created locally)338
Potential violation of Law of Demeter (object not created locally)339
Potential violation of Law of Demeter (object not created locally)342
Potential violation of Law of Demeter (object not created locally)346
Potential violation of Law of Demeter (object not created locally)349
Potential violation of Law of Demeter (object not created locally)351
Potential violation of Law of Demeter (object not created locally)355
Potential violation of Law of Demeter (object not created locally)356
Potential violation of Law of Demeter (object not created locally)357
Potential violation of Law of Demeter (object not created locally)360
Potential violation of Law of Demeter (object not created locally)360
Potential violation of Law of Demeter (object not created locally)362
Potential violation of Law of Demeter (object not created locally)364
Potential violation of Law of Demeter (object not created locally)367
Potential violation of Law of Demeter (object not created locally)368
Potential violation of Law of Demeter (object not created locally)369
Potential violation of Law of Demeter (object not created locally)372
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)376
Potential violation of Law of Demeter (object not created locally)379
Potential violation of Law of Demeter (object not created locally)379
Potential violation of Law of Demeter (object not created locally)381
Potential violation of Law of Demeter (method chain calls)381
Potential violation of Law of Demeter (object not created locally)383
Potential violation of Law of Demeter (method chain calls)383
Potential violation of Law of Demeter (object not created locally)383
Potential violation of Law of Demeter (object not created locally)387
Potential violation of Law of Demeter (object not created locally)389
Potential violation of Law of Demeter (object not created locally)391
Potential violation of Law of Demeter (object not created locally)391
Potential violation of Law of Demeter (object not created locally)392
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)396
Potential violation of Law of Demeter (object not created locally)400
Potential violation of Law of Demeter (object not created locally)403
Potential violation of Law of Demeter (object not created locally)404
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)407
Potential violation of Law of Demeter (object not created locally)408
Potential violation of Law of Demeter (object not created locally)409
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 (method chain calls)413
Potential violation of Law of Demeter (method chain calls)413
Potential violation of Law of Demeter (method chain calls)413
Potential violation of Law of Demeter (method chain calls)413
Potential violation of Law of Demeter (object not created locally)414
Potential violation of Law of Demeter (object not created locally)418
Potential violation of Law of Demeter (method chain calls)422
Potential violation of Law of Demeter (object not created locally)422
Potential violation of Law of Demeter (method chain calls)428
Potential violation of Law of Demeter (method chain calls)453
Potential violation of Law of Demeter (object not created locally)463
Potential violation of Law of Demeter (method chain calls)466 - 468
Potential violation of Law of Demeter (method chain calls)466
Potential violation of Law of Demeter (method chain calls)500
Potential violation of Law of Demeter (method chain calls)501
Potential violation of Law of Demeter (object not created locally)502
Potential violation of Law of Demeter (method chain calls)503
Potential violation of Law of Demeter (object not created locally)503
Potential violation of Law of Demeter (method chain calls)505
Potential violation of Law of Demeter (object not created locally)505
Potential violation of Law of Demeter (object not created locally)507
Potential violation of Law of Demeter (method chain calls)507
Potential violation of Law of Demeter (method chain calls)509
Potential violation of Law of Demeter (object not created locally)509
Potential violation of Law of Demeter (object not created locally)512
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 (method chain calls)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)537
Potential violation of Law of Demeter (object not created locally)538
Potential violation of Law of Demeter (object not created locally)539
Potential violation of Law of Demeter (object not created locally)540
Potential violation of Law of Demeter (method chain calls)541
Potential violation of Law of Demeter (object not created locally)541
Potential violation of Law of Demeter (method chain calls)555
Potential violation of Law of Demeter (method chain calls)564
Potential violation of Law of Demeter (method chain calls)565
Potential violation of Law of Demeter (object not created locally)576
Potential violation of Law of Demeter (object not created locally)577
Potential violation of Law of Demeter (object not created locally)636
Potential violation of Law of Demeter (object not created locally)637
Potential violation of Law of Demeter (object not created locally)644
Potential violation of Law of Demeter (object not created locally)660
Potential violation of Law of Demeter (object not created locally)661
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)672
Potential violation of Law of Demeter (method chain calls)691
Potential violation of Law of Demeter (method chain calls)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)701
Potential violation of Law of Demeter (method chain calls)715
Potential violation of Law of Demeter (method chain calls)717
Potential violation of Law of Demeter (object not created locally)718
Potential violation of Law of Demeter (method chain calls)718
Potential violation of Law of Demeter (object not created locally)718

net/sourceforge/pmd/RuleSetReferenceId.java

ViolationLine
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

ViolationLine
Possible God class (WMC=61, ATFD=60, TCC=0.0718954248366013)41 - 370
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 (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)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
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

ViolationLine
Potential violation of Law of Demeter (object not created locally)169

net/sourceforge/pmd/RuleViolationComparator.java

ViolationLine
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/SourceCodeProcessor.java

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (object not created locally)72
Potential violation of Law of Demeter (static property access)100
Potential violation of Law of Demeter (method chain calls)107
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 (object not created locally)124

net/sourceforge/pmd/ant/PMDTask.java

ViolationLine
Possible God class (WMC=67, ATFD=60, TCC=0.023172905525846704)48 - 376
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 (method chain calls)207
Potential violation of Law of Demeter (object not created locally)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

ViolationLine
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

ViolationLine
Useless parentheses.36

net/sourceforge/pmd/benchmark/Benchmarker.java

ViolationLine
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

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

net/sourceforge/pmd/benchmark/StringBuilderCR.java

ViolationLine
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

ViolationLine
Avoid unnecessary constructors - the compiler will generate these for you28 - 30
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

ViolationLine
Avoid using for statements without curly braces59 - 60
Potential violation of Law of Demeter (method chain calls)59
Potential violation of Law of Demeter (static property access)141
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)151
Potential violation of Law of Demeter (method chain calls)151
Potential violation of Law of Demeter (method chain calls)154
Avoid using if statements without curly braces154
Avoid using if...else statements without curly braces169
Avoid using if...else statements without curly braces171
Useless parentheses.175

net/sourceforge/pmd/cli/PMDParameters.java

ViolationLine
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 braces86 - 88
Avoid using if statements without curly braces101 - 103
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 (method chain calls)135
Potential violation of Law of Demeter (object not created locally)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 (object not created locally)139
Potential violation of Law of Demeter (method chain calls)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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)42
Useless parentheses.93
Useless parentheses.97

net/sourceforge/pmd/cpd/AnyTokenizer.java

ViolationLine
Potential violation of Law of Demeter (object not created locally)23
Potential violation of Law of Demeter (method chain calls)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

ViolationLine
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

ViolationLine
Variables that are final and static should be all capitals, 'progName' is not all capitals.23
Avoid using if...else statements without curly braces27
Avoid using if...else statements without curly braces29
Useless parentheses.37
Potential violation of Law of Demeter (method chain calls)71
Potential violation of Law of Demeter (method chain calls)77
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 braces91 - 95
Avoid using if...else statements without curly braces93
Avoid using if...else statements without curly braces95
Potential violation of Law of Demeter (method chain calls)109 - 113
Potential violation of Law of Demeter (method chain calls)109 - 112
Potential violation of Law of Demeter (method chain calls)111

net/sourceforge/pmd/cpd/CPDConfiguration.java

ViolationLine
Possible God class (WMC=63, ATFD=23, TCC=0.03508771929824561)25 - 333
Potential violation of Law of Demeter (method chain calls)86
Potential violation of Law of Demeter (method chain calls)122
Avoid using if statements without curly braces122 - 123
Avoid using if statements without curly braces125 - 126
Avoid using if statements without curly braces127 - 128
Avoid using if statements without curly braces129 - 130
Potential violation of Law of Demeter (method chain calls)136
Potential violation of Law of Demeter (method chain calls)138
Potential violation of Law of Demeter (method chain calls)140
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 braces214 - 215
Avoid using if statements without curly braces220 - 221

net/sourceforge/pmd/cpd/CPDTask.java

ViolationLine
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

ViolationLine
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)24 - 26
Potential violation of Law of Demeter (object not created locally)24 - 26
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)27
Potential violation of Law of Demeter (method chain calls)28
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)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 (method chain calls)36
Potential violation of Law of Demeter (object not created locally)37
Potential violation of Law of Demeter (method chain calls)39
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

ViolationLine
Possible God class (WMC=52, ATFD=20, TCC=0.0)17 - 238
Potential violation of Law of Demeter (method chain calls)20
Potential violation of Law of Demeter (method chain calls)20
Use one line for each declaration, it enhances code readability.22
Potential violation of Law of Demeter (object not created locally)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 braces119 - 120
Potential violation of Law of Demeter (object not created locally)121
Potential violation of Law of Demeter (object not created locally)123
Potential violation of Law of Demeter (object not created locally)124
Avoid using if statements without curly braces124
Potential violation of Law of Demeter (object not created locally)127
Avoid using if statements without curly braces127
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 braces148 - 149
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 braces170 - 171
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 braces213 - 214
Potential violation of Law of Demeter (method chain calls)213
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 (method chain calls)218
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

ViolationLine
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 (method chain calls)461
Potential violation of Law of Demeter (object not created locally)461
Potential violation of Law of Demeter (method chain calls)479
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)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
Potential violation of Law of Demeter (object not created locally)552
Potential violation of Law of Demeter (object not created locally)553
Potential violation of Law of Demeter (method chain calls)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 (method chain calls)661
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

ViolationLine
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

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

net/sourceforge/pmd/cpd/JavaTokenizer.java

ViolationLine
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

ViolationLine
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)61
Potential violation of Law of Demeter (method chain calls)92

net/sourceforge/pmd/cpd/Match.java

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)28

net/sourceforge/pmd/cpd/PLSQLTokenizer.java

ViolationLine
Use one line for each declaration, it enhances code readability.56
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

net/sourceforge/pmd/cpd/SimpleRenderer.java

ViolationLine
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)33
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)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)37
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 (object not created locally)45
Potential violation of Law of Demeter (method chain calls)51
Potential violation of Law of Demeter (method chain calls)51
Potential violation of Law of Demeter (method chain calls)56
Potential violation of Law of Demeter (method chain calls)71
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

ViolationLine
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 (method chain calls)152
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

ViolationLine
The field name indicates a constant but its modifiers do not22 - 27
Variables should start with a lowercase character, 'TOKENS' starts with uppercase character.22
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 (method chain calls)76
Potential violation of Law of Demeter (static property access)76
Potential violation of Law of Demeter (method chain calls)77
Potential violation of Law of Demeter (method chain calls)78

net/sourceforge/pmd/cpd/Tokens.java

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

net/sourceforge/pmd/cpd/VSRenderer.java

ViolationLine
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 (method chain calls)22
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)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

ViolationLine
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

ViolationLine
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)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)129
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

ViolationLine
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 (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)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

ViolationLine
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)102 - 103
Potential violation of Law of Demeter (method chain calls)102
Potential violation of Law of Demeter (method chain calls)102 - 103

net/sourceforge/pmd/dcd/UsageNodeVisitor.java

ViolationLine
Possible God class (WMC=51, ATFD=21, TCC=0.04678362573099415)22 - 231
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 (method chain calls)191
Potential violation of Law of Demeter (method chain calls)191
Potential violation of Law of Demeter (object not created locally)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 - 201
Potential violation of Law of Demeter (method chain calls)200

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

ViolationLine
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

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

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

ViolationLine
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

ViolationLine
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

ViolationLine
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)44 - 45
Potential violation of Law of Demeter (method chain calls)44 - 45
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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
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

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

net/sourceforge/pmd/lang/Language.java

ViolationLine
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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)202
Potential violation of Law of Demeter (method chain calls)202
Avoid using if statements without curly braces219 - 220
Potential violation of Law of Demeter (method chain calls)219
Potential violation of Law of Demeter (method chain calls)238
Potential violation of Law of Demeter (method chain calls)238
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/LanguageVersionDiscoverer.java

ViolationLine
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

ViolationLine
Possible God class (WMC=76, ATFD=19, TCC=0.018893387314439947)23 - 390
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 braces354
Potential violation of Law of Demeter (method chain calls)371

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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)31
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)34
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)40
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

ViolationLine
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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)113
Potential violation of Law of Demeter (method chain calls)302 - 303

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

ViolationLine
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

ViolationLine
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

ViolationLine
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 (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)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

ViolationLine
Avoid modifiers which are implied by the context11

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

ViolationLine
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)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 (object not created locally)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 (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)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 (method chain calls)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 (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 (object not created locally)259
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)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 (method chain calls)289
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)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
Potential violation of Law of Demeter (object not created locally)335
Potential violation of Law of Demeter (method chain calls)337 - 340
Potential violation of Law of Demeter (method chain calls)339
Potential violation of Law of Demeter (object not created locally)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 (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)343
Potential violation of Law of Demeter (object not created locally)349
Potential violation of Law of Demeter (object not created locally)361
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)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 (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 (object not created locally)377
Potential violation of Law of Demeter (object not created locally)377
Potential violation of Law of Demeter (method chain calls)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
Potential violation of Law of Demeter (method chain calls)417
Potential violation of Law of Demeter (method chain calls)420

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

ViolationLine
Variables that are final and static should be all capitals, 'typeMap' is not all capitals.48

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

ViolationLine
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
Potential violation of Law of Demeter (object not created locally)192
Potential violation of Law of Demeter (method chain calls)197 - 199
Potential violation of Law of Demeter (object not created locally)197
Potential violation of Law of Demeter (method chain calls)197
Potential violation of Law of Demeter (method chain calls)197 - 199
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)202
Potential violation of Law of Demeter (method chain calls)209
Potential violation of Law of Demeter (method chain calls)209
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
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 (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

ViolationLine
Useless parentheses.28

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)72
Potential violation of Law of Demeter (method chain calls)72 - 75
Potential violation of Law of Demeter (method chain calls)72 - 75
Potential violation of Law of Demeter (method chain calls)73
Potential violation of Law of Demeter (method chain calls)78 - 81
Potential violation of Law of Demeter (method chain calls)78 - 81
Potential violation of Law of Demeter (method chain calls)78
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
Potential violation of Law of Demeter (method chain calls)104
Potential violation of Law of Demeter (method chain calls)109

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

ViolationLine
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

ViolationLine
Possible God class (WMC=65, ATFD=54, TCC=0.0)17 - 332
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 (static property access)117
Potential violation of Law of Demeter (method chain calls)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 (static property access)259
Potential violation of Law of Demeter (object not created locally)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 (method chain calls)318
Potential violation of Law of Demeter (object not created locally)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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
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 (method chain calls)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 (method chain calls)76
Potential violation of Law of Demeter (object not created locally)126
Potential violation of Law of Demeter (method chain calls)133
Potential violation of Law of Demeter (method chain calls)135 - 138
Potential violation of Law of Demeter (object not created locally)136
Potential violation of Law of Demeter (method chain calls)150
Potential violation of Law of Demeter (method chain calls)186 - 191
Potential violation of Law of Demeter (method chain calls)192

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

ViolationLine
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
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)25
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 (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 (object not created locally)29
Potential violation of Law of Demeter (method chain calls)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

ViolationLine
Potential violation of Law of Demeter (method chain calls)121

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)25

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)22

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)25

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)22

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)21

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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)25

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)34

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)25

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)34

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

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

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

ViolationLine
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

ViolationLine
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

ViolationLine
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)223
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

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

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

ViolationLine
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

ViolationLine
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

ViolationLine
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

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

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

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

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

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

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

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

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

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

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

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

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

ViolationLine
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 (object not created locally)47
Potential violation of Law of Demeter (method chain calls)47

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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)22

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

ViolationLine
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)29
Potential violation of Law of Demeter (method chain calls)29

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

ViolationLine
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)109
Potential violation of Law of Demeter (method chain calls)116
Potential violation of Law of Demeter (method chain calls)116
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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)43
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

ViolationLine
Potential violation of Law of Demeter (object not created locally)74
Potential violation of Law of Demeter (object not created locally)77
Potential violation of Law of Demeter (method chain calls)78

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

ViolationLine
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

ViolationLine
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

ViolationLine
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

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)47

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)19

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)18

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

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

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

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

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

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

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

ViolationLine
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

ViolationLine
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

ViolationLine
Avoid using if statements without curly braces36
Potential violation of Law of Demeter (static property access)40

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

ViolationLine
Avoid using if statements without curly braces25
Avoid using if statements without curly braces40
Potential violation of Law of Demeter (method chain calls)43
Avoid using if statements without curly braces46
Potential violation of Law of Demeter (method chain calls)52
Variables should start with a lowercase character, 'JAVADOC_TAG' starts with uppercase character.58
The field name indicates a constant but its modifiers do not58
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'JAVADOC_TAG' is not final.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 not59
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 braces130
Avoid using if statements without curly braces134
Avoid using if statements without curly braces138
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

ViolationLine
Possible God class (WMC=75, ATFD=17, TCC=0.16666666666666666)12 - 247
Useless parentheses.18
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 (method chain calls)160
Potential violation of Law of Demeter (method chain calls)163
Potential violation of Law of Demeter (method chain calls)166
Potential violation of Law of Demeter (method chain calls)169
Potential violation of Law of Demeter (method chain calls)173
Potential violation of Law of Demeter (method chain calls)176
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 (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)215
Potential violation of Law of Demeter (object not created locally)218
Potential violation of Law of Demeter (object not created locally)221
Potential violation of Law of Demeter (object not created locally)224
Potential violation of Law of Demeter (object not created locally)227
Potential violation of Law of Demeter (object not created locally)230
Potential violation of Law of Demeter (object not created locally)233
Potential violation of Law of Demeter (object not created locally)236
Potential violation of Law of Demeter (object not created locally)239
Potential violation of Law of Demeter (object not created locally)242

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

ViolationLine
Useless parentheses.23

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

ViolationLine
Possible God class (WMC=58, ATFD=114, TCC=0.0)45 - 321
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)87
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
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 (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
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
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
Potential violation of Law of Demeter (object not created locally)139
Potential violation of Law of Demeter (object not created locally)139
Potential violation of Law of Demeter (object not created locally)159
Potential violation of Law of Demeter (object not created locally)159
Potential violation of Law of Demeter (object not created locally)175
Potential violation of Law of Demeter (object not created locally)175
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
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
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 (method chain calls)190
Potential violation of Law of Demeter (object not created locally)191
Potential violation of Law of Demeter (object not created locally)191
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)198
Potential violation of Law of Demeter (object not created locally)198
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 (object not created locally)204
Potential violation of Law of Demeter (object not created locally)204
Potential violation of Law of Demeter (object not created locally)216
Potential violation of Law of Demeter (object not created locally)216
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 (object not created locally)231
Potential violation of Law of Demeter (object not created locally)231
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
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
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
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
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

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

ViolationLine
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 (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 (method chain calls)56
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 (method chain calls)71
Potential violation of Law of Demeter (object not created locally)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 (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)95
Potential violation of Law of Demeter (object not created locally)96
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

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

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

ViolationLine
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)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 (object not created locally)50
Potential violation of Law of Demeter (method chain calls)64 - 66
Potential violation of Law of Demeter (method chain calls)64 - 66
Potential violation of Law of Demeter (method chain calls)65 - 66
Useless parentheses.65 - 66
Potential violation of Law of Demeter (method chain calls)65 - 66
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)66
Potential violation of Law of Demeter (method chain calls)66
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)99
Potential violation of Law of Demeter (object not created locally)100
Potential violation of Law of Demeter (method chain calls)100

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

ViolationLine
Possible God class (WMC=124, ATFD=6, TCC=0.0)15 - 528
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

ViolationLine
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 (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)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

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

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

ViolationLine
Avoid using if statements without curly braces20
Avoid using if statements without curly braces21
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 (method chain calls)27
Potential violation of Law of Demeter (object not created locally)27

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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (object not created locally)88
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)98
Potential violation of Law of Demeter (method chain calls)112
Potential violation of Law of Demeter (method chain calls)117
Potential violation of Law of Demeter (method chain calls)119 - 120
Potential violation of Law of Demeter (method chain calls)122

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

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

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

ViolationLine
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

ViolationLine
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

ViolationLine
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 (method chain calls)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 (method chain calls)48
Potential violation of Law of Demeter (method chain calls)48
Potential violation of Law of Demeter (object not created locally)48

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

ViolationLine
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

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

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

ViolationLine
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 (object not created locally)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)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
Potential violation of Law of Demeter (method chain calls)50
Potential violation of Law of Demeter (method chain calls)50
Potential violation of Law of Demeter (method chain calls)50

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

ViolationLine
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 (method chain calls)83
Potential violation of Law of Demeter (method chain calls)83
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
Potential violation of Law of Demeter (method chain calls)84
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 (method chain calls)100
Potential violation of Law of Demeter (method chain calls)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 (method chain calls)100
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

ViolationLine
Potential violation of Law of Demeter (object not created locally)32
Potential violation of Law of Demeter (object not created locally)37
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 (method chain calls)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)88 - 89
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 (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

ViolationLine
Potential violation of Law of Demeter (method chain calls)41
Potential violation of Law of Demeter (method chain calls)43 - 44
Potential violation of Law of Demeter (method chain calls)43
Potential violation of Law of Demeter (object not created locally)43
Potential violation of Law of Demeter (object not created locally)43 - 44
Potential violation of Law of Demeter (method chain calls)43 - 44
Potential violation of Law of Demeter (object not created locally)43
Potential violation of Law of Demeter (method chain calls)43 - 44
Useless parentheses.43
Potential violation of Law of Demeter (method chain calls)43 - 44
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 (object not created locally)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 (object not created locally)44
Potential violation of Law of Demeter (object not created locally)47
Method call on object which may be null48 - 52
Potential violation of Law of Demeter (object not created locally)48
Potential violation of Law of Demeter (method chain calls)49
Useless parentheses.49
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
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)51

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

ViolationLine
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)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

ViolationLine
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)88
Potential violation of Law of Demeter (object not created locally)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
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
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)128
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)146
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)148
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)149
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)150
Useless parentheses.150
Potential violation of Law of Demeter (object not created locally)150
Potential violation of Law of Demeter (object not created locally)151
Useless parentheses.152
Useless parentheses.152
Potential violation of Law of Demeter (object not created locally)152
Potential violation of Law of Demeter (object not created locally)152
Potential violation of Law of Demeter (object not created locally)152
Potential violation of Law of Demeter (object not created locally)152
Useless parentheses.182
Useless parentheses.182
Potential violation of Law of Demeter (object not created locally)185
Useless parentheses.193
Useless parentheses.193
Potential violation of Law of Demeter (method chain calls)194

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

ViolationLine
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)70 - 71
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 (method chain calls)86
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 (method chain calls)86

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

ViolationLine
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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)24

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

ViolationLine
Potential violation of Law of Demeter (object not created locally)48
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
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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)31

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

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

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

ViolationLine
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

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

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

ViolationLine
Avoid using if statements without curly braces42 - 43
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 braces76 - 77
Avoid using if statements without curly braces86 - 87
Potential violation of Law of Demeter (method chain calls)88
Potential violation of Law of Demeter (method chain calls)91
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
Useless parentheses.182
Avoid unnecessary if..then..else statements when returning booleans182 - 187
Useless parentheses.183
Avoid unnecessary if..then..else statements when returning booleans191 - 196
Useless parentheses.191
Useless parentheses.192
Useless parentheses.226

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

ViolationLine
Avoid unnecessary constructors - the compiler will generate these for you16 - 18

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

ViolationLine
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 braces96
Avoid using if statements without curly braces99
Potential violation of Law of Demeter (object not created locally)101
Avoid using if statements without curly braces101
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
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 (method chain calls)122
Avoid using if statements without curly braces133
Potential violation of Law of Demeter (object not created locally)137
Avoid using if statements without curly braces137

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

ViolationLine
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)84 - 85
Potential violation of Law of Demeter (method chain calls)84 - 85
Potential violation of Law of Demeter (method chain calls)121 - 122
Potential violation of Law of Demeter (method chain calls)121 - 122
Potential violation of Law of Demeter (method chain calls)123 - 124
Potential violation of Law of Demeter (method chain calls)123 - 124
Potential violation of Law of Demeter (method chain calls)167 - 168
Potential violation of Law of Demeter (method chain calls)167 - 168
Potential violation of Law of Demeter (method chain calls)194 - 195
Potential violation of Law of Demeter (method chain calls)194 - 195

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

ViolationLine
Avoid using if statements without curly braces33
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 braces44
Potential violation of Law of Demeter (method chain calls)49
Avoid using if statements without curly braces49
Potential violation of Law of Demeter (method chain calls)67
Potential violation of Law of Demeter (method chain calls)72
Avoid using if statements without curly braces73
Potential violation of Law of Demeter (object not created locally)73
Potential violation of Law of Demeter (method chain calls)84 - 86
Avoid using if statements without curly braces90
Potential violation of Law of Demeter (object not created locally)90
Potential violation of Law of Demeter (method chain calls)93 - 95

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

ViolationLine
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

ViolationLine
Useless parentheses.49
Useless parentheses.50
Potential violation of Law of Demeter (object not created locally)51
Useless parentheses.51
Useless parentheses.53 - 54
Useless parentheses.54

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

ViolationLine
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 braces85
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
Potential violation of Law of Demeter (object not created locally)142
Potential violation of Law of Demeter (method chain calls)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

ViolationLine
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

ViolationLine
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 (method chain calls)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 (object not created locally)54
Potential violation of Law of Demeter (object not created locally)54

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

ViolationLine
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

ViolationLine
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
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 (object not created locally)141
Potential violation of Law of Demeter (method chain calls)141

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

ViolationLine
Possible God class (WMC=66, ATFD=45, TCC=0.10526315789473684)80 - 375
Potential violation of Law of Demeter (object not created locally)154
Potential violation of Law of Demeter (method chain calls)162
Potential violation of Law of Demeter (method chain calls)163
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 (object not created locally)205
Potential violation of Law of Demeter (method chain calls)205
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 (object not created locally)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 instanceof273
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 (object not created locally)327
Potential violation of Law of Demeter (method chain calls)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 (method chain calls)351

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

ViolationLine
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 (method chain calls)46
Potential violation of Law of Demeter (object not created locally)46

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

ViolationLine
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

ViolationLine
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 (method chain calls)262
Useless parentheses.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 (object not created locally)263

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

ViolationLine
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

ViolationLine
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
Useless parentheses.33
Potential violation of Law of Demeter (object not created locally)33
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 (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 (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 (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

ViolationLine
Possible God class (WMC=67, ATFD=53, TCC=0.0)52 - 329
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 (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)120
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 (object not created locally)183
Potential violation of Law of Demeter (method chain calls)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 (object not created locally)202
Potential violation of Law of Demeter (method chain calls)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
Potential violation of Law of Demeter (object not created locally)300
Potential violation of Law of Demeter (method chain calls)300
Useless parentheses.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

ViolationLine
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 (object not created locally)74
Potential violation of Law of Demeter (method chain calls)74
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
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

ViolationLine
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)71 - 75
Potential violation of Law of Demeter (method chain calls)71 - 75
Useless parentheses.72 - 74
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)74
Potential violation of Law of Demeter (method chain calls)74
Potential violation of Law of Demeter (method chain calls)109
Potential violation of Law of Demeter (method chain calls)116
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)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)153
Potential violation of Law of Demeter (object not created locally)156

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

ViolationLine
Possible God class (WMC=91, ATFD=69, TCC=0.0)50 - 968
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
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 (object not created locally)738
Potential violation of Law of Demeter (method chain calls)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
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 (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)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)958
Potential violation of Law of Demeter (object not created locally)963

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)37

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)89
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)175

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

ViolationLine
Possible God class (WMC=54, ATFD=32, TCC=0.0)49 - 374
Potential violation of Law of Demeter (method chain calls)109 - 112
Potential violation of Law of Demeter (method chain calls)109 - 112
Potential violation of Law of Demeter (method chain calls)109 - 112
Potential violation of Law of Demeter (method chain calls)109 - 112
Potential violation of Law of Demeter (method chain calls)109 - 112
Potential violation of Law of Demeter (method chain calls)109 - 112
Potential violation of Law of Demeter (method chain calls)109 - 112
Potential violation of Law of Demeter (method chain calls)109 - 112
Potential violation of Law of Demeter (method chain calls)109 - 112
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
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 (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 (object not created locally)263
Potential violation of Law of Demeter (method chain calls)263
Potential violation of Law of Demeter (object not created locally)272
Potential violation of Law of Demeter (object not created locally)277
Potential violation of Law of Demeter (method chain calls)277
Potential violation of Law of Demeter (object not created locally)279
Potential violation of Law of Demeter (method chain calls)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

ViolationLine
Potential violation of Law of Demeter (method chain calls)24
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 (method chain calls)46
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 (method chain calls)48
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)53
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 (object not created locally)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 (method chain calls)64
Potential violation of Law of Demeter (method chain calls)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 (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

ViolationLine
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
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)121 - 122

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

ViolationLine
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
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
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 (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)85
Potential violation of Law of Demeter (object not created locally)85
Useless parentheses.85
Potential violation of Law of Demeter (object not created locally)86
Potential violation of Law of Demeter (method chain calls)86 - 87
Potential violation of Law of Demeter (object not created locally)86 - 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)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

ViolationLine
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
Potential violation of Law of Demeter (method chain calls)71

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

ViolationLine
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 (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)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 (object not created locally)84 - 85
Potential violation of Law of Demeter (method chain calls)84 - 85
Potential violation of Law of Demeter (method chain calls)84 - 85
Potential violation of Law of Demeter (object not created locally)105
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 (object not created locally)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)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

ViolationLine
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 (method chain calls)114
Potential violation of Law of Demeter (method chain calls)114
Potential violation of Law of Demeter (object not created locally)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

ViolationLine
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 (object not created locally)74
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 (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)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
Potential violation of Law of Demeter (method chain calls)148
Potential violation of Law of Demeter (method chain calls)148

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

ViolationLine
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

ViolationLine
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 (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 (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

ViolationLine
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

ViolationLine
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)59
Potential violation of Law of Demeter (object not created locally)66
Potential violation of Law of Demeter (method chain calls)67
Potential violation of Law of Demeter (method chain calls)76 - 78
Potential violation of Law of Demeter (method chain calls)76 - 78
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)82
Potential violation of Law of Demeter (method chain calls)83
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)83
Potential violation of Law of Demeter (object not created locally)84 - 87
Potential violation of Law of Demeter (method chain calls)84 - 87
Potential violation of Law of Demeter (method chain calls)84 - 87
Potential violation of Law of Demeter (method chain calls)84 - 87
Potential violation of Law of Demeter (method chain calls)84 - 87
Potential violation of Law of Demeter (method chain calls)96 - 98
Potential violation of Law of Demeter (method chain calls)96 - 98

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

ViolationLine
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

ViolationLine
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) 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 (method chain calls)48
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)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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
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 (method chain calls)65
Potential violation of Law of Demeter (object not created locally)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 (method chain calls)99
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 (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
Potential violation of Law of Demeter (method chain calls)129

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

ViolationLine
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 (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)108
Potential violation of Law of Demeter (method chain calls)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

ViolationLine
Potential violation of Law of Demeter (method chain calls)50
Potential violation of Law of Demeter (method chain calls)61 - 62
Potential violation of Law of Demeter (method chain calls)61 - 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)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 (method chain calls)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)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
Useless parentheses.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)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 (object not created locally)115
Potential violation of Law of Demeter (method chain calls)115
Potential violation of Law of Demeter (object not created locally)115

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

ViolationLine
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 (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 (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 (method chain calls)122
Potential violation of Law of Demeter (object not created locally)122
Potential violation of Law of Demeter (method chain calls)125
Potential violation of Law of Demeter (object not created locally)125

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

ViolationLine
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 (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 (method chain calls)47
Potential violation of Law of Demeter (object not created locally)47
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 (object not created locally)49

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

ViolationLine
Potential violation of Law of Demeter (object not created locally)65
Potential violation of Law of Demeter (method chain calls)65 - 66
Potential violation of Law of Demeter (method chain calls)65
Potential violation of Law of Demeter (method chain calls)65 - 66
Potential violation of Law of Demeter (object not created locally)65 - 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 (object not created locally)66
Potential violation of Law of Demeter (method chain calls)66
Potential violation of Law of Demeter (method chain calls)66
Useless parentheses.66
Potential violation of Law of Demeter (method chain calls)69
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)90
Potential violation of Law of Demeter (method chain calls)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
Potential violation of Law of Demeter (object not created locally)91

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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)64

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

ViolationLine
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)75 - 78
Potential violation of Law of Demeter (method chain calls)75 - 78
Potential violation of Law of Demeter (method chain calls)75 - 78
Potential violation of Law of Demeter (method chain calls)75 - 78
Potential violation of Law of Demeter (method chain calls)104 - 105
Potential violation of Law of Demeter (method chain calls)107
Avoid using if statements without curly braces114 - 115
Potential violation of Law of Demeter (object not created locally)127 - 128
Potential violation of Law of Demeter (method chain calls)127 - 128
Potential violation of Law of Demeter (object not created locally)128
Avoid using if statements without curly braces134 - 138

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

ViolationLine
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 - 97
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 (method chain calls)98
Potential violation of Law of Demeter (object not created locally)98

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

ViolationLine
Potential violation of Law of Demeter (object not created locally)51
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)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 (method chain calls)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

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

ViolationLine
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 (method chain calls)86
Potential violation of Law of Demeter (object not created locally)86
Potential violation of Law of Demeter (method chain calls)86

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

ViolationLine
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

ViolationLine
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 (object not created locally)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 (method chain calls)46
Potential violation of Law of Demeter (object not created locally)47

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

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

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

ViolationLine
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

ViolationLine
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

ViolationLine
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 (method chain calls)30
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
Potential violation of Law of Demeter (object not created locally)32
Potential violation of Law of Demeter (method chain calls)33
Potential violation of Law of Demeter (object not created locally)33

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

ViolationLine
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
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 braces219

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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
Avoid unnecessary constructors - the compiler will generate these for you31
Potential violation of Law of Demeter (method chain calls)43
Potential violation of Law of Demeter (method chain calls)43
replace o.getClass().equals(MyClass.class) with o instanceof MyClass43
Potential violation of Law of Demeter (method chain calls)49
Avoid using if statements without curly braces59
Use equals() to compare object references.83
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 (method chain calls)85
Avoid using if statements without curly braces85
Potential violation of Law of Demeter (object not created locally)101
Potential violation of Law of Demeter (object not created locally)103
Avoid using if statements without curly braces103
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 braces108
Avoid using a branching statement as the last in a loop.109
Avoid using if statements without curly braces128
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 (object not created locally)158
Avoid using if statements without curly braces173

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

ViolationLine
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 (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)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 (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 (method chain calls)83
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)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)113
Potential violation of Law of Demeter (method chain calls)119
Potential violation of Law of Demeter (method chain calls)124

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)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 (method chain calls)51
Potential violation of Law of Demeter (method chain calls)51
Potential violation of Law of Demeter (method chain calls)53
Useless parentheses.53
Potential violation of Law of Demeter (method chain calls)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
Potential violation of Law of Demeter (method chain calls)61
Potential violation of Law of Demeter (method chain calls)61

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

ViolationLine
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 (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)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)48
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 (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

ViolationLine
Potential violation of Law of Demeter (method chain calls)37
Potential violation of Law of Demeter (method chain calls)57
Potential violation of Law of Demeter (object not created locally)59

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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (object not created locally)29
Potential violation of Law of Demeter (object not created locally)29 - 30
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 (object not created locally)38
Potential violation of Law of Demeter (method chain calls)38

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

ViolationLine
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)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

ViolationLine
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 braces194
Avoid using if statements without curly braces195
Avoid using if statements without curly braces196
Avoid using if statements without curly braces210

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

ViolationLine
Potential violation of Law of Demeter (object not created locally)57
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
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

ViolationLine
Possible God class (WMC=57, ATFD=38, TCC=0.027777777777777776)57 - 318
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 (method chain calls)158
Potential violation of Law of Demeter (object not created locally)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

ViolationLine
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 (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 (method chain calls)49

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

ViolationLine
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)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 (method chain calls)92
Potential violation of Law of Demeter (object not created locally)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 (method chain calls)114
Potential violation of Law of Demeter (object not created locally)114
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)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 (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)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

ViolationLine
Possible God class (WMC=72, ATFD=60, TCC=0.01818181818181818)40 - 352
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 (method chain calls)188
Potential violation of Law of Demeter (object not created locally)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 (object not created locally)196
Potential violation of Law of Demeter (method chain calls)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
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
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)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

ViolationLine
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

ViolationLine
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 (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)27

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

ViolationLine
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)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)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)77
Potential violation of Law of Demeter (object not created locally)80

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)39

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

ViolationLine
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 (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
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
Potential violation of Law of Demeter (object not created locally)118
Potential violation of Law of Demeter (method chain calls)118
Potential violation of Law of Demeter (object not created locally)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 (method chain calls)127

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)28
Potential violation of Law of Demeter (method chain calls)30
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 (object not created locally)42
Potential violation of Law of Demeter (method chain calls)42
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 (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 (method chain calls)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

ViolationLine
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

ViolationLine
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)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

ViolationLine
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

ViolationLine
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)42
Potential violation of Law of Demeter (method chain calls)42

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)17

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

ViolationLine
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 (object not created locally)91
Potential violation of Law of Demeter (method chain calls)91

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

ViolationLine
Possible God class (WMC=50, ATFD=24, TCC=0.047619047619047616)37 - 258
Potential violation of Law of Demeter (object not created locally)81 - 82
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 (object not created locally)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 (object not created locally)134
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 (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)151 - 152
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 (method chain calls)184
Potential violation of Law of Demeter (method chain calls)184
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)184
Potential violation of Law of Demeter (method chain calls)184
Potential violation of Law of Demeter (method chain calls)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 (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)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)219 - 220
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

ViolationLine
Potential violation of Law of Demeter (object not created locally)53
Potential violation of Law of Demeter (method chain calls)55
Potential violation of Law of Demeter (object not created locally)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 (object not created locally)60
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 (method chain calls)61
Potential violation of Law of Demeter (method chain calls)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
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)85 - 86
Potential violation of Law of Demeter (method chain calls)85 - 86
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 (object not created locally)102
Potential violation of Law of Demeter (method chain calls)102

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

ViolationLine
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 (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)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)36

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

ViolationLine
Potential violation of Law of Demeter (object not created locally)19
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
Useless parentheses.27
Potential violation of Law of Demeter (object not created locally)27
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)31 - 32
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
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

ViolationLine
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)34
Potential violation of Law of Demeter (object not created locally)38
Potential violation of Law of Demeter (object not created locally)70
Potential violation of Law of Demeter (object not created locally)75
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)82
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 (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
Potential violation of Law of Demeter (object not created locally)91

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

ViolationLine
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)44

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

ViolationLine
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

ViolationLine
Possible God class (WMC=68, ATFD=51, TCC=0.01818181818181818)23 - 298
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)66
Potential violation of Law of Demeter (method chain calls)67
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)74
Potential violation of Law of Demeter (object not created locally)78
Potential violation of Law of Demeter (method chain calls)79
Potential violation of Law of Demeter (method chain calls)84
Potential violation of Law of Demeter (object not created locally)86
Potential violation of Law of Demeter (object not created locally)87
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 (method chain calls)109
Potential violation of Law of Demeter (method chain calls)109
Useless parentheses.109
Potential violation of Law of Demeter (object not created locally)110
Potential violation of Law of Demeter (object not created locally)110
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 (method chain calls)126
Potential violation of Law of Demeter (method chain calls)126
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 (object not created locally)132
Potential violation of Law of Demeter (object not created locally)133
Potential violation of Law of Demeter (method chain calls)133
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)139
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)143
Potential violation of Law of Demeter (object not created locally)144
Potential violation of Law of Demeter (method chain calls)144
Potential violation of Law of Demeter (object not created locally)144
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 (object not created locally)147
Potential violation of Law of Demeter (object not created locally)162
Potential violation of Law of Demeter (method chain calls)163
Potential violation of Law of Demeter (object not created locally)163
Potential violation of Law of Demeter (object not created locally)172
Potential violation of Law of Demeter (method chain calls)173
Potential violation of Law of Demeter (object not created locally)174
Potential violation of Law of Demeter (object not created locally)178
Potential violation of Law of Demeter (method chain calls)178
Potential violation of Law of Demeter (method chain calls)178
Potential violation of Law of Demeter (object not created locally)179
Potential violation of Law of Demeter (object not created locally)183
Potential violation of Law of Demeter (method chain calls)184
Potential violation of Law of Demeter (method chain calls)185
Potential violation of Law of Demeter (method chain calls)185
Potential violation of Law of Demeter (method chain calls)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)185
Potential violation of Law of Demeter (method chain calls)185
Potential violation of Law of Demeter (object not created locally)186
Potential violation of Law of Demeter (method chain calls)203
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)222
Potential violation of Law of Demeter (method chain calls)222
Potential violation of Law of Demeter (method chain calls)222
Potential violation of Law of Demeter (object not created locally)224
Potential violation of Law of Demeter (method chain calls)225
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)230
Potential violation of Law of Demeter (object not created locally)233
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 (object not created locally)238
Potential violation of Law of Demeter (method chain calls)238
Potential violation of Law of Demeter (object not created locally)238
Potential violation of Law of Demeter (object not created locally)239
Potential violation of Law of Demeter (object not created locally)245
Potential violation of Law of Demeter (method chain calls)245
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)251
Potential violation of Law of Demeter (object not created locally)253
Potential violation of Law of Demeter (object not created locally)258
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
Potential violation of Law of Demeter (object not created locally)267
Potential violation of Law of Demeter (object not created locally)276
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)277
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)283
Potential violation of Law of Demeter (method chain calls)283
Potential violation of Law of Demeter (method chain calls)284
Potential violation of Law of Demeter (method chain calls)284
Potential violation of Law of Demeter (method chain calls)284
Potential violation of Law of Demeter (method chain calls)284
Potential violation of Law of Demeter (method chain calls)284
Potential violation of Law of Demeter (method chain calls)284
Potential violation of Law of Demeter (object not created locally)289
Potential violation of Law of Demeter (method chain calls)290
Potential violation of Law of Demeter (object not created locally)290

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

ViolationLine
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)100
Potential violation of Law of Demeter (method chain calls)116
Potential violation of Law of Demeter (method chain calls)124
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 (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)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 (object not created locally)217
Potential violation of Law of Demeter (method chain calls)217
Potential violation of Law of Demeter (method chain calls)224
Potential violation of Law of Demeter (method chain calls)233

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

ViolationLine
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

ViolationLine
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 (method chain calls)45
Potential violation of Law of Demeter (object not created locally)46
Potential violation of Law of Demeter (method chain calls)67
Potential violation of Law of Demeter (static property access)67
Potential violation of Law of Demeter (object not created locally)72
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 (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 (object not created locally)88
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 (method chain calls)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 (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
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

ViolationLine
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

ViolationLine
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
Potential violation of Law of Demeter (object not created locally)78

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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)121
Potential violation of Law of Demeter (method chain calls)139
Potential violation of Law of Demeter (object not created locally)219
Potential violation of Law of Demeter (method chain calls)272

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

ViolationLine
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/SourceFileScope.java

ViolationLine
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 (method chain calls)60
Potential violation of Law of Demeter (method chain calls)60

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

ViolationLine
Avoid modifiers which are implied by the context9
Avoid modifiers which are implied by the context11

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

ViolationLine
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
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)53
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)56
Potential violation of Law of Demeter (method chain calls)56
Avoid using if...else statements without curly braces58
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)73
Potential violation of Law of Demeter (method chain calls)81
Potential violation of Law of Demeter (static property access)90
Potential violation of Law of Demeter (method chain calls)90
Potential violation of Law of Demeter (method chain calls)95

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

ViolationLine
Possible God class (WMC=140, ATFD=72, TCC=0.0)72 - 749
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
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 (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
Potential violation of Law of Demeter (method chain calls)412
Potential violation of Law of Demeter (object not created locally)483
Potential violation of Law of Demeter (object not created locally)483
Potential violation of Law of Demeter (object not created locally)495
Potential violation of Law of Demeter (object not created locally)495
Potential violation of Law of Demeter (object not created locally)497
Potential violation of Law of Demeter (object not created locally)497
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)583
Potential violation of Law of Demeter (method chain calls)583
Potential violation of Law of Demeter (object not created locally)593
Potential violation of Law of Demeter (object not created locally)594
Potential violation of Law of Demeter (method chain calls)596
Potential violation of Law of Demeter (method chain calls)598
Potential violation of Law of Demeter (method chain calls)598
Potential violation of Law of Demeter (object not created locally)598
Potential violation of Law of Demeter (object not created locally)598
Potential violation of Law of Demeter (object not created locally)599
Potential violation of Law of Demeter (method chain calls)599
Potential violation of Law of Demeter (method chain calls)602
Potential violation of Law of Demeter (method chain calls)602
Potential violation of Law of Demeter (object not created locally)614
Potential violation of Law of Demeter (object not created locally)615
Potential violation of Law of Demeter (object not created locally)616
Potential violation of Law of Demeter (method chain calls)618
Potential violation of Law of Demeter (method chain calls)619
Potential violation of Law of Demeter (object not created locally)622
Potential violation of Law of Demeter (method chain calls)622
Potential violation of Law of Demeter (method chain calls)622
Potential violation of Law of Demeter (object not created locally)622
Potential violation of Law of Demeter (method chain calls)624
Potential violation of Law of Demeter (object not created locally)624
Potential violation of Law of Demeter (object not created locally)624
Potential violation of Law of Demeter (method chain calls)624
Potential violation of Law of Demeter (method chain calls)626
Potential violation of Law of Demeter (method chain calls)626
Potential violation of Law of Demeter (object not created locally)626
Potential violation of Law of Demeter (object not created locally)626
Potential violation of Law of Demeter (object not created locally)628
Potential violation of Law of Demeter (object not created locally)628
Potential violation of Law of Demeter (method chain calls)628
Potential violation of Law of Demeter (method chain calls)628
Potential violation of Law of Demeter (method chain calls)630
Potential violation of Law of Demeter (method chain calls)630
Potential violation of Law of Demeter (object not created locally)630
Potential violation of Law of Demeter (object not created locally)630
Potential violation of Law of Demeter (object not created locally)638
Potential violation of Law of Demeter (method chain calls)638
Potential violation of Law of Demeter (method chain calls)639
Potential violation of Law of Demeter (object not created locally)639
Potential violation of Law of Demeter (object not created locally)673
Potential violation of Law of Demeter (object not created locally)714
Potential violation of Law of Demeter (object not created locally)717
Potential violation of Law of Demeter (object not created locally)718
Potential violation of Law of Demeter (object not created locally)718
Potential violation of Law of Demeter (object not created locally)739
Potential violation of Law of Demeter (object not created locally)739

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

ViolationLine
A class which only has private constructors should be final31 - 93
Use equals() to compare object references.41
Avoid using if statements without curly braces41

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

ViolationLine
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

ViolationLine
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 (method chain calls)38
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)44
Potential violation of Law of Demeter (object not created locally)44
Potential violation of Law of Demeter (method chain calls)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 (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)61
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)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 (object not created locally)79
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 (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)83
Potential violation of Law of Demeter (method chain calls)94
Potential violation of Law of Demeter (method chain calls)97

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

ViolationLine
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

ViolationLine
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)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)74
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 - 121
Potential violation of Law of Demeter (method chain calls)120
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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)20 - 21
Potential violation of Law of Demeter (method chain calls)20

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

ViolationLine
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 (object not created locally)76
Potential violation of Law of Demeter (method chain calls)76
Potential violation of Law of Demeter (object not created locally)79

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

ViolationLine
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

ViolationLine
Useless parentheses.20
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

ViolationLine
Avoid using if statements without curly braces26 - 28
Avoid using if statements without curly braces40 - 42
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

ViolationLine
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/DuplicateJspImportsRule.java

ViolationLine
Potential violation of Law of Demeter (method chain calls)35

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

ViolationLine
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 (method chain calls)82 - 83
Potential violation of Law of Demeter (method chain calls)82 - 83
Potential violation of Law of Demeter (object not created locally)82 - 83

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

ViolationLine
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

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

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)54

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

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

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

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

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

ViolationLine
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

ViolationLine
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

ViolationLine
Useless parentheses.18
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

ViolationLine
Avoid modifiers which are implied by the context13
Avoid modifiers which are implied by the context16

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)39
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)73
Potential violation of Law of Demeter (method chain calls)88
Potential violation of Law of Demeter (method chain calls)102
Potential violation of Law of Demeter (method chain calls)116

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

ViolationLine
Useless parentheses.24

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

ViolationLine
Possible God class (WMC=84, ATFD=184, TCC=0.0)56 - 628
Potential violation of Law of Demeter (method chain calls)67
Potential violation of Law of Demeter (method chain calls)67
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
Potential violation of Law of Demeter (object not created locally)115
Potential violation of Law of Demeter (object not created locally)126
Potential violation of Law of Demeter (object not created locally)136
Potential violation of Law of Demeter (object not created locally)146
Potential violation of Law of Demeter (object not created locally)156
Potential violation of Law of Demeter (object not created locally)166
Potential violation of Law of Demeter (object not created locally)178
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
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
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
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
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
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
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 (method chain calls)289
Potential violation of Law of Demeter (method chain calls)289
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
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
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)336
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
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)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
Potential violation of Law of Demeter (object not created locally)359
Potential violation of Law of Demeter (object not created locally)359
Potential violation of Law of Demeter (method chain calls)362 - 365
Potential violation of Law of Demeter (method chain calls)362 - 365
Potential violation of Law of Demeter (method chain calls)362 - 365
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
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
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 (object not created locally)420
Potential violation of Law of Demeter (object not created locally)420
Potential violation of Law of Demeter (object not created locally)426
Potential violation of Law of Demeter (object not created locally)426
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
Substitute calls to size() == 0 (or size() != 0) 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
Potential violation of Law of Demeter (object not created locally)477
Potential violation of Law of Demeter (object not created locally)477
Potential violation of Law of Demeter (object not created locally)486
Potential violation of Law of Demeter (object not created locally)486
Potential violation of Law of Demeter (object not created locally)500
Potential violation of Law of Demeter (object not created locally)500
Potential violation of Law of Demeter (object not created locally)507
Potential violation of Law of Demeter (object not created locally)507
Potential violation of Law of Demeter (object not created locally)521
Potential violation of Law of Demeter (object not created locally)521
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
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
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
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
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
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)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)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 (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 (method chain calls)94
Potential violation of Law of Demeter (object not created locally)94
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)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 (object not created locally)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)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)131
Potential violation of Law of Demeter (object not created locally)131 - 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)134
Potential violation of Law of Demeter (object not created locally)134 - 135
Potential violation of Law of Demeter (object not created locally)149
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)158

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

ViolationLine
Possible God class (WMC=149, ATFD=16, TCC=0.06666666666666667)16 - 788
Avoid assignments in operands54
Potential violation of Law of Demeter (object not created locally)55
Avoid assignments in operands58
Potential violation of Law of Demeter (object not created locally)59
Avoid assignments in operands62
Potential violation of Law of Demeter (object not created locally)63
Avoid assignments in operands66
Potential violation of Law of Demeter (object not created locally)67
Avoid assignments in operands70
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

ViolationLine
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)49
Potential violation of Law of Demeter (method chain calls)51

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

ViolationLine
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)60
Potential violation of Law of Demeter (method chain calls)60 - 63
Potential violation of Law of Demeter (method chain calls)66 - 68
Potential violation of Law of Demeter (method chain calls)66
Potential violation of Law of Demeter (method chain calls)96
Potential violation of Law of Demeter (object not created locally)97

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

ViolationLine
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
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
Potential violation of Law of Demeter (object not created locally)257
Potential violation of Law of Demeter (object not created locally)262
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
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
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

ViolationLine
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
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
Useless parentheses.214
Potential violation of Law of Demeter (method chain calls)230
Useless parentheses.250
Potential violation of Law of Demeter (method chain calls)264
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)31

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

ViolationLine
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/plsql/rule/codesize/TooManyFieldsRule.java

ViolationLine
Avoid unused local variables such as 'fd'.54
Avoid unused local variables such as 'fd'.74

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)33 - 36
Potential violation of Law of Demeter (method chain calls)33 - 36
Potential violation of Law of Demeter (method chain calls)33 - 36
Potential violation of Law of Demeter (method chain calls)33 - 36
Potential violation of Law of Demeter (method chain calls)34
Potential violation of Law of Demeter (method chain calls)38 - 42
Potential violation of Law of Demeter (method chain calls)38 - 42
Potential violation of Law of Demeter (method chain calls)38 - 42
Potential violation of Law of Demeter (method chain calls)38
Potential violation of Law of Demeter (method chain calls)38 - 42
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)37

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

ViolationLine
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
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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)34
Potential violation of Law of Demeter (method chain calls)43
Potential violation of Law of Demeter (object not created locally)44
Avoid unused local variables such as 'p'.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 (method chain calls)63
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 (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 (method chain calls)108
Potential violation of Law of Demeter (object not created locally)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)126
Potential violation of Law of Demeter (method chain calls)126
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)127
Potential violation of Law of Demeter (object not created locally)130
Potential violation of Law of Demeter (method chain calls)147 - 150
Potential violation of Law of Demeter (method chain calls)148

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

ViolationLine
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)64
Potential violation of Law of Demeter (method chain calls)68

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

ViolationLine
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
Potential violation of Law of Demeter (object not created locally)73

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

ViolationLine
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
Potential violation of Law of Demeter (method chain calls)42 - 45
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

ViolationLine
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
Potential violation of Law of Demeter (method chain calls)239

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

ViolationLine
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
Potential violation of Law of Demeter (method chain calls)290
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
Potential violation of Law of Demeter (object not created locally)305
Potential violation of Law of Demeter (method chain calls)328
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
Potential violation of Law of Demeter (object not created locally)343
Potential violation of Law of Demeter (method chain calls)371

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

ViolationLine
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

ViolationLine
No need to import a type that lives in the same package7
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)22
Potential violation of Law of Demeter (method chain calls)26 - 29
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)53
Potential violation of Law of Demeter (method chain calls)55
Potential violation of Law of Demeter (method chain calls)71 - 73

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

ViolationLine
Possible God class (WMC=49, ATFD=34, TCC=8.865248226950354E-4)23 - 228

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

ViolationLine
Possible God class (WMC=58, ATFD=25, TCC=0.05204872646733112)25 - 447
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)327
Potential violation of Law of Demeter (method chain calls)358 - 359
Potential violation of Law of Demeter (method chain calls)358 - 359
Potential violation of Law of Demeter (method chain calls)358 - 359
Potential violation of Law of Demeter (object not created locally)358 - 359
Potential violation of Law of Demeter (method chain calls)358 - 359
Potential violation of Law of Demeter (method chain calls)376 - 377
Potential violation of Law of Demeter (method chain calls)376 - 377
Potential violation of Law of Demeter (object not created locally)376 - 377
Potential violation of Law of Demeter (method chain calls)376 - 377
Potential violation of Law of Demeter (method chain calls)376 - 377
Potential violation of Law of Demeter (method chain calls)385 - 386
Potential violation of Law of Demeter (object not created locally)385 - 386
Potential violation of Law of Demeter (method chain calls)385 - 386
Potential violation of Law of Demeter (method chain calls)385 - 386
Potential violation of Law of Demeter (method chain calls)394 - 396
Potential violation of Law of Demeter (method chain calls)394 - 396
Potential violation of Law of Demeter (object not created locally)394 - 396
Potential violation of Law of Demeter (method chain calls)394 - 396
Potential violation of Law of Demeter (method chain calls)404 - 405
Potential violation of Law of Demeter (method chain calls)404 - 405
Potential violation of Law of Demeter (method chain calls)404 - 405
Potential violation of Law of Demeter (object not created locally)404 - 405
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 (method chain calls)444
Potential violation of Law of Demeter (method chain calls)445
Potential violation of Law of Demeter (object not created locally)445

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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)34
Potential violation of Law of Demeter (method chain calls)41 - 43

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

ViolationLine
Avoid using if statements without curly braces74
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
Potential violation of Law of Demeter (method chain calls)97
Potential violation of Law of Demeter (method chain calls)99
Potential violation of Law of Demeter (method chain calls)101
Potential violation of Law of Demeter (method chain calls)103

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

ViolationLine
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 braces304

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)104

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)40

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)105

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

ViolationLine
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
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 (method chain calls)97

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

ViolationLine
Variables that are final and static should be all capitals, 'packagedFieldTypesByKey' is not all capitals.29
Potential violation of Law of Demeter (method chain calls)75
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)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 (object not created locally)111
Potential violation of Law of Demeter (method chain calls)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

ViolationLine
Possible God class (WMC=65, ATFD=6, TCC=0.0291005291005291)21 - 392
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)184
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)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

ViolationLine
Potential violation of Law of Demeter (method chain calls)62

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

ViolationLine
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)25

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

ViolationLine
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

ViolationLine
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

ViolationLine
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)115
Potential violation of Law of Demeter (method chain calls)119
Potential violation of Law of Demeter (method chain calls)119

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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
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 (method chain calls)113
Potential violation of Law of Demeter (object not created locally)113

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)84
Potential violation of Law of Demeter (method chain calls)101
Potential violation of Law of Demeter (method chain calls)105
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)114
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)24
Potential violation of Law of Demeter (method chain calls)24
Potential violation of Law of Demeter (method chain calls)24
Potential violation of Law of Demeter (object not created locally)24
Potential violation of Law of Demeter (object not created locally)25
Potential violation of Law of Demeter (object not created locally)28
Potential violation of Law of Demeter (method chain calls)38
Potential violation of Law of Demeter (method chain calls)40
Potential violation of Law of Demeter (method chain calls)43
Potential violation of Law of Demeter (method chain calls)45
Potential violation of Law of Demeter (method chain calls)50
Potential violation of Law of Demeter (method chain calls)53
Potential violation of Law of Demeter (method chain calls)57
Potential violation of Law of Demeter (method chain calls)60
Potential violation of Law of Demeter (method chain calls)64
Potential violation of Law of Demeter (method chain calls)67
Potential violation of Law of Demeter (method chain calls)71
Potential violation of Law of Demeter (method chain calls)74
Potential violation of Law of Demeter (method chain calls)80
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)86
Potential violation of Law of Demeter (method chain calls)89
Potential violation of Law of Demeter (method chain calls)91

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

ViolationLine
Potential violation of Law of Demeter (method chain calls)101

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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
Too many static imports may lead to messy code4 - 227
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

ViolationLine
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

ViolationLine
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
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

ViolationLine
Potential violation of Law of Demeter (method chain calls)69 - 70
Potential violation of Law of Demeter (method chain calls)69 - 70
Potential violation of Law of Demeter (method chain calls)69 - 70
Potential violation of Law of Demeter (method chain calls)69 - 70
Potential violation of Law of Demeter (method chain calls)69 - 70
Potential violation of Law of Demeter (method chain calls)69 - 70
Potential violation of Law of Demeter (object not created locally)77
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 (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)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
Potential violation of Law of Demeter (method chain calls)217
Potential violation of Law of Demeter (method chain calls)