PMD Results

The following document contains the results of PMD 4.2.2.

Files

javancss/Javancss.java

Violation Line
Avoid empty catch blocks 302 - 305
Avoid empty catch blocks 476 - 477
Avoid empty catch blocks 477 - 478
Avoid unused constructor parameters such as 'sRcsHeader_'. 593 - 595
Avoid empty catch blocks 635 - 637
Avoid empty catch blocks 651 - 653

javancss/XmlFormatter.java

Violation Line
Avoid unused method parameters such as 'javadocLnSum'. 65 - 181
Avoid unused method parameters such as 'multiLnSum'. 65 - 181
Avoid unused method parameters such as 'singleLnSum'. 65 - 181
Avoid unused method parameters such as 'lJVDCLSum'. 259 - 291
Avoid unused method parameters such as 'lMLSum'. 259 - 291
Avoid unused method parameters such as 'lSLSum'. 259 - 291
Avoid unused method parameters such as 'lJVDCLSum'. 348 - 378
Avoid unused method parameters such as 'lMLSum'. 348 - 378
Avoid unused method parameters such as 'lSLSum'. 348 - 378

javancss/parser/JavaCharStream.java

Violation Line
Avoid unused constructor parameters such as 'buffersize'. 460 - 464

javancss/parser/JavaParser.java

