PMD Ergebnisse

Dieses Dokument enthält die Ergebnisse von PMD 5.2.3.

Dateien

jgloss/www/CookieTools.java

Verstoß Zeile
Possible God class (WMC=174, ATFD=37, TCC=0.0) 23–709
The class 'CookieTools' has a Standard Cyclomatic Complexity of 15 (Highest = 41). 43–709
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 43–709
The class 'CookieTools' has a Modified Cyclomatic Complexity of 14 (Highest = 36). 43–709
Variables that are final and static should be all capitals, 'parser' is not all capitals. 44
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 44
Variables that are final and static should be all capitals, 'expiresDateFormat1' is not all capitals. 50
Variables that are final and static should be all capitals, 'expiresDateFormat2' is not all capitals. 56
The method 'addRequestCookies' has a Standard Cyclomatic Complexity of 24. 68–187
Avoid really long methods. 68–187
The method 'addRequestCookies' has a Modified Cyclomatic Complexity of 24. 68–187
Potential violation of Law of Demeter (object not created locally) 71
Potential violation of Law of Demeter (object not created locally) 81
Potential violation of Law of Demeter (object not created locally) 82
Potential violation of Law of Demeter (object not created locally) 86
Prefer StringBuffer over += for concatenating strings 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) 93
Potential violation of Law of Demeter (object not created locally) 96
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 (object not created locally) 110
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) 122
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (object not created locally) 131
Potential violation of Law of Demeter (object not created locally) 132
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 140
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) 150
Potential violation of Law of Demeter (object not created locally) 151
Potential violation of Law of Demeter (object not created locally) 152
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (object not created locally) 153
Potential violation of Law of Demeter (object not created locally) 155
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) 159
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) 163
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) 172
Potential violation of Law of Demeter (object not created locally) 174
Potential violation of Law of Demeter (object not created locally) 179
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 181
Potential violation of Law of Demeter (object not created locally) 182
Avoid using Literals in Conditional Statements 183
The method 'addResponseCookies' has a Standard Cyclomatic Complexity of 31. 203–374
Avoid really long methods. 203–374
The method 'addResponseCookies' has a Modified Cyclomatic Complexity of 31. 203–374
Potential violation of Law of Demeter (object not created locally) 208
Potential violation of Law of Demeter (object not created locally) 209
Potential violation of Law of Demeter (object not created locally) 212
Potential violation of Law of Demeter (object not created locally) 213
Potential violation of Law of Demeter (object not created locally) 216
Potential violation of Law of Demeter (object not created locally) 219
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 231
Potential violation of Law of Demeter (object not created locally) 234
Position literals first in String comparisons for EqualsIgnoreCase 234
Potential violation of Law of Demeter (object not created locally) 236
Position literals first in String comparisons for EqualsIgnoreCase 236
Potential violation of Law of Demeter (object not created locally) 253
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) 260
Potential violation of Law of Demeter (object not created locally) 263
Potential violation of Law of Demeter (object not created locally) 267
Potential violation of Law of Demeter (object not created locally) 271
Potential violation of Law of Demeter (object not created locally) 274
Potential violation of Law of Demeter (object not created locally) 285
Potential violation of Law of Demeter (object not created locally) 285
Potential violation of Law of Demeter (method chain calls) 285
Potential violation of Law of Demeter (object not created locally) 294
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) 308
Prefer StringBuffer over += for concatenating strings 309
Potential violation of Law of Demeter (object not created locally) 320
Potential violation of Law of Demeter (object not created locally) 321
Potential violation of Law of Demeter (object not created locally) 321
Potential violation of Law of Demeter (object not created locally) 321
Potential violation of Law of Demeter (object not created locally) 323
Potential violation of Law of Demeter (object not created locally) 323
Potential violation of Law of Demeter (object not created locally) 330
Potential violation of Law of Demeter (object not created locally) 340
Static DateFormatter objects should be accessed in a synchronized manner 343
Potential violation of Law of Demeter (object not created locally) 344
Potential violation of Law of Demeter (object not created locally) 344
Static DateFormatter objects should be accessed in a synchronized manner 347
Potential violation of Law of Demeter (object not created locally) 348
Potential violation of Law of Demeter (object not created locally) 348
Potential violation of Law of Demeter (object not created locally) 350
Potential violation of Law of Demeter (object not created locally) 357
Potential violation of Law of Demeter (object not created locally) 362
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) 366
Potential violation of Law of Demeter (object not created locally) 367
Use opposite operator instead of the logic complement operator. 394
The method 'parseCookie' has a Standard Cyclomatic Complexity of 41. 455–641
The method parseCookie() has an NCSS line count of 135 455–641
Avoid really long methods. 455–641
The method 'parseCookie' has a Modified Cyclomatic Complexity of 36. 455–641
Avoid using final local variables, turn them into fields 460
Avoid using final local variables, turn them into fields 461
Avoid using final local variables, turn them into fields 462
Avoid using final local variables, turn them into fields 463
Avoid using final local variables, turn them into fields 464
Avoid using final local variables, turn them into fields 465
Switch statements should have a default label 483–637
A high ratio of statements to labels in a switch statement. Consider refactoring. 483–637
Avoid using Literals in Conditional Statements 495
Potential violation of Law of Demeter (object not created locally) 498
Potential violation of Law of Demeter (object not created locally) 499
Avoid using Literals in Conditional Statements 517
Avoid using Literals in Conditional Statements 536
Avoid using Literals in Conditional Statements 548
Potential violation of Law of Demeter (object not created locally) 549
Avoid using Literals in Conditional Statements 552
Potential violation of Law of Demeter (object not created locally) 567
Potential violation of Law of Demeter (object not created locally) 573
Avoid using Literals in Conditional Statements 576
Avoid using Literals in Conditional Statements 589
Potential violation of Law of Demeter (object not created locally) 593
Potential violation of Law of Demeter (object not created locally) 599
Potential violation of Law of Demeter (method chain calls) 600
Potential violation of Law of Demeter (object not created locally) 600
Potential violation of Law of Demeter (method chain calls) 605
Potential violation of Law of Demeter (object not created locally) 605
Potential violation of Law of Demeter (object not created locally) 605
Potential violation of Law of Demeter (method chain calls) 605
Potential violation of Law of Demeter (object not created locally) 607
Potential violation of Law of Demeter (object not created locally) 607
Potential violation of Law of Demeter (object not created locally) 608
Potential violation of Law of Demeter (object not created locally) 608
Potential violation of Law of Demeter (object not created locally) 630
Potential violation of Law of Demeter (object not created locally) 630
Potential violation of Law of Demeter (object not created locally) 631
Potential violation of Law of Demeter (object not created locally) 631
Avoid using Literals in Conditional Statements 633
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 643
Potential violation of Law of Demeter (object not created locally) 645
Potential violation of Law of Demeter (object not created locally) 646
Avoid using Literals in Conditional Statements 649
Potential violation of Law of Demeter (object not created locally) 649
Prefer StringBuffer over += for concatenating strings 650
Potential violation of Law of Demeter (object not created locally) 652
Potential violation of Law of Demeter (object not created locally) 656
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 659
Avoid using Literals in Conditional Statements 663
Avoid using Literals in Conditional Statements 678

