Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
5 0 53 0

Rules

Category Rule Violations Severity
coding OverloadMethodsDeclarationOrder 1  Warning
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"
  • thirdPartyPackageRegExp: ".*"
  • specialImportsRegExp: "^com.*"
9  Warning
indentation Indentation
  • lineWrappingIndentation: "4"
  • caseIndent: "4"
  • arrayInitIndent: "4"
  • throwsIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
28  Warning
javadoc NonEmptyAtclauseDescription 3  Warning
naming AbbreviationAsWordInName
  • allowedAbbreviationLength: "1"
  • ignoreFinal: "false"
2  Warning
MemberName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
4  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://"
2  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
1  Warning

Details

org/opendaylight/usc/client/netconf/NetconfSshClientChannelInitializer.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 14

org/opendaylight/usc/client/netconf/ProtocolSessionPromise.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 21
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 23
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 24
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.base.Preconditions' import. 31
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 35
 Warning naming MemberName Member name 'LOG' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 35
 Warning naming MemberName Member name 'b' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 39
 Warning naming ParameterName Parameter name 'b' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 45

org/opendaylight/usc/client/netconf/ReconnectPromise.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 21
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.base.Preconditions' import. 30
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 33
 Warning naming MemberName Member name 'LOG' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 33
 Warning naming MemberName Member name 'b' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 38
 Warning naming ParameterName Parameter name 'b' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 43

org/opendaylight/usc/client/netconf/UscNetconfClientDispatcherImpl.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 21
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 22
 Warning javadoc SummaryJavadoc First sentence should be present. 68
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 71
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 72
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 73
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 88
 Warning indentation Indentation 'if' have incorrect indentation level 12, expected level should be 16. 89
 Warning indentation Indentation 'if' child have incorrect indentation level 16, expected level should be 20. 90
 Warning indentation Indentation 'if rcurly' have incorrect indentation level 12, expected level should be 16. 91
 Warning indentation Indentation 'else' child have incorrect indentation level 16, expected level should be 20. 92
 Warning indentation Indentation 'method call' child have incorrect indentation level 16, expected level should be 20. 92
 Warning indentation Indentation 'else' child have incorrect indentation level 16, expected level should be 20. 93
 Warning indentation Indentation 'else rcurly' have incorrect indentation level 12, expected level should be 16. 94
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 96
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 98
 Warning indentation Indentation 'method call' child have incorrect indentation level 12, expected level should be 16. 98
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 99
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 101
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 102
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 109
 Warning indentation Indentation 'if' have incorrect indentation level 12, expected level should be 16. 110
 Warning indentation Indentation 'if' child have incorrect indentation level 16, expected level should be 20. 112
 Warning indentation Indentation 'if rcurly' have incorrect indentation level 12, expected level should be 16. 113
 Warning indentation Indentation 'else' child have incorrect indentation level 16, expected level should be 20. 114
 Warning indentation Indentation 'method call' child have incorrect indentation level 16, expected level should be 20. 114
 Warning indentation Indentation 'else' child have incorrect indentation level 16, expected level should be 20. 115
 Warning indentation Indentation 'else rcurly' have incorrect indentation level 12, expected level should be 16. 116
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 118
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 120
 Warning indentation Indentation 'method call' 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 'case' child have incorrect indentation level 8, expected level should be 12. 123
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 124
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '85'. 135
 Warning sizes LineLength Line is longer than 120 characters (found 121). 172
 Warning sizes LineLength Line is longer than 120 characters (found 121). 214