Violation Line
Avoid unused private fields such as '_localCases'. 45
Avoid unused private fields such as '_anonClassCount'. 55
An empty statement (semicolon) not part of a loop 275
An empty statement (semicolon) not part of a loop 281
An empty statement (semicolon) not part of a loop 308
An empty statement (semicolon) not part of a loop 334
An empty statement (semicolon) not part of a loop 365
An empty statement (semicolon) not part of a loop 393
An empty statement (semicolon) not part of a loop 429
An empty statement (semicolon) not part of a loop 435
An empty statement (semicolon) not part of a loop 451
An empty statement (semicolon) not part of a loop 500
An empty statement (semicolon) not part of a loop 541
An empty statement (semicolon) not part of a loop 556
An empty statement (semicolon) not part of a loop 630
An empty statement (semicolon) not part of a loop 636
An empty statement (semicolon) not part of a loop 652
An empty statement (semicolon) not part of a loop 766
An empty statement (semicolon) not part of a loop 778
An empty statement (semicolon) not part of a loop 784
An empty statement (semicolon) not part of a loop 798
An empty statement (semicolon) not part of a loop 804
An empty statement (semicolon) not part of a loop 813
Avoid unused local variables such as 'lastToken'. 826
Avoid unused local variables such as 'lastToken'. 849
An empty statement (semicolon) not part of a loop 896
An empty statement (semicolon) not part of a loop 925
An empty statement (semicolon) not part of a loop 931
An empty statement (semicolon) not part of a loop 953
An empty statement (semicolon) not part of a loop 1067
An empty statement (semicolon) not part of a loop 1092
An empty statement (semicolon) not part of a loop 1112
An empty statement (semicolon) not part of a loop 1156
An empty statement (semicolon) not part of a loop 1170
An empty statement (semicolon) not part of a loop 1202
An empty statement (semicolon) not part of a loop 1208
An empty statement (semicolon) not part of a loop 1222
An empty statement (semicolon) not part of a loop 1317
An empty statement (semicolon) not part of a loop 1323
An empty statement (semicolon) not part of a loop 1345
An empty statement (semicolon) not part of a loop 1428
An empty statement (semicolon) not part of a loop 1437
An empty statement (semicolon) not part of a loop 1470
Avoid unused local variables such as 'lastToken'. 1511
An empty statement (semicolon) not part of a loop 1591
An empty statement (semicolon) not part of a loop 1657
An empty statement (semicolon) not part of a loop 1671
An empty statement (semicolon) not part of a loop 1693
An empty statement (semicolon) not part of a loop 1715
An empty statement (semicolon) not part of a loop 1807
An empty statement (semicolon) not part of a loop 1817
An empty statement (semicolon) not part of a loop 1825
Avoid unused local variables such as 'oldSingle'. 1841
Avoid unused local variables such as 'oldMulti'. 1842
An empty statement (semicolon) not part of a loop 1857
An empty statement (semicolon) not part of a loop 1886
An empty statement (semicolon) not part of a loop 1959
An empty statement (semicolon) not part of a loop 1973
An empty statement (semicolon) not part of a loop 1994
An empty statement (semicolon) not part of a loop 2108
An empty statement (semicolon) not part of a loop 2151
An empty statement (semicolon) not part of a loop 2164
An empty statement (semicolon) not part of a loop 2179
An empty statement (semicolon) not part of a loop 2206
An empty statement (semicolon) not part of a loop 2252
An empty statement (semicolon) not part of a loop 2260
An empty statement (semicolon) not part of a loop 2278
An empty statement (semicolon) not part of a loop 2284
An empty statement (semicolon) not part of a loop 2289
An empty statement (semicolon) not part of a loop 2371
An empty statement (semicolon) not part of a loop 2454
An empty statement (semicolon) not part of a loop 2478
An empty statement (semicolon) not part of a loop 2551
An empty statement (semicolon) not part of a loop 2638
An empty statement (semicolon) not part of a loop 2668
An empty statement (semicolon) not part of a loop 2685
An empty statement (semicolon) not part of a loop 2691
An empty statement (semicolon) not part of a loop 2705
An empty statement (semicolon) not part of a loop 2820
An empty statement (semicolon) not part of a loop 2830
An empty statement (semicolon) not part of a loop 2848
An empty statement (semicolon) not part of a loop 2866
An empty statement (semicolon) not part of a loop 2883
An empty statement (semicolon) not part of a loop 2900
An empty statement (semicolon) not part of a loop 2918
An empty statement (semicolon) not part of a loop 2949
An empty statement (semicolon) not part of a loop 2962
An empty statement (semicolon) not part of a loop 2995
An empty statement (semicolon) not part of a loop 3012
An empty statement (semicolon) not part of a loop 3031
An empty statement (semicolon) not part of a loop 3061
An empty statement (semicolon) not part of a loop 3283
An empty statement (semicolon) not part of a loop 3313
An empty statement (semicolon) not part of a loop 3344
An empty statement (semicolon) not part of a loop 3371
An empty statement (semicolon) not part of a loop 3380
An empty statement (semicolon) not part of a loop 3393
An empty statement (semicolon) not part of a loop 3402
An empty statement (semicolon) not part of a loop 3432
An empty statement (semicolon) not part of a loop 3560
An empty statement (semicolon) not part of a loop 3571
An empty statement (semicolon) not part of a loop 3608
Avoid unused local variables such as 'lastToken'. 3635
An empty statement (semicolon) not part of a loop 3648
An empty statement (semicolon) not part of a loop 3677
An empty statement (semicolon) not part of a loop 3685
An empty statement (semicolon) not part of a loop 3701
An empty statement (semicolon) not part of a loop 3831
An empty statement (semicolon) not part of a loop 3893
An empty statement (semicolon) not part of a loop 3989
An empty statement (semicolon) not part of a loop 4081
An empty statement (semicolon) not part of a loop 4103
An empty statement (semicolon) not part of a loop 4164
An empty statement (semicolon) not part of a loop 4214
An empty statement (semicolon) not part of a loop 4330
An empty statement (semicolon) not part of a loop 4367
An empty statement (semicolon) not part of a loop 4400
An empty statement (semicolon) not part of a loop 4460
An empty statement (semicolon) not part of a loop 4484
An empty statement (semicolon) not part of a loop 4499
An empty statement (semicolon) not part of a loop 4541
An empty statement (semicolon) not part of a loop 4575
An empty statement (semicolon) not part of a loop 4596
An empty statement (semicolon) not part of a loop 4644
An empty statement (semicolon) not part of a loop 4668
An empty statement (semicolon) not part of a loop 4769
An empty statement (semicolon) not part of a loop 4774
An empty statement (semicolon) not part of a loop 4787
An empty statement (semicolon) not part of a loop 4834
An empty statement (semicolon) not part of a loop 4884
An empty statement (semicolon) not part of a loop 4934
An empty statement (semicolon) not part of a loop 4997
Do not use if statements that are always true or always false 5078
An empty statement (semicolon) not part of a loop 5104
An empty statement (semicolon) not part of a loop 5112
An empty statement (semicolon) not part of a loop 5120
An empty statement (semicolon) not part of a loop 5148
Avoid unused local variables such as 'lastToken'. 5162
An empty statement (semicolon) not part of a loop 5195
An empty statement (semicolon) not part of a loop 5215
Do not use if statements that are always true or always false 5226
These nested if statements could be combined 5226
An empty statement (semicolon) not part of a loop 5236
Do not use if statements that are always true or always false 5246
These nested if statements could be combined 5246
An empty statement (semicolon) not part of a loop 5284
An empty statement (semicolon) not part of a loop 5317
An empty statement (semicolon) not part of a loop 5327
An empty statement (semicolon) not part of a loop 5335
An empty statement (semicolon) not part of a loop 5372
An empty statement (semicolon) not part of a loop 5383
An empty statement (semicolon) not part of a loop 5396
An empty statement (semicolon) not part of a loop 5411
An empty statement (semicolon) not part of a loop 5416
An empty statement (semicolon) not part of a loop 5426
Do not use if statements that are always true or always false 5437
These nested if statements could be combined 5437
An empty statement (semicolon) not part of a loop 5535
An empty statement (semicolon) not part of a loop 5543
An empty statement (semicolon) not part of a loop 5554
An empty statement (semicolon) not part of a loop 5571
An empty statement (semicolon) not part of a loop 5603
An empty statement (semicolon) not part of a loop 5630
An empty statement (semicolon) not part of a loop 5641
An empty statement (semicolon) not part of a loop 5681
An empty statement (semicolon) not part of a loop 5704
An empty statement (semicolon) not part of a loop 5744
An empty statement (semicolon) not part of a loop 5756
An empty statement (semicolon) not part of a loop 5770
Avoid empty catch blocks 10334

