Checkstyle Results

The following document contains the results of Checkstyle 8.40 with /home/jorge.nunes/develop/yawg/modules/cli/../src/main/config/checkstyle.xml ruleset. 

rss feed

Summary

Files
 Info
 Warnings
 Errors 14 0 53 0

Files

File
 I
 W
 E com/varmateo/yawg/cli/BakerCliBakeOptions.java 0 3 0 com/varmateo/yawg/cli/BakerCliBakeOptionsParser.java 0 3 0 com/varmateo/yawg/cli/CliInfoPrinter.java 0 4 0 com/varmateo/yawg/cli/CliParameter.java 0 10 0 com/varmateo/yawg/cli/CliParameterSet.java 0 11 0 com/varmateo/yawg/cli/InfoPrinter.java 0 11 0 com/varmateo/yawg/cli/Main.java 0 11 0

Rules

Category Rule Violations Severity imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • specialImportsRegExp: "^com\.varmateo\.yawg"
  • customImportOrderRules: "STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS###STATIC"
  • tokens: "IMPORT, STATIC_IMPORT, PACKAGE_DEF"
2
 Warning indentation CommentsIndentation
  • tokens: "SINGLE_LINE_COMMENT, BLOCK_COMMENT_BEGIN"
1
 Warning Indentation
  • throwsIndent: "8"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "8"
21
 Warning whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
  • tokens: "PACKAGE_DEF, IMPORT, STATIC_IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
3
 Warning ParenPad
  • tokens: "ANNOTATION, ANNOTATION_FIELD_DEF, CTOR_CALL, CTOR_DEF, DOT, ENUM_CONSTANT_DEF, EXPR, LITERAL_NEW, METHOD_CALL, METHOD_DEF, QUESTION, RESOURCE_SPECIFICATION, SUPER_CTOR_CALL, LAMBDA"
  • id: "ParenPadNoSpace"
  • option: "nospace"
2
 Warning ParenPad
  • tokens: "LITERAL_CATCH, LITERAL_DO, LITERAL_FOR, LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_WHILE, RESOURCE_SPECIFICATION"
  • id: "ParenPadWithSpace"
  • option: "space"
2
 Warning WhitespaceAfter
  • tokens: "COMMA, SEMI, TYPECAST, LITERAL_IF, LITERAL_ELSE, LITERAL_WHILE, LITERAL_DO, LITERAL_FOR, DO_WHILE"
5
 Warning WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyLambdas: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • tokens: "ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, DO_WHILE, EQUAL, GE, GT, LAMBDA, LAND, LCURLY, LE, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, LITERAL_ASSERT, TYPE_EXTENSION_AND"
  • allowEmptyTypes: "true"
19
 Warning

Details

com/varmateo/yawg/cli/BakerCliBakeOptions.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 24
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 25
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 26

com/varmateo/yawg/cli/BakerCliBakeOptionsParser.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAfter ',' is not followed by whitespace. 77
 Warning whitespace WhitespaceAround WhitespaceAround: '+' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 89
 Warning whitespace WhitespaceAround WhitespaceAround: '+' is not preceded with whitespace. 89

com/varmateo/yawg/cli/CliInfoPrinter.java

Severity Category Rule Message Line
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 30
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 33
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 34
 Warning indentation Indentation 'buildApacheOptions' has incorrect indentation level 8, expected level should be 12. 96

com/varmateo/yawg/cli/CliParameter.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 42
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not preceded with whitespace. 42
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 43
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not preceded with whitespace. 43
 Warning whitespace WhitespaceAround WhitespaceAround: '+' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 43
 Warning whitespace WhitespaceAround WhitespaceAround: '+' is not preceded with whitespace. 43
 Warning whitespace WhitespaceAround WhitespaceAround: '+' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 43
 Warning whitespace WhitespaceAround WhitespaceAround: '+' is not preceded with whitespace. 43
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 44
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not preceded with whitespace. 44

com/varmateo/yawg/cli/CliParameterSet.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Extra separation in import group before 'org.apache.commons.cli.CommandLine' 18
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 72
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not preceded with whitespace. 72
 Warning whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 107
 Warning whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 108
 Warning whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 113
 Warning whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 117
 Warning whitespace WhitespaceAround WhitespaceAround: '-' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 214
 Warning whitespace WhitespaceAround WhitespaceAround: '-' is not preceded with whitespace. 214
 Warning whitespace WhitespaceAround WhitespaceAround: '-' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 242
 Warning whitespace WhitespaceAround WhitespaceAround: '-' is not preceded with whitespace. 242

com/varmateo/yawg/cli/InfoPrinter.java

Severity Category Rule Message Line
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 25
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 26
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 27
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 36
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 37
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 38
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 39
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 40
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 41
 Warning whitespace WhitespaceAround WhitespaceAround: '+' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) 41
 Warning indentation Indentation '+' has incorrect indentation level 8, expected level should be 12. 42

com/varmateo/yawg/cli/Main.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.io.IOException' import. Should be before 'java.io.InputStream'. 10
 Warning indentation CommentsIndentation Block comment has incorrect indentation level 4, expected is 5, indentation should be the same level as line 39. 34
 Warning indentation Indentation 'method def modifier' has incorrect indentation level 5, expected level should be 4. 39
 Warning indentation Indentation 'method def' child has incorrect indentation level 9, expected level should be 8. 42
 Warning indentation Indentation 'method def' child has incorrect indentation level 9, expected level should be 8. 44
 Warning indentation Indentation 'method def' child has incorrect indentation level 9, expected level should be 8. 45
 Warning indentation Indentation 'method def' child has incorrect indentation level 9, expected level should be 8. 50
 Warning indentation Indentation 'method def' child has incorrect indentation level 9, expected level should be 8. 51
 Warning indentation Indentation 'method def' child has incorrect indentation level 9, expected level should be 8. 53
 Warning whitespace ParenPad '(' is followed by whitespace. 60
 Warning whitespace ParenPad ')' is preceded with whitespace. 60