Checkstyle Results

The following document contains the results of Checkstyle .

Summary

FilesInfosWarningsErrors
24461610

Files

FilesIWE
org/w3c/tidy/servlet/RepositoryFactory.java 040
org/w3c/tidy/servlet/ResponseRecordRepository.java 050
org/w3c/tidy/servlet/TidyProcessor.java 2120
org/w3c/tidy/servlet/TidyServlet.java 9150
org/w3c/tidy/servlet/TidyServletHelper.java 070
org/w3c/tidy/servlet/data/DefaultRepositoryFactory.java 140
org/w3c/tidy/servlet/data/DefaultResponseRecord.java 0110
org/w3c/tidy/servlet/data/DefaultResponseRecordRepository.java 120
org/w3c/tidy/servlet/data/SessionRepositoryFactory.java 020
org/w3c/tidy/servlet/filter/BufferedServletOutputStream.java 3100
org/w3c/tidy/servlet/filter/BufferedServletResponse.java 6150
org/w3c/tidy/servlet/jsp/tagext/LinkTag.java 380
org/w3c/tidy/servlet/jsp/tagext/ReportTag.java 180
org/w3c/tidy/servlet/jsp/tagext/TidyTag.java 210
org/w3c/tidy/servlet/jsp/tagext/ValidationImageTag.java 100
org/w3c/tidy/servlet/properties/JTidyServletProperties.java 350
org/w3c/tidy/servlet/reports/Report.java 9320
org/w3c/tidy/servlet/util/HTMLEncode.java 5200

org/w3c/tidy/servlet/RepositoryFactory.java

ErrorLine
Warning Line is longer than 122 characters. 93
Warning Line is longer than 122 characters. 101
Warning Expected @param tag for 'key'. 101
Warning Expected @param tag for 'httpSession'. 101

org/w3c/tidy/servlet/ResponseRecordRepository.java

ErrorLine
Warning Expected @param tag for 'record'. 75
Warning Expected @param tag for 'key'. 81
Warning Expected @param tag for 'key'. 88
Warning Expected @param tag for 'sleep'. 88
Warning Expected @param tag for 'keyString'. 93

org/w3c/tidy/servlet/TidyProcessor.java

ErrorLine
Warning Missing a Javadoc comment. 95
Warning Missing a Javadoc comment. 97
Info First sentence should end with a period. 99
Warning Missing a Javadoc comment. 115
Warning Unused @param tag for 'request'. 124
Warning Unused @param tag for 'response'. 125
Warning Expected @param tag for 'httpSession'. 128
Warning Expected @param tag for 'httpServletRequest'. 129
Warning Expected @param tag for 'httpServletResponse'. 130
Warning Missing a Javadoc comment. 141
Warning Missing a Javadoc comment. 173
Warning Missing a Javadoc comment. 225
Info Catching 'Throwable' is not allowed. 262
Warning Missing a Javadoc comment. 327

org/w3c/tidy/servlet/TidyServlet.java

ErrorLine
Info Variable access definition in wrong order. 90
Info Variable access definition in wrong order. 95
Warning Missing a Javadoc comment. 97
Info Variable access definition in wrong order. 97
Warning Missing a Javadoc comment. 99
Info Variable access definition in wrong order. 99
Warning Missing a Javadoc comment. 101
Info Variable access definition in wrong order. 101
Warning Missing a Javadoc comment. 103
Info Variable access definition in wrong order. 103
Warning Missing a Javadoc comment. 105
Info Variable access definition in wrong order. 105
Warning Missing a Javadoc comment. 107
Info Variable access definition in wrong order. 107
Warning Missing a Javadoc comment. 109
Info Variable access definition in wrong order. 109
Warning Missing a Javadoc comment. 111
Warning Missing a Javadoc comment. 118
Warning Missing a Javadoc comment. 135
Warning Missing a Javadoc comment. 140
Warning Missing a Javadoc comment. 145
Warning Missing a Javadoc comment. 168
Warning Missing a Javadoc comment. 226
Warning Missing a Javadoc comment. 274

org/w3c/tidy/servlet/TidyServletHelper.java

ErrorLine
Warning Using the '.*' form of import should be avoided - java.io.*. 60
Warning Type Javadoc comment is missing an @version tag. 71
Warning Utility classes should not have a public or default constructor. 71
Warning Missing a Javadoc comment. 79
Warning Missing a Javadoc comment. 84
Warning Missing a Javadoc comment. 102
Warning '{' should be on a new line. 102