jgloss/www/HTMLAnnotator.java

Verstoß Zeile
Possible God class (WMC=66, ATFD=16, TCC=0.0) 25–495
The class 'HTMLAnnotator' has a Modified Cyclomatic Complexity of 7 (Highest = 18). 48–495
The class 'HTMLAnnotator' has a Standard Cyclomatic Complexity of 7 (Highest = 20). 48–495
Possible unsafe assignment to a non-final static field in a constructor. 64
Avoid really long methods. 120–222
The method 'annotate' has a Modified Cyclomatic Complexity of 18. 120–222
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 120
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 120
The method 'annotate' has a Standard Cyclomatic Complexity of 20. 120–222
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (object not created locally) 140
Switch statements should have a default label 141–162
Avoid using Literals in Conditional Statements 143
Avoid using Literals in Conditional Statements 150
Avoid using Literals in Conditional Statements 157
Potential violation of Law of Demeter (object not created locally) 165
Potential violation of Law of Demeter (object not created locally) 165
Potential violation of Law of Demeter (method chain calls) 170
Potential violation of Law of Demeter (object not created locally) 172
Position literals first in String comparisons 172
Potential violation of Law of Demeter (object not created locally) 173
Position literals first in String comparisons 173
Position literals first in String comparisons 177
Potential violation of Law of Demeter (object not created locally) 177
Potential violation of Law of Demeter (object not created locally) 179
Position literals first in String comparisons 179
Potential violation of Law of Demeter (object not created locally) 181
Position literals first in String comparisons 181
Position literals first in String comparisons 183
Potential violation of Law of Demeter (object not created locally) 183
Position literals first in String comparisons 190
Potential violation of Law of Demeter (object not created locally) 190
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) 196
Potential violation of Law of Demeter (object not created locally) 204
Potential violation of Law of Demeter (object not created locally) 206
Potential violation of Law of Demeter (object not created locally) 206
Avoid using Literals in Conditional Statements 207
Potential violation of Law of Demeter (object not created locally) 212
Potential violation of Law of Demeter (object not created locally) 221
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 227
Potential violation of Law of Demeter (object not created locally) 244
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) 248
Potential violation of Law of Demeter (object not created locally) 252
Potential violation of Law of Demeter (object not created locally) 253
Potential violation of Law of Demeter (object not created locally) 256
Potential violation of Law of Demeter (object not created locally) 257
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) 275
Consider using varargs for methods or constructors which take an array the last parameter. 286
Switch statements should have a default label 352–358
The method 'rewriteURL' has a Modified Cyclomatic Complexity of 15. 395–459
The method 'rewriteURL' has a Standard Cyclomatic Complexity of 15. 395–459
Position literals first in String comparisons 398
Position literals first in String comparisons 398
Position literals first in String comparisons 398
Position literals first in String comparisons 400
Position literals first in String comparisons 400
Position literals first in String comparisons 402
Potential violation of Law of Demeter (object not created locally) 408
Potential violation of Law of Demeter (method chain calls) 408
Potential violation of Law of Demeter (object not created locally) 410
Potential violation of Law of Demeter (object not created locally) 412
Potential violation of Law of Demeter (object not created locally) 415
Avoid using Literals in Conditional Statements 415
Potential violation of Law of Demeter (object not created locally) 418
Potential violation of Law of Demeter (object not created locally) 421
Potential violation of Law of Demeter (object not created locally) 428
Potential violation of Law of Demeter (object not created locally) 429
Potential violation of Law of Demeter (object not created locally) 430
Potential violation of Law of Demeter (object not created locally) 435
Avoid using Literals in Conditional Statements 438
Position literals first in String comparisons 442
Potential violation of Law of Demeter (object not created locally) 445
Potential violation of Law of Demeter (object not created locally) 450
Potential violation of Law of Demeter (object not created locally) 452
StringBuffer constructor is initialized with size 16, but has at least 101 characters appended. 472
Potential violation of Law of Demeter (object not created locally) 479
Potential violation of Law of Demeter (object not created locally) 480
Potential violation of Law of Demeter (object not created locally) 481
Potential violation of Law of Demeter (object not created locally) 482
Potential violation of Law of Demeter (object not created locally) 483
Potential violation of Law of Demeter (object not created locally) 487
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 487
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 488
Potential violation of Law of Demeter (object not created locally) 488
Potential violation of Law of Demeter (object not created locally) 488
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. 489
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 489
Potential violation of Law of Demeter (object not created locally) 489
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 490
Potential violation of Law of Demeter (object not created locally) 490
Potential violation of Law of Demeter (object not created locally) 491
Potential violation of Law of Demeter (object not created locally) 493

