Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
21 0 71 0

Rules

Category Rule Violations Severity
blocks EmptyBlock
  • tokens: "LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"
  • option: "TEXT"
1  Warning
coding MissingSwitchDefault 1  Warning
MultipleVariableDeclarations 1  Warning
OverloadMethodsDeclarationOrder 2  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
1  Warning
javadoc JavadocParagraph
  • allowNewlineParagraph: "false"
5  Warning
JavadocStyle
  • tokens: "ANNOTATION_DEF, ANNOTATION_FIELD_DEF, CLASS_DEF, CTOR_DEF, ENUM_CONSTANT_DEF, ENUM_DEF, INTERFACE_DEF, METHOD_DEF, VARIABLE_DEF"
  • checkEmptyJavadoc: "true"
7  Warning
JavadocTagContinuationIndentation 1  Warning
NonEmptyAtclauseDescription 2  Warning
naming LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
3  Warning
MemberName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
1  Warning
ParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
6  Warning
regexp RegexpSingleline
  • format: "\s+$"
  • message: "Line has trailing spaces."
2  Error
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
19  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
  • tokens: "IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
5  Warning
MethodParamPad 3  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"
2  Warning
SeparatorWrap
  • tokens: "COMMA"
  • option: "EOL"
1  Warning
SeparatorWrap
  • tokens: "DOT"
  • option: "nl"
1  Warning
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
1  Warning

Details

org/opendaylight/yangtools/yang/data/jaxen/BitIsSetXPathFunctionTest.java

Severity Category Rule Message Line
 Warning regexp RegexpSingleline Line has trailing spaces. 52
 Warning sizes LineLength Line is longer than 120 characters (found 122). 134

org/opendaylight/yangtools/yang/data/jaxen/ConverterNamespaceContext.java

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

org/opendaylight/yangtools/yang/data/jaxen/DerefXPathFunctionTest.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 124). 93
 Warning sizes LineLength Line is longer than 120 characters (found 130). 96

org/opendaylight/yangtools/yang/data/jaxen/DerivedFromXPathFunctionTest.java

Severity Category Rule Message Line
 Warning regexp RegexpSingleline Line has trailing spaces. 50
 Warning sizes LineLength Line is longer than 120 characters (found 122). 184
 Warning whitespace OperatorWrap '+' should be on a new line. 245

org/opendaylight/yangtools/yang/data/jaxen/ExprListener.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 25

org/opendaylight/yangtools/yang/data/jaxen/JaxenSchemaContext.java

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

org/opendaylight/yangtools/yang/data/jaxen/JaxenTest.java

Severity Category Rule Message Line
 Warning whitespace MethodParamPad '(' should be on the previous line. 81
 Warning naming LocalVariableName Local variable name 'xPathResult' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 94
 Warning naming LocalVariableName Local variable name 'xPathResult' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 138
 Warning blocks EmptyBlock Empty catch block. 165
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 171
 Warning javadoc JavadocStyle Javadoc has empty description section. 171
 Warning whitespace MethodParamPad '(' should be on the previous line. 177
 Warning naming LocalVariableName Local variable name 'xPath' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 198
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 212
 Warning javadoc JavadocStyle Javadoc has empty description section. 212

org/opendaylight/yangtools/yang/data/jaxen/JaxenXPath.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 137). 70
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 90

org/opendaylight/yangtools/yang/data/jaxen/LeafrefXPathStringParsingPathArgumentBuilder.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 44
 Warning javadoc JavadocStyle First sentence should end with a period. 44
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 49
 Warning javadoc JavadocStyle First sentence should end with a period. 49
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 61
 Warning javadoc JavadocStyle First sentence should end with a period. 61
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 62
 Warning naming MemberName Member name 'xPathString' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 77
 Warning naming ParameterName Parameter name 'xPathString' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 85
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 183
 Warning coding MultipleVariableDeclarations Each variable declaration must be in its own statement. 191
 Warning javadoc JavadocTagContinuationIndentation Line continuation have incorrect indentation level, expected level should be 4. 209
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 234
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 246
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 248
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 254
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 273
 Warning javadoc JavadocStyle First sentence should end with a period. 273
 Warning sizes LineLength Line is longer than 120 characters (found 124). 296

org/opendaylight/yangtools/yang/data/jaxen/NormalizedNodeContextSupport.java

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

org/opendaylight/yangtools/yang/data/jaxen/NormalizedNodeNavigator.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 147). 244
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '215'. 261
 Warning sizes LineLength Line is longer than 120 characters (found 126). 279
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '243'. 284
 Warning sizes LineLength Line is longer than 120 characters (found 122). 300
 Warning sizes LineLength Line is longer than 120 characters (found 132). 305

org/opendaylight/yangtools/yang/data/jaxen/StepListener.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 20
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 23
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 26
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 29

org/opendaylight/yangtools/yang/data/jaxen/TestUtils.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 42
 Warning javadoc JavadocStyle First sentence should end with a period. 42
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 61
 Warning whitespace SeparatorWrap '.' should be on a new line. 79
 Warning indentation Indentation 'operator new lparen' have incorrect indentation level 40, expected level should be 32. 81
 Warning whitespace MethodParamPad '(' should be on the previous line. 81

org/opendaylight/yangtools/yang/data/jaxen/YangFunctionContext.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 123). 106
 Warning sizes LineLength Line is longer than 120 characters (found 124). 118
 Warning naming ParameterName Parameter name 'xPath' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 140
 Warning naming ParameterName Parameter name 'xPath' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 158
 Warning naming ParameterName Parameter name 'xPath' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 177
 Warning sizes LineLength Line is longer than 120 characters (found 123). 229
 Warning sizes LineLength Line is longer than 120 characters (found 123). 255
 Warning sizes LineLength Line is longer than 120 characters (found 122). 259
 Warning sizes LineLength Line is longer than 120 characters (found 123). 268
 Warning whitespace OperatorWrap '+' should be on a new line. 350
 Warning sizes LineLength Line is longer than 120 characters (found 123). 410
 Warning coding MissingSwitchDefault switch without "default" clause. 487