org/w3c/tidy/servlet/data/DefaultRepositoryFactory.java

ErrorLine
Warning Missing a Javadoc comment. 85
Info First sentence should end with a period. 102
Warning Expected @param tag for 'httpSession'. 116
Warning Expected @param tag for 'uri'. 125
Warning Conditional logic can be removed. 127

org/w3c/tidy/servlet/data/DefaultResponseRecord.java

ErrorLine
Warning Missing a Javadoc comment. 77
Warning Missing a Javadoc comment. 79
Warning Missing a Javadoc comment. 81
Warning Missing a Javadoc comment. 83
Warning Missing a Javadoc comment. 85
Warning Missing a Javadoc comment. 87
Warning Missing a Javadoc comment. 89
Warning Missing a Javadoc comment. 91
Warning Missing a Javadoc comment. 93
Warning Missing a Javadoc comment. 95
Warning Missing a Javadoc comment. 101

org/w3c/tidy/servlet/data/DefaultResponseRecordRepository.java

ErrorLine
Warning Missing a Javadoc comment. 74
Warning Missing a Javadoc comment. 76
Info First sentence should end with a period. 78

org/w3c/tidy/servlet/data/SessionRepositoryFactory.java

ErrorLine
Warning Missing a Javadoc comment. 80
Warning Expected @param tag for 'httpSession'. 95

org/w3c/tidy/servlet/filter/BufferedServletOutputStream.java

ErrorLine
Warning Missing a Javadoc comment. 94
Warning Missing a Javadoc comment. 96
Info Variable access definition in wrong order. 96
Info Static variable definition in wrong order. 101
Info Variable access definition in wrong order. 106
Warning Expected @param tag for 'httpServletResponse'. 117
Warning Expected @param tag for 'tidyProcessor'. 117
Warning Expected @param tag for 'httpServletResponse'. 129
Warning Expected @param tag for 'tidyProcessor'. 130
Warning Expected @param tag for 'origOutputStream'. 131
Warning Expected @throws tag for 'IOException'. 155
Warning Unused @param tag for 'Intended'. 218
Warning Expected @param tag for 'len'. 220

org/w3c/tidy/servlet/filter/BufferedServletResponse.java

ErrorLine
Info Variable access definition in wrong order. 89
Warning Variable 'stream' explicitly initialized to 'null' (default value for its type). 89
Info Variable access definition in wrong order. 96
Warning Variable 'writer' explicitly initialized to 'null' (default value for its type). 96
Info First sentence should end with a period. 98
Warning Variable 'tee' explicitly initialized to 'false' (default value for its type). 101
Warning Missing a Javadoc comment. 102
Info Variable access definition in wrong order. 102
Warning Variable 'binary' explicitly initialized to 'false' (default value for its type). 102
Warning Missing a Javadoc comment. 103
Warning Missing a Javadoc comment. 105
Info Variable access definition in wrong order. 105
Info Static variable definition in wrong order. 110
Warning Expected @param tag for 'httpServletResponse'. 116
Warning Expected @param tag for 'tidyProcessor'. 116
Warning Expected an @return tag. 127
Warning Unused @throws tag for 'IllegalStateException'. 146
Warning Expected an @return tag. 149
Warning Missing a Javadoc comment. 167
Warning Unused @throws tag for 'IllegalStateException'. 202
Warning Expected an @return tag. 205

org/w3c/tidy/servlet/jsp/tagext/LinkTag.java

ErrorLine
Info First sentence should end with a period. 76
Warning Missing a Javadoc comment. 90
Warning Missing a Javadoc comment. 92
Warning Missing a Javadoc comment. 94
Warning Missing a Javadoc comment. 96
Warning Missing a Javadoc comment. 98
Warning Missing a Javadoc comment. 100
Info Static variable definition in wrong order. 105
Warning Declaring variables, return values or parameters of type 'HashMap' is not allowed. 126
Info Name 'TRUE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 136
Warning Missing a Javadoc comment. 182

org/w3c/tidy/servlet/jsp/tagext/ReportTag.java

ErrorLine
Warning Missing a Javadoc comment. 81
Warning Missing a Javadoc comment. 83
Warning Variable 'result' explicitly initialized to 'false' (default value for its type). 83
Warning Missing a Javadoc comment. 85
Warning Missing a Javadoc comment. 87
Warning Variable 'wrapLen' explicitly initialized to '0' (default value for its type). 87
Warning Missing a Javadoc comment. 89
Warning Variable 'requestID' explicitly initialized to 'null' (default value for its type). 89
Info Static variable definition in wrong order. 94

