Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
7 0 39 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"
  • thirdPartyPackageRegExp: ".*"
  • specialImportsRegExp: "^com.*"
6  Warning
indentation Indentation
  • lineWrappingIndentation: "4"
  • caseIndent: "4"
  • arrayInitIndent: "4"
  • throwsIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
11  Warning
javadoc JavadocMethod
  • allowMissingParamTags: "true"
  • allowedAnnotations: "Override, Test"
  • allowThrowsTagsForSubclasses: "true"
  • scope: "public"
  • allowMissingReturnTag: "true"
  • minLineCount: "2"
  • allowMissingThrowsTags: "true"
3  Warning
naming AbbreviationAsWordInName
  • allowedAbbreviationLength: "1"
  • ignoreFinal: "false"
2  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
2  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
7  Warning
GenericWhitespace 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
SeparatorWrap
  • tokens: "COMMA"
  • option: "EOL"
1  Warning
SeparatorWrap
  • tokens: "DOT"
  • option: "nl"
1  Warning
WhitespaceAround
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
  • allowEmptyMethods: "true"
  • allowEmptyConstructors: "true"
4  Warning

Details

org/opendaylight/topoprocessing/inventory/adapter/InvModelAdapter.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning sizes LineLength Line is longer than 120 characters (found 128). 52
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 73
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 74
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 75
 Warning indentation Indentation 'method call' child have incorrect indentation level 12, expected level should be 16. 75
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 76
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 77
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 78
 Warning indentation Indentation 'method call' child have incorrect indentation level 12, expected level should be 16. 78
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 79
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 80
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 81

org/opendaylight/topoprocessing/inventory/listener/InvUnderlayTopologyListener.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder 'org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType'should be separated from previous import group. 12
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.topoprocessing.impl.operator.TopologyOperator' import. 20
 Warning javadoc JavadocMethod Missing a Javadoc comment. 37
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55
 Warning whitespace SeparatorWrap ',' should be on the previous line. 56
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 57
 Warning whitespace OperatorWrap '||' should be on a new line. 58
 Warning whitespace EmptyLineSeparator ';' should be separated from previous statement. 83

org/opendaylight/topoprocessing/inventory/request/InvTopologyRequestHandler.java

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

org/opendaylight/topoprocessing/inventory/request/InvTopologyRequestListener.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode' import. 27
 Warning javadoc JavadocMethod Missing a Javadoc comment. 40
 Warning sizes LineLength Line is longer than 120 characters (found 135). 41
 Warning whitespace GenericWhitespace GenericWhitespace '<' is preceded with whitespace. 56

org/opendaylight/topoprocessing/inventory/translator/InvLinkTranslator.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yangtools.yang.data.api.schema.ContainerNode' import. 27
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 76

org/opendaylight/topoprocessing/inventory/translator/InvNodeTranslator.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yangtools.yang.data.api.schema.LeafSetEntryNode' import. 33
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.base.Optional' import. 46
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 93
 Warning javadoc SummaryJavadoc First sentence should be present. 122
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 135
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 137
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 153