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 61 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"
  • thirdPartyPackageRegExp: ".*"
  • specialImportsRegExp: "^com.*"
18  Warning
indentation Indentation
  • lineWrappingIndentation: "4"
  • caseIndent: "4"
  • arrayInitIndent: "4"
  • throwsIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
8  Warning
javadoc JavadocMethod
  • allowMissingParamTags: "true"
  • allowedAnnotations: "Override, Test"
  • allowThrowsTagsForSubclasses: "true"
  • scope: "public"
  • allowMissingReturnTag: "true"
  • minLineCount: "2"
  • allowMissingThrowsTags: "true"
2  Warning
JavadocParagraph 1  Warning
naming AbbreviationAsWordInName
  • allowedAbbreviationLength: "1"
  • ignoreFinal: "false"
6  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
18  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
5  Warning
WhitespaceAround
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
  • allowEmptyMethods: "true"
  • allowEmptyConstructors: "true"
2  Warning

Details

org/opendaylight/mdsal/dom/store/inmemory/ChainedTransactionCommitImpl.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.base.Preconditions' import. 12
 Warning sizes LineLength Line is longer than 120 characters (found 124). 19

org/opendaylight/mdsal/dom/store/inmemory/DOMStoreTransactionChainImpl.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.base.Preconditions' import. 14
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 18
 Warning sizes LineLength Line is longer than 120 characters (found 149). 26

org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMDataStore.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.mdsal.dom.api.DOMDataTreeChangeListener' import. 20
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.base.Preconditions' import. 21
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 22
 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 javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 42
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 49
 Warning sizes LineLength Line is longer than 120 characters (found 186). 49
 Warning sizes LineLength Line is longer than 120 characters (found 136). 63
 Warning javadoc JavadocMethod Missing a Javadoc comment. 66
 Warning sizes LineLength Line is longer than 120 characters (found 131). 71
 Warning sizes LineLength Line is longer than 120 characters (found 123). 85
 Warning sizes LineLength Line is longer than 120 characters (found 134). 90
 Warning sizes LineLength Line is longer than 120 characters (found 130). 95
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 112
 Warning whitespace WhitespaceAround WhitespaceAround: 'catch' is not followed by whitespace. 115
 Warning sizes LineLength Line is longer than 120 characters (found 169). 130
 Warning sizes LineLength Line is longer than 120 characters (found 153). 144

org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMDataStoreConfigProperties.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence should be present. 11
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 18
 Warning javadoc JavadocMethod Missing a Javadoc comment. 56

org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMDataStoreFactory.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. 12
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 13
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 21

org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMStoreThreePhaseCommitCohort.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.mdsal.common.api.OptimisticLockFailedException' import. 17
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.base.Preconditions' import. 19
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 29
 Warning sizes LineLength Line is longer than 120 characters (found 189). 38
 Warning sizes LineLength Line is longer than 120 characters (found 123). 71

org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMStoreTreeChangePublisher.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.mdsal.dom.spi.AbstractDOMDataTreeChangeListenerRegistration' import. 12
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener' import. 13
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.base.Optional' import. 14
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 15
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 16
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 17
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 18
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 31
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 16, expected level should be one of the following: 8, 12. 34
 Warning sizes LineLength Line is longer than 120 characters (found 147). 35
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 20, expected level should be one of the following: 12, 16. 37
 Warning indentation Indentation 'method def' child have incorrect indentation level 20, expected level should be one of the following: 12, 16. 37
 Warning indentation Indentation 'if' have incorrect indentation level 20, expected level should be one of the following: 12, 16. 38
 Warning indentation Indentation 'if' child have incorrect indentation level 24, expected level should be one of the following: 16, 20. 39
 Warning indentation Indentation 'if rcurly' have incorrect indentation level 20, expected level should be one of the following: 12, 16. 40
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 16, expected level should be one of the following: 8, 12. 41
 Warning indentation Indentation 'object def rcurly' have incorrect indentation level 12, expected level should be one of the following: 4, 8. 42
 Warning sizes LineLength Line is longer than 120 characters (found 133). 44
 Warning sizes LineLength Line is longer than 120 characters (found 145). 47
 Warning sizes LineLength Line is longer than 120 characters (found 187). 51
 Warning sizes LineLength Line is longer than 120 characters (found 122). 61
 Warning sizes LineLength Line is longer than 120 characters (found 182). 67