javancss/parser/JavaParserTokenManager.java

Violation Line
Avoid unused imports such as 'ccl.util.Util' 4
Avoid unused imports such as 'javancss.FunctionMetric' 5
Avoid unused imports such as 'javancss.ObjectMetric' 6
Avoid unused imports such as 'javancss.PackageMetric' 7
Do not start a literal by 0 unless it's an octal value 1227
Do not start a literal by 0 unless it's an octal value 1307
Do not start a literal by 0 unless it's an octal value 1309
Avoid unused method parameters such as 'active0'. 1353 - 1360
These nested if statements could be combined 1414 - 1415
Do not start a literal by 0 unless it's an octal value 1434
Avoid unused local variables such as 'l'. 1434
Avoid unused local variables such as 'i1'. 1446
Do not start a literal by 0 unless it's an octal value 1447
Avoid unused local variables such as 'l1'. 1447
Avoid unused local variables such as 'i2'. 1448
Do not start a literal by 0 unless it's an octal value 1449
Avoid unused local variables such as 'l2'. 1449
These nested if statements could be combined 1502 - 1503
Do not start a literal by 0 unless it's an octal value 1532
Avoid unused local variables such as 'l'. 1532
Do not start a literal by 0 unless it's an octal value 1550
Do not start a literal by 0 unless it's an octal value 1552
Avoid unused private fields such as 'lengthOfMatch'. 1827
Do not start a literal by 0 unless it's an octal value 1981
Do not start a literal by 0 unless it's an octal value 1989
Do not start a literal by 0 unless it's an octal value 1991
Avoid empty catch blocks 2018

javancss/parser/TokenMgrError.java

Violation Line
Overriding method merely calls super 117 - 119

javancss/parser/debug/JavaCharStream.java

Violation Line
Avoid unused constructor parameters such as 'buffersize'. 460 - 464

javancss/parser/debug/JavaParserDebug.java

