## Checkstyle Results

The following document contains the results of Checkstyle 8.29 with sun_checks.xml ruleset.

rss feed

## Summary

Files | Info | Warnings | Errors
--- | --- | --- | ---
28 | 0 | 0 | 202

## Files

File | I | W | E
--- | --- | --- | ---
cli/src/test/resources/log4j.properties | 0 | 0 | 1
cli/target/test-classes/log4j.properties | 0 | 0 | 1
core/src/test/resources/log4j.properties | 0 | 0 | 1
core/target/test-classes/log4j.properties | 0 | 0 | 1
csvutils/src/test/resources/log4j.properties | 0 | 0 | 20
csvutils/target/test-classes/log4j.properties | 0 | 0 | 20
mime/src/test/resources/log4j.properties | 0 | 0 | 20
mime/target/test-classes/log4j.properties | 0 | 0 | 20
org/apache/any23/mime/NaiveMIMETypeDetector.java | 0 | 0 | 18
org/apache/any23/mime/TikaMIMETypeDetector.java | 0 | 0 | 85
org/apache/any23/mime/package-info.java | 0 | 0 | 1
org/apache/any23/mime/purifier/WhiteSpacesPurifier.java | 0 | 0 | 8
test-resources/src/test/resources/microdata/microdata-basic-expected.properties | 0 | 0 | 1
test-resources/src/test/resources/microdata/microdata-itemref-expected.properties | 0 | 0 | 1
test-resources/src/test/resources/microdata/microdata-nested-expected.properties | 0 | 0 | 1
test-resources/target/test-classes/microdata/microdata-basic-expected.properties | 0 | 0 | 1
test-resources/target/test-classes/microdata/microdata-itemref-expected.properties | 0 | 0 | 1
test-resources/target/test-classes/microdata/microdata-nested-expected.properties | 0 | 0 | 1

## Rules

Category | Rule | Violations | Severity
--- | --- | --- | ---
blocks | NeedBraces | 4 | Error
coding | HiddenField | 1 | Error
design | DesignForExtension | 1 | Error
javadoc | JavadocPackage | 1 | Error
| JavadocVariable | 8 | Error
| MissingJavadocMethod | 3 | Error
misc | FinalParameters | 22 | Error
| NewlineAtEndOfFile | 7 | Error
modifier | ModifierOrder | 2 | Error
naming | ConstantName | 2 | Error
| LocalFinalVariableName | 1 | Error
regexp | RegexpSingleline format: `"\s+$"` maximum: `"0"` message: `"Line has trailing spaces."` minimum: `"0"` | 101 | Error
sizes | LineLength fileExtensions: `"java"` | 47 | Error
whitespace | NoWhitespaceAfter | 2 | Error

## Details

### cli/src/test/resources/log4j.properties

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | regexp | RegexpSingleline | Line has trailing spaces. | 9

### cli/target/test-classes/log4j.properties

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | regexp | RegexpSingleline | Line has trailing spaces. | 9

### core/src/test/resources/log4j.properties

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | regexp | RegexpSingleline | Line has trailing spaces. | 19

### core/target/test-classes/log4j.properties

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | regexp | RegexpSingleline | Line has trailing spaces. | 19

### csvutils/src/test/resources/log4j.properties

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | regexp | RegexpSingleline | Line has trailing spaces. | 15
Error | regexp | RegexpSingleline | Line has trailing spaces. | 16
Error | regexp | RegexpSingleline | Line has trailing spaces. | 17
Error | regexp | RegexpSingleline | Line has trailing spaces. | 18
Error | regexp | RegexpSingleline | Line has trailing spaces. | 19
Error | regexp | RegexpSingleline | Line has trailing spaces. | 20
Error | regexp | RegexpSingleline | Line has trailing spaces. | 21
Error | regexp | RegexpSingleline | Line has trailing spaces. | 22
Error | regexp | RegexpSingleline | Line has trailing spaces. | 23
Error | regexp | RegexpSingleline | Line has trailing spaces. | 24
Error | regexp | RegexpSingleline | Line has trailing spaces. | 25
Error | regexp | RegexpSingleline | Line has trailing spaces. | 26
Error | regexp | RegexpSingleline | Line has trailing spaces. | 27
Error | regexp | RegexpSingleline | Line has trailing spaces. | 28
Error | regexp | RegexpSingleline | Line has trailing spaces. | 29
Error | regexp | RegexpSingleline | Line has trailing spaces. | 30
Error | regexp | RegexpSingleline | Line has trailing spaces. | 31
Error | regexp | RegexpSingleline | Line has trailing spaces. | 32
Error | regexp | RegexpSingleline | Line has trailing spaces. | 33
Error | regexp | RegexpSingleline | Line has trailing spaces. | 34

