Apache MyFaces
Documentation
Foundation

Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
13 0 0 173

Rules

Rules Violations Severity
ConstantName
  • format : "^_?((log)|([a-z][a-zA-Z]*ThreadLocal)|([A-Z][A-Z0-9]*(_[A-Z0-9]+)*))$"
0 Errors Error
LocalVariableName 0 Errors Error
MethodName
  • format : "^_?[a-z][a-zA-Z0-9]*$"
0 Errors Error
PackageName 0 Errors Error
LocalFinalVariableName 0 Errors Error
ParameterName 3 Errors Error
StaticVariableName 0 Errors Error
TypeName
  • format : "^_?[A-Z][a-zA-Z0-9]*$"
0 Errors Error
Header
  • headerFile : "/home/lu4242/workspace/commons/trunk/myfaces-commons-validators/target/checkstyle-header.txt"
13 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 1 Errors Error
UnusedImports 5 Errors Error
FileLength 0 Errors Error
LineLength
  • max : "120"
  • ignorePattern : "@version|@see"
14 Errors Error
MethodLength
  • max : "200"
0 Errors Error
ParameterNumber
  • max : "10"
0 Errors Error
TabCharacter 0 Errors Error
NeedBraces 73 Errors Error
LeftCurly
  • option : "nl"
62 Errors Error
RightCurly
  • option : "alone"
2 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
InnerAssignment 0 Errors Error
DefaultComesLast 0 Errors Error
MissingSwitchDefault 0 Errors Error
FallThrough 0 Errors Error
MultipleVariableDeclarations 0 Errors Error
UpperEll 0 Errors Error

Details

org/apache/myfaces/commons/validator/AbstractCSVValidator.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors '{' should be on a new line. 44
Errors Line is longer than 120 characters. 54
Errors '{' should be on a new line. 81
Errors 'if' construct must use '{}'s. 82
Errors '{' should be on a new line. 86
Errors '{' should be on a new line. 90
Errors 'if' construct must use '{}'s. 98
Errors 'if' construct must use '{}'s. 100
Errors 'if' construct must use '{}'s. 103
Errors 'else' construct must use '{}'s. 105
Errors 'if' construct must use '{}'s. 108
Errors 'else' construct must use '{}'s. 110
Errors '{' should be on a new line. 115
Errors 'if' construct must use '{}'s. 117
Errors 'if' construct must use '{}'s. 118
Errors 'if' construct must use '{}'s. 126
Errors '{' should be on a new line. 130
Errors Line is longer than 120 characters. 132
Errors 'if' construct must use '{}'s. 135
Errors '{' should be on a new line. 138
Errors '{' should be on a new line. 141
Errors Line is longer than 120 characters. 143
Errors '{' should be on a new line. 147
Errors '{' should be on a new line. 148
Errors 'else' construct must use '{}'s. 151
Errors '{' should be on a new line. 151
Errors '{' should be on a new line. 154
Errors 'if' construct must use '{}'s. 158

org/apache/myfaces/commons/validator/AbstractCompareToValidator.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors Line is longer than 120 characters. 100
Errors '{' should be on a new line. 112
Errors '{' should be on a new line. 124
Errors 'if' construct must use '{}'s. 146
Errors 'if' construct must use '{}'s. 148
Errors 'if' construct must use '{}'s. 150
Errors 'if' construct must use '{}'s. 152
Errors 'if' construct must use '{}'s. 154
Errors 'if' construct must use '{}'s. 156
Errors 'if' construct must use '{}'s. 159
Errors 'if' construct must use '{}'s. 161
Errors 'if' construct must use '{}'s. 163
Errors 'if' construct must use '{}'s. 165
Errors 'if' construct must use '{}'s. 167
Errors 'if' construct must use '{}'s. 169
Errors 'if' construct must use '{}'s. 172
Errors 'if' construct must use '{}'s. 180
Errors 'if' construct must use '{}'s. 182
Errors 'if' construct must use '{}'s. 184
Errors 'if' construct must use '{}'s. 186
Errors 'if' construct must use '{}'s. 188
Errors 'if' construct must use '{}'s. 190
Errors 'if' construct must use '{}'s. 198
Errors 'if' construct must use '{}'s. 200
Errors 'if' construct must use '{}'s. 202
Errors 'if' construct must use '{}'s. 204
Errors 'if' construct must use '{}'s. 206
Errors 'if' construct must use '{}'s. 208
Errors '{' should be on a new line. 218
Errors 'if' construct must use '{}'s. 220
Errors 'if' construct must use '{}'s. 221
Errors 'if' construct must use '{}'s. 232
Errors Line is longer than 120 characters. 233
Errors 'if' construct must use '{}'s. 235
Errors Line is longer than 120 characters. 236
Errors '{' should be on a new line. 239
Errors 'if' construct must use '{}'s. 286
Errors Line is longer than 120 characters. 314
Errors Line is longer than 120 characters. 320
Errors 'if' construct must use '{}'s. 330
Errors 'else' construct must use '{}'s. 332
Errors 'if' construct must use '{}'s. 339
Errors Line is longer than 120 characters. 365
Errors 'if' construct must use '{}'s. 399
Errors 'if' construct must use '{}'s. 401
Errors Line is longer than 120 characters. 408
Errors 'if' construct must use '{}'s. 420
Errors 'if' construct must use '{}'s. 424
Errors 'if' construct must use '{}'s. 427
Errors 'if' construct must use '{}'s. 429
Errors 'if' construct must use '{}'s. 430
Errors '}' should be alone on a line. 480
Errors '{' should be on a new line. 480

