The following document contains the results of Checkstyle 6.16 with odl_checks.xml ruleset.
File | ![]() |
![]() |
![]() |
---|---|---|---|
org/opendaylight/ovsdb/utils/servicehelper/ServiceHelper.java | 0 | 10 | 0 |
org/opendaylight/ovsdb/utils/servicehelper/ServiceHelperTest.java | 0 | 2 | 0 |
Category | Rule | Violations | Severity |
---|---|---|---|
coding | IllegalCatch | 1 | ![]() |
VariableDeclarationUsageDistance | 1 | ![]() | |
imports | CustomImportOrder
|
3 | ![]() |
javadoc | JavadocStyle
|
2 | ![]() |
misc | ArrayTypeStyle | 1 | ![]() |
naming | LocalVariableName
|
1 | ![]() |
whitespace | MethodParamPad | 1 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'org.osgi.framework.BundleContext' import. Should be before 'org.slf4j.LoggerFactory'. | 17 |
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'org.osgi.framework.FrameworkUtil' import. Should be before 'org.slf4j.LoggerFactory'. | 18 |
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'org.osgi.framework.ServiceReference' import. Should be before 'org.slf4j.LoggerFactory'. | 19 |
![]() |
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 |
![]() |
javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 70 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 70 |
![]() |
misc | ArrayTypeStyle | Array brackets at illegal position. | 81 |
![]() |
naming | LocalVariableName | Local variable name 'bCtx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 85 |
![]() |
coding | IllegalCatch | Catching 'Exception' is not allowed. | 97 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | MethodParamPad | '(' is preceded with whitespace. | 34 |
![]() |
coding | VariableDeclarationUsageDistance | Distance between variable 'bundle' 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). | 35 |