Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
12 0 23 0

Rules

Category Rule Violations Severity
coding IllegalCatch 2  Warning
OverloadMethodsDeclarationOrder 2  Warning
VariableDeclarationUsageDistance 3  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
3  Warning
javadoc NonEmptyAtclauseDescription 2  Warning
regexp RegexpSinglelineJava
  • ignoreComments: "false"
  • format: "\.printStackTrace?\("
  • message: "Line contains printStacktrace()."
1  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
1  Warning
whitespace MethodParamPad 1  Warning
OperatorWrap
  • tokens: "BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "
  • option: "NL"
1  Warning
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
7  Warning

Details

org/opendaylight/netvirt/openstack/netvirt/sfc/it/NetvirtSfcIT.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 201
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 202
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 203
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 204
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 211
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 211
 Warning whitespace OperatorWrap '+' should be on a new line. 313
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 339
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 509
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 621
 Warning coding VariableDeclarationUsageDistance Distance between variable 'sfpName' declaration and its first usage is 22, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 631
 Warning coding VariableDeclarationUsageDistance Distance between variable 'sfcName' declaration and its first usage is 22, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 632
 Warning coding VariableDeclarationUsageDistance Distance between variable 'startingIndex' declaration and its first usage is 22, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 633
 Warning sizes LineLength Line is longer than 120 characters (found 134). 649
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 752
 Warning whitespace MethodParamPad '(' is preceded with whitespace. 835
 Warning regexp RegexpSinglelineJava Line contains printStacktrace(). 860
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 873

org/opendaylight/netvirt/openstack/netvirt/sfc/it/utils/ServiceFunctionForwarderUtils.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarder.base.SffDataPlaneLocator' import. Should be before 'org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarders.service.function.forwarder.ServiceFunctionDictionaryBuilder'. 33
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarder.base.SffDataPlaneLocatorBuilder' import. Should be before 'org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarders.service.function.forwarder.ServiceFunctionDictionaryBuilder'. 34
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarder.base.sff.data.plane.locator.DataPlaneLocatorBuilder' import. Should be before 'org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarders.service.function.forwarder.service.function.dictionary.SffSfDataPlaneLocatorBuilder'. 36
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '90'. 120

org/opendaylight/netvirt/openstack/netvirt/sfc/it/utils/ServiceFunctionUtils.java

Severity Category Rule Message Line
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '45'. 62