Checkstyle Results
The following document contains the results of Checkstyle 8.29 with sun_checks.xml ruleset.
Summary
Files | ![]() |
![]() |
![]() |
---|---|---|---|
26 | 0 | 0 | 238 |
Files
Rules
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | NeedBraces | 1 | ![]() |
coding | MagicNumber | 11 | ![]() |
design | DesignForExtension | 2 | ![]() |
HideUtilityClassConstructor | 1 | ![]() | |
javadoc | JavadocMethod | 2 | ![]() |
JavadocPackage | 1 | ![]() | |
JavadocStyle | 1 | ![]() | |
JavadocVariable | 16 | ![]() | |
misc | FinalParameters | 37 | ![]() |
NewlineAtEndOfFile | 6 | ![]() | |
naming | ConstantName | 12 | ![]() |
LocalVariableName | 1 | ![]() | |
MethodName | 2 | ![]() | |
regexp | RegexpSingleline
|
85 | ![]() |
sizes | LineLength
|
50 | ![]() |
whitespace | NoWhitespaceAfter | 10 | ![]() |
Details
cli/src/test/resources/log4j.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 9 |
cli/target/test-classes/log4j.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 9 |
core/src/test/resources/log4j.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 19 |
core/target/test-classes/log4j.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 19 |
csvutils/src/test/resources/log4j.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 15 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 16 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 17 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 18 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 19 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 20 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 22 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 23 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 24 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 30 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 32 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 34 |
csvutils/target/test-classes/log4j.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 15 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 16 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 17 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 18 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 19 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 20 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 22 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 23 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 24 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 30 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 32 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 34 |
mime/src/test/resources/log4j.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 15 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 16 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 17 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 18 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 19 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 20 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 22 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 23 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 24 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 30 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 32 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 34 |
mime/target/test-classes/log4j.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 15 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 16 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 17 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 18 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 19 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 20 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 22 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 23 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 24 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 30 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 32 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 34 |
org/apache/any23/encoding/EncodingUtils.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 38 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 40 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 41 |
![]() |
javadoc | JavadocMethod | Expected @return tag. | 43 |
![]() |
naming | MethodName | Name 'iso_8859_1' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 43 |
![]() |
misc | FinalParameters | Parameter is should be final. | 43 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'is'. | 43 |
![]() |
coding | MagicNumber | '8192' is a magic number. | 44 |
![]() |
coding | MagicNumber | '8192' is a magic number. | 45 |
![]() |
coding | MagicNumber | '0xFF' is a magic number. | 49 |
![]() |
misc | FinalParameters | Parameter stats should be final. | 56 |
![]() |
misc | FinalParameters | Parameter charset should be final. | 56 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 97). | 63 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 107). | 67 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 76 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 91 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 107 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 124 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 139 |
![]() |
naming | MethodName | Name 'iso_8859_1_or_15' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 151 |
![]() |
misc | FinalParameters | Parameter stats should be final. | 151 |
![]() |
coding | MagicNumber | '0xa4' is a magic number. | 154 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 164 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 164 |
![]() |
naming | ConstantName | Name 'windows1252Illegals' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 164 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 164 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 165 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 165 |
![]() |
naming | ConstantName | Name 'windows1250Illegals' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 165 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 165 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 166 |
![]() |
naming | ConstantName | Name 'iso_8859_7Illegals' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 166 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 166 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 120). | 167 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 167 |
![]() |
naming | ConstantName | Name 'windows1253Illegals' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 167 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 167 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 120). | 170 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 170 |
![]() |
naming | ConstantName | Name 'windows1255Illegals' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 170 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 170 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 171 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 119). | 173 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 173 |
![]() |
naming | ConstantName | Name 'iso_8859_8Illegals' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 173 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 173 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 119). | 174 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 98). | 177 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 177 |
![]() |
naming | ConstantName | Name 'windows1254Illegals' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 177 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 177 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 179 |
![]() |
naming | ConstantName | Name 'windows1251Illegals' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 179 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 179 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 119). | 181 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 181 |
![]() |
naming | ConstantName | Name 'iso_8859_6Illegals' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 181 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 181 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 119). | 182 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 109). | 183 |
![]() |
misc | FinalParameters | Parameter stats should be final. | 185 |
![]() |
misc | FinalParameters | Parameter illegals should be final. | 185 |
![]() |
misc | FinalParameters | Parameter ts should be final. | 194 |
![]() |
coding | MagicNumber | '0x80' is a magic number. | 195 |
![]() |
coding | MagicNumber | '0xA0' is a magic number. | 195 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 205 |
![]() |
misc | FinalParameters | Parameter buffer should be final. | 208 |
![]() |
misc | FinalParameters | Parameter offset should be final. | 208 |
![]() |
misc | FinalParameters | Parameter length should be final. | 208 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 220 |
![]() |
misc | FinalParameters | Parameter stream should be final. | 222 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 223 |
![]() |
coding | MagicNumber | '8192' is a magic number. | 224 |
![]() |
misc | FinalParameters | Parameter charset should be final. | 232 |
![]() |
misc | FinalParameters | Parameter charset should be final. | 251 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 116). | 259 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 259 |
![]() |
naming | ConstantName | Name 'charsetMetas' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 259 |
![]() |
misc | FinalParameters | Parameter stats should be final. | 261 |
![]() |
misc | FinalParameters | Parameter root should be final. | 261 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 263 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 267 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 275 |
![]() |
naming | ConstantName | Name 'contentTypeCharsetPattern' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 275 |
![]() |
misc | FinalParameters | Parameter contentType should be final. | 278 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 279 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 292 |
![]() |
naming | ConstantName | Name 'xmlEncoding' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 292 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 104). | 293 |
![]() |
misc | FinalParameters | Parameter stats should be final. | 295 |
![]() |
misc | FinalParameters | Parameter str should be final. | 295 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 326 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 328 |
org/apache/any23/encoding/TikaEncodingDetector.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 108). | 46 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 51 |
![]() |
design | DesignForExtension | Class 'TikaEncodingDetector' looks like designed for extension (can be subclassed), but the method 'guessEncoding' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TikaEncodingDetector' final or making the method 'guessEncoding' static/final/abstract/empty, or adding allowed annotation for the method. | 56 |
![]() |
misc | FinalParameters | Parameter input should be final. | 57 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 61 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 62 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 63 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 65 |
![]() |
misc | FinalParameters | Parameter is should be final. | 65 |
![]() |
misc | FinalParameters | Parameter declared should be final. | 65 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 72 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 74 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 112). | 85 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 86 |
![]() |
naming | LocalVariableName | Name 'iso_8859_1' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 87 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 104 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 107). | 108 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 109 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 113 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 115 |
![]() |
coding | MagicNumber | '5' is a magic number. | 117 |
![]() |
coding | MagicNumber | '5' is a magic number. | 117 |
![]() |
coding | MagicNumber | '100' is a magic number. | 121 |
![]() |
coding | MagicNumber | '600' is a magic number. | 121 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 114). | 136 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 139 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 110). | 148 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 107). | 152 |
![]() |
design | DesignForExtension | Class 'TikaEncodingDetector' looks like designed for extension (can be subclassed), but the method 'guessEncoding' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TikaEncodingDetector' final or making the method 'guessEncoding' static/final/abstract/empty, or adding allowed annotation for the method. | 157 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 158 |
![]() |
misc | FinalParameters | Parameter is should be final. | 158 |
![]() |
misc | FinalParameters | Parameter contentType should be final. | 158 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 110). | 172 |
![]() |
misc | FinalParameters | Parameter is should be final. | 172 |
![]() |
misc | FinalParameters | Parameter function should be final. | 172 |
![]() |
misc | FinalParameters | Parameter html should be final. | 181 |
![]() |
misc | FinalParameters | Parameter errors should be final. | 181 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 183 |
![]() |
misc | FinalParameters | Parameter node should be final. | 193 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 194 |
![]() |
misc | FinalParameters | Parameter node should be final. | 197 |
![]() |
misc | FinalParameters | Parameter depth should be final. | 197 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 198 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 105). | 202 |
![]() |
misc | FinalParameters | Parameter node should be final. | 208 |
![]() |
misc | FinalParameters | Parameter depth should be final. | 208 |
![]() |
misc | FinalParameters | Parameter node should be final. | 214 |
![]() |
misc | FinalParameters | Parameter node should be final. | 218 |
![]() |
misc | FinalParameters | Parameter depth should be final. | 218 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 104). | 227 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 238 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 101). | 243 |
![]() |
misc | FinalParameters | Parameter node should be final. | 249 |
![]() |
misc | FinalParameters | Parameter depth should be final. | 249 |
test-resources/src/test/resources/microdata/microdata-basic-expected.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
test-resources/src/test/resources/microdata/microdata-itemref-expected.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
test-resources/src/test/resources/microdata/microdata-nested-expected.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
test-resources/target/test-classes/microdata/microdata-basic-expected.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
test-resources/target/test-classes/microdata/microdata-itemref-expected.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
test-resources/target/test-classes/microdata/microdata-nested-expected.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |