Checkstyle Results

The following document contains the results of Checkstyle 9.3 with checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
11 0 0 57

Files

File  I  W  E
org/sentrysoftware/xflat/Utils.java 0 0 9
org/sentrysoftware/xflat/XFlat.java 0 0 2
org/sentrysoftware/xflat/handlers/ResultHandler.java 0 0 9
org/sentrysoftware/xflat/handlers/SearchPathTreeHandler.java 0 0 4
org/sentrysoftware/xflat/handlers/XmlHandler.java 0 0 17
org/sentrysoftware/xflat/types/SearchPathElement.java 0 0 7
org/sentrysoftware/xflat/types/SearchPathNode.java 0 0 9

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nlow"
15  Error
NeedBraces 6  Error
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
1  Error
design FinalClass 4  Error
HideUtilityClassConstructor 1  Error
imports UnusedImports 1  Error
misc FinalParameters 3  Error
modifier RedundantModifier 1  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
6  Error
RegexpSingleline
  • format: "^\s* +\s*[^*]"
  • message: "Indentation must use tab characters"
6  Error
whitespace OperatorWrap 12  Error
WhitespaceAfter
  • tokens: "COMMA, SEMI"
1  Error

Details

org/sentrysoftware/xflat/Utils.java

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 23
 Error regexp RegexpSingleline Line has trailing spaces. 24
 Error regexp RegexpSingleline Line has trailing spaces. 26
 Error regexp RegexpSingleline Line has trailing spaces. 39
 Error regexp RegexpSingleline Line has trailing spaces. 52
 Error misc FinalParameters Parameter value should be final. 57
 Error regexp RegexpSingleline Line has trailing spaces. 60
 Error regexp RegexpSingleline Line has trailing spaces. 68
 Error misc FinalParameters Parameter value should be final. 74

org/sentrysoftware/xflat/XFlat.java

Severity Category Rule Message Line
 Error design FinalClass Class XFlat should be declared as final. 36
 Error blocks LeftCurly '{' at column 48 should be on a new line. 53

org/sentrysoftware/xflat/handlers/ResultHandler.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.util.Collections. 24
 Error design FinalClass Class ResultHandler should be declared as final. 37
 Error blocks LeftCurly '{' at column 31 should be on a new line. 55
 Error whitespace OperatorWrap '?' should be on a new line. 72
 Error whitespace OperatorWrap ':' should be on a new line. 73
 Error blocks LeftCurly '{' at column 58 should be on a new line. 80
 Error whitespace OperatorWrap '?' should be on a new line. 132
 Error whitespace OperatorWrap ':' should be on a new line. 137
 Error blocks LeftCurly '{' at column 58 should be on a new line. 145

org/sentrysoftware/xflat/handlers/SearchPathTreeHandler.java

Severity Category Rule Message Line
 Error design FinalClass Class SearchPathTreeHandler should be declared as final. 41
 Error blocks LeftCurly '{' at column 48 should be on a new line. 77
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 111
 Error blocks LeftCurly '{' at column 26 should be on a new line. 134

org/sentrysoftware/xflat/handlers/XmlHandler.java

Severity Category Rule Message Line
 Error design FinalClass Class XmlHandler should be declared as final. 53
 Error blocks LeftCurly '{' at column 63 should be on a new line. 80
 Error modifier RedundantModifier Redundant 'final' modifier. 86
 Error whitespace OperatorWrap '?' should be on a new line. 111
 Error whitespace OperatorWrap ':' should be on a new line. 112
 Error regexp RegexpSingleline Indentation must use tab characters 121
 Error regexp RegexpSingleline Indentation must use tab characters 122
 Error regexp RegexpSingleline Indentation must use tab characters 124
 Error regexp RegexpSingleline Indentation must use tab characters 125
 Error regexp RegexpSingleline Indentation must use tab characters 128
 Error regexp RegexpSingleline Indentation must use tab characters 129
 Error blocks LeftCurly '{' at column 43 should be on a new line. 145
 Error blocks LeftCurly '{' at column 43 should be on a new line. 194
 Error blocks LeftCurly '{' at column 43 should be on a new line. 208
 Error blocks LeftCurly '{' at column 43 should be on a new line. 217
 Error whitespace OperatorWrap '?' should be on a new line. 220
 Error whitespace OperatorWrap ':' should be on a new line. 221

org/sentrysoftware/xflat/types/SearchPathElement.java

Severity Category Rule Message Line
 Error misc FinalParameters Parameter obj should be final. 51
 Error blocks NeedBraces 'if' construct must use '{}'s. 52
 Error blocks NeedBraces 'if' construct must use '{}'s. 54
 Error blocks NeedBraces 'if' construct must use '{}'s. 56
 Error blocks NeedBraces 'if' construct must use '{}'s. 59
 Error blocks NeedBraces 'if' construct must use '{}'s. 62
 Error blocks NeedBraces 'if' construct must use '{}'s. 64

org/sentrysoftware/xflat/types/SearchPathNode.java

Severity Category Rule Message Line
 Error coding HiddenField 'element' hides a field. 39
 Error whitespace OperatorWrap '&&' should be on a new line. 90
 Error blocks LeftCurly '{' at column 66 should be on a new line. 91
 Error whitespace OperatorWrap '&&' should be on a new line. 95
 Error blocks LeftCurly '{' at column 65 should be on a new line. 96
 Error whitespace OperatorWrap '&&' should be on a new line. 100
 Error blocks LeftCurly '{' at column 56 should be on a new line. 101
 Error whitespace OperatorWrap '&&' should be on a new line. 105
 Error blocks LeftCurly '{' at column 64 should be on a new line. 106
No results.