Violation Line
Avoid unused private fields such as '_localCases'. 45
Avoid unused private fields such as '_anonClassCount'. 55
An empty statement (semicolon) not part of a loop 277
An empty statement (semicolon) not part of a loop 283
An empty statement (semicolon) not part of a loop 310
An empty statement (semicolon) not part of a loop 336
An empty statement (semicolon) not part of a loop 367
An empty statement (semicolon) not part of a loop 395
An empty statement (semicolon) not part of a loop 436
An empty statement (semicolon) not part of a loop 442
An empty statement (semicolon) not part of a loop 458
An empty statement (semicolon) not part of a loop 512
An empty statement (semicolon) not part of a loop 558
An empty statement (semicolon) not part of a loop 573
An empty statement (semicolon) not part of a loop 657
An empty statement (semicolon) not part of a loop 663
An empty statement (semicolon) not part of a loop 679
An empty statement (semicolon) not part of a loop 798
An empty statement (semicolon) not part of a loop 810
An empty statement (semicolon) not part of a loop 816
An empty statement (semicolon) not part of a loop 830
An empty statement (semicolon) not part of a loop 836
An empty statement (semicolon) not part of a loop 845
Avoid unused local variables such as 'lastToken'. 858
Avoid unused local variables such as 'lastToken'. 881
An empty statement (semicolon) not part of a loop 933
An empty statement (semicolon) not part of a loop 967
An empty statement (semicolon) not part of a loop 973
An empty statement (semicolon) not part of a loop 995
An empty statement (semicolon) not part of a loop 1114
An empty statement (semicolon) not part of a loop 1144
An empty statement (semicolon) not part of a loop 1164
An empty statement (semicolon) not part of a loop 1208
An empty statement (semicolon) not part of a loop 1222
An empty statement (semicolon) not part of a loop 1259
An empty statement (semicolon) not part of a loop 1265
An empty statement (semicolon) not part of a loop 1279
An empty statement (semicolon) not part of a loop 1379
An empty statement (semicolon) not part of a loop 1385
An empty statement (semicolon) not part of a loop 1407
An empty statement (semicolon) not part of a loop 1495
An empty statement (semicolon) not part of a loop 1504
An empty statement (semicolon) not part of a loop 1537
Avoid unused local variables such as 'lastToken'. 1578
An empty statement (semicolon) not part of a loop 1668
An empty statement (semicolon) not part of a loop 1734
An empty statement (semicolon) not part of a loop 1748
An empty statement (semicolon) not part of a loop 1775
An empty statement (semicolon) not part of a loop 1802
An empty statement (semicolon) not part of a loop 1904
An empty statement (semicolon) not part of a loop 1914
An empty statement (semicolon) not part of a loop 1922
Avoid unused local variables such as 'oldSingle'. 1943
Avoid unused local variables such as 'oldMulti'. 1944
An empty statement (semicolon) not part of a loop 1959
An empty statement (semicolon) not part of a loop 1988
An empty statement (semicolon) not part of a loop 2061
An empty statement (semicolon) not part of a loop 2075
An empty statement (semicolon) not part of a loop 2096
An empty statement (semicolon) not part of a loop 2215
An empty statement (semicolon) not part of a loop 2263
An empty statement (semicolon) not part of a loop 2276
An empty statement (semicolon) not part of a loop 2296
An empty statement (semicolon) not part of a loop 2328
An empty statement (semicolon) not part of a loop 2374
An empty statement (semicolon) not part of a loop 2382
An empty statement (semicolon) not part of a loop 2400
An empty statement (semicolon) not part of a loop 2406
An empty statement (semicolon) not part of a loop 2411
An empty statement (semicolon) not part of a loop 2493
An empty statement (semicolon) not part of a loop 2581
An empty statement (semicolon) not part of a loop 2610
An empty statement (semicolon) not part of a loop 2693
An empty statement (semicolon) not part of a loop 2795
An empty statement (semicolon) not part of a loop 2830
An empty statement (semicolon) not part of a loop 2852
An empty statement (semicolon) not part of a loop 2858
An empty statement (semicolon) not part of a loop 2872
An empty statement (semicolon) not part of a loop 3007
An empty statement (semicolon) not part of a loop 3022
An empty statement (semicolon) not part of a loop 3045
An empty statement (semicolon) not part of a loop 3068
An empty statement (semicolon) not part of a loop 3090
An empty statement (semicolon) not part of a loop 3112
An empty statement (semicolon) not part of a loop 3135
An empty statement (semicolon) not part of a loop 3171
An empty statement (semicolon) not part of a loop 3189
An empty statement (semicolon) not part of a loop 3227
An empty statement (semicolon) not part of a loop 3244
An empty statement (semicolon) not part of a loop 3268
An empty statement (semicolon) not part of a loop 3303
An empty statement (semicolon) not part of a loop 3555
An empty statement (semicolon) not part of a loop 3590
An empty statement (semicolon) not part of a loop 3631
An empty statement (semicolon) not part of a loop 3663
An empty statement (semicolon) not part of a loop 3672
An empty statement (semicolon) not part of a loop 3685
An empty statement (semicolon) not part of a loop 3694
An empty statement (semicolon) not part of a loop 3724
An empty statement (semicolon) not part of a loop 3877
An empty statement (semicolon) not part of a loop 3893
An empty statement (semicolon) not part of a loop 3935
Avoid unused local variables such as 'lastToken'. 3962
An empty statement (semicolon) not part of a loop 3975
An empty statement (semicolon) not part of a loop 4009
An empty statement (semicolon) not part of a loop 4017
An empty statement (semicolon) not part of a loop 4033
An empty statement (semicolon) not part of a loop 4183
An empty statement (semicolon) not part of a loop 4250
An empty statement (semicolon) not part of a loop 4356
An empty statement (semicolon) not part of a loop 4458
An empty statement (semicolon) not part of a loop 4485
An empty statement (semicolon) not part of a loop 4546
An empty statement (semicolon) not part of a loop 4606
An empty statement (semicolon) not part of a loop 4737
An empty statement (semicolon) not part of a loop 4774
An empty statement (semicolon) not part of a loop 4807
An empty statement (semicolon) not part of a loop 4877
An empty statement (semicolon) not part of a loop 4911
An empty statement (semicolon) not part of a loop 4931
An empty statement (semicolon) not part of a loop 4978
An empty statement (semicolon) not part of a loop 5027
An empty statement (semicolon) not part of a loop 5048
An empty statement (semicolon) not part of a loop 5111
An empty statement (semicolon) not part of a loop 5150
An empty statement (semicolon) not part of a loop 5266
An empty statement (semicolon) not part of a loop 5271
An empty statement (semicolon) not part of a loop 5284
An empty statement (semicolon) not part of a loop 5336
An empty statement (semicolon) not part of a loop 5396
An empty statement (semicolon) not part of a loop 5451
An empty statement (semicolon) not part of a loop 5524
Do not use if statements that are always true or always false 5605
An empty statement (semicolon) not part of a loop 5636
An empty statement (semicolon) not part of a loop 5644
An empty statement (semicolon) not part of a loop 5652
An empty statement (semicolon) not part of a loop 5685
Avoid unused local variables such as 'lastToken'. 5699
An empty statement (semicolon) not part of a loop 5737
An empty statement (semicolon) not part of a loop 5762
Do not use if statements that are always true or always false 5773
These nested if statements could be combined 5773
An empty statement (semicolon) not part of a loop 5788
Do not use if statements that are always true or always false 5798
These nested if statements could be combined 5798
An empty statement (semicolon) not part of a loop 5841
An empty statement (semicolon) not part of a loop 5879
An empty statement (semicolon) not part of a loop 5889
An empty statement (semicolon) not part of a loop 5897
An empty statement (semicolon) not part of a loop 5934
An empty statement (semicolon) not part of a loop 5945
An empty statement (semicolon) not part of a loop 5963
An empty statement (semicolon) not part of a loop 5983
An empty statement (semicolon) not part of a loop 5988
An empty statement (semicolon) not part of a loop 5998
Do not use if statements that are always true or always false 6014
These nested if statements could be combined 6014
An empty statement (semicolon) not part of a loop 6117
An empty statement (semicolon) not part of a loop 6125
An empty statement (semicolon) not part of a loop 6141
An empty statement (semicolon) not part of a loop 6163
An empty statement (semicolon) not part of a loop 6200
An empty statement (semicolon) not part of a loop 6232
An empty statement (semicolon) not part of a loop 6243
An empty statement (semicolon) not part of a loop 6293
An empty statement (semicolon) not part of a loop 6326
An empty statement (semicolon) not part of a loop 6371
An empty statement (semicolon) not part of a loop 6383
An empty statement (semicolon) not part of a loop 6402
Avoid unused private methods such as 'trace_scan(Token,int)'. 10933
Avoid empty catch blocks 11019