jgloss/www/JGlossServlet.java

Verstoß Zeile
Possible God class (WMC=124, ATFD=106, TCC=0.09090909090909091) 25–894
The class 'JGlossServlet' has a Modified Cyclomatic Complexity of 9 (Highest = 33). 69–894
The class 'JGlossServlet' has a Standard Cyclomatic Complexity of 9 (Highest = 33). 69–894
Unnecessary use of fully qualified name 'jgloss.dictionary.Dictionary' due to existing import 'jgloss.dictionary.Dictionary' 133
Avoid unnecessary constructors - the compiler will generate these for you 182
The method 'init' has a Standard Cyclomatic Complexity of 25. 188–363
The method init() has an NCSS line count of 110 188–363
The method 'init' has a Modified Cyclomatic Complexity of 25. 188–363
Avoid really long methods. 188–363
Potential violation of Law of Demeter (object not created locally) 201
Potential violation of Law of Demeter (method chain calls) 203–204
Unnecessary use of fully qualified name 'jgloss.dictionary.Dictionary' due to existing import 'jgloss.dictionary.Dictionary' 208
Potential violation of Law of Demeter (method chain calls) 213–214
New exception is thrown in catch block, original stack trace may be lost 218–221
Potential violation of Law of Demeter (method chain calls) 219–220
Potential violation of Law of Demeter (object not created locally) 223
Potential violation of Law of Demeter (object not created locally) 225
Potential violation of Law of Demeter (object not created locally) 229
Potential violation of Law of Demeter (object not created locally) 239
Potential violation of Law of Demeter (method chain calls) 241–242
Potential violation of Law of Demeter (object not created locally) 249
Prefer StringBuffer over += for concatenating strings 250
Prefer StringBuffer over += for concatenating strings 252
Potential violation of Law of Demeter (object not created locally) 254
Potential violation of Law of Demeter (method chain calls) 257
Potential violation of Law of Demeter (object not created locally) 268
Prefer StringBuffer over += for concatenating strings 269
Prefer StringBuffer over += for concatenating strings 271
Potential violation of Law of Demeter (object not created locally) 273
Potential violation of Law of Demeter (method chain calls) 276
The String literal "referer" appears 4 times in this file; the first occurrence is on line 294 294
Potential violation of Law of Demeter (method chain calls) 319
Potential violation of Law of Demeter (object not created locally) 328
Prefer StringBuffer over += for concatenating strings 329
Prefer StringBuffer over += for concatenating strings 331
Potential violation of Law of Demeter (object not created locally) 333
Potential violation of Law of Demeter (method chain calls) 336
The String literal "true" appears 7 times in this file; the first occurrence is on line 339 339
Potential violation of Law of Demeter (method chain calls) 340
The String literal "disabled" appears 5 times in this file; the first occurrence is on line 340 340
The String literal "enabled" appears 5 times in this file; the first occurrence is on line 340 340
Potential violation of Law of Demeter (method chain calls) 343–344
Potential violation of Law of Demeter (method chain calls) 347–348
Potential violation of Law of Demeter (method chain calls) 351–352
Potential violation of Law of Demeter (method chain calls) 355
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 356
Potential violation of Law of Demeter (method chain calls) 358
Potential violation of Law of Demeter (method chain calls) 362
Avoid really long methods. 386–634
The method doGetPost() has an NCSS line count of 116 386–634
The method 'doGetPost' has a Modified Cyclomatic Complexity of 33. 386–634
The method 'doGetPost' has a Standard Cyclomatic Complexity of 33. 386–634
Potential violation of Law of Demeter (method chain calls) 409
Potential violation of Law of Demeter (method chain calls) 436
Potential violation of Law of Demeter (object not created locally) 439
Potential violation of Law of Demeter (method chain calls) 439
Potential violation of Law of Demeter (method chain calls) 439
Potential violation of Law of Demeter (method chain calls) 439
Potential violation of Law of Demeter (method chain calls) 442–443
Potential violation of Law of Demeter (object not created locally) 449
The String literal "https" appears 5 times in this file; the first occurrence is on line 451 451
Prefer StringBuffer over += for concatenating strings 452
The String literal "http" appears 4 times in this file; the first occurrence is on line 456 456
Prefer StringBuffer over += for concatenating strings 457
Potential violation of Law of Demeter (method chain calls) 468–469
Potential violation of Law of Demeter (object not created locally) 474
Potential violation of Law of Demeter (object not created locally) 475
Potential violation of Law of Demeter (method chain calls) 480–481
Potential violation of Law of Demeter (method chain calls) 483
Potential violation of Law of Demeter (object not created locally) 483
Potential violation of Law of Demeter (object not created locally) 486
Position literals first in String comparisons 486
Potential violation of Law of Demeter (object not created locally) 486
Position literals first in String comparisons 486
Potential violation of Law of Demeter (method chain calls) 497
Potential violation of Law of Demeter (object not created locally) 497
Potential violation of Law of Demeter (object not created locally) 502
Potential violation of Law of Demeter (object not created locally) 503
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 (object not created locally) 504
Potential violation of Law of Demeter (object not created locally) 506
Potential violation of Law of Demeter (object not created locally) 518
Potential violation of Law of Demeter (method chain calls) 521
Potential violation of Law of Demeter (method chain calls) 524
Potential violation of Law of Demeter (object not created locally) 527
Potential violation of Law of Demeter (method chain calls) 527
Potential violation of Law of Demeter (object not created locally) 530
Potential violation of Law of Demeter (object not created locally) 531
Potential violation of Law of Demeter (method chain calls) 535
Potential violation of Law of Demeter (object not created locally) 537
Potential violation of Law of Demeter (object not created locally) 544
Potential violation of Law of Demeter (method chain calls) 544
Potential violation of Law of Demeter (object not created locally) 550
Potential violation of Law of Demeter (method chain calls) 554–555
Potential violation of Law of Demeter (object not created locally) 556
Potential violation of Law of Demeter (object not created locally) 556
Potential violation of Law of Demeter (method chain calls) 561–562
Potential violation of Law of Demeter (object not created locally) 563
Potential violation of Law of Demeter (object not created locally) 563
Potential violation of Law of Demeter (method chain calls) 563
Potential violation of Law of Demeter (object not created locally) 564
Potential violation of Law of Demeter (object not created locally) 571
Potential violation of Law of Demeter (object not created locally) 574
Potential violation of Law of Demeter (object not created locally) 575
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) 585
Potential violation of Law of Demeter (method chain calls) 585
Potential violation of Law of Demeter (method chain calls) 594
Potential violation of Law of Demeter (method chain calls) 595
Avoid using Literals in Conditional Statements 597
Potential violation of Law of Demeter (object not created locally) 602
Potential violation of Law of Demeter (method chain calls) 602
Potential violation of Law of Demeter (object not created locally) 606
Potential violation of Law of Demeter (method chain calls) 607–608
Potential violation of Law of Demeter (method chain calls) 607–608
Potential violation of Law of Demeter (method chain calls) 608
Potential violation of Law of Demeter (object not created locally) 608
Potential violation of Law of Demeter (object not created locally) 613
Potential violation of Law of Demeter (object not created locally) 624
Potential violation of Law of Demeter (object not created locally) 625
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) 653
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) 659
Potential violation of Law of Demeter (object not created locally) 660
Potential violation of Law of Demeter (object not created locally) 682
The method 'forwardRequestHeaders' has a Modified Cyclomatic Complexity of 11. 695–751
The method 'forwardRequestHeaders' has a Standard Cyclomatic Complexity of 11. 695–751
The String literal "Via" appears 4 times in this file; the first occurrence is on line 696 696
Prefer StringBuffer over += for concatenating strings 700
Prefer StringBuffer over += for concatenating strings 702
Potential violation of Law of Demeter (method chain calls) 707
Potential violation of Law of Demeter (method chain calls) 707
Potential violation of Law of Demeter (method chain calls) 710
Potential violation of Law of Demeter (method chain calls) 713
Potential violation of Law of Demeter (object not created locally) 719
Potential violation of Law of Demeter (method chain calls) 722–723
Potential violation of Law of Demeter (object not created locally) 723
Potential violation of Law of Demeter (method chain calls) 723
Potential violation of Law of Demeter (method chain calls) 723
Potential violation of Law of Demeter (method chain calls) 729
Potential violation of Law of Demeter (method chain calls) 731
Potential violation of Law of Demeter (object not created locally) 736
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 (object not created locally) 740
Potential violation of Law of Demeter (object not created locally) 744
Potential violation of Law of Demeter (method chain calls) 747
The method 'forwardResponseHeaders' has a Modified Cyclomatic Complexity of 10. 753–812
The method 'forwardResponseHeaders' has a Standard Cyclomatic Complexity of 10. 753–812
Prefer StringBuffer over += for concatenating strings 759
Prefer StringBuffer over += for concatenating strings 761
Potential violation of Law of Demeter (method chain calls) 769
Potential violation of Law of Demeter (object not created locally) 770
Potential violation of Law of Demeter (method chain calls) 770
Potential violation of Law of Demeter (object not created locally) 771
Potential violation of Law of Demeter (object not created locally) 773
Potential violation of Law of Demeter (object not created locally) 776
Potential violation of Law of Demeter (object not created locally) 777
Potential violation of Law of Demeter (object not created locally) 777
Potential violation of Law of Demeter (object not created locally) 779
Potential violation of Law of Demeter (method chain calls) 779
Potential violation of Law of Demeter (method chain calls) 782
Potential violation of Law of Demeter (method chain calls) 786
Potential violation of Law of Demeter (method chain calls) 786
Potential violation of Law of Demeter (method chain calls) 790
Potential violation of Law of Demeter (method chain calls) 794
Potential violation of Law of Demeter (method chain calls) 797
Potential violation of Law of Demeter (object not created locally) 804
Potential violation of Law of Demeter (method chain calls) 806–807
Avoid using Literals in Conditional Statements 831
Potential violation of Law of Demeter (object not created locally) 842
Potential violation of Law of Demeter (object not created locally) 842
Potential violation of Law of Demeter (method chain calls) 842
Potential violation of Law of Demeter (object not created locally) 843
Potential violation of Law of Demeter (object not created locally) 843
Potential violation of Law of Demeter (object not created locally) 847
Potential violation of Law of Demeter (object not created locally) 851
Potential violation of Law of Demeter (object not created locally) 851
Potential violation of Law of Demeter (method chain calls) 851

jgloss/www/JGlossURLRewriter.java

Verstoß Zeile
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 88
Position literals first in String comparisons 98
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 121
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 125
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 130
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 162
Switch statements should have a default label 172–184
Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 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) 194
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 200
Avoid using Literals in Conditional Statements 203

jgloss/www/URLRewriter.java

Verstoß Zeile
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 38
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 48