Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
14 0 119 0

Rules

Category Rule Violations Severity
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"
35  Warning
modifier RedundantModifier 1  Warning
naming ConstantName 18  Warning
MemberName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
2  Warning
ParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
2  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
59  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/protocol/pcep/segment/routing/AbstractSrSubobjectParser.java

Severity Category Rule Message Line
 Warning naming MemberName Member name 'm' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 50
 Warning naming MemberName Member name 'c' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 51
 Warning modifier RedundantModifier Redundant 'public' modifier. 56
 Warning naming ParameterName Parameter name 'm' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 56
 Warning naming ParameterName Parameter name 'c' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 56
 Warning sizes LineLength Line is longer than 120 characters (found 146). 113
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 131
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 132
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 133
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 134
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 135
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 136
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 137
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 138
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 139
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 140
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 141
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 142
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 143
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 144
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 145
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 146
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 147
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 148
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 149
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 150
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 151
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 152
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 153
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 159
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 160
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 162
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 163
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 165
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 166
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 169
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 170
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 173
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 174
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 177
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 178

org/opendaylight/protocol/pcep/segment/routing/PCEPSegmentRoutingCapabilityTest.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 137). 21
 Warning sizes LineLength Line is longer than 120 characters (found 134). 22

org/opendaylight/protocol/pcep/segment/routing/SegmentRoutingActivator.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 230). 50
 Warning sizes LineLength Line is longer than 120 characters (found 196). 53
 Warning sizes LineLength Line is longer than 120 characters (found 220). 56
 Warning sizes LineLength Line is longer than 120 characters (found 190). 59
 Warning sizes LineLength Line is longer than 120 characters (found 190). 62
 Warning sizes LineLength Line is longer than 120 characters (found 184). 65
 Warning sizes LineLength Line is longer than 120 characters (found 230). 72
 Warning sizes LineLength Line is longer than 120 characters (found 196). 75
 Warning sizes LineLength Line is longer than 120 characters (found 206). 78
 Warning sizes LineLength Line is longer than 120 characters (found 225). 81
 Warning sizes LineLength Line is longer than 120 characters (found 190). 84
 Warning sizes LineLength Line is longer than 120 characters (found 190). 87
 Warning sizes LineLength Line is longer than 120 characters (found 208). 90
 Warning sizes LineLength Line is longer than 120 characters (found 220). 92
 Warning sizes LineLength Line is longer than 120 characters (found 210). 95
 Warning sizes LineLength Line is longer than 120 characters (found 122). 104

org/opendaylight/protocol/pcep/segment/routing/SrEroSubobjectParser.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 123). 21

org/opendaylight/protocol/pcep/segment/routing/SrEroSubobjectParserTest.java

Severity Category Rule Message Line
 Warning naming ConstantName Name 'srEroSubobjectWithIpv4NodeID' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 33
 Warning naming ConstantName Name 'srEroSubobjectWithIpv6NodeID' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 39
 Warning naming ConstantName Name 'srEroSubobjectWithIpv4Adjacency' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 48
 Warning naming ConstantName Name 'srEroSubobjectWithIpv6Adjacency' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 55
 Warning naming ConstantName Name 'srEroSubobjectWithUnnumbered' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 68
 Warning naming ConstantName Name 'srEroSubobjectWithoutNAI' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 77
 Warning naming ConstantName Name 'srEroSubobjectWithoutSID' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 82
 Warning naming ConstantName Name 'srEroSubobjectWithIpv4NodeIDMFlag' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 87
 Warning naming ConstantName Name 'srEroSubobjectWithIpv4NodeIDMFlagAfter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 92
 Warning sizes LineLength Line is longer than 120 characters (found 156). 121
 Warning sizes LineLength Line is longer than 120 characters (found 123). 134
 Warning sizes LineLength Line is longer than 120 characters (found 156). 137
 Warning sizes LineLength Line is longer than 120 characters (found 159). 154
 Warning sizes LineLength Line is longer than 120 characters (found 121). 167
 Warning sizes LineLength Line is longer than 120 characters (found 159). 171
 Warning sizes LineLength Line is longer than 120 characters (found 153). 184
 Warning sizes LineLength Line is longer than 120 characters (found 156). 187
 Warning sizes LineLength Line is longer than 120 characters (found 152). 202
 Warning sizes LineLength Line is longer than 120 characters (found 152). 217
 Warning sizes LineLength Line is longer than 120 characters (found 161). 233

org/opendaylight/protocol/pcep/segment/routing/SrObjectParserTest.java

Severity Category Rule Message Line
 Warning naming ConstantName Name 'openObjectBytes' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 46
 Warning naming ConstantName Name 'srEroObjectBytes' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 53
 Warning sizes LineLength Line is longer than 120 characters (found 127). 78
 Warning sizes LineLength Line is longer than 120 characters (found 130). 92
 Warning sizes LineLength Line is longer than 120 characters (found 136). 93
 Warning sizes LineLength Line is longer than 120 characters (found 130). 109
 Warning sizes LineLength Line is longer than 120 characters (found 123). 121
 Warning sizes LineLength Line is longer than 120 characters (found 128). 122
 Warning sizes LineLength Line is longer than 120 characters (found 130). 137
 Warning sizes LineLength Line is longer than 120 characters (found 200). 143
 Warning sizes LineLength Line is longer than 120 characters (found 191). 144
 Warning sizes LineLength Line is longer than 120 characters (found 123). 149
 Warning sizes LineLength Line is longer than 120 characters (found 128). 150

org/opendaylight/protocol/pcep/segment/routing/SrRroSubobjectParser.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 123). 24
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 34

org/opendaylight/protocol/pcep/segment/routing/SrRroSubobjectParserTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group. 13
 Warning naming ConstantName Name 'srRroSubobjectWithIpv4NodeID' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 33
 Warning naming ConstantName Name 'srRroSubobjectWithIpv6NodeID' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 39
 Warning naming ConstantName Name 'srRroSubobjectWithIpv4Adjacency' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 48
 Warning naming ConstantName Name 'srRroSubobjectWithIpv6Adjacency' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 55
 Warning naming ConstantName Name 'srRroSubobjectWithUnnumbered' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 68
 Warning naming ConstantName Name 'srRroSubobjectWithoutNAI' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 77
 Warning naming ConstantName Name 'srRroSubobjectWithoutSID' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 82
 Warning sizes LineLength Line is longer than 120 characters (found 149). 111
 Warning sizes LineLength Line is longer than 120 characters (found 123). 124
 Warning sizes LineLength Line is longer than 120 characters (found 149). 127
 Warning sizes LineLength Line is longer than 120 characters (found 152). 144
 Warning sizes LineLength Line is longer than 120 characters (found 121). 157
 Warning sizes LineLength Line is longer than 120 characters (found 152). 161
 Warning sizes LineLength Line is longer than 120 characters (found 153). 174
 Warning sizes LineLength Line is longer than 120 characters (found 149). 177
 Warning sizes LineLength Line is longer than 120 characters (found 145). 192
 Warning sizes LineLength Line is longer than 120 characters (found 145). 207

org/opendaylight/protocol/pcep/segment/routing/TopologyProviderTest.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 127). 120
 Warning sizes LineLength Line is longer than 120 characters (found 126). 125
 Warning sizes LineLength Line is longer than 120 characters (found 139). 126
 Warning sizes LineLength Line is longer than 120 characters (found 178). 128
 Warning sizes LineLength Line is longer than 120 characters (found 146). 130
 Warning sizes LineLength Line is longer than 120 characters (found 125). 143