javancss/parser/debug/JavaParserDebugTokenManager.java

Violation Line
Avoid unused imports such as 'javancss.parser.JavaParserInterface' 3
Avoid unused imports such as 'ccl.util.Util' 5
Avoid unused imports such as 'javancss.FunctionMetric' 6
Avoid unused imports such as 'javancss.ObjectMetric' 7
Avoid unused imports such as 'javancss.PackageMetric' 8
Do not start a literal by 0 unless it's an octal value 1228
Do not start a literal by 0 unless it's an octal value 1308
Do not start a literal by 0 unless it's an octal value 1310
Avoid unused method parameters such as 'active0'. 1354 - 1361
These nested if statements could be combined 1415 - 1416
Do not start a literal by 0 unless it's an octal value 1435
Avoid unused local variables such as 'l'. 1435
Avoid unused local variables such as 'i1'. 1447
Do not start a literal by 0 unless it's an octal value 1448
Avoid unused local variables such as 'l1'. 1448
Avoid unused local variables such as 'i2'. 1449
Do not start a literal by 0 unless it's an octal value 1450
Avoid unused local variables such as 'l2'. 1450
These nested if statements could be combined 1503 - 1504
Do not start a literal by 0 unless it's an octal value 1533
Avoid unused local variables such as 'l'. 1533
Do not start a literal by 0 unless it's an octal value 1551
Do not start a literal by 0 unless it's an octal value 1553
Avoid unused private fields such as 'lengthOfMatch'. 1828
Do not start a literal by 0 unless it's an octal value 1982
Do not start a literal by 0 unless it's an octal value 1990
Do not start a literal by 0 unless it's an octal value 1992
Avoid empty catch blocks 2019

javancss/parser/debug/TokenMgrError.java

Violation Line
Overriding method merely calls super 117 - 119

javancss/parser/java15/JavaCharStream.java

Violation Line
Avoid unused constructor parameters such as 'buffersize'. 460 - 464

javancss/parser/java15/JavaParser15.java

Violation Line
Avoid unused imports such as 'javancss.FunctionMetric' 9
Avoid unused imports such as 'javancss.ObjectMetric' 10
Avoid unused private fields such as '_bReturn'. 18
Avoid unused private fields such as '_cyc'. 21
Avoid unused private fields such as '_localCases'. 22
Avoid unused private fields such as '_sName'. 23
Avoid unused private fields such as '_sParameter'. 24
Avoid unused private fields such as '_functions'. 28
Avoid unused private fields such as '_classes'. 30
Avoid unused private fields such as '_classLevel'. 31
Avoid unused private fields such as '_anonClassCount'. 32
Avoid unused private fields such as '_jvdcLines'. 34
Avoid unused private fields such as '_bPrivate'. 36
Avoid unused private fields such as '_bPublic'. 37
Avoid unused private fields such as '_javadocs'. 49
Avoid unused private fields such as '_pPackageMetric'. 60
Avoid unused private fields such as '_tmpToken'. 62
Avoid unused private fields such as '_tmpResultToken'. 64
Avoid unused private methods such as '_formatPackage(String)'. 66
An empty statement (semicolon) not part of a loop 271
An empty statement (semicolon) not part of a loop 277
An empty statement (semicolon) not part of a loop 303
An empty statement (semicolon) not part of a loop 315
An empty statement (semicolon) not part of a loop 322
An empty statement (semicolon) not part of a loop 352
An empty statement (semicolon) not part of a loop 358
An empty statement (semicolon) not part of a loop 373
An empty statement (semicolon) not part of a loop 419
An empty statement (semicolon) not part of a loop 428
An empty statement (semicolon) not part of a loop 443
Do not use if statements that are always true or always false 500
An empty statement (semicolon) not part of a loop 571
An empty statement (semicolon) not part of a loop 578
An empty statement (semicolon) not part of a loop 585
An empty statement (semicolon) not part of a loop 598
Do not use if statements that are always true or always false 608
These nested if statements could be combined 608
An empty statement (semicolon) not part of a loop 618
Do not use if statements that are always true or always false 627
These nested if statements could be combined 627
An empty statement (semicolon) not part of a loop 638
An empty statement (semicolon) not part of a loop 663
An empty statement (semicolon) not part of a loop 672
An empty statement (semicolon) not part of a loop 679
An empty statement (semicolon) not part of a loop 715
An empty statement (semicolon) not part of a loop 724
An empty statement (semicolon) not part of a loop 737
An empty statement (semicolon) not part of a loop 744
An empty statement (semicolon) not part of a loop 755
An empty statement (semicolon) not part of a loop 773
An empty statement (semicolon) not part of a loop 784
An empty statement (semicolon) not part of a loop 827
Avoid unused local variables such as 'isNestedInterface'. 838
Do not use if statements that are always true or always false 843
These nested if statements could be combined 843
An empty statement (semicolon) not part of a loop 925
An empty statement (semicolon) not part of a loop 944
An empty statement (semicolon) not part of a loop 954
An empty statement (semicolon) not part of a loop 1039
An empty statement (semicolon) not part of a loop 1048
An empty statement (semicolon) not part of a loop 1055
An empty statement (semicolon) not part of a loop 1066
An empty statement (semicolon) not part of a loop 1076
An empty statement (semicolon) not part of a loop 1098
An empty statement (semicolon) not part of a loop 1137
An empty statement (semicolon) not part of a loop 1147
An empty statement (semicolon) not part of a loop 1160
An empty statement (semicolon) not part of a loop 1171
An empty statement (semicolon) not part of a loop 1181
An empty statement (semicolon) not part of a loop 1187
An empty statement (semicolon) not part of a loop 1242
An empty statement (semicolon) not part of a loop 1257
An empty statement (semicolon) not part of a loop 1269
An empty statement (semicolon) not part of a loop 1276
An empty statement (semicolon) not part of a loop 1299
An empty statement (semicolon) not part of a loop 1345
An empty statement (semicolon) not part of a loop 1356
An empty statement (semicolon) not part of a loop 1375
An empty statement (semicolon) not part of a loop 1380
An empty statement (semicolon) not part of a loop 1389
An empty statement (semicolon) not part of a loop 1401
An empty statement (semicolon) not part of a loop 1433
An empty statement (semicolon) not part of a loop 1517
An empty statement (semicolon) not part of a loop 1532
An empty statement (semicolon) not part of a loop 1551
An empty statement (semicolon) not part of a loop 1609
An empty statement (semicolon) not part of a loop 1619
An empty statement (semicolon) not part of a loop 1635
An empty statement (semicolon) not part of a loop 1651
An empty statement (semicolon) not part of a loop 1667
An empty statement (semicolon) not part of a loop 1683
An empty statement (semicolon) not part of a loop 1700
An empty statement (semicolon) not part of a loop 1728
An empty statement (semicolon) not part of a loop 1741
An empty statement (semicolon) not part of a loop 1772
An empty statement (semicolon) not part of a loop 1801
An empty statement (semicolon) not part of a loop 1829
An empty statement (semicolon) not part of a loop 2048
An empty statement (semicolon) not part of a loop 2078
An empty statement (semicolon) not part of a loop 2109
An empty statement (semicolon) not part of a loop 2264
An empty statement (semicolon) not part of a loop 2275
An empty statement (semicolon) not part of a loop 2300
An empty statement (semicolon) not part of a loop 2313
An empty statement (semicolon) not part of a loop 2340
An empty statement (semicolon) not part of a loop 2348
An empty statement (semicolon) not part of a loop 2364
An empty statement (semicolon) not part of a loop 2471
An empty statement (semicolon) not part of a loop 2537
An empty statement (semicolon) not part of a loop 2611
An empty statement (semicolon) not part of a loop 2698
An empty statement (semicolon) not part of a loop 2718
An empty statement (semicolon) not part of a loop 2777
An empty statement (semicolon) not part of a loop 2817
An empty statement (semicolon) not part of a loop 2925
An empty statement (semicolon) not part of a loop 2959
An empty statement (semicolon) not part of a loop 2989
An empty statement (semicolon) not part of a loop 3044
An empty statement (semicolon) not part of a loop 3065
An empty statement (semicolon) not part of a loop 3077
An empty statement (semicolon) not part of a loop 3115
An empty statement (semicolon) not part of a loop 3141
An empty statement (semicolon) not part of a loop 3158
Avoid empty if statements 3167 - 3169
Avoid empty if statements 3180 - 3182
An empty statement (semicolon) not part of a loop 3217
An empty statement (semicolon) not part of a loop 3241
An empty statement (semicolon) not part of a loop 3306
An empty statement (semicolon) not part of a loop 3318
An empty statement (semicolon) not part of a loop 3361
An empty statement (semicolon) not part of a loop 3409