org/w3c/tidy/servlet/jsp/tagext/TidyTag.java

ErrorLine
Info First sentence should end with a period. 83
Info Catching 'Exception' is not allowed. 155
Warning Expected @param tag for 'bypass'. 196

org/w3c/tidy/servlet/jsp/tagext/ValidationImageTag.java

ErrorLine
Info First sentence should end with a period. 100

org/w3c/tidy/servlet/properties/JTidyServletProperties.java

ErrorLine
Warning Class JTidyServletProperties should be declared as final. 75
Info First sentence should end with a period. 128
Info Static variable definition in wrong order. 136
Warning Missing a Javadoc comment. 138
Warning Missing a Javadoc comment. 144
Warning Missing a Javadoc comment. 171
Info Catching 'Throwable' is not allowed. 287
Warning Expected @param tag for 'httpSession'. 300

org/w3c/tidy/servlet/reports/Report.java

ErrorLine
Info First sentence should end with a period. 79
Info First sentence should end with a period. 87
Warning Missing a Javadoc comment. 92
Warning Missing a Javadoc comment. 94
Warning Missing a Javadoc comment. 96
Warning Missing a Javadoc comment. 98
Warning Variable 'printHtmlResult' explicitly initialized to 'false' (default value for its type). 98
Warning Missing a Javadoc comment. 100
Warning Variable 'wrapLen' explicitly initialized to '0' (default value for its type). 100
Info First sentence should end with a period. 102
Warning Missing a Javadoc comment. 107
Info Static variable definition in wrong order. 107
Warning Missing a Javadoc comment. 109
Info Static variable definition in wrong order. 109
Info First sentence should end with a period. 116
Info Variable access definition in wrong order. 119
Warning Missing a Javadoc comment. 121
Info Variable access definition in wrong order. 121
Warning Missing a Javadoc comment. 123
Warning Missing a Javadoc comment. 130
Warning Missing a Javadoc comment. 137
Warning Missing a Javadoc comment. 143
Warning Missing a Javadoc comment. 149
Warning Missing a Javadoc comment. 155
Warning Missing a Javadoc comment. 160
Warning Missing a Javadoc comment. 165
Warning Missing a Javadoc comment. 181
Warning Missing a Javadoc comment. 212
Warning Missing a Javadoc comment. 224
Warning Missing a Javadoc comment. 229
Warning Missing a Javadoc comment. 236
Info Executable statement count is 128 (max allowed is 100). 261
Warning Missing a Javadoc comment. 261
Warning Declaring variables, return values or parameters of type 'HashMap' is not allowed. 290
Warning Declaring variables, return values or parameters of type 'Vector' is not allowed. 293
Warning '{' should be on a new line. 450
Warning '}' should be alone on a line. 452
Warning '{' should be on a new line. 452
Warning Expected @param tag for 'str'. 515
Warning Expected @param tag for 'wrapLen'. 515
Warning Name 'identLine' must match pattern '^[A-Z0-9_]*$'. 517

org/w3c/tidy/servlet/util/HTMLEncode.java

ErrorLine
Warning Class HTMLEncode should be declared as final. 70
Info Catching 'Throwable' is not allowed. 87
Warning Missing a Javadoc comment. 101
Info Static variable definition in wrong order. 101
Warning Missing a Javadoc comment. 119
Info Static variable definition in wrong order. 119
Warning Declaring variables, return values or parameters of type 'Hashtable' is not allowed. 119
Warning Variable 'entityTableEncode' explicitly initialized to 'null' (default value for its type). 119
Warning Missing a Javadoc comment. 121
Warning Expected an @return tag. 137
Warning 'static' modifier out of order with the JLS suggestions. 137
Warning Expected @param tag for 's'. 137
Warning Expected an @return tag. 145
Warning 'static' modifier out of order with the JLS suggestions. 145
Warning Expected @param tag for 's'. 145
Warning Expected @param tag for 'cr'. 145
Info First sentence should end with a period. 187
Warning Expected an @return tag. 190
Warning Expected @param tag for 'ch'. 190
Info Catching 'Throwable' is not allowed. 213
Warning Missing a Javadoc comment. 224
Warning Missing a Javadoc comment. 229
Warning Missing a Javadoc comment. 234
Warning Missing a Javadoc comment. 239
Warning Missing a Javadoc comment. 272