Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
50 0 117 0

Files

File  I  W  E
org/opendaylight/protocol/rsvp/parser/spi/AbstractRSVPExtensionProviderActivator.java 0 1 0
org/opendaylight/protocol/rsvp/parser/spi/EROSubobjectUtilTest.java 0 4 0
org/opendaylight/protocol/rsvp/parser/spi/LabelRegistry.java 0 1 0
org/opendaylight/protocol/rsvp/parser/spi/RSVPExtensionProviderContext.java 0 5 0
org/opendaylight/protocol/rsvp/parser/spi/RSVPTeObjectRegistry.java 0 1 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/ServiceLoaderRSVPExtensionProviderContext.java 0 2 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/ServiceLoaderRSVPExtensionProviderContextTest.java 0 18 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleEROSubobjectRegistry.java 0 3 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleEROSubobjectRegistryTest.java 0 2 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleLabelRegistry.java 0 4 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleLabelRegistryTest.java 0 2 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRROSubobjectRegistry.java 0 2 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRROSubobjectRegistryTest.java 0 2 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPExtensionProviderContext.java 0 8 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPExtensionProviderContextActivator.java 0 2 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPObjectRegistry.java 0 4 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPObjectRegistryTest.java 0 8 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleXROSubobjectRegistry.java 0 3 0
org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleXROSubobjectRegistryTest.java 0 1 0
org/opendaylight/protocol/rsvp/parser/spi/subobjects/AbstractRSVPObjectParser.java 0 4 0
org/opendaylight/protocol/rsvp/parser/spi/subobjects/CUISubobjectParserTest.java 0 4 0
org/opendaylight/protocol/rsvp/parser/spi/subobjects/CommonPathKeyParserTest.java 0 4 0
org/opendaylight/protocol/rsvp/parser/spi/subobjects/CommonUnnumberedInterfaceSubobjectParser.java 0 1 0
org/opendaylight/protocol/rsvp/parser/spi/subobjects/EROSubobjectListParser.java 0 4 0
org/opendaylight/protocol/rsvp/parser/spi/subobjects/EROSubobjectListParserTest.java 0 7 0
org/opendaylight/protocol/rsvp/parser/spi/subobjects/RROSubobjectListParser.java 0 2 0
org/opendaylight/protocol/rsvp/parser/spi/subobjects/RROSubobjectListParserTest.java 0 8 0
org/opendaylight/protocol/rsvp/parser/spi/subobjects/XROSubobjectListParser.java 0 4 0
org/opendaylight/protocol/rsvp/parser/spi/subobjects/XROSubobjectListParserTest.java 0 6 0

Rules

Category Rule Violations Severity
coding IllegalCatch 2  Warning
IllegalThrows 2  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
11  Warning
modifier RedundantModifier 6  Warning
naming MemberName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
1  Warning
ParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
11  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
56  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
  • tokens: "IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
6  Warning
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
22  Warning

Details

org/opendaylight/protocol/rsvp/parser/spi/AbstractRSVPExtensionProviderActivator.java

Severity Category Rule Message Line
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 42

org/opendaylight/protocol/rsvp/parser/spi/EROSubobjectUtilTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group by one line. 11
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 19
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 19
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 20

org/opendaylight/protocol/rsvp/parser/spi/LabelRegistry.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 'cType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 23

org/opendaylight/protocol/rsvp/parser/spi/RSVPExtensionProviderContext.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 'cType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 17
 Warning sizes LineLength Line is longer than 120 characters (found 131). 21
 Warning sizes LineLength Line is longer than 120 characters (found 235). 25
 Warning sizes LineLength Line is longer than 120 characters (found 243). 29
 Warning naming ParameterName Parameter name 'cType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 35

org/opendaylight/protocol/rsvp/parser/spi/RSVPTeObjectRegistry.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 'cType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 15

org/opendaylight/protocol/rsvp/parser/spi/pojo/ServiceLoaderRSVPExtensionProviderContext.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'java.util.ServiceLoader' should be separated from previous import group by one line. 12
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 43

org/opendaylight/protocol/rsvp/parser/spi/pojo/ServiceLoaderRSVPExtensionProviderContextTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group by one line. 13
 Warning sizes LineLength Line is longer than 120 characters (found 165). 38
 Warning sizes LineLength Line is longer than 120 characters (found 306). 51
 Warning sizes LineLength Line is longer than 120 characters (found 290). 52
 Warning sizes LineLength Line is longer than 120 characters (found 310). 56
 Warning sizes LineLength Line is longer than 120 characters (found 133). 67
 Warning sizes LineLength Line is longer than 120 characters (found 133). 69
 Warning sizes LineLength Line is longer than 120 characters (found 142). 73
 Warning sizes LineLength Line is longer than 120 characters (found 201). 78
 Warning sizes LineLength Line is longer than 120 characters (found 248). 79
 Warning sizes LineLength Line is longer than 120 characters (found 133). 81
 Warning sizes LineLength Line is longer than 120 characters (found 250). 85
 Warning sizes LineLength Line is longer than 120 characters (found 172). 90
 Warning sizes LineLength Line is longer than 120 characters (found 123). 105
 Warning sizes LineLength Line is longer than 120 characters (found 197). 123
 Warning sizes LineLength Line is longer than 120 characters (found 205). 133
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 149
 Warning sizes LineLength Line is longer than 120 characters (found 146). 150

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleEROSubobjectRegistry.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 128). 24
 Warning sizes LineLength Line is longer than 120 characters (found 133). 37
 Warning sizes LineLength Line is longer than 120 characters (found 134). 48

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleEROSubobjectRegistryTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group by one line. 14
 Warning sizes LineLength Line is longer than 120 characters (found 130). 44

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleLabelRegistry.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 'cType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 25
 Warning sizes LineLength Line is longer than 120 characters (found 129). 30
 Warning naming ParameterName Parameter name 'cType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 35
 Warning sizes LineLength Line is longer than 120 characters (found 129). 45

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleLabelRegistryTest.java

