Checkstyle Results

The following document contains the results of Checkstyle .

Summary

FilesInfosWarningsErrors
551171540

Files

FilesIWE
org/w3c/tidy/Clean.java 010
org/w3c/tidy/Configuration.java 9200
org/w3c/tidy/EncodingNameMapper.java 110
org/w3c/tidy/Lexer.java 420
org/w3c/tidy/Node.java 200
org/w3c/tidy/PPrint.java 51100
org/w3c/tidy/ParserImpl.java 7160
org/w3c/tidy/Report.java 120
org/w3c/tidy/StreamInImpl.java 020
org/w3c/tidy/StreamInJavaImpl.java 050
org/w3c/tidy/Tidy.java 3130
org/w3c/tidy/TidyUtils.java 100
org/w3c/tidy/ant/JTidyTask.java 120

org/w3c/tidy/Clean.java

ErrorLine
Warning File length is 2,401 lines (max allowed is 2,000). 1

org/w3c/tidy/Configuration.java

ErrorLine
Info Name 'ENCODING_NAMES' must match pattern '^[a-z][a-zA-Z0-9]*$'. 157
Info Static variable definition in wrong order. 175
Info Variable access definition in wrong order. 175
Info Static variable definition in wrong order. 180
Info Variable access definition in wrong order. 180
Info Static variable definition in wrong order. 185
Info Variable access definition in wrong order. 185
Info Static variable definition in wrong order. 190
Info Variable access definition in wrong order. 190
Info Static variable definition in wrong order. 195
Info Variable access definition in wrong order. 195
Info Static variable definition in wrong order. 201
Info Variable access definition in wrong order. 201
Info Static variable definition in wrong order. 206
Info Variable access definition in wrong order. 206
Info Static variable definition in wrong order. 212
Info Static variable definition in wrong order. 217
Info Variable access definition in wrong order. 315
Info Variable access definition in wrong order. 320
Info Variable access definition in wrong order. 325
Info Variable access definition in wrong order. 330
Info Variable access definition in wrong order. 335
Info Variable access definition in wrong order. 340
Info Variable access definition in wrong order. 346
Info Variable access definition in wrong order. 351
Info Variable access definition in wrong order. 356
Info Variable access definition in wrong order. 361
Info Variable access definition in wrong order. 366
Info Variable access definition in wrong order. 371
Info Variable access definition in wrong order. 376
Info Variable access definition in wrong order. 381
Info Variable access definition in wrong order. 386
Info Variable access definition in wrong order. 391
Info Variable access definition in wrong order. 396
Info Variable access definition in wrong order. 401
Info Variable access definition in wrong order. 406
Info Variable access definition in wrong order. 411
Info Variable access definition in wrong order. 416
Info Variable access definition in wrong order. 421
Info Variable access definition in wrong order. 426
Info Variable access definition in wrong order. 431
Info Variable access definition in wrong order. 436
Info Variable access definition in wrong order. 441
Info Variable access definition in wrong order. 446
Info Variable access definition in wrong order. 451
Info Variable access definition in wrong order. 456
Info Variable access definition in wrong order. 461
Info Variable access definition in wrong order. 466
Info Variable access definition in wrong order. 471
Info Variable access definition in wrong order. 476
Info Variable access definition in wrong order. 481
Info Variable access definition in wrong order. 486
Info Variable access definition in wrong order. 491
Info Variable access definition in wrong order. 496
Info Variable access definition in wrong order. 501
Info Variable access definition in wrong order. 506
Info Variable access definition in wrong order. 511
Info Variable access definition in wrong order. 516
Info Variable access definition in wrong order. 521
Info Variable access definition in wrong order. 526
Info Variable access definition in wrong order. 531
Info Variable access definition in wrong order. 536
Info Variable access definition in wrong order. 541
Info Variable access definition in wrong order. 546
Info Variable access definition in wrong order. 551
Info Variable access definition in wrong order. 556
Info Variable access definition in wrong order. 561
Info Variable access definition in wrong order. 566
Info Variable access definition in wrong order. 571
Info Variable access definition in wrong order. 576
Info Variable access definition in wrong order. 581
Info Variable access definition in wrong order. 586
Info Variable access definition in wrong order. 591
Info Variable access definition in wrong order. 596
Info Variable access definition in wrong order. 601
Info Variable access definition in wrong order. 606
Info Variable access definition in wrong order. 611
Info Variable access definition in wrong order. 616
Info Variable access definition in wrong order. 621
Info Variable access definition in wrong order. 626
Info Variable access definition in wrong order. 631
Info Variable access definition in wrong order. 636
Info Variable access definition in wrong order. 641
Info Variable access definition in wrong order. 646
Info Variable access definition in wrong order. 651
Info Variable access definition in wrong order. 656
Info Variable access definition in wrong order. 661
Info Variable access definition in wrong order. 666
Info Variable access definition in wrong order. 671
Info Variable access definition in wrong order. 676
Info Variable access definition in wrong order. 681
Info Variable access definition in wrong order. 706

org/w3c/tidy/EncodingNameMapper.java

