Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
11 0 32 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 OverloadMethodsDeclarationOrder 2  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
1  Warning
javadoc JavadocStyle
  • checkEmptyJavadoc: "true"
3  Warning
NonEmptyAtclauseDescription 1  Warning
misc OuterTypeFilename 1  Warning
naming LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
3  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://"
8  Warning
whitespace MethodParamPad 3  Warning
SeparatorWrap
  • tokens: "COMMA"
  • option: "EOL"
1  Warning
SeparatorWrap
  • tokens: "DOT"
  • option: "nl"
1  Warning
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
3  Warning

Details

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]*$'. 24
 Warning naming ParameterName Parameter name 'b' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 29

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

Severity Category Rule Message Line
 Warning misc OuterTypeFilename The name of the outer type and the file do not match. 14

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

Severity Category Rule Message Line
 Warning whitespace MethodParamPad '(' should be on the previous line. 80
 Warning naming LocalVariableName Local variable name 'xPathResult' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 93
 Warning naming LocalVariableName Local variable name 'xPathResult' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 137
 Warning blocks EmptyBlock Empty catch block. 164
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 170
 Warning javadoc JavadocStyle Javadoc has empty description section. 170
 Warning whitespace MethodParamPad '(' should be on the previous line. 176
 Warning naming LocalVariableName Local variable name 'xPath' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 197
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 211
 Warning javadoc JavadocStyle Javadoc has empty description section. 211

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

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 104

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

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

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

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 147). 242
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '213'. 259
 Warning sizes LineLength Line is longer than 120 characters (found 126). 277
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '241'. 282
 Warning sizes LineLength Line is longer than 120 characters (found 122). 298
 Warning sizes LineLength Line is longer than 120 characters (found 132). 303

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

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 129). 85
 Warning whitespace WhitespaceAround WhitespaceAround: '<' is not preceded with whitespace. 89
 Warning whitespace WhitespaceAround WhitespaceAround: '<' is not followed by whitespace. 89
 Warning sizes LineLength Line is longer than 120 characters (found 138). 96
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 100
 Warning javadoc JavadocStyle First sentence should end with a period. 100
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 119
 Warning whitespace SeparatorWrap '.' should be on a new line. 137
 Warning indentation Indentation 'operator new lparen' have incorrect indentation level 40, expected level should be 32. 139
 Warning whitespace MethodParamPad '(' should be on the previous line. 139

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

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