Apache MyFaces
Documentation
Foundation

Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
5 0 0 58

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 0 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-utils/target/checkstyle-header.txt"
5 Errors Error
AvoidStarImport 1 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
FileLength 0 Errors Error
LineLength
  • max : "120"
  • ignorePattern : "@version|@see"
4 Errors Error
MethodLength
  • max : "200"
0 Errors Error
ParameterNumber
  • max : "10"
0 Errors Error
TabCharacter 0 Errors Error
NeedBraces 32 Errors Error
LeftCurly
  • option : "nl"
11 Errors Error
RightCurly
  • option : "alone"
4 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 1 Errors Error
UpperEll 0 Errors Error

Details

org/apache/myfaces/commons/util/ClassUtils.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors Using the '.*' form of import should be avoided - java.util.*. 30
Errors 'if' construct must use '{}'s. 128
Errors 'if' construct must use '{}'s. 181
Errors Line is longer than 120 characters. 238
Errors 'if' construct must use '{}'s. 264
Errors 'if' construct must use '{}'s. 275
Errors Each variable declaration must be in its own statement. 282
Errors 'if' construct must use '{}'s. 321
Errors Line is longer than 120 characters. 341

org/apache/myfaces/commons/util/ExternalContextUtils.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/util/MessageUtils.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. 140
Errors 'if' construct must use '{}'s. 158
Errors 'if' construct must use '{}'s. 178
Errors '}' should be alone on a line. 180
Errors '{' should be on a new line. 201
Errors '{' should be on a new line. 217
Errors '{' should be on a new line. 239
Errors '{' should be on a new line. 261
Errors '{' should be on a new line. 265
Errors 'if' construct must use '{}'s. 267
Errors '}' should be alone on a line. 269
Errors '{' should be on a new line. 269
Errors Line is longer than 120 characters. 283
Errors '{' should be on a new line. 326
Errors '{' should be on a new line. 343
Errors 'if' construct must use '{}'s. 370
Errors 'if' construct must use '{}'s. 373
Errors '}' should be alone on a line. 379
Errors '}' should be alone on a line. 394
Errors Line is longer than 120 characters. 396
Errors '{' should be on a new line. 410
Errors 'if' construct must use '{}'s. 412
Errors 'if' construct must use '{}'s. 416

org/apache/myfaces/commons/util/RequestType.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/util/TagUtils.java

Violation Message Line
Errors Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. 2
Errors 'if' construct must use '{}'s. 63
Errors 'if' construct must use '{}'s. 77
Errors 'if' construct must use '{}'s. 91
Errors 'if' construct must use '{}'s. 94
Errors 'if' construct must use '{}'s. 108
Errors 'if' construct must use '{}'s. 111
Errors 'if' construct must use '{}'s. 126
Errors 'if' construct must use '{}'s. 140
Errors 'if' construct must use '{}'s. 155
Errors 'if' construct must use '{}'s. 176
Errors 'if' construct must use '{}'s. 190
Errors 'if' construct must use '{}'s. 193
Errors 'if' construct must use '{}'s. 207
Errors 'if' construct must use '{}'s. 210
Errors 'if' construct must use '{}'s. 233
Errors 'if' construct must use '{}'s. 252
Errors '{' should be on a new line. 272
Errors 'if' construct must use '{}'s. 288
Errors 'if' construct must use '{}'s. 326
Errors 'if' construct must use '{}'s. 329
Errors 'if' construct must use '{}'s. 356