ErrorLine
Warning Utility classes should not have a public or default constructor. 66
Info Executable statement count is 175 (max allowed is 100). 74

org/w3c/tidy/Lexer.java

ErrorLine
Warning File length is 4,060 lines (max allowed is 2,000). 1
Info Executable statement count is 373 (max allowed is 100). 1917
Info Method length is 706 lines (max allowed is 200). 1917
Info Executable statement count is 106 (max allowed is 100). 3212
Info Method length is 222 lines (max allowed is 200). 3212
Warning Expected an @return tag. 3826

org/w3c/tidy/Node.java

ErrorLine
Info Nested if-else depth is 4 (max allowed is 3). 826
Info Nested if-else depth is 4 (max allowed is 3). 835

org/w3c/tidy/PPrint.java

ErrorLine
Warning File length is 2,795 lines (max allowed is 2,000). 1
Warning Missing a Javadoc comment. 154
Warning Missing a Javadoc comment. 156
Warning Missing a Javadoc comment. 158
Warning Missing a Javadoc comment. 160
Warning Missing a Javadoc comment. 162
Warning Missing a Javadoc comment. 164
Warning Missing a Javadoc comment. 176
Warning Expected an @return tag. 196
Warning Expected @param tag for 'ind'. 196
Warning Expected an @return tag. 257
Warning Expected @param tag for 'buf'. 257
Warning Expected @param tag for 'start'. 257
Warning Expected @param tag for 'c'. 257
Warning Missing a Javadoc comment. 276
Warning Expected @param tag for 'fout'. 346
Warning Expected @param tag for 'indent'. 346
Warning Expected @param tag for 'fout'. 410
Warning Expected @param tag for 'indent'. 410
Warning Expected @param tag for 'inString'. 410
Warning Expected @param tag for 'fout'. 469
Warning Expected @param tag for 'indent'. 469
Warning Expected @param tag for 'fout'. 504
Warning Expected @param tag for 'indent'. 504
Info Executable statement count is 126 (max allowed is 100). 539
Info Method length is 341 lines (max allowed is 200). 539
Warning Expected @param tag for 'c'. 539
Warning Expected @param tag for 'mode'. 539
Warning Expected @param tag for 'fout'. 954
Warning Expected @param tag for 'mode'. 954
Warning Expected @param tag for 'indent'. 954
Warning Expected @param tag for 'textarray'. 954
Warning Expected @param tag for 'start'. 954
Warning Expected @param tag for 'end'. 954
Warning Expected @param tag for 'str'. 988
Warning Expected @param tag for 'fout'. 1003
Warning Expected @param tag for 'indent'. 1003
Warning Expected @param tag for 'value'. 1003
Warning Expected @param tag for 'delim'. 1003
Warning Expected @param tag for 'wrappable'. 1003
Warning Expected @param tag for 'fout'. 1170
Warning Expected @param tag for 'indent'. 1170
Warning Expected @param tag for 'node'. 1170
Warning Expected @param tag for 'attr'. 1170
Warning Expected @param tag for 'fout'. 1251
Warning Expected @param tag for 'indent'. 1251
Warning Expected @param tag for 'node'. 1251
Warning Expected @param tag for 'attr'. 1251
Warning Expected @param tag for 'lexer'. 1340
Warning Expected @param tag for 'fout'. 1340
Warning Expected @param tag for 'mode'. 1340
Warning Expected @param tag for 'indent'. 1340
Warning Expected @param tag for 'node'. 1340
Warning Expected @param tag for 'mode'. 1404
Warning Expected @param tag for 'indent'. 1404
Warning Expected @param tag for 'node'. 1404
Warning Expected @param tag for 'fout'. 1435
Warning Expected @param tag for 'indent'. 1435
Warning Expected @param tag for 'node'. 1435
Warning Expected @param tag for 'fout'. 1471
Warning Expected @param tag for 'indent'. 1471
Warning Expected @param tag for 'lexer'. 1471
Warning Expected @param tag for 'node'. 1471
Warning Expected @param tag for 'fout'. 1556
Warning Expected @param tag for 'indent'. 1556
Warning Expected @param tag for 'node'. 1556
Warning Expected @param tag for 'fout'. 1584
Warning Expected @param tag for 'indent'. 1584
Warning Expected @param tag for 'node'. 1584
Warning Expected @param tag for 'fout'. 1615
Warning Expected @param tag for 'indent'. 1615
Warning Expected @param tag for 'node'. 1615
Warning Expected @param tag for 'fout'. 1643
Warning Expected @param tag for 'indent'. 1643
Warning Expected @param tag for 'node'. 1643
Warning Expected @param tag for 'fout'. 1671
Warning Expected @param tag for 'indent'. 1671
Warning Expected @param tag for 'node'. 1671
Warning Expected @param tag for 'fout'. 1698
Warning Expected @param tag for 'indent'. 1698
Warning Expected @param tag for 'node'. 1698
Warning Expected @param tag for 'fout'. 1736
Warning Expected @param tag for 'indent'. 1736
Warning Expected @param tag for 'node'. 1736
Info Inner assignments should be avoided. 1798
Warning Expected @param tag for 'fout'. 1863
Warning Expected @param tag for 'mode'. 1863
Warning Expected @param tag for 'indent'. 1863
Warning Expected @param tag for 'lexer'. 1863
Warning Expected @param tag for 'node'. 1863
Warning Expected @param tag for 'fout'. 2047
Warning Expected @param tag for 'lexer'. 2047
Warning Expected @param tag for 'root'. 2047
Warning Expected @param tag for 'xml'. 2047
Info Method length is 236 lines (max allowed is 200). 2082
Warning Expected @param tag for 'fout'. 2082
Warning Expected @param tag for 'mode'. 2082
Warning Expected @param tag for 'indent'. 2082
Warning Expected @param tag for 'lexer'. 2082
Warning Expected @param tag for 'node'. 2082
Info Nested if-else depth is 4 (max allowed is 3). 2343
Warning Expected @param tag for 'fout'. 2379
Warning Expected @param tag for 'mode'. 2379
Warning Expected @param tag for 'indent'. 2379
Warning Expected @param tag for 'lexer'. 2379
Warning Expected @param tag for 'node'. 2379
Warning Expected @param tag for 'fout'. 2548
Warning Expected @param tag for 'indent'. 2548
Warning Expected @param tag for 'fout'. 2599
Warning Expected @param tag for 'mode'. 2599
Warning Expected @param tag for 'indent'. 2599
Warning Expected @param tag for 'lexer'. 2599
Warning Expected @param tag for 'lexer'. 2731
Warning Expected @param tag for 'root'. 2731
Warning Expected @param tag for 'duration'. 2731

