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
6 0 114 0

Rules

Category Rule Violations Severity
blocks LeftCurly
  • maxLineLength: "100"
1  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"
72  Warning
javadoc SummaryJavadoc
  • forbiddenSummaryFragments: "^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"
13  Warning
naming LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
1  Warning
sizes LineLength
  • max: "100"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
3  Warning

Details

org/apache/streams/kafka/KafkaConfiguration.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. 8
 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. 9
 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. 10
 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. 11
 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. 12
 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. 13
 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. 14
 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. 15
 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. 16
 Warning indentation Indentation '}' have incorrect indentation level 0, expected level should be 4. 25
 Warning blocks LeftCurly '{' at column 1 should be on the previous line. 27
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 29
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 4, expected level should be 2. 33
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 35
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 4, expected level should be 2. 39
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 41
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 4, expected level should be 2. 45
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 47
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 4, expected level should be 2. 51
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 4, expected level should be 2. 53
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 56
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 62
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 64
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 65
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 67
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 73
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 75
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 76
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 78
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 79
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 80
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 81
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 83
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 89
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 91
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 92
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 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 javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 110
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 116
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 118
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 119
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 121
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 127
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 129
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 130
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 132
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 133
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 134
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 135
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 137
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 143
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 145
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 146
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 148
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 154
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 156
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 157
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 159
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 160
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 161
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 162
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 164
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 166
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 167
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 169
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 171
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 172
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 174
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 176
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 177
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 179
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 180
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 181
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 182
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 184
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 186
 Warning sizes LineLength Line is longer than 100 characters (found 146). 186
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 187
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 4, expected level should be 2. 189
 Warning indentation Indentation 'if' have incorrect indentation level 8, expected level should be 4. 191
 Warning indentation Indentation 'if' child have incorrect indentation level 12, expected level should be 6. 192
 Warning indentation Indentation 'if rcurly' have incorrect indentation level 8, expected level should be 4. 193
 Warning indentation Indentation 'if' have incorrect indentation level 8, expected level should be 4. 194
 Warning indentation Indentation 'if' child have incorrect indentation level 12, expected level should be 6. 195
 Warning indentation Indentation 'if rcurly' have incorrect indentation level 8, expected level should be 4. 196
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 197
 Warning indentation Indentation 'method def' child have incorrect indentation level 8, expected level should be 4. 198
 Warning sizes LineLength Line is longer than 100 characters (found 223). 198
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 4, expected level should be 2. 199

org/apache/streams/kafka/KafkaPersistReader.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.fasterxml.jackson.databind.ObjectMapper' import. Should be before 'org.apache.streams.core.StreamsResultSet'. 27
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.consumer.Consumer' import. Should be before 'org.apache.streams.core.StreamsResultSet'. 28
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.consumer.ConsumerConfig' import. Should be before 'org.apache.streams.core.StreamsResultSet'. 29
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.consumer.KafkaStream' import. Should be before 'org.apache.streams.core.StreamsResultSet'. 30
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.consumer.Whitelist' import. Should be before 'org.apache.streams.core.StreamsResultSet'. 31
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.javaapi.consumer.ConsumerConnector' import. Should be before 'org.apache.streams.core.StreamsResultSet'. 32
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.serializer.StringDecoder' import. Should be before 'org.apache.streams.core.StreamsResultSet'. 33
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.utils.VerifiableProperties' import. Should be before 'org.apache.streams.core.StreamsResultSet'. 34
 Warning sizes LineLength Line is longer than 100 characters (found 128). 110

org/apache/streams/kafka/KafkaPersistReaderTask.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.consumer.KafkaStream' import. Should be before 'org.apache.streams.core.StreamsDatum'. 23
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.message.MessageAndMetadata' import. Should be before 'org.apache.streams.core.StreamsDatum'. 24
 Warning naming LocalVariableName Local variable name 'aStream' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 52

org/apache/streams/kafka/KafkaPersistWriter.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.fasterxml.jackson.core.JsonProcessingException' import. Should be before 'org.apache.streams.util.GuidUtils'. 27
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.fasterxml.jackson.databind.ObjectMapper' import. Should be before 'org.apache.streams.util.GuidUtils'. 28
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.javaapi.producer.Producer' import. Should be before 'org.apache.streams.util.GuidUtils'. 29
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.producer.KeyedMessage' import. Should be before 'org.apache.streams.util.GuidUtils'. 30
 Warning imports CustomImportOrder Wrong lexicographical order for 'kafka.producer.ProducerConfig' import. Should be before 'org.apache.streams.util.GuidUtils'. 31
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 79