### csvutils/target/test-classes/log4j.properties

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | regexp | RegexpSingleline | Line has trailing spaces. | 15
Error | regexp | RegexpSingleline | Line has trailing spaces. | 16
Error | regexp | RegexpSingleline | Line has trailing spaces. | 17
Error | regexp | RegexpSingleline | Line has trailing spaces. | 18
Error | regexp | RegexpSingleline | Line has trailing spaces. | 19
Error | regexp | RegexpSingleline | Line has trailing spaces. | 20
Error | regexp | RegexpSingleline | Line has trailing spaces. | 21
Error | regexp | RegexpSingleline | Line has trailing spaces. | 22
Error | regexp | RegexpSingleline | Line has trailing spaces. | 23
Error | regexp | RegexpSingleline | Line has trailing spaces. | 24
Error | regexp | RegexpSingleline | Line has trailing spaces. | 25
Error | regexp | RegexpSingleline | Line has trailing spaces. | 26
Error | regexp | RegexpSingleline | Line has trailing spaces. | 27
Error | regexp | RegexpSingleline | Line has trailing spaces. | 28
Error | regexp | RegexpSingleline | Line has trailing spaces. | 29
Error | regexp | RegexpSingleline | Line has trailing spaces. | 30
Error | regexp | RegexpSingleline | Line has trailing spaces. | 31
Error | regexp | RegexpSingleline | Line has trailing spaces. | 32
Error | regexp | RegexpSingleline | Line has trailing spaces. | 33
Error | regexp | RegexpSingleline | Line has trailing spaces. | 34

### mime/src/test/resources/log4j.properties

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | regexp | RegexpSingleline | Line has trailing spaces. | 15
Error | regexp | RegexpSingleline | Line has trailing spaces. | 16
Error | regexp | RegexpSingleline | Line has trailing spaces. | 17
Error | regexp | RegexpSingleline | Line has trailing spaces. | 18
Error | regexp | RegexpSingleline | Line has trailing spaces. | 19
Error | regexp | RegexpSingleline | Line has trailing spaces. | 20
Error | regexp | RegexpSingleline | Line has trailing spaces. | 21
Error | regexp | RegexpSingleline | Line has trailing spaces. | 22
Error | regexp | RegexpSingleline | Line has trailing spaces. | 23
Error | regexp | RegexpSingleline | Line has trailing spaces. | 24
Error | regexp | RegexpSingleline | Line has trailing spaces. | 25
Error | regexp | RegexpSingleline | Line has trailing spaces. | 26
Error | regexp | RegexpSingleline | Line has trailing spaces. | 27
Error | regexp | RegexpSingleline | Line has trailing spaces. | 28
Error | regexp | RegexpSingleline | Line has trailing spaces. | 29
Error | regexp | RegexpSingleline | Line has trailing spaces. | 30
Error | regexp | RegexpSingleline | Line has trailing spaces. | 31
Error | regexp | RegexpSingleline | Line has trailing spaces. | 32
Error | regexp | RegexpSingleline | Line has trailing spaces. | 33
Error | regexp | RegexpSingleline | Line has trailing spaces. | 34

