Checkstyle Results

The following document contains the results of Checkstyle 6.16 with odl_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
5 0 45 0

Rules

Category Rule Violations Severity
coding IllegalCatch 2  Warning
VariableDeclarationUsageDistance 3  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
4  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
1  Warning
javadoc JavadocParagraph
  • allowNewlineParagraph: "false"
1  Warning
modifier RedundantModifier 1  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
7  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
  • tokens: "IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
2  Warning
OperatorWrap
  • tokens: "BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "
  • option: "NL"
14  Warning
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
9  Warning

Details

org/opendaylight/ovsdb/utils/ovsdb/it/utils/DockerOvs.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.io.IOException' import. Should be before 'java.io.InputStreamReader'. 16
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.esotericsoftware.yamlbeans.YamlException' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'. 33
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.esotericsoftware.yamlbeans.YamlReader' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'. 34
 Warning imports CustomImportOrder Import statement for 'org.ops4j.pax.exam.CoreOptions.propagateSystemProperties' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. 42
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 68
 Warning sizes LineLength Line is longer than 120 characters (found 127). 75
 Warning sizes LineLength Line is longer than 120 characters (found 137). 81
 Warning whitespace OperatorWrap '+' should be on a new line. 94
 Warning whitespace OperatorWrap '+' should be on a new line. 95
 Warning whitespace OperatorWrap '+' should be on a new line. 96
 Warning sizes LineLength Line is longer than 120 characters (found 123). 97
 Warning whitespace OperatorWrap '+' should be on a new line. 97
 Warning sizes LineLength Line is longer than 120 characters (found 143). 98
 Warning whitespace OperatorWrap '+' should be on a new line. 98
 Warning sizes LineLength Line is longer than 120 characters (found 123). 99
 Warning whitespace OperatorWrap '+' should be on a new line. 99
 Warning sizes LineLength Line is longer than 120 characters (found 127). 100
 Warning whitespace OperatorWrap '+' should be on a new line. 100
 Warning whitespace OperatorWrap '+' should be on a new line. 101
 Warning whitespace OperatorWrap '+' should be on a new line. 102
 Warning whitespace OperatorWrap '+' should be on a new line. 103
 Warning sizes LineLength Line is longer than 120 characters (found 153). 104
 Warning whitespace OperatorWrap '+' should be on a new line. 104
 Warning whitespace OperatorWrap '+' should be on a new line. 105
 Warning whitespace OperatorWrap '+' should be on a new line. 106
 Warning whitespace OperatorWrap '+' should be on a new line. 107
 Warning indentation Indentation 'array initialization' child have incorrect indentation level 60, expected level should be one of the following: 8, 37, 40. 128
 Warning whitespace EmptyLineSeparator 'VARIABLE_DEF' should be separated from previous statement. 144
 Warning coding VariableDeclarationUsageDistance Distance between variable 'downCmdVenv' declaration and its first usage is 4, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 209
 Warning coding VariableDeclarationUsageDistance Distance between variable 'execCmdVenv' declaration and its first usage is 5, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 210
 Warning coding VariableDeclarationUsageDistance Distance between variable 'connType' declaration and its first usage is 5, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 232
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 247
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 316
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 370
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 482
 Warning modifier RedundantModifier Redundant 'public' modifier. 506
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 550
 Warning whitespace WhitespaceAround WhitespaceAround: '+' is not preceded with whitespace. 577
 Warning whitespace WhitespaceAround WhitespaceAround: '+' is not followed by whitespace. 577

org/opendaylight/ovsdb/utils/ovsdb/it/utils/ItConstants.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 39
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 39
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 40
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 40
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 41
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 41