Severity Category Rule Message Line
 Warning naming MemberName Member name 'cTypeOne' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 31
 Warning sizes LineLength Line is longer than 120 characters (found 150). 47

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRROSubobjectRegistry.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 128). 24
 Warning sizes LineLength Line is longer than 120 characters (found 134). 48

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRROSubobjectRegistryTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group by one line. 14
 Warning sizes LineLength Line is longer than 120 characters (found 123). 45

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPExtensionProviderContext.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 132). 30
 Warning naming ParameterName Parameter name 'cType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 67
 Warning sizes LineLength Line is longer than 120 characters (found 136). 72
 Warning sizes LineLength Line is longer than 120 characters (found 151). 77
 Warning sizes LineLength Line is longer than 120 characters (found 255). 87
 Warning sizes LineLength Line is longer than 120 characters (found 263). 97
 Warning sizes LineLength Line is longer than 120 characters (found 129). 107
 Warning naming ParameterName Parameter name 'cType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 112

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPExtensionProviderContextActivator.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: 'for' is not followed by whitespace. 37
 Warning whitespace WhitespaceAround WhitespaceAround: 'for' is not followed by whitespace. 46

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPObjectRegistry.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 'cType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 29
 Warning sizes LineLength Line is longer than 120 characters (found 136). 35
 Warning sizes LineLength Line is longer than 120 characters (found 124). 40
 Warning naming ParameterName Parameter name 'cType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 40

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleRSVPObjectRegistryTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group by one line. 15
 Warning sizes LineLength Line is longer than 120 characters (found 135). 43
 Warning sizes LineLength Line is longer than 120 characters (found 132). 44
 Warning sizes LineLength Line is longer than 120 characters (found 130). 45
 Warning sizes LineLength Line is longer than 120 characters (found 135). 53
 Warning sizes LineLength Line is longer than 120 characters (found 132). 58
 Warning sizes LineLength Line is longer than 120 characters (found 137). 78
 Warning sizes LineLength Line is longer than 120 characters (found 123). 97

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleXROSubobjectRegistry.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 128). 24
 Warning sizes LineLength Line is longer than 120 characters (found 137). 37
 Warning sizes LineLength Line is longer than 120 characters (found 134). 48

org/opendaylight/protocol/rsvp/parser/spi/pojo/SimpleXROSubobjectRegistryTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group by one line. 14

org/opendaylight/protocol/rsvp/parser/spi/subobjects/AbstractRSVPObjectParser.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 'cType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 30
 Warning modifier RedundantModifier Redundant 'final' modifier. 57
 Warning modifier RedundantModifier Redundant 'final' modifier. 57
 Warning modifier RedundantModifier Redundant 'final' modifier. 59

org/opendaylight/protocol/rsvp/parser/spi/subobjects/CUISubobjectParserTest.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 41
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 41
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 46
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 46

org/opendaylight/protocol/rsvp/parser/spi/subobjects/CommonPathKeyParserTest.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 40
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 40
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 45
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 45

org/opendaylight/protocol/rsvp/parser/spi/subobjects/CommonUnnumberedInterfaceSubobjectParser.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'org.opendaylight.protocol.util.ByteBufWriteUtil.writeUnsignedInt' should be separated from previous import group by one line. 12

org/opendaylight/protocol/rsvp/parser/spi/subobjects/EROSubobjectListParser.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'com.google.common.base.Preconditions' should be separated from previous import group by one line. 12
 Warning sizes LineLength Line is longer than 120 characters (found 136). 38
 Warning sizes LineLength Line is longer than 120 characters (found 121). 39
 Warning sizes LineLength Line is longer than 120 characters (found 125). 58

org/opendaylight/protocol/rsvp/parser/spi/subobjects/EROSubobjectListParserTest.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 54
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 54
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 59
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 59
 Warning modifier RedundantModifier Redundant 'public' modifier. 105
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 108
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 112

org/opendaylight/protocol/rsvp/parser/spi/subobjects/RROSubobjectListParser.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 131). 32
 Warning sizes LineLength Line is longer than 120 characters (found 125). 54

org/opendaylight/protocol/rsvp/parser/spi/subobjects/RROSubobjectListParserTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group by one line. 11
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 48
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 48
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 53
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 53
 Warning modifier RedundantModifier Redundant 'public' modifier. 74
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 77
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 80

org/opendaylight/protocol/rsvp/parser/spi/subobjects/XROSubobjectListParser.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 142). 36
 Warning sizes LineLength Line is longer than 120 characters (found 149). 37
 Warning sizes LineLength Line is longer than 120 characters (found 138). 40
 Warning sizes LineLength Line is longer than 120 characters (found 125). 56

org/opendaylight/protocol/rsvp/parser/spi/subobjects/XROSubobjectListParserTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group by one line. 11
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 48
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 48
 Warning modifier RedundantModifier Redundant 'public' modifier. 69
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 72
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 75