Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
4 0 75 0

Rules

Category Rule Violations Severity
coding IllegalThrows 3  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
1  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
31  Warning
javadoc JavadocStyle
  • checkEmptyJavadoc: "true"
1  Warning
NonEmptyAtclauseDescription 6  Warning
naming ConstantName 6  Warning
TypeName 1  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
19  Warning
whitespace WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
6  Warning

Details

org/opendaylight/bgp/concepts/NextHopUtil.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 123). 41
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 62
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 63
 Warning sizes LineLength Line is longer than 120 characters (found 151). 63
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 64
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 65
 Warning sizes LineLength Line is longer than 120 characters (found 151). 65
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 66
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 67
 Warning sizes LineLength Line is longer than 120 characters (found 157). 68
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 69
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 70
 Warning sizes LineLength Line is longer than 120 characters (found 127). 70

org/opendaylight/bgp/concepts/NextHopUtilTest.java

Severity Category Rule Message Line
 Warning naming ConstantName Name 'ipv4B' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 33
 Warning naming ConstantName Name 'ipv6B' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 34
 Warning naming ConstantName Name 'ipv6lB' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 35
 Warning naming ConstantName Name 'ipv4' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 38
 Warning naming ConstantName Name 'ipv6' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 39
 Warning naming ConstantName Name 'ipv6l' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 40
 Warning sizes LineLength Line is longer than 120 characters (found 125). 44
 Warning sizes LineLength Line is longer than 120 characters (found 136). 54
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 111
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 111
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 112

org/opendaylight/bgp/concepts/RouteDistinguisherUtil.java

Severity Category Rule Message Line
 Warning naming TypeName Type name 'RD_TYPE' must match pattern '^[A-Z][a-zA-Z0-9]*$'. 34
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 66
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 67
 Warning sizes LineLength Line is longer than 120 characters (found 122). 69
 Warning sizes LineLength Line is longer than 120 characters (found 153). 71
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 98
 Warning sizes LineLength Line is longer than 120 characters (found 138). 102
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 107
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 108
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 109
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 110
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 111
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 112
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 113
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 114
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 115
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 116
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 117
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 118
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 119
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 120
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 121
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 122
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 123
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 124
 Warning indentation Indentation 'for' have incorrect indentation level 12, expected level should be 16. 127
 Warning indentation Indentation 'for' child have incorrect indentation level 16, expected level should be 20. 128
 Warning indentation Indentation 'for rcurly' have incorrect indentation level 12, expected level should be 16. 129
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 130
 Warning sizes LineLength Line is longer than 120 characters (found 129). 130
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 131
 Warning sizes LineLength Line is longer than 120 characters (found 126). 149

org/opendaylight/bgp/concepts/RouteDistinguisherUtilTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group. 12
 Warning sizes LineLength Line is longer than 120 characters (found 125). 35
 Warning sizes LineLength Line is longer than 120 characters (found 122). 46
 Warning sizes LineLength Line is longer than 120 characters (found 125). 57
 Warning sizes LineLength Line is longer than 120 characters (found 128). 67
 Warning sizes LineLength Line is longer than 120 characters (found 125). 68
 Warning sizes LineLength Line is longer than 120 characters (found 142). 74
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 78
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 78
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 79
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 89
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 89
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 90
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 94
 Warning javadoc JavadocStyle First sentence should end with a period. 94
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 96
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 97
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 98
 Warning sizes LineLength Line is longer than 120 characters (found 146). 100