Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 7.2 with google_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
4 0 172 0

Rules

Category Rule Violations Severity
blocks LeftCurly
  • maxLineLength: "100"
4  Warning
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • specialImportsRegExp: "com.google"
  • customImportOrderRules: "STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"
24  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "2"
  • caseIndent: "2"
  • basicOffset: "2"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
100  Warning
javadoc JavadocMethod
  • scope: "public"
  • allowMissingThrowsTags: "true"
  • allowThrowsTagsForSubclasses: "true"
  • allowMissingReturnTag: "true"
  • allowMissingParamTags: "true"
  • minLineCount: "2"
  • allowedAnnotations: "Override, Test"
2  Warning
JavadocParagraph 12  Warning
SummaryJavadoc
  • forbiddenSummaryFragments: "^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"
12  Warning
modifier ModifierOrder 4  Warning
sizes LineLength
  • max: "100"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
14  Warning

Details

org/apache/streams/example/ElasticsearchHdfs.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement for 'com.google.common.collect.Maps' is in the wrong order. Should be in the 'SPECIAL_IMPORTS' group, expecting group 'STANDARD_JAVA_PACKAGE' on this line. 30
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 41
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 43
 Warning sizes LineLength Line is longer than 100 characters (found 129). 48
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55
 Warning blocks LeftCurly '{' at column 3 should be on the previous line. 56
 Warning sizes LineLength Line is longer than 100 characters (found 111). 65
 Warning sizes LineLength Line is longer than 100 characters (found 132). 69
 Warning sizes LineLength Line is longer than 100 characters (found 112). 72
 Warning sizes LineLength Line is longer than 100 characters (found 158). 73

org/apache/streams/example/ElasticsearchHdfsConfiguration.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonAnyGetter' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 10
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonAnySetter' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 11
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonIgnore' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 12
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonInclude' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 13
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonProperty' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 14
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonPropertyOrder' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 15
 Warning imports CustomImportOrder Import statement for 'org.apache.commons.lang3.builder.EqualsBuilder' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 16
 Warning imports CustomImportOrder Import statement for 'org.apache.commons.lang3.builder.HashCodeBuilder' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 17
 Warning imports CustomImportOrder Import statement for 'org.apache.commons.lang3.builder.ToStringBuilder' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 18
 Warning imports CustomImportOrder Import statement for 'org.apache.streams.elasticsearch.ElasticsearchReaderConfiguration' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 19
 Warning imports CustomImportOrder Import statement for 'org.apache.streams.hdfs.HdfsWriterConfiguration' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 20
 Warning indentation Indentation '}' have incorrect indentation level 0, expected level should be 4. 27
 Warning blocks LeftCurly '{' at column 1 should be on the previous line. 29
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 31
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 32
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 4, expected level should be 2. 36
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 40
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 41
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 4, expected level should be 2. 45
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 4, expected level should be 2. 49
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 52
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 53
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 59
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 61
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 62
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 64
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 65
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 71
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 73
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 74
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 76
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 77
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 78
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 79
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 81
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 82
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 88
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 90
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 91
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 93
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 94
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 100
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 102
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 103
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 105
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 106
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 107
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 108
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 110
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 112
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 113
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 115
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 117
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 118
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 120
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 122
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 123
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 125
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 126
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 127
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 128
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 130
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 132
 Warning sizes LineLength Line is longer than 100 characters (found 114). 132
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 133
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 135
 Warning indentation Indentation 'if' have incorrect indentation level 8, expected level should be 4. 137
 Warning indentation Indentation 'if' child have incorrect indentation level 12, expected level should be 6. 138
 Warning indentation Indentation 'if rcurly' have incorrect indentation level 8, expected level should be 4. 139
 Warning indentation Indentation 'if' have incorrect indentation level 8, expected level should be 4. 140
 Warning indentation Indentation 'if' child have incorrect indentation level 12, expected level should be 6. 141
 Warning indentation Indentation 'if rcurly' have incorrect indentation level 8, expected level should be 4. 142
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 143
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 144
 Warning sizes LineLength Line is longer than 100 characters (found 165). 144
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 145

org/apache/streams/example/HdfsElasticsearch.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement for 'com.google.common.collect.Maps' is in the wrong order. Should be in the 'SPECIAL_IMPORTS' group, expecting group 'STANDARD_JAVA_PACKAGE' on this line. 30
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 41
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 43
 Warning sizes LineLength Line is longer than 100 characters (found 129). 48
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55
 Warning blocks LeftCurly '{' at column 3 should be on the previous line. 56
 Warning sizes LineLength Line is longer than 100 characters (found 116). 66
 Warning sizes LineLength Line is longer than 100 characters (found 132). 69
 Warning sizes LineLength Line is longer than 100 characters (found 167). 73

org/apache/streams/example/HdfsElasticsearchConfiguration.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonAnyGetter' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 10
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonAnySetter' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 11
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonIgnore' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 12
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonInclude' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 13
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonProperty' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 14
 Warning imports CustomImportOrder Import statement for 'com.fasterxml.jackson.annotation.JsonPropertyOrder' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 15
 Warning imports CustomImportOrder Import statement for 'org.apache.commons.lang3.builder.EqualsBuilder' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 16
 Warning imports CustomImportOrder Import statement for 'org.apache.commons.lang3.builder.HashCodeBuilder' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 17
 Warning imports CustomImportOrder Import statement for 'org.apache.commons.lang3.builder.ToStringBuilder' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 18
 Warning imports CustomImportOrder Import statement for 'org.apache.streams.elasticsearch.ElasticsearchWriterConfiguration' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 19
 Warning imports CustomImportOrder Import statement for 'org.apache.streams.hdfs.HdfsReaderConfiguration' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 20
 Warning indentation Indentation '}' have incorrect indentation level 0, expected level should be 4. 27
 Warning blocks LeftCurly '{' at column 1 should be on the previous line. 29
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 31
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 32
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 4, expected level should be 2. 36
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 40
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 41
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 4, expected level should be 2. 45
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 4, expected level should be 2. 49
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 52
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 53
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 59
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 61
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 62
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 64
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 65
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 71
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 73
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 74
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 76
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 77
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 78
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 79
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 81
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 82
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 88
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 90
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 91
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 93
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 94
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 100
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 102
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 103
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 105
 Warning sizes LineLength Line is longer than 100 characters (found 105). 105
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 106
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 107
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 108
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 110
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 112
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 113
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 115
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 117
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 118
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 120
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 122
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 123
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 125
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 126
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 127
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 128
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 130
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 132
 Warning sizes LineLength Line is longer than 100 characters (found 114). 132
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 133
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 135
 Warning indentation Indentation 'if' have incorrect indentation level 8, expected level should be 4. 137
 Warning indentation Indentation 'if' child have incorrect indentation level 12, expected level should be 6. 138
 Warning indentation Indentation 'if rcurly' have incorrect indentation level 8, expected level should be 4. 139
 Warning indentation Indentation 'if' have incorrect indentation level 8, expected level should be 4. 140
 Warning indentation Indentation 'if' child have incorrect indentation level 12, expected level should be 6. 141
 Warning indentation Indentation 'if rcurly' have incorrect indentation level 8, expected level should be 4. 142
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 143
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 144
 Warning sizes LineLength Line is longer than 100 characters (found 165). 144
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 145