The following document contains the results of Checkstyle 6.16 with odl_checks.xml ruleset. 
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | IllegalCatch | 2 | |
| VariableDeclarationUsageDistance | 10 | ||
| imports | CustomImportOrder
|
28 | |
| indentation | Indentation
|
2 | |
| javadoc | JavadocStyle
|
5 | |
| naming | ConstantName | 12 | |
| sizes | LineLength
|
4 | |
| whitespace | EmptyLineSeparator
|
3 | |
OperatorWrap
|
5 | ||
WhitespaceAround
|
13 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'javax.annotation.Nonnull' import. Should be before 'org.slf4j.LoggerFactory'. | 24 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.Collection' import. Should be before 'org.slf4j.LoggerFactory'. | 25 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.ExecutorService' import. Should be before 'org.slf4j.LoggerFactory'. | 26 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.Executors' import. Should be before 'org.slf4j.LoggerFactory'. | 27 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.ThreadFactory' import. Should be before 'org.slf4j.LoggerFactory'. | 28 | |
| naming | ConstantName | Name 'threadFactory' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 37 | |
| coding | IllegalCatch | Catching 'Exception' is not allowed. | 53 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 14 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 14 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| naming | ConstantName | Name 'fcIid' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 37 | |
| naming | ConstantName | Name 'portsIid' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 39 | |
| naming | ConstantName | Name 'portPairsIid' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 41 | |
| naming | ConstantName | Name 'portPairGroupsIid' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 43 | |
| sizes | LineLength | Line is longer than 120 characters (found 122). | 73 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.List' import. Should be before 'org.slf4j.LoggerFactory'. | 30 | |
| naming | ConstantName | Name 'topologyPath' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 38 | |
| whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 60 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'if' is not followed by whitespace. | 75 | |
| whitespace | OperatorWrap | '+' should be on a new line. | 92 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'if' is not followed by whitespace. | 103 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.List' import. Should be before 'org.slf4j.LoggerFactory'. | 34 | |
| sizes | LineLength | Line is longer than 120 characters (found 124). | 181 | |
| coding | IllegalCatch | Catching 'Exception' is not allowed. | 184 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.ArrayList' import. Should be before 'org.slf4j.LoggerFactory'. | 38 | |
| whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 53 | |
| coding | VariableDeclarationUsageDistance | Distance between variable 'accessListEntriesBuilder' declaration and its first usage is 19, 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). | 56 | |
| coding | VariableDeclarationUsageDistance | Distance between variable 'matchesBuilder' declaration and its first usage is 13, 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). | 58 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 21 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 21 | |
| naming | ConstantName | Name 'flowClassifiersIid' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 26 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.ArrayList' import. Should be before 'org.slf4j.LoggerFactory'. | 45 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.HashMap' import. Should be before 'org.slf4j.LoggerFactory'. | 46 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.List' import. Should be before 'org.slf4j.LoggerFactory'. | 47 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.Map' import. Should be before 'org.slf4j.LoggerFactory'. | 48 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.ExecutionException' import. Should be before 'org.slf4j.LoggerFactory'. | 49 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.ExecutorService' import. Should be before 'org.slf4j.LoggerFactory'. | 50 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.Executors' import. Should be before 'org.slf4j.LoggerFactory'. | 51 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.Future' import. Should be before 'org.slf4j.LoggerFactory'. | 52 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.ThreadFactory' import. Should be before 'org.slf4j.LoggerFactory'. | 53 | |
| javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 55 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 55 | |
| naming | ConstantName | Name 'portChainIid' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 61 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'if' is not followed by whitespace. | 87 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'for' is not followed by whitespace. | 150 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'for' is not followed by whitespace. | 170 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'if' is not followed by whitespace. | 176 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'if' is not followed by whitespace. | 203 | |
| indentation | Indentation | 'if' child have incorrect indentation level 11, expected level should be 12. | 261 | |
| sizes | LineLength | Line is longer than 120 characters (found 121). | 289 | |
| whitespace | OperatorWrap | '+' should be on a new line. | 305 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 19 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 19 | |
| naming | ConstantName | Name 'portPairGroupIid' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 23 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.List' import. Should be before 'org.slf4j.LoggerFactory'. | 31 | |
| javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 33 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 33 | |
| naming | ConstantName | Name 'portPairIid' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 39 | |
| whitespace | OperatorWrap | '+' should be on a new line. | 95 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.ArrayList' import. Should be before 'org.slf4j.LoggerFactory'. | 32 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.List' import. Should be before 'org.slf4j.LoggerFactory'. | 33 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'for' is not followed by whitespace. | 56 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'if' is not followed by whitespace. | 68 | |
| whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 104 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.ArrayList' import. Should be before 'org.slf4j.LoggerFactory'. | 47 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.Iterator' import. Should be before 'org.slf4j.LoggerFactory'. | 48 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.List' import. Should be before 'org.slf4j.LoggerFactory'. | 49 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.Map' import. Should be before 'org.slf4j.LoggerFactory'. | 50 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.atomic.AtomicInteger' import. Should be before 'org.slf4j.LoggerFactory'. | 51 | |
| naming | ConstantName | Name 'counter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 63 | |
| coding | VariableDeclarationUsageDistance | Distance between variable 'sffOvsBridgeAugBuilder' declaration and its first usage is 8, 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). | 75 | |
| coding | VariableDeclarationUsageDistance | Distance between variable 'sffDataPlaneLocator' declaration and its first usage is 13, 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). | 78 | |
| coding | VariableDeclarationUsageDistance | Distance between variable 'sffDplBuilder' 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). | 79 | |
| indentation | Indentation | 'if' child have incorrect indentation level 11, expected level should be 12. | 88 | |
| whitespace | OperatorWrap | '+' should be on a new line. | 88 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'if' is not followed by whitespace. | 121 | |
| coding | VariableDeclarationUsageDistance | Distance between variable 'sfdList' declaration and its first usage is 7, 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). | 159 | |
| sizes | LineLength | Line is longer than 120 characters (found 121). | 178 | |
| coding | VariableDeclarationUsageDistance | Distance between variable 'ovsOptions' 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). | 196 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.ArrayList' import. Should be before 'org.slf4j.LoggerFactory'. | 43 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.List' import. Should be before 'org.slf4j.LoggerFactory'. | 44 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.atomic.AtomicInteger' import. Should be before 'org.slf4j.LoggerFactory'. | 45 | |
| naming | ConstantName | Name 'counter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 65 | |
| coding | VariableDeclarationUsageDistance | Distance between variable 'sfDataPlaneLocatorList' declaration and its first usage is 14, 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). | 80 | |
| coding | VariableDeclarationUsageDistance | Distance between variable 'sfDataPlaneLocatorBuilder' 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). | 81 | |
| coding | VariableDeclarationUsageDistance | Distance between variable 'sfParams' declaration and its first usage is 11, 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). | 84 | |
| whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 111 | |
| whitespace | OperatorWrap | '+' should be on a new line. | 139 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'for' is not followed by whitespace. | 145 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'if' is not followed by whitespace. | 176 |