Checkstyle Results

The following document contains the results of Checkstyle 8.19 with org/sw4j/quality-profile/checkstyle/checkstyle-8.5.xml ruleset. 

rss feed

Summary

Files
 Info
 Warnings
 Errors
12 17 31 0

Files

File
 I
 W
 E
org/sw4j/tool/barcode/random/Main.java 2 0 0
org/sw4j/tool/barcode/random/codedata/CodeData.java 0 1 0
org/sw4j/tool/barcode/random/codedata/FileCodeData.java 1 0 0
org/sw4j/tool/barcode/random/config/CodeConfig.java 1 0 0
org/sw4j/tool/barcode/random/config/CodeType.java 0 1 0
org/sw4j/tool/barcode/random/config/EncodingConfig.java 0 15 0
org/sw4j/tool/barcode/random/config/GenerationConfig.java 5 2 0
org/sw4j/tool/barcode/random/generator/CodeGenerator.java 1 3 0
org/sw4j/tool/barcode/random/generator/IdentValue.java 0 1 0
org/sw4j/tool/barcode/random/generator/PredefinedIdent.java 3 3 0
org/sw4j/tool/barcode/random/generator/RandomIdent.java 4 4 0
org/sw4j/tool/barcode/random/input/Predefined.java 0 1 0

Rules

Category Rule Violations Severity
annotation AnnotationUseStyle
  • trailingArrayComma: "always"
1
 Warning
coding MagicNumber
  • ignoreFieldDeclaration: "true"
  • ignoreHashCodeMethod: "true"
7
 Info
NestedIfDepth
  • max: "1"
2
 Info
OverloadMethodsDeclarationOrder 1
 Warning
javadoc JavadocMethod
  • validateThrows: "true"
  • allowUndeclaredRTE: "true"
  • logLoadErrors: "false"
  • allowThrowsTagsForSubclasses: "true"
  • allowedAnnotations: ""
12
 Warning
JavadocParagraph 4
 Info
JavadocType
  • allowUnknownTags: "true"
  • authorFormat: "\S"
1
 Warning
metrics ClassFanOutComplexity 1
 Warning
CyclomaticComplexity 2
 Warning
NPathComplexity 2
 Warning
misc FinalParameters 2
 Warning
TodoComment
  • format: "@?[Tt][Oo][Dd][Oo]"
4
 Info
modifier RedundantModifier 1
 Warning
sizes ExecutableStatementCount 3
 Warning
LineLength
  • max: "120"
  • ignorePattern: "^import .*$"
2
 Warning
whitespace NoWhitespaceAfter
  • tokens: "ARRAY_INIT,BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS,TYPECAST"
1
 Warning
SeparatorWrap
  • tokens: "DOT,AT,RBRACK"
  • option: "nl"
2
 Warning
SeparatorWrap
  • tokens: "COMMA,SEMI,ELLIPSIS,LPAREN,RPAREN,ARRAY_DECLARATOR"
  • option: "eol"
2
 Warning

Details

org/sw4j/tool/barcode/random/Main.java

Severity Category Rule Message Line
 Info
misc TodoComment Comment matches to-do format '@?[Tt][Oo][Dd][Oo]'. 67
 Info
misc TodoComment Comment matches to-do format '@?[Tt][Oo][Dd][Oo]'. 88

org/sw4j/tool/barcode/random/codedata/CodeData.java

Severity Category Rule Message Line
 Warning
sizes LineLength Line is longer than 120 characters (found 121). 63

org/sw4j/tool/barcode/random/codedata/FileCodeData.java

Severity Category Rule Message Line
 Info
misc TodoComment Comment matches to-do format '@?[Tt][Oo][Dd][Oo]'. 104

org/sw4j/tool/barcode/random/config/CodeConfig.java

Severity Category Rule Message Line
 Info
coding MagicNumber '3' is a magic number. 164

org/sw4j/tool/barcode/random/config/CodeType.java

Severity Category Rule Message Line
 Warning
whitespace SeparatorWrap ';' should be on the previous line. 49

org/sw4j/tool/barcode/random/config/EncodingConfig.java

Severity Category Rule Message Line
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 72
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 76
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 80
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 84
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 93
 Warning
misc FinalParameters Parameter obj should be final. 94
 Warning
whitespace NoWhitespaceAfter ')' is followed by whitespace. 104
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 114
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 124
 Warning
javadoc JavadocType Missing a Javadoc comment. 128
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 151
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 154
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 159
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 164
 Warning
javadoc JavadocMethod Missing a Javadoc comment. 169

org/sw4j/tool/barcode/random/config/GenerationConfig.java

Severity Category Rule Message Line
 Info
coding MagicNumber '8' is a magic number. 95
 Info
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 163
 Info
javadoc JavadocParagraph Redundant <p> tag. 163
 Info
javadoc JavadocParagraph <p> tag should be placed immediately before the first word, with no space after. 166
 Info
javadoc JavadocParagraph <p> tag should be preceded with an empty line. 166
 Warning
misc FinalParameters Parameter encoding should be final. 226
 Warning
sizes LineLength Line is longer than 120 characters (found 121). 257

org/sw4j/tool/barcode/random/generator/CodeGenerator.java

Severity Category Rule Message Line
 Warning
metrics ClassFanOutComplexity Class Fan-Out Complexity is 21 (max allowed is 20). 53
 Warning
sizes ExecutableStatementCount Executable statement count is 36 (max allowed is 30). 129
 Info
misc TodoComment Comment matches to-do format '@?[Tt][Oo][Dd][Oo]'. 168
 Warning
coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '129'. 229

org/sw4j/tool/barcode/random/generator/IdentValue.java

Severity Category Rule Message Line
 Warning
modifier RedundantModifier Redundant 'final' modifier. 52

org/sw4j/tool/barcode/random/generator/PredefinedIdent.java

Severity Category Rule Message Line
 Warning
metrics CyclomaticComplexity Cyclomatic Complexity is 15 (max allowed is 10). 74
 Warning
sizes ExecutableStatementCount Executable statement count is 43 (max allowed is 30). 74
 Warning
metrics NPathComplexity NPath Complexity is 1,216 (max allowed is 200). 74
 Info
coding MagicNumber '3' is a magic number. 98
 Info
coding MagicNumber '4' is a magic number. 99
 Info
coding NestedIfDepth Nested if-else depth is 2 (max allowed is 1). 109

org/sw4j/tool/barcode/random/generator/RandomIdent.java

Severity Category Rule Message Line
 Warning
metrics CyclomaticComplexity Cyclomatic Complexity is 14 (max allowed is 10). 79
 Warning
sizes ExecutableStatementCount Executable statement count is 41 (max allowed is 30). 79
 Warning
metrics NPathComplexity NPath Complexity is 608 (max allowed is 200). 79
 Info
coding MagicNumber '8' is a magic number. 82
 Info
coding MagicNumber '3' is a magic number. 99
 Info
coding MagicNumber '4' is a magic number. 100
 Info
coding NestedIfDepth Nested if-else depth is 2 (max allowed is 1). 110
 Warning
whitespace SeparatorWrap '(' should be on the previous line. 127

org/sw4j/tool/barcode/random/input/Predefined.java

Severity Category Rule Message Line
 Warning
annotation AnnotationUseStyle Annotation array values must contain trailing comma. 32