Apache MyFaces
Documentation
Foundation

Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
3 0 0 39

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/jsf_11/myfaces-commons-utils/target/checkstyle-header.txt"
3 Errors Error
AvoidStarImport 1 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 1 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 14 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 Unused import - javax.faces.context.FacesContext. 25
Errors Using the '.*' form of import should be avoided - java.util.*. 29
Errors 'if' construct must use '{}'s. 127
Errors 'if' construct must use '{}'s. 180
Errors Line is longer than 120 characters. 237
Errors 'if' construct must use '{}'s. 263
Errors 'if' construct must use '{}'s. 274
Errors Each variable declaration must be in its own statement. 281
Errors Line is longer than 120 characters. 340

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/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. 61
Errors 'if' construct must use '{}'s. 189
Errors '{' should be on a new line. 229
Errors 'if' construct must use '{}'s. 256