Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
2 0 28 0

Rules

Category Rule Violations Severity
coding MissingSwitchDefault 1  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
2  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
1  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
  • tokens: "IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
22  Warning
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
2  Warning

Details

org/opendaylight/netvirt/fibmanager/api/IFibManager.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.math.BigInteger' import. Should be before 'org.opendaylight.controller.md.sal.binding.api.WriteTransaction'. 14
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.List' import. Should be before 'org.opendaylight.controller.md.sal.binding.api.WriteTransaction'. 15
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 23
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 25
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 27
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 29
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 31
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 33
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 37
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 38
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 39
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 40
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 41
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 42
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 43
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 54
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 56
 Warning sizes LineLength Line is longer than 120 characters (found 134). 56
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 57
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 58
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 60
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 61
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 62
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 65
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 66

org/opendaylight/netvirt/fibmanager/api/RouteOrigin.java

Severity Category Rule Message Line
 Warning coding MissingSwitchDefault switch without "default" clause. 37
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 61
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 65