org/w3c/tidy/ParserImpl.java

ErrorLine
Warning File length is 3,608 lines (max allowed is 2,000). 1
Warning Expected @param tag for 'lexer'. 179
Warning Expected @param tag for 'node'. 179
Warning Expected @param tag for 'mode'. 179
Warning Expected @param tag for 'lexer'. 212
Warning Expected @param tag for 'element'. 212
Warning Expected @param tag for 'node'. 212
Info Executable statement count is 104 (max allowed is 100). 701
Info Method length is 221 lines (max allowed is 200). 701
Info Executable statement count is 193 (max allowed is 100). 1069
Info Method length is 414 lines (max allowed is 200). 1069
Warning Missing a Javadoc comment. 1607
Info Executable statement count is 173 (max allowed is 100). 2012
Info Method length is 378 lines (max allowed is 200). 2012
Info Nested if-else depth is 4 (max allowed is 3). 2435
Warning Expected an @return tag. 3338
Warning Expected @param tag for 'lexer'. 3338
Warning Name 'XMLPreserveWhiteSpace' must match pattern '^[a-z][a-zA-Z0-9]*$'. 3414
Warning Expected @param tag for 'lexer'. 3462
Warning Expected @param tag for 'element'. 3462
Warning Expected @param tag for 'mode'. 3462
Warning Missing a Javadoc comment. 3532
Warning Expected @param tag for 'lexer'. 3602

org/w3c/tidy/Report.java

ErrorLine
Warning Unused private method 'printMessage'. 734
Warning Unused private method 'printMessage'. 759
Info Method length is 202 lines (max allowed is 200). 1208

org/w3c/tidy/StreamInImpl.java

ErrorLine
Warning Missing a Javadoc comment. 120
Warning Missing a Javadoc comment. 122

org/w3c/tidy/StreamInJavaImpl.java

ErrorLine
Warning Missing a Javadoc comment. 121
Warning Expected @param tag for 'stream'. 130
Warning Expected @param tag for 'encoding'. 130
Warning Expected @param tag for 'tabsize'. 130
Warning Expected @throws tag for 'UnsupportedEncodingException'. 130

org/w3c/tidy/Tidy.java

ErrorLine
Warning File length is 2,317 lines (max allowed is 2,000). 1
Warning Missing a Javadoc comment. 116
Warning Missing a Javadoc comment. 118
Warning Missing a Javadoc comment. 120
Warning Missing a Javadoc comment. 122
Warning Missing a Javadoc comment. 124
Warning Missing a Javadoc comment. 126
Info First sentence should end with a period. 163
Warning Missing a Javadoc comment. 172
Warning Missing a Javadoc comment. 207
Warning Missing a Javadoc comment. 221
Info Method length is 226 lines (max allowed is 200). 280
Info Nested if-else depth is 4 (max allowed is 3). 503
Warning Unused private method 'pprint'. 661
Warning Unused @param tag for 'trim-empty-elements'. 2120
Warning Expected @param tag for 'trimEmpty'. 2123

org/w3c/tidy/TidyUtils.java

ErrorLine
Info Method length is 209 lines (max allowed is 200). 272

org/w3c/tidy/ant/JTidyTask.java

ErrorLine
Warning Unused import - java.io.FileNotFoundException. 61
Info First sentence should end with a period. 263
Warning Expected @param tag for 'fileSet'. 267