Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
6 0 21 0

Rules

Category Rule Violations Severity
coding IllegalCatch 1  Warning
modifier RedundantModifier 2  Warning
naming LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
1  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://"
4  Warning
whitespace MethodParamPad 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"
10  Warning

Details

org/opendaylight/protocol/pcep/testtool/Main.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 131). 33
 Warning whitespace OperatorWrap '+' should be on a new line. 35
 Warning whitespace OperatorWrap '+' should be on a new line. 40
 Warning whitespace OperatorWrap '+' should be on a new line. 43
 Warning whitespace OperatorWrap '+' should be on a new line. 45
 Warning whitespace OperatorWrap '+' should be on a new line. 47
 Warning sizes LineLength Line is longer than 120 characters (found 132). 50
 Warning whitespace OperatorWrap '+' should be on a new line. 50
 Warning whitespace OperatorWrap '+' should be on a new line. 54
 Warning sizes LineLength Line is longer than 120 characters (found 130). 57
 Warning whitespace OperatorWrap '+' should be on a new line. 58
 Warning whitespace OperatorWrap '+' should be on a new line. 62
 Warning whitespace OperatorWrap '+' should be on a new line. 64
 Warning naming LocalVariableName Local variable name 'i' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 91
 Warning modifier RedundantModifier Redundant 'final' modifier. 127
 Warning sizes LineLength Line is longer than 120 characters (found 285). 130

org/opendaylight/protocol/pcep/testtool/PCCMock.java

Severity Category Rule Message Line
 Warning modifier RedundantModifier Redundant 'final' modifier. 38

org/opendaylight/protocol/pcep/testtool/SimpleSessionListener.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 43
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 47

org/opendaylight/protocol/pcep/testtool/TestingSessionListener.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 43
 Warning whitespace MethodParamPad '(' is preceded with whitespace. 57