Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
7 0 105 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"
  • thirdPartyPackageRegExp: ".*"
  • specialImportsRegExp: "^com.*"
35  Warning
indentation Indentation
  • lineWrappingIndentation: "4"
  • caseIndent: "4"
  • arrayInitIndent: "4"
  • throwsIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
1  Warning
javadoc JavadocParagraph 2  Warning
NonEmptyAtclauseDescription 1  Warning
modifier ModifierOrder 2  Warning
naming ParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
34  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
6  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
6  Warning
WhitespaceAround
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
  • allowEmptyMethods: "true"
  • allowEmptyConstructors: "true"
18  Warning

Details

org/opendaylight/yangtools/yang/model/export/ExtensionStatement.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder 'org.opendaylight.yangtools.yang.common.QName'should be separated from previous import group. 13
 Warning whitespace WhitespaceAround WhitespaceAround: 'for' is not followed by whitespace. 37

org/opendaylight/yangtools/yang/model/export/Rfc6020ModuleWriter.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 11
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 12
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 13
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 42
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 44
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 50
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 52
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 54
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 56
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 58
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 64
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 66
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 68
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 70
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 72
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 74
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 76
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 78
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 132

org/opendaylight/yangtools/yang/model/export/SchemaContextEmitter.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 15
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 16
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 17
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 18
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 19
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 20
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 21
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 22
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 23
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 24
 Warning sizes LineLength Line is longer than 120 characters (found 166). 92
 Warning sizes LineLength Line is longer than 120 characters (found 129). 99
 Warning modifier ModifierOrder '@Nullable' annotation modifier does not preceed non-annotation modifiers. 349
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 376
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 695
 Warning whitespace WhitespaceAround WhitespaceAround: 'for' is not followed by whitespace. 1076
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 1117
 Warning whitespace WhitespaceAround WhitespaceAround: 'for' is not followed by whitespace. 1134
 Warning whitespace WhitespaceAround WhitespaceAround: 'for' is not followed by whitespace. 1137
 Warning whitespace WhitespaceAround WhitespaceAround: 'while' is not followed by whitespace. 1182
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 1183
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 1186

org/opendaylight/yangtools/yang/model/export/SchemaToStatementWriterAdaptor.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 13
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 14
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 15
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 16
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 17
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 114
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 120
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 138
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 144
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 150
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 156
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 162
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 178
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 184
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 190
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 196
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 202
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 208
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 214
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 220
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 382

org/opendaylight/yangtools/yang/model/export/SingleModuleYinStatementWriter.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 14
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 15
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 16
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 17
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 18
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 19
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 20
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 21
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 22
 Warning indentation Indentation 'try' have incorrect indentation level 7, expected level should be 8. 49
 Warning sizes LineLength Line is longer than 120 characters (found 125). 55
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 109
 Warning whitespace WhitespaceAround WhitespaceAround: 'while' is not followed by whitespace. 113
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 115
 Warning modifier ModifierOrder '@Nullable' annotation modifier does not preceed non-annotation modifiers. 177
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 178
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 186
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 188
 Warning naming ParameterName Parameter name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 213

org/opendaylight/yangtools/yang/model/export/YinExportUtils.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 13
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 14
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 15
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 16
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 17
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 18
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 19
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 34
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 46
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 70
 Warning sizes LineLength Line is longer than 120 characters (found 146). 72
 Warning sizes LineLength Line is longer than 120 characters (found 136). 79
 Warning sizes LineLength Line is longer than 120 characters (found 123). 82
 Warning whitespace WhitespaceAround WhitespaceAround: 'for' is not followed by whitespace. 89
 Warning whitespace WhitespaceAround WhitespaceAround: 'for' is not followed by whitespace. 98
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 99