### mime/target/test-classes/log4j.properties

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | regexp | RegexpSingleline | Line has trailing spaces. | 15
Error | regexp | RegexpSingleline | Line has trailing spaces. | 16
Error | regexp | RegexpSingleline | Line has trailing spaces. | 17
Error | regexp | RegexpSingleline | Line has trailing spaces. | 18
Error | regexp | RegexpSingleline | Line has trailing spaces. | 19
Error | regexp | RegexpSingleline | Line has trailing spaces. | 20
Error | regexp | RegexpSingleline | Line has trailing spaces. | 21
Error | regexp | RegexpSingleline | Line has trailing spaces. | 22
Error | regexp | RegexpSingleline | Line has trailing spaces. | 23
Error | regexp | RegexpSingleline | Line has trailing spaces. | 24
Error | regexp | RegexpSingleline | Line has trailing spaces. | 25
Error | regexp | RegexpSingleline | Line has trailing spaces. | 26
Error | regexp | RegexpSingleline | Line has trailing spaces. | 27
Error | regexp | RegexpSingleline | Line has trailing spaces. | 28
Error | regexp | RegexpSingleline | Line has trailing spaces. | 29
Error | regexp | RegexpSingleline | Line has trailing spaces. | 30
Error | regexp | RegexpSingleline | Line has trailing spaces. | 31
Error | regexp | RegexpSingleline | Line has trailing spaces. | 32
Error | regexp | RegexpSingleline | Line has trailing spaces. | 33
Error | regexp | RegexpSingleline | Line has trailing spaces. | 34

### org/apache/any23/mime/NaiveMIMETypeDetector.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | sizes | LineLength | Line is longer than 80 characters (found 89). | 35
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 35
Error | modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 35
Error | naming | ConstantName | Name 'extensions' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 35
Error | regexp | RegexpSingleline | Line has trailing spaces. | 37
Error | sizes | LineLength | Line is longer than 80 characters (found 86). | 54
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 54
Error | modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 54
Error | naming | ConstantName | Name 'extensionRegex' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 54
Error | design | DesignForExtension | Class 'NaiveMIMETypeDetector' looks like designed for extension (can be subclassed), but the method 'guessMIMEType' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'NaiveMIMETypeDetector' final or making the method 'guessMIMEType' static/final/abstract/empty, or adding allowed annotation for the method. | 56
Error | javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 56
Error | misc | FinalParameters | Parameter fileName should be final. | 56
Error | misc | FinalParameters | Parameter input should be final. | 56
Error | misc | FinalParameters | Parameter mimeTypeFromMetadata should be final. | 58
Error | sizes | LineLength | Line is longer than 80 characters (found 101). | 63
Error | sizes | LineLength | Line is longer than 80 characters (found 86). | 65
Error | misc | FinalParameters | Parameter filename should be final. | 79
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 81