org/apache/myfaces/commons/validator/AbstractCreditCardValidator.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors Unused import - javax.faces.application.FacesMessage. 21
Errors '{' should be on a new line. 41
Errors '{' should be on a new line. 54
Errors '{' should be on a new line. 69
Errors 'if' construct must use '{}'s. 71
Errors 'if' construct must use '{}'s. 72
Errors '{' should be on a new line. 79
Errors '{' should be on a new line. 92
Errors '{' should be on a new line. 93
Errors Line is longer than 120 characters. 95
Errors '{' should be on a new line. 97
Errors '{' should be on a new line. 106
Errors '{' should be on a new line. 107
Errors '{' should be on a new line. 110
Errors '{' should be on a new line. 113
Errors '{' should be on a new line. 116

org/apache/myfaces/commons/validator/AbstractDateRestrictionValidator.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors Unused import - javax.faces.validator.Validator. 35
Errors Line is longer than 120 characters. 84

org/apache/myfaces/commons/validator/AbstractRegExprValidator.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors Unused import - javax.faces.application.FacesMessage. 21
Errors Redundant import from the same package - org.apache.myfaces.commons.validator.ValidatorBase. 27
Errors '{' should be on a new line. 44
Errors '{' should be on a new line. 56
Errors '{' should be on a new line. 63
Errors 'if' construct must use '{}'s. 65
Errors 'if' construct must use '{}'s. 66
Errors '{' should be on a new line. 73

org/apache/myfaces/commons/validator/AbstractUrlValidator.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors Unused import - javax.faces.application.FacesMessage. 22
Errors '{' should be on a new line. 40
Errors '{' should be on a new line. 52
Errors '{' should be on a new line. 64
Errors 'if' construct must use '{}'s. 67
Errors 'if' construct must use '{}'s. 68
Errors '{' should be on a new line. 77
Errors '{' should be on a new line. 100
Errors '{' should be on a new line. 112
Errors Name '_schemes' must match pattern '^[a-z][a-zA-Z0-9]*$'. 127
Errors Name '_allow2Slashes' must match pattern '^[a-z][a-zA-Z0-9]*$'. 140
Errors Name '_allowAllSchemas' must match pattern '^[a-z][a-zA-Z0-9]*$'. 150

org/apache/myfaces/commons/validator/EmailValidator.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors Unused import - javax.faces.application.FacesMessage. 21
Errors '{' should be on a new line. 42
Errors '{' should be on a new line. 54
Errors '{' should be on a new line. 65
Errors 'if' construct must use '{}'s. 68
Errors 'if' construct must use '{}'s. 69
Errors '{' should be on a new line. 75

org/apache/myfaces/commons/validator/ISBNValidator.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors '{' should be on a new line. 40
Errors '{' should be on a new line. 57
Errors '{' should be on a new line. 69
Errors 'if' construct must use '{}'s. 72
Errors 'if' construct must use '{}'s. 73
Errors '{' should be on a new line. 80
Errors 'if' construct must use '{}'s. 83

org/apache/myfaces/commons/validator/ValidatorBase.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors '{' should be on a new line. 44
Errors 'if' construct must use '{}'s. 58
Errors '{' should be on a new line. 67
Errors '{' should be on a new line. 79
Errors '{' should be on a new line. 88
Errors '{' should be on a new line. 100
Errors 'if' construct must use '{}'s. 101
Errors '{' should be on a new line. 110
Errors '{' should be on a new line. 118
Errors '{' should be on a new line. 126
Errors '{' should be on a new line. 133
Errors '{' should be on a new line. 137
Errors '{' should be on a new line. 148
Errors '}' should be alone on a line. 154
Errors '{' should be on a new line. 154
Errors 'if' construct must use '{}'s. 169
Errors 'if' construct must use '{}'s. 183
Errors 'if' construct must use '{}'s. 259
Errors 'if' construct must use '{}'s. 295
Errors 'if' construct must use '{}'s. 296
Errors Line is longer than 120 characters. 317

org/apache/myfaces/commons/validator/ValidatorBaseTag.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors '{' should be on a new line. 35
Errors '{' should be on a new line. 41
Errors '{' should be on a new line. 55
Errors 'if' construct must use '{}'s. 61
Errors 'if' construct must use '{}'s. 66

org/apache/myfaces/commons/validator/_AttachedListStateWrapper.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2

org/apache/myfaces/commons/validator/_AttachedStateWrapper.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors Line is longer than 120 characters. 42

org/apache/myfaces/commons/validator/model/DateListProvider.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2