javancss/parser/java15/JavaParser15TokenManager.java

Violation Line
Avoid unused method parameters such as 'active2'. 10 - 137
Avoid unused private methods such as 'jjCheckNAddStates(int)'. 869
Avoid unused local variables such as 'j'. 1064
Do not start a literal by 0 unless it's an octal value 1390
Do not start a literal by 0 unless it's an octal value 1513
Do not start a literal by 0 unless it's an octal value 1515
Avoid unused local variables such as 'kind'. 1924
Do not start a literal by 0 unless it's an octal value 1987
Do not start a literal by 0 unless it's an octal value 1996
Do not start a literal by 0 unless it's an octal value 1998
Avoid empty catch blocks 2025

javancss/parser/java15/TokenMgrError.java

Violation Line
Overriding method merely calls super 117 - 119

javancss/parser/java15/debug/JavaCharStream.java

Violation Line
Avoid unused constructor parameters such as 'buffersize'. 460 - 464

javancss/parser/java15/debug/JavaParser15Debug.java

Violation Line
Avoid unused imports such as 'javancss.FunctionMetric' 9
Avoid unused imports such as 'javancss.ObjectMetric' 10
Avoid unused private fields such as '_bReturn'. 18
Avoid unused private fields such as '_cyc'. 21
Avoid unused private fields such as '_localCases'. 22
Avoid unused private fields such as '_sName'. 23
Avoid unused private fields such as '_sParameter'. 24
Avoid unused private fields such as '_functions'. 28
Avoid unused private fields such as '_classes'. 30
Avoid unused private fields such as '_classLevel'. 31
Avoid unused private fields such as '_anonClassCount'. 32
Avoid unused private fields such as '_jvdcLines'. 34
Avoid unused private fields such as '_bPrivate'. 36
Avoid unused private fields such as '_bPublic'. 37
Avoid unused private fields such as '_javadocs'. 49
Avoid unused private fields such as '_pPackageMetric'. 60
Avoid unused private fields such as '_tmpToken'. 62
Avoid unused private fields such as '_tmpResultToken'. 64
Avoid unused private methods such as '_formatPackage(String)'. 66
An empty statement (semicolon) not part of a loop 273
An empty statement (semicolon) not part of a loop 279
An empty statement (semicolon) not part of a loop 305
An empty statement (semicolon) not part of a loop 317
An empty statement (semicolon) not part of a loop 324
An empty statement (semicolon) not part of a loop 364
An empty statement (semicolon) not part of a loop 370
An empty statement (semicolon) not part of a loop 385
An empty statement (semicolon) not part of a loop 436
An empty statement (semicolon) not part of a loop 445
An empty statement (semicolon) not part of a loop 465
Do not use if statements that are always true or always false 522
An empty statement (semicolon) not part of a loop 603
An empty statement (semicolon) not part of a loop 610
An empty statement (semicolon) not part of a loop 617
An empty statement (semicolon) not part of a loop 635
Do not use if statements that are always true or always false 645
These nested if statements could be combined 645
An empty statement (semicolon) not part of a loop 660
Do not use if statements that are always true or always false 669
These nested if statements could be combined 669
An empty statement (semicolon) not part of a loop 685
An empty statement (semicolon) not part of a loop 715
An empty statement (semicolon) not part of a loop 724
An empty statement (semicolon) not part of a loop 731
An empty statement (semicolon) not part of a loop 767
An empty statement (semicolon) not part of a loop 776
An empty statement (semicolon) not part of a loop 794
An empty statement (semicolon) not part of a loop 801
An empty statement (semicolon) not part of a loop 817
An empty statement (semicolon) not part of a loop 840
An empty statement (semicolon) not part of a loop 856
An empty statement (semicolon) not part of a loop 904
Avoid unused local variables such as 'isNestedInterface'. 920
Do not use if statements that are always true or always false 925
These nested if statements could be combined 925
An empty statement (semicolon) not part of a loop 1012
An empty statement (semicolon) not part of a loop 1036
An empty statement (semicolon) not part of a loop 1051
An empty statement (semicolon) not part of a loop 1146
An empty statement (semicolon) not part of a loop 1155
An empty statement (semicolon) not part of a loop 1162
An empty statement (semicolon) not part of a loop 1178
An empty statement (semicolon) not part of a loop 1188
An empty statement (semicolon) not part of a loop 1215
An empty statement (semicolon) not part of a loop 1259
An empty statement (semicolon) not part of a loop 1269
An empty statement (semicolon) not part of a loop 1287
An empty statement (semicolon) not part of a loop 1303
An empty statement (semicolon) not part of a loop 1313
An empty statement (semicolon) not part of a loop 1319
An empty statement (semicolon) not part of a loop 1374
An empty statement (semicolon) not part of a loop 1394
An empty statement (semicolon) not part of a loop 1406
An empty statement (semicolon) not part of a loop 1413
An empty statement (semicolon) not part of a loop 1441
An empty statement (semicolon) not part of a loop 1497
An empty statement (semicolon) not part of a loop 1508
An empty statement (semicolon) not part of a loop 1532
An empty statement (semicolon) not part of a loop 1537
An empty statement (semicolon) not part of a loop 1546
An empty statement (semicolon) not part of a loop 1563
An empty statement (semicolon) not part of a loop 1600
An empty statement (semicolon) not part of a loop 1704
An empty statement (semicolon) not part of a loop 1724
An empty statement (semicolon) not part of a loop 1748
An empty statement (semicolon) not part of a loop 1816
An empty statement (semicolon) not part of a loop 1831
An empty statement (semicolon) not part of a loop 1852
An empty statement (semicolon) not part of a loop 1873
An empty statement (semicolon) not part of a loop 1894
An empty statement (semicolon) not part of a loop 1915
An empty statement (semicolon) not part of a loop 1937
An empty statement (semicolon) not part of a loop 1970
An empty statement (semicolon) not part of a loop 1988
An empty statement (semicolon) not part of a loop 2024
An empty statement (semicolon) not part of a loop 2058
An empty statement (semicolon) not part of a loop 2091
An empty statement (semicolon) not part of a loop 2340
An empty statement (semicolon) not part of a loop 2380
An empty statement (semicolon) not part of a loop 2421
An empty statement (semicolon) not part of a loop 2601
An empty statement (semicolon) not part of a loop 2617
An empty statement (semicolon) not part of a loop 2647
An empty statement (semicolon) not part of a loop 2660
An empty statement (semicolon) not part of a loop 2692
An empty statement (semicolon) not part of a loop 2700
An empty statement (semicolon) not part of a loop 2716
An empty statement (semicolon) not part of a loop 2833
An empty statement (semicolon) not part of a loop 2909
An empty statement (semicolon) not part of a loop 2993
An empty statement (semicolon) not part of a loop 3090
An empty statement (semicolon) not part of a loop 3115
An empty statement (semicolon) not part of a loop 3174
An empty statement (semicolon) not part of a loop 3224
An empty statement (semicolon) not part of a loop 3347
An empty statement (semicolon) not part of a loop 3381
An empty statement (semicolon) not part of a loop 3411
An empty statement (semicolon) not part of a loop 3476
An empty statement (semicolon) not part of a loop 3507
An empty statement (semicolon) not part of a loop 3524
An empty statement (semicolon) not part of a loop 3567
An empty statement (semicolon) not part of a loop 3608
An empty statement (semicolon) not part of a loop 3625
Avoid empty if statements 3639 - 3641
Avoid empty if statements 3657 - 3659
An empty statement (semicolon) not part of a loop 3704
An empty statement (semicolon) not part of a loop 3743
An empty statement (semicolon) not part of a loop 3823
An empty statement (semicolon) not part of a loop 3835
An empty statement (semicolon) not part of a loop 3888
An empty statement (semicolon) not part of a loop 3941
Avoid unused private methods such as 'trace_scan(Token,int)'. 6994

javancss/parser/java15/debug/JavaParser15DebugTokenManager.java

Violation Line
Avoid unused method parameters such as 'active2'. 10 - 137
Avoid unused private methods such as 'jjCheckNAddStates(int)'. 869
Avoid unused local variables such as 'j'. 1064
Do not start a literal by 0 unless it's an octal value 1390
Do not start a literal by 0 unless it's an octal value 1513
Do not start a literal by 0 unless it's an octal value 1515
Avoid unused local variables such as 'kind'. 1924
Do not start a literal by 0 unless it's an octal value 1987
Do not start a literal by 0 unless it's an octal value 1996
Do not start a literal by 0 unless it's an octal value 1998
Avoid empty catch blocks 2025

javancss/parser/java15/debug/TokenMgrError.java

Violation Line
Overriding method merely calls super 117 - 119