The following document contains the results of Checkstyle 6.16 with odl_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | IllegalCatch | 1 | ![]() |
imports | CustomImportOrder
|
5 | ![]() |
UnusedImports | 1 | ![]() | |
javadoc | JavadocStyle
|
2 | ![]() |
NonEmptyAtclauseDescription | 1 | ![]() | |
modifier | ModifierOrder | 3 | ![]() |
naming | ConstantName | 1 | ![]() |
LocalVariableName
|
3 | ![]() | |
ParameterName
|
7 | ![]() | |
sizes | LineLength
|
21 | ![]() |
whitespace | EmptyLineSeparator
|
1 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
naming | ParameterName | Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 188 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 139). | 207 |
![]() |
naming | ParameterName | Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 215 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - java.util.Arrays. | 19 |
![]() |
naming | ConstantName | Name 'data' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 55 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 146). | 70 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 154). | 75 |
![]() |
naming | ParameterName | Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 84 |
![]() |
whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 89 |
![]() |
naming | ParameterName | Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 90 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 154). | 99 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 154). | 100 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 102 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 103 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 150). | 108 |
![]() |
naming | ParameterName | Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 117 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 154). | 126 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 154). | 127 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 129 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 130 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 158). | 135 |
![]() |
naming | ParameterName | Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 144 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 146). | 152 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 149). | 158 |
![]() |
naming | ParameterName | Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 173 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 135). | 181 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'com.google.common.base.Optional' import. Should be before 'org.opendaylight.yangtools.yang.binding.InstanceIdentifier'. | 33 |
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'com.google.common.util.concurrent.CheckedFuture' import. Should be before 'org.opendaylight.yangtools.yang.binding.InstanceIdentifier'. | 34 |
![]() |
javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 36 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 36 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 134). | 70 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 150). | 72 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 132). | 85 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 148). | 87 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 101 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'java.util.HashSet' import. Should be before 'org.slf4j.LoggerFactory'. | 21 |
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'java.util.List' import. Should be before 'org.slf4j.LoggerFactory'. | 22 |
![]() |
imports | CustomImportOrder | Wrong lexicographical order for 'java.util.Set' import. Should be before 'org.slf4j.LoggerFactory'. | 23 |
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 37 |
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 38 |
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 39 |
![]() |
javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 56 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 56 |
![]() |
javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 83 |
![]() |
naming | LocalVariableName | Local variable name '_start' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 153 |
![]() |
naming | LocalVariableName | Local variable name '_start' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 168 |
![]() |
naming | LocalVariableName | Local variable name '_start' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 183 |
![]() |
coding | IllegalCatch | Catching 'Exception' is not allowed. | 197 |