Checkstyle Results

The following document contains the results of Checkstyle 6.16 with odl_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
5 0 48 0

Rules

Category Rule Violations Severity
coding IllegalCatch 1  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
5  Warning
UnusedImports 1  Warning
javadoc JavadocStyle
  • checkEmptyJavadoc: "true"
2  Warning
NonEmptyAtclauseDescription 1  Warning
modifier ModifierOrder 3  Warning
naming ConstantName 1  Warning
LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
3  Warning
ParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
7  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
21  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
  • tokens: "IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
1  Warning

Details

org/opendaylight/ovsdb/utils/mdsal/utils/MdsalUtilsAsync.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 188
 Warning sizes LineLength Line is longer than 120 characters (found 139). 207
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 215

org/opendaylight/ovsdb/utils/mdsal/utils/MdsalUtilsAsyncTest.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.util.Arrays. 19
 Warning naming ConstantName Name 'data' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 55
 Warning sizes LineLength Line is longer than 120 characters (found 146). 70
 Warning sizes LineLength Line is longer than 120 characters (found 154). 75
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 84
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 89
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 90
 Warning sizes LineLength Line is longer than 120 characters (found 154). 99
 Warning sizes LineLength Line is longer than 120 characters (found 154). 100
 Warning sizes LineLength Line is longer than 120 characters (found 126). 102
 Warning sizes LineLength Line is longer than 120 characters (found 126). 103
 Warning sizes LineLength Line is longer than 120 characters (found 150). 108
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 117
 Warning sizes LineLength Line is longer than 120 characters (found 154). 126
 Warning sizes LineLength Line is longer than 120 characters (found 154). 127
 Warning sizes LineLength Line is longer than 120 characters (found 126). 129
 Warning sizes LineLength Line is longer than 120 characters (found 126). 130
 Warning sizes LineLength Line is longer than 120 characters (found 158). 135
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 144
 Warning sizes LineLength Line is longer than 120 characters (found 146). 152
 Warning sizes LineLength Line is longer than 120 characters (found 149). 158
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 173
 Warning sizes LineLength Line is longer than 120 characters (found 135). 181

org/opendaylight/ovsdb/utils/mdsal/utils/MdsalUtilsTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.base.Optional' import. Should be before 'org.opendaylight.yangtools.yang.binding.InstanceIdentifier'. 33
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.util.concurrent.CheckedFuture' import. Should be before 'org.opendaylight.yangtools.yang.binding.InstanceIdentifier'. 34
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 36
 Warning javadoc JavadocStyle First sentence should end with a period. 36
 Warning sizes LineLength Line is longer than 120 characters (found 134). 70
 Warning sizes LineLength Line is longer than 120 characters (found 150). 72
 Warning sizes LineLength Line is longer than 120 characters (found 132). 85
 Warning sizes LineLength Line is longer than 120 characters (found 148). 87
 Warning sizes LineLength Line is longer than 120 characters (found 122). 101

org/opendaylight/ovsdb/utils/mdsal/utils/NotifyingDataChangeListener.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.HashSet' import. Should be before 'org.slf4j.LoggerFactory'. 21
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.List' import. Should be before 'org.slf4j.LoggerFactory'. 22
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.Set' import. Should be before 'org.slf4j.LoggerFactory'. 23
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 37
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 38
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 39
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 56
 Warning javadoc JavadocStyle First sentence should end with a period. 56
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 83
 Warning naming LocalVariableName Local variable name '_start' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 153
 Warning naming LocalVariableName Local variable name '_start' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 168
 Warning naming LocalVariableName Local variable name '_start' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 183
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 197