The following document contains the results of Checkstyle 6.2 with odl_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | VariableDeclarationUsageDistance | 1 | ![]() |
imports | CustomImportOrder
|
42 | ![]() |
indentation | Indentation
|
3 | ![]() |
javadoc | JavadocMethod
|
3 | ![]() |
JavadocParagraph | 2 | ![]() | |
NonEmptyAtclauseDescription | 3 | ![]() | |
naming | LocalVariableName
|
2 | ![]() |
sizes | LineLength
|
1 | ![]() |
whitespace | EmptyLineSeparator
|
7 | ![]() |
FileTabCharacter
|
1 | ![]() | |
OperatorWrap
|
3 | ![]() | |
WhitespaceAround
|
1 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | EmptyLineSeparator | 'package' should be separated from previous statement. | 8 |
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'com.google.common.base.Preconditions' import. | 15 |
![]() |
javadoc | SummaryJavadoc | First sentence should be present. | 18 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 29 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 69 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 84 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | EmptyLineSeparator | 'package' should be separated from previous statement. | 8 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 13 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 14 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 15 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 16 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 17 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 18 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 19 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 20 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 21 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 22 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 23 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 24 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 25 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 26 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 27 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 28 |
![]() |
javadoc | SummaryJavadoc | First sentence should be present. | 46 |
![]() |
javadoc | SummaryJavadoc | First sentence should be present. | 114 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 223 |
![]() |
javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 319 |
![]() |
javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 321 |
![]() |
javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 324 |
![]() |
javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 325 |
![]() |
javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 326 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | EmptyLineSeparator | 'package' should be separated from previous statement. | 8 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | EmptyLineSeparator | 'package' should be separated from previous statement. | 8 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 11 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 12 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 13 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | EmptyLineSeparator | 'package' should be separated from previous statement. | 8 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 11 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 12 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 13 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 14 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | EmptyLineSeparator | 'package' should be separated from previous statement. | 8 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 11 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 12 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 13 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 14 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 15 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 160). | 45 |
![]() |
javadoc | SummaryJavadoc | Javadoc comment at column 4 has parse error. Unrecognized error from ANTLR parser: null | 49 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | EmptyLineSeparator | 'package' should be separated from previous statement. | 8 |
![]() |
imports | CustomImportOrder | 'org.opendaylight.yangtools.yang.parser.stmt.reactor.CrossSourceStatementReactor'should be separated from previous import group. | 11 |
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'com.google.common.annotations.VisibleForTesting' import. | 13 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 16 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 17 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 18 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 19 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 20 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 21 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 22 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 23 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 24 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 25 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 26 |
![]() |
naming | LocalVariableName | Local variable name 'i' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 76 |
![]() |
whitespace | FileTabCharacter | Line contains a tab character. | 120 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 200 |
![]() |
whitespace | WhitespaceAround | WhitespaceAround: 'if' is not followed by whitespace. | 238 |
![]() |
javadoc | SummaryJavadoc | First sentence should be present. | 273 |
![]() |
javadoc | SummaryJavadoc | First sentence should be present. | 301 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'g' declaration and its first usage is 6, 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). | 309 |
![]() |
naming | LocalVariableName | Local variable name 'g' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 309 |
![]() |
indentation | Indentation | 'if' child have incorrect indentation level 10, expected level should be 12. | 315 |
![]() |
indentation | Indentation | 'method call' child have incorrect indentation level 10, expected level should be 12. | 315 |
![]() |
indentation | Indentation | 'else' child have incorrect indentation level 10, expected level should be 12. | 317 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 317 |