The following document contains the results of Checkstyle 6.2 with odl_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | OverloadMethodsDeclarationOrder | 7 | ![]() |
VariableDeclarationUsageDistance | 19 | ![]() | |
imports | CustomImportOrder
|
24 | ![]() |
indentation | Indentation
|
1 | ![]() |
javadoc | JavadocMethod
|
34 | ![]() |
misc | ArrayTypeStyle | 1 | ![]() |
modifier | ModifierOrder | 2 | ![]() |
naming | AbbreviationAsWordInName
|
9 | ![]() |
ParameterName
|
1 | ![]() | |
sizes | LineLength
|
9 | ![]() |
whitespace | EmptyLineSeparator
|
9 | ![]() |
MethodParamPad | 4 | ![]() | |
NoLineWrap | 1 | ![]() | |
OperatorWrap
|
8 | ![]() | |
WhitespaceAround
|
6 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'java.util.concurrent.Executors' import. | 13 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 43 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 32 |
![]() |
coding | OverloadMethodsDeclarationOrder | Overload methods should not be split. Previous overloaded method located at line '32'. | 43 |
![]() |
whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 44 |
![]() |
coding | OverloadMethodsDeclarationOrder | Overload methods should not be split. Previous overloaded method located at line '41'. | 44 |
![]() |
whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 45 |
![]() |
whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 46 |
![]() |
whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 47 |
![]() |
whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 48 |
![]() |
whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 49 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | NoLineWrap | import statement should not be line-wrapped. | 18 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | CustomImportOrder | 'org.opendaylight.controller.md.sal.binding.api.DataBroker'should be separated from previous import group. | 13 |
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'org.opendaylight.netvirt.openstack.netvirt.api.Constants' import. | 22 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 94 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | EmptyLineSeparator | 'package' should be separated from previous statement. | 8 |
![]() |
javadoc | SummaryJavadoc | First sentence should be present. | 14 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | EmptyLineSeparator | 'package' should be separated from previous statement. | 8 |
![]() |
javadoc | SummaryJavadoc | First sentence should be present. | 17 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | CustomImportOrder | 'org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType'should be separated from previous import group. | 12 |
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.SffName' import. | 19 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 76 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 91 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 115 |
![]() |
whitespace | OperatorWrap | '||' should be on a new line. | 129 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 130 |
![]() |
whitespace | OperatorWrap | '||' should be on a new line. | 130 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 131 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 149 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 161 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 171 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 181 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 190 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 201 |
![]() |
whitespace | OperatorWrap | '&&' should be on a new line. | 203 |
![]() |
whitespace | OperatorWrap | '&&' should be on a new line. | 204 |
![]() |
whitespace | OperatorWrap | '&&' should be on a new line. | 205 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 222 |
![]() |
whitespace | OperatorWrap | '&&' should be on a new line. | 223 |
![]() |
whitespace | OperatorWrap | '&&' should be on a new line. | 224 |
![]() |
whitespace | OperatorWrap | '&&' should be on a new line. | 225 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 235 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 241 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 251 |
![]() |
whitespace | WhitespaceAround | WhitespaceAround: '-' is not preceded with whitespace. | 258 |
![]() |
whitespace | WhitespaceAround | WhitespaceAround: '-' is not followed by whitespace. | 258 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
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 | Wrong lexicographical order for 'org.opendaylight.netvirt.openstack.netvirt.api.Southbound' import. | 21 |
![]() |
coding | OverloadMethodsDeclarationOrder | Overload methods should not be split. Previous overloaded method located at line '90'. | 113 |
![]() |
coding | OverloadMethodsDeclarationOrder | Overload methods should not be split. Previous overloaded method located at line '94'. | 135 |
![]() |
whitespace | MethodParamPad | '(' is preceded with whitespace. | 259 |
![]() |
whitespace | MethodParamPad | '(' is preceded with whitespace. | 283 |
![]() |
naming | ParameterName | Parameter name 's' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 334 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 362 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 376 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 391 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 411 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 425 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
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 | Wrong lexicographical order for 'org.opendaylight.netvirt.openstack.netvirt.api.Southbound' import. | 18 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 42 |
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 43 |
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 53 |
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 54 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 58 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 71 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 109 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'actionList' 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). | 125 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 186 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'isb' 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). | 199 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'instructions' 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). | 200 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'actionList' 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). | 204 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 233 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'org.opendaylight.netvirt.openstack.netvirt.providers.ConfigInterface' import. | 15 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 146). | 44 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 164). | 54 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 141). | 59 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 147). | 64 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 131). | 74 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 124). | 79 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | CustomImportOrder | Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. | 12 |
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.rsp.rev140701.CreateRenderedPathInput' import. | 28 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 67 |
![]() |
coding | OverloadMethodsDeclarationOrder | Overload methods should not be split. Previous overloaded method located at line '88'. | 99 |
![]() |
coding | OverloadMethodsDeclarationOrder | Overload methods should not be split. Previous overloaded method located at line '94'. | 106 |
![]() |
whitespace | WhitespaceAround | WhitespaceAround: '-' is not preceded with whitespace. | 178 |
![]() |
whitespace | WhitespaceAround | WhitespaceAround: '-' is not followed by whitespace. | 178 |
![]() |
whitespace | MethodParamPad | '(' is preceded with whitespace. | 369 |
![]() |
whitespace | MethodParamPad | '(' is preceded with whitespace. | 394 |
![]() |
naming | AbbreviationAsWordInName | Abbreviation in name must contain no more than '1' capital letters. | 456 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | SummaryJavadoc | First sentence should be present. | 32 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | CustomImportOrder | 'org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev150317.AccessListsBuilder'should be separated from previous import group. | 13 |
![]() |
whitespace | WhitespaceAround | WhitespaceAround: '=' is not preceded with whitespace. | 31 |
![]() |
whitespace | WhitespaceAround | WhitespaceAround: '=' is not preceded with whitespace. | 32 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 35 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 57 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 65 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 75 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 83 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 91 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 99 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | CustomImportOrder | 'org.opendaylight.netvirt.utils.mdsal.openflow.FlowUtils'should be separated from previous import group. | 13 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 25 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 38 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
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 | Wrong lexicographical order for 'org.opendaylight.netvirt.openstack.netvirt.api.Constants' import. | 24 |
![]() |
naming | AbbreviationAsWordInName | Abbreviation in name must contain no more than '1' capital letters. | 63 |
![]() |
naming | AbbreviationAsWordInName | Abbreviation in name must contain no more than '1' capital letters. | 73 |
![]() |
naming | AbbreviationAsWordInName | Abbreviation in name must contain no more than '1' capital letters. | 78 |
![]() |
naming | AbbreviationAsWordInName | Abbreviation in name must contain no more than '1' capital letters. | 99 |
![]() |
naming | AbbreviationAsWordInName | Abbreviation in name must contain no more than '1' capital letters. | 106 |
![]() |
naming | AbbreviationAsWordInName | Abbreviation in name must contain no more than '1' capital letters. | 114 |
![]() |
naming | AbbreviationAsWordInName | Abbreviation in name must contain no more than '1' capital letters. | 119 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'isb' 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). | 193 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'isb' 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). | 225 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'isb' declaration and its first usage is 18, 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). | 257 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'instructions' declaration and its first usage is 17, 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). | 258 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'isb' 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). | 316 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'instructions' 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). | 317 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'isb' 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). | 350 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'instructions' 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). | 351 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'isb' 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). | 383 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'instructions' 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). | 384 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'ib' declaration and its first usage is 34, 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). | 417 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'isb' declaration and its first usage is 38, 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). | 418 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'instructions' declaration and its first usage is 37, 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). | 419 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'aab' declaration and its first usage is 33, 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). | 420 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'actionList' 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). | 422 |
![]() |
misc | ArrayTypeStyle | Array brackets at illegal position. | 515 |
![]() |
indentation | Indentation | 'array initialization' child have incorrect indentation level 12, expected level should be one of the following: 8, 39, 42. | 516 |
![]() |
naming | AbbreviationAsWordInName | Abbreviation in name must contain no more than '1' capital letters. | 522 |
![]() |
coding | OverloadMethodsDeclarationOrder | Overload methods should not be split. Previous overloaded method located at line '119'. | 532 |