### org/apache/any23/mime/TikaMIMETypeDetector.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | sizes | LineLength | Line is longer than 80 characters (found 105). | 44
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 51
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 53
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 55
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 55
Error | sizes | LineLength | Line is longer than 80 characters (found 118). | 60
Error | whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 60
Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 61
Error | sizes | LineLength | Line is longer than 80 characters (found 92). | 62
Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 63
Error | sizes | LineLength | Line is longer than 80 characters (found 124). | 69
Error | whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 69
Error | sizes | LineLength | Line is longer than 80 characters (found 126). | 70
Error | sizes | LineLength | Line is longer than 80 characters (found 126). | 71
Error | sizes | LineLength | Line is longer than 80 characters (found 126). | 72
Error | sizes | LineLength | Line is longer than 80 characters (found 124). | 73
Error | sizes | LineLength | Line is longer than 80 characters (found 97). | 74
Error | sizes | LineLength | Line is longer than 80 characters (found 108). | 75
Error | sizes | LineLength | Line is longer than 80 characters (found 112). | 76
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 79
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 81
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 83
Error | regexp | RegexpSingleline | Line has trailing spaces. | 90
Error | sizes | LineLength | Line is longer than 80 characters (found 98). | 91
Error | regexp | RegexpSingleline | Line has trailing spaces. | 92
Error | misc | FinalParameters | Parameter is should be final. | 96
Error | regexp | RegexpSingleline | Line has trailing spaces. | 105
Error | sizes | LineLength | Line is longer than 80 characters (found 98). | 106
Error | regexp | RegexpSingleline | Line has trailing spaces. | 107
Error | misc | FinalParameters | Parameter is should be final. | 111
Error | regexp | RegexpSingleline | Line has trailing spaces. | 120
Error | sizes | LineLength | Line is longer than 80 characters (found 102). | 121
Error | regexp | RegexpSingleline | Line has trailing spaces. | 122
Error | misc | FinalParameters | Parameter is should be final. | 126
Error | sizes | LineLength | Line is longer than 80 characters (found 102). | 130
Error | regexp | RegexpSingleline | Line has trailing spaces. | 144
Error | sizes | LineLength | Line is longer than 80 characters (found 99). | 145
Error | regexp | RegexpSingleline | Line has trailing spaces. | 146
Error | misc | FinalParameters | Parameter is should be final. | 150
Error | regexp | RegexpSingleline | Line has trailing spaces. | 163
Error | sizes | LineLength | Line is longer than 80 characters (found 93). | 164
Error | regexp | RegexpSingleline | Line has trailing spaces. | 165
Error | sizes | LineLength | Line is longer than 80 characters (found 98). | 167
Error | sizes | LineLength | Line is longer than 80 characters (found 115). | 169
Error | misc | FinalParameters | Parameter patterns should be final. | 169
Error | misc | FinalParameters | Parameter delimiterChar should be final. | 169
Error | misc | FinalParameters | Parameter is should be final. | 169
Error | sizes | LineLength | Line is longer than 80 characters (found 110). | 180
Error | regexp | RegexpSingleline | Line has trailing spaces. | 186
Error | regexp | RegexpSingleline | Line has trailing spaces. | 188
Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 192
Error | misc | FinalParameters | Parameter is should be final. | 192
Error | misc | FinalParameters | Parameter breakChar should be final. | 192
Error | sizes | LineLength | Line is longer than 80 characters (found 98). | 193
Error | naming | LocalFinalVariableName | Name 'MAX_SIZE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 195
Error | javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 225
Error | misc | FinalParameters | Parameter purifier should be final. | 225
Error | coding | HiddenField | 'purifier' hides a field. | 225
Error | sizes | LineLength | Line is longer than 80 characters (found 97). | 234
Error | javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 247
Error | sizes | LineLength | Line is longer than 80 characters (found 117). | 252
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 257
Error | regexp | RegexpSingleline | Line has trailing spaces. | 260
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 261
Error | regexp | RegexpSingleline | Line has trailing spaces. | 262
Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 264
Error | sizes | LineLength | Line is longer than 80 characters (found 102). | 266
Error | misc | FinalParameters | Parameter fileName should be final. | 266
Error | misc | FinalParameters | Parameter input should be final. | 266
Error | misc | FinalParameters | Parameter mimeTypeFromMetadata should be final. | 266
Error | sizes | LineLength | Line is longer than 80 characters (found 90). | 271
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 276
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 278
Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 300
Error | sizes | LineLength | Line is longer than 80 characters (found 104). | 315
Error | sizes | LineLength | Line is longer than 80 characters (found 114). | 327
Error | sizes | LineLength | Line is longer than 80 characters (found 120). | 330
Error | regexp | RegexpSingleline | Line has trailing spaces. | 337
Error | regexp | RegexpSingleline | Line has trailing spaces. | 339
Error | sizes | LineLength | Line is longer than 80 characters (found 112). | 343
Error | misc | FinalParameters | Parameter stream should be final. | 343
Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 369
Error | misc | FinalParameters | Parameter type should be final. | 385
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 386
Error | misc | FinalParameters | Parameter type should be final. | 389

### org/apache/any23/mime/package-info.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | misc | NewlineAtEndOfFile | File does not end with a newline. | 1

### org/apache/any23/mime/purifier/WhiteSpacesPurifier.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | javadoc | JavadocPackage | Missing package-info.java file. | 1
Error | sizes | LineLength | Line is longer than 80 characters (found 119). | 24
Error | misc | FinalParameters | Parameter inputStream should be final. | 34
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 35
Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 36
Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 43
Error | misc | FinalParameters | Parameter c should be final. | 52
Error | sizes | LineLength | Line is longer than 80 characters (found 89). | 53

### test-resources/src/test/resources/microdata/microdata-basic-expected.properties

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Error | 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
--- | --- | --- | --- | ---
Error | 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
--- | --- | --- | --- | ---
Error | 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
--- | --- | --- | --- | ---
Error | 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
--- | --- | --- | --- | ---
Error | 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
--- | --- | --- | --- | ---
Error | misc | NewlineAtEndOfFile | File does not end with a newline. | 1