Checkstyle Results
The following document contains the results of
Checkstyle
.
Summary
Files | Infos | Warnings | Errors |
55 | 117 | 154 | 0 |
Files
org/w3c/tidy/Clean.java
Error | Line |
| File length is 2,401 lines (max allowed is 2,000). |
1
|
org/w3c/tidy/Configuration.java
Error | Line |
| Name 'ENCODING_NAMES' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
157
|
| Static variable definition in wrong order. |
175
|
| Variable access definition in wrong order. |
175
|
| Static variable definition in wrong order. |
180
|
| Variable access definition in wrong order. |
180
|
| Static variable definition in wrong order. |
185
|
| Variable access definition in wrong order. |
185
|
| Static variable definition in wrong order. |
190
|
| Variable access definition in wrong order. |
190
|
| Static variable definition in wrong order. |
195
|
| Variable access definition in wrong order. |
195
|
| Static variable definition in wrong order. |
201
|
| Variable access definition in wrong order. |
201
|
| Static variable definition in wrong order. |
206
|
| Variable access definition in wrong order. |
206
|
| Static variable definition in wrong order. |
212
|
| Static variable definition in wrong order. |
217
|
| Variable access definition in wrong order. |
315
|
| Variable access definition in wrong order. |
320
|
| Variable access definition in wrong order. |
325
|
| Variable access definition in wrong order. |
330
|
| Variable access definition in wrong order. |
335
|
| Variable access definition in wrong order. |
340
|
| Variable access definition in wrong order. |
346
|
| Variable access definition in wrong order. |
351
|
| Variable access definition in wrong order. |
356
|
| Variable access definition in wrong order. |
361
|
| Variable access definition in wrong order. |
366
|
| Variable access definition in wrong order. |
371
|
| Variable access definition in wrong order. |
376
|
| Variable access definition in wrong order. |
381
|
| Variable access definition in wrong order. |
386
|
| Variable access definition in wrong order. |
391
|
| Variable access definition in wrong order. |
396
|
| Variable access definition in wrong order. |
401
|
| Variable access definition in wrong order. |
406
|
| Variable access definition in wrong order. |
411
|
| Variable access definition in wrong order. |
416
|
| Variable access definition in wrong order. |
421
|
| Variable access definition in wrong order. |
426
|
| Variable access definition in wrong order. |
431
|
| Variable access definition in wrong order. |
436
|
| Variable access definition in wrong order. |
441
|
| Variable access definition in wrong order. |
446
|
| Variable access definition in wrong order. |
451
|
| Variable access definition in wrong order. |
456
|
| Variable access definition in wrong order. |
461
|
| Variable access definition in wrong order. |
466
|
| Variable access definition in wrong order. |
471
|
| Variable access definition in wrong order. |
476
|
| Variable access definition in wrong order. |
481
|
| Variable access definition in wrong order. |
486
|
| Variable access definition in wrong order. |
491
|
| Variable access definition in wrong order. |
496
|
| Variable access definition in wrong order. |
501
|
| Variable access definition in wrong order. |
506
|
| Variable access definition in wrong order. |
511
|
| Variable access definition in wrong order. |
516
|
| Variable access definition in wrong order. |
521
|
| Variable access definition in wrong order. |
526
|
| Variable access definition in wrong order. |
531
|
| Variable access definition in wrong order. |
536
|
| Variable access definition in wrong order. |
541
|
| Variable access definition in wrong order. |
546
|
| Variable access definition in wrong order. |
551
|
| Variable access definition in wrong order. |
556
|
| Variable access definition in wrong order. |
561
|
| Variable access definition in wrong order. |
566
|
| Variable access definition in wrong order. |
571
|
| Variable access definition in wrong order. |
576
|
| Variable access definition in wrong order. |
581
|
| Variable access definition in wrong order. |
586
|
| Variable access definition in wrong order. |
591
|
| Variable access definition in wrong order. |
596
|
| Variable access definition in wrong order. |
601
|
| Variable access definition in wrong order. |
606
|
| Variable access definition in wrong order. |
611
|
| Variable access definition in wrong order. |
616
|
| Variable access definition in wrong order. |
621
|
| Variable access definition in wrong order. |
626
|
| Variable access definition in wrong order. |
631
|
| Variable access definition in wrong order. |
636
|
| Variable access definition in wrong order. |
641
|
| Variable access definition in wrong order. |
646
|
| Variable access definition in wrong order. |
651
|
| Variable access definition in wrong order. |
656
|
| Variable access definition in wrong order. |
661
|
| Variable access definition in wrong order. |
666
|
| Variable access definition in wrong order. |
671
|
| Variable access definition in wrong order. |
676
|
| Variable access definition in wrong order. |
681
|
| Variable access definition in wrong order. |
706
|
org/w3c/tidy/EncodingNameMapper.java
Error | Line |
| Utility classes should not have a public or default constructor. |
66
|
| Executable statement count is 175 (max allowed is 100). |
74
|
org/w3c/tidy/Lexer.java
Error | Line |
| File length is 4,060 lines (max allowed is 2,000). |
1
|
| Executable statement count is 373 (max allowed is 100). |
1917
|
| Method length is 706 lines (max allowed is 200). |
1917
|
| Executable statement count is 106 (max allowed is 100). |
3212
|
| Method length is 222 lines (max allowed is 200). |
3212
|
| Expected an @return tag. |
3826
|
org/w3c/tidy/Node.java
Error | Line |
| Nested if-else depth is 4 (max allowed is 3). |
826
|
| Nested if-else depth is 4 (max allowed is 3). |
835
|
org/w3c/tidy/PPrint.java
Error | Line |
| File length is 2,795 lines (max allowed is 2,000). |
1
|
| Missing a Javadoc comment. |
154
|
| Missing a Javadoc comment. |
156
|
| Missing a Javadoc comment. |
158
|
| Missing a Javadoc comment. |
160
|
| Missing a Javadoc comment. |
162
|
| Missing a Javadoc comment. |
164
|
| Missing a Javadoc comment. |
176
|
| Expected an @return tag. |
196
|
| Expected @param tag for 'ind'. |
196
|
| Expected an @return tag. |
257
|
| Expected @param tag for 'buf'. |
257
|
| Expected @param tag for 'start'. |
257
|
| Expected @param tag for 'c'. |
257
|
| Missing a Javadoc comment. |
276
|
| Expected @param tag for 'fout'. |
346
|
| Expected @param tag for 'indent'. |
346
|
| Expected @param tag for 'fout'. |
410
|
| Expected @param tag for 'indent'. |
410
|
| Expected @param tag for 'inString'. |
410
|
| Expected @param tag for 'fout'. |
469
|
| Expected @param tag for 'indent'. |
469
|
| Expected @param tag for 'fout'. |
504
|
| Expected @param tag for 'indent'. |
504
|
| Executable statement count is 126 (max allowed is 100). |
539
|
| Method length is 341 lines (max allowed is 200). |
539
|
| Expected @param tag for 'c'. |
539
|
| Expected @param tag for 'mode'. |
539
|
| Expected @param tag for 'fout'. |
954
|
| Expected @param tag for 'mode'. |
954
|
| Expected @param tag for 'indent'. |
954
|
| Expected @param tag for 'textarray'. |
954
|
| Expected @param tag for 'start'. |
954
|
| Expected @param tag for 'end'. |
954
|
| Expected @param tag for 'str'. |
988
|
| Expected @param tag for 'fout'. |
1003
|
| Expected @param tag for 'indent'. |
1003
|
| Expected @param tag for 'value'. |
1003
|
| Expected @param tag for 'delim'. |
1003
|
| Expected @param tag for 'wrappable'. |
1003
|
| Expected @param tag for 'fout'. |
1170
|
| Expected @param tag for 'indent'. |
1170
|
| Expected @param tag for 'node'. |
1170
|
| Expected @param tag for 'attr'. |
1170
|
| Expected @param tag for 'fout'. |
1251
|
| Expected @param tag for 'indent'. |
1251
|
| Expected @param tag for 'node'. |
1251
|
| Expected @param tag for 'attr'. |
1251
|
| Expected @param tag for 'lexer'. |
1340
|
| Expected @param tag for 'fout'. |
1340
|
| Expected @param tag for 'mode'. |
1340
|
| Expected @param tag for 'indent'. |
1340
|
| Expected @param tag for 'node'. |
1340
|
| Expected @param tag for 'mode'. |
1404
|
| Expected @param tag for 'indent'. |
1404
|
| Expected @param tag for 'node'. |
1404
|
| Expected @param tag for 'fout'. |
1435
|
| Expected @param tag for 'indent'. |
1435
|
| Expected @param tag for 'node'. |
1435
|
| Expected @param tag for 'fout'. |
1471
|
| Expected @param tag for 'indent'. |
1471
|
| Expected @param tag for 'lexer'. |
1471
|
| Expected @param tag for 'node'. |
1471
|
| Expected @param tag for 'fout'. |
1556
|
| Expected @param tag for 'indent'. |
1556
|
| Expected @param tag for 'node'. |
1556
|
| Expected @param tag for 'fout'. |
1584
|
| Expected @param tag for 'indent'. |
1584
|
| Expected @param tag for 'node'. |
1584
|
| Expected @param tag for 'fout'. |
1615
|
| Expected @param tag for 'indent'. |
1615
|
| Expected @param tag for 'node'. |
1615
|
| Expected @param tag for 'fout'. |
1643
|
| Expected @param tag for 'indent'. |
1643
|
| Expected @param tag for 'node'. |
1643
|
| Expected @param tag for 'fout'. |
1671
|
| Expected @param tag for 'indent'. |
1671
|
| Expected @param tag for 'node'. |
1671
|
| Expected @param tag for 'fout'. |
1698
|
| Expected @param tag for 'indent'. |
1698
|
| Expected @param tag for 'node'. |
1698
|
| Expected @param tag for 'fout'. |
1736
|
| Expected @param tag for 'indent'. |
1736
|
| Expected @param tag for 'node'. |
1736
|
| Inner assignments should be avoided. |
1798
|
| Expected @param tag for 'fout'. |
1863
|
| Expected @param tag for 'mode'. |
1863
|
| Expected @param tag for 'indent'. |
1863
|
| Expected @param tag for 'lexer'. |
1863
|
| Expected @param tag for 'node'. |
1863
|
| Expected @param tag for 'fout'. |
2047
|
| Expected @param tag for 'lexer'. |
2047
|
| Expected @param tag for 'root'. |
2047
|
| Expected @param tag for 'xml'. |
2047
|
| Method length is 236 lines (max allowed is 200). |
2082
|
| Expected @param tag for 'fout'. |
2082
|
| Expected @param tag for 'mode'. |
2082
|
| Expected @param tag for 'indent'. |
2082
|
| Expected @param tag for 'lexer'. |
2082
|
| Expected @param tag for 'node'. |
2082
|
| Nested if-else depth is 4 (max allowed is 3). |
2343
|
| Expected @param tag for 'fout'. |
2379
|
| Expected @param tag for 'mode'. |
2379
|
| Expected @param tag for 'indent'. |
2379
|
| Expected @param tag for 'lexer'. |
2379
|
| Expected @param tag for 'node'. |
2379
|
| Expected @param tag for 'fout'. |
2548
|
| Expected @param tag for 'indent'. |
2548
|
| Expected @param tag for 'fout'. |
2599
|
| Expected @param tag for 'mode'. |
2599
|
| Expected @param tag for 'indent'. |
2599
|
| Expected @param tag for 'lexer'. |
2599
|
| Expected @param tag for 'lexer'. |
2731
|
| Expected @param tag for 'root'. |
2731
|
| Expected @param tag for 'duration'. |
2731
|
org/w3c/tidy/ParserImpl.java
Error | Line |
| File length is 3,608 lines (max allowed is 2,000). |
1
|
| Expected @param tag for 'lexer'. |
179
|
| Expected @param tag for 'node'. |
179
|
| Expected @param tag for 'mode'. |
179
|
| Expected @param tag for 'lexer'. |
212
|
| Expected @param tag for 'element'. |
212
|
| Expected @param tag for 'node'. |
212
|
| Executable statement count is 104 (max allowed is 100). |
701
|
| Method length is 221 lines (max allowed is 200). |
701
|
| Executable statement count is 193 (max allowed is 100). |
1069
|
| Method length is 414 lines (max allowed is 200). |
1069
|
| Missing a Javadoc comment. |
1607
|
| Executable statement count is 173 (max allowed is 100). |
2012
|
| Method length is 378 lines (max allowed is 200). |
2012
|
| Nested if-else depth is 4 (max allowed is 3). |
2435
|
| Expected an @return tag. |
3338
|
| Expected @param tag for 'lexer'. |
3338
|
| Name 'XMLPreserveWhiteSpace' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
3414
|
| Expected @param tag for 'lexer'. |
3462
|
| Expected @param tag for 'element'. |
3462
|
| Expected @param tag for 'mode'. |
3462
|
| Missing a Javadoc comment. |
3532
|
| Expected @param tag for 'lexer'. |
3602
|
org/w3c/tidy/Report.java
Error | Line |
| Unused private method 'printMessage'. |
734
|
| Unused private method 'printMessage'. |
759
|
| Method length is 202 lines (max allowed is 200). |
1208
|
org/w3c/tidy/StreamInImpl.java
Error | Line |
| Missing a Javadoc comment. |
120
|
| Missing a Javadoc comment. |
122
|
org/w3c/tidy/StreamInJavaImpl.java
Error | Line |
| Missing a Javadoc comment. |
121
|
| Expected @param tag for 'stream'. |
130
|
| Expected @param tag for 'encoding'. |
130
|
| Expected @param tag for 'tabsize'. |
130
|
| Expected @throws tag for 'UnsupportedEncodingException'. |
130
|
org/w3c/tidy/Tidy.java
Error | Line |
| File length is 2,317 lines (max allowed is 2,000). |
1
|
| Missing a Javadoc comment. |
116
|
| Missing a Javadoc comment. |
118
|
| Missing a Javadoc comment. |
120
|
| Missing a Javadoc comment. |
122
|
| Missing a Javadoc comment. |
124
|
| Missing a Javadoc comment. |
126
|
| First sentence should end with a period. |
163
|
| Missing a Javadoc comment. |
172
|
| Missing a Javadoc comment. |
207
|
| Missing a Javadoc comment. |
221
|
| Method length is 226 lines (max allowed is 200). |
280
|
| Nested if-else depth is 4 (max allowed is 3). |
503
|
| Unused private method 'pprint'. |
661
|
| Unused @param tag for 'trim-empty-elements'. |
2120
|
| Expected @param tag for 'trimEmpty'. |
2123
|
org/w3c/tidy/TidyUtils.java
Error | Line |
| Method length is 209 lines (max allowed is 200). |
272
|
org/w3c/tidy/ant/JTidyTask.java
Error | Line |
| Unused import - java.io.FileNotFoundException. |
61
|
| First sentence should end with a period. |
263
|
| Expected @param tag for 'fileSet'. |
267
|