Checkstyle Results

The following document contains the results of Checkstyle 6.18 with hbase/checkstyle.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
8 0 0 28

Rules

Category Rule Violations Severity
blocks NeedBraces 2  Error
imports ImportOrder
  • ordered: "true"
  • sortStaticImportsAlphabetically: "true"
  • option: "top"
6  Error
indentation Indentation
  • throwsIndent: "2"
  • arrayInitIndent: "2"
  • caseIndent: "2"
  • basicOffset: "2"
  • lineWrappingIndentation: "2"
15  Error
javadoc NonEmptyAtclauseDescription 1  Error
sizes LineLength
  • max: "100"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://|org.apache.thrift.|com.google.protobuf.|hbase.protobuf.generated"
4  Error

Details

org/apache/hadoop/hbase/spark/SparkSQLPushDownFilter.java

Severity Category Rule Message Line
 Error imports ImportOrder Wrong order for 'java.io.IOException' import. 35
 Error imports ImportOrder Wrong order for 'com.google.protobuf.InvalidProtocolBufferException' import. 39
 Error imports ImportOrder Wrong order for 'com.google.protobuf.ByteString' import. 40
 Error javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 182

org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseBulkDeleteExample.java

Severity Category Rule Message Line
 Error imports ImportOrder Wrong order for 'java.util.ArrayList' import. 30

org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseBulkLoadExample.java

Severity Category Rule Message Line
 Error imports ImportOrder Wrong order for 'org.apache.spark.SparkConf' import. 30
 Error imports ImportOrder Wrong order for 'java.util.ArrayList' import. 33
 Error sizes LineLength Line is longer than 100 characters (found 133). 40
 Error sizes LineLength Line is longer than 100 characters (found 120). 44
 Error sizes LineLength Line is longer than 100 characters (found 102). 88
 Error blocks NeedBraces 'if' construct must use '{}'s. 92
 Error blocks NeedBraces 'if' construct must use '{}'s. 95
 Error sizes LineLength Line is longer than 100 characters (found 101). 97

org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseMapGetPutExample.java

Severity Category Rule Message Line
 Error indentation Indentation 'method def modifier' have incorrect indentation level 8, expected level should be one of the following: 10, 12. 76
 Error indentation Indentation 'method def' child have incorrect indentation level 10, expected level should be one of the following: 12, 14. 78
 Error indentation Indentation 'method def' child have incorrect indentation level 10, expected level should be one of the following: 12, 14. 79
 Error indentation Indentation 'while' have incorrect indentation level 10, expected level should be one of the following: 12, 14. 81
 Error indentation Indentation 'while' child have incorrect indentation level 12, expected level should be one of the following: 14, 16. 82
 Error indentation Indentation 'while' child have incorrect indentation level 12, expected level should be one of the following: 14, 16. 83
 Error indentation Indentation 'if' have incorrect indentation level 12, expected level should be one of the following: 14, 16. 84
 Error indentation Indentation 'if' child have incorrect indentation level 14, expected level should be one of the following: 16, 18. 85
 Error indentation Indentation 'if rcurly' have incorrect indentation level 12, expected level should be one of the following: 14, 16. 86
 Error indentation Indentation 'while rcurly' have incorrect indentation level 10, expected level should be one of the following: 12, 14. 87
 Error indentation Indentation 'method def' child have incorrect indentation level 10, expected level should be one of the following: 12, 14. 89
 Error indentation Indentation 'method def' child have incorrect indentation level 10, expected level should be one of the following: 12, 14. 90
 Error indentation Indentation 'method def' child have incorrect indentation level 10, expected level should be one of the following: 12, 14. 91
 Error indentation Indentation 'method def rcurly' have incorrect indentation level 8, expected level should be one of the following: 10, 12. 92
 Error indentation Indentation 'object def rcurly' have incorrect indentation level 6, expected level should be one of the following: 8, 10. 93