Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
4200202

Files

FilesInfosWarningsErrors
org/apache/myfaces/examples/accessedbeans/AccessTrackingVariableResolver.java001
org/apache/myfaces/examples/accessedbeans/AccessedBeans.java002
org/apache/myfaces/examples/aliasexample/AliasHolder.java004
org/apache/myfaces/examples/calendarexample/CalendarBean.java001
org/apache/myfaces/examples/captcha/CaptchaBean.java0010
org/apache/myfaces/examples/colspanexample/Cell.java004
org/apache/myfaces/examples/colspanexample/CellLineBean.java002
org/apache/myfaces/examples/colspanexample/Line.java0012
org/apache/myfaces/examples/colspanexample/TestColspanBean.java003
org/apache/myfaces/examples/common/CarConfigurator.java0014
org/apache/myfaces/examples/displayValueOnly/DVOFace.java007
org/apache/myfaces/examples/forceid/ForceIdBean.java009
org/apache/myfaces/examples/forceid/User.java009
org/apache/myfaces/examples/inputhtmlexample/EditorFace.java0017
org/apache/myfaces/examples/jslistener/JsListenerModel.java002
org/apache/myfaces/examples/listexample/DataScrollerList.java002
org/apache/myfaces/examples/listexample/OpenDataList.java004
org/apache/myfaces/examples/listexample/PagedSortableCarList.java001
org/apache/myfaces/examples/listexample/SimpleCity.java003
org/apache/myfaces/examples/listexample/SimpleCountry.java002
org/apache/myfaces/examples/listexample/SimpleCountryList.java006
org/apache/myfaces/examples/listexample/SimpleGroupByList.java001
org/apache/myfaces/examples/listexample/SimpleSortableCarList.java001
org/apache/myfaces/examples/messages/MessagesBean.java002
org/apache/myfaces/examples/misc/GlobalOptions.java002
org/apache/myfaces/examples/misc/Language.java002
org/apache/myfaces/examples/misc/NavigationMenu.java0016
org/apache/myfaces/examples/misc/TestCheckBox.java004
org/apache/myfaces/examples/misc/TestCheckBoxList.java004
org/apache/myfaces/examples/misc/TestRadioButton.java002
org/apache/myfaces/examples/picklist/PicklistBean.java001
org/apache/myfaces/examples/schedule/BindingScheduleExampleHandler.java001
org/apache/myfaces/examples/schedule/RandomColorScheduleEntryRenderer.java001
org/apache/myfaces/examples/schedule/ScheduleExampleHandler.java002
org/apache/myfaces/examples/schedule/ScheduleSettings.java002
org/apache/myfaces/examples/selectitems/SelectItemsBean.java0010
org/apache/myfaces/examples/toggle/ToggleBean.java004
org/apache/myfaces/examples/tree1/Tree1Backer.java004
org/apache/myfaces/examples/util/ExampleMessagesResourceBundle.java001
org/apache/myfaces/examples/util/GuiUtil.java002
org/apache/myfaces/examples/validate/ValidateForm.java0018
org/apache/myfaces/examples/webapp/SourceCodeServlet.java007

Rules

RulesViolationsSeverity
ConstantName
  • format: "^_?((log)|([a-z][a-zA-Z]*ThreadLocal)|([A-Z][A-Z0-9]*(_[A-Z0-9]+)*))$"
0Errors Error
LocalVariableName0Errors Error
MethodName
  • format: "^_?[a-z][a-zA-Z0-9]*$"
0Errors Error
PackageName0Errors Error
LocalFinalVariableName0Errors Error
ParameterName0Errors Error
StaticVariableName8Errors Error
TypeName
  • format: "^_?[A-Z][a-zA-Z0-9]*$"
0Errors Error
Header
  • headerFile: "/home/lu4242/workspace/tomahawk_1_1_10/trunk/examples/simple20/target/checkstyle-header.txt"
0Errors Error
AvoidStarImport3Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports0Errors Error
FileLength0Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see"
15Errors Error
MethodLength
  • max: "200"
0Errors Error
ParameterNumber
  • max: "10"
0Errors Error
TabCharacter0Errors Error
NeedBraces25Errors Error
LeftCurly
  • option: "nl"
145Errors Error
RightCurly
  • option: "alone"
1Errors Error
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode1Errors Error
InnerAssignment0Errors Error
DefaultComesLast0Errors Error
MissingSwitchDefault2Errors Error
FallThrough0Errors Error
MultipleVariableDeclarations2Errors Error
UpperEll0Errors Error

Details

org/apache/myfaces/examples/accessedbeans/AccessTrackingVariableResolver.java

ViolationMessageLine
ErrorsLine is longer than 120 characters.53

org/apache/myfaces/examples/accessedbeans/AccessedBeans.java

ViolationMessageLine
Errors'if' construct must use '{}'s.34
Errors'if' construct must use '{}'s.52

org/apache/myfaces/examples/aliasexample/AliasHolder.java

ViolationMessageLine
Errors'{' should be on a new line.28
Errors'{' should be on a new line.33
Errors'{' should be on a new line.37
Errors'{' should be on a new line.42

org/apache/myfaces/examples/calendarexample/CalendarBean.java

ViolationMessageLine
Errors'for' construct must use '{}'s.57

org/apache/myfaces/examples/captcha/CaptchaBean.java

ViolationMessageLine
Errors'{' should be on a new line.24
Errors'{' should be on a new line.33
Errors'{' should be on a new line.40
Errors'}' should be alone on a line.42
Errors'{' should be on a new line.42
Errors'{' should be on a new line.49
Errors'{' should be on a new line.53
Errors'{' should be on a new line.57
Errors'{' should be on a new line.61
Errors'{' should be on a new line.65

org/apache/myfaces/examples/colspanexample/Cell.java

ViolationMessageLine
Errors'{' should be on a new line.21
Errors'{' should be on a new line.23
Errors'{' should be on a new line.27
Errors'{' should be on a new line.30

org/apache/myfaces/examples/colspanexample/CellLineBean.java

ViolationMessageLine
Errors'{' should be on a new line.25
Errors'{' should be on a new line.26

org/apache/myfaces/examples/colspanexample/Line.java

ViolationMessageLine
Errors'{' should be on a new line.21
Errors'{' should be on a new line.27
Errors'{' should be on a new line.35
Errors'{' should be on a new line.38
Errors'{' should be on a new line.41
Errors'{' should be on a new line.44
Errors'{' should be on a new line.47
Errors'{' should be on a new line.50
Errors'{' should be on a new line.53
Errors'{' should be on a new line.56
Errors'{' should be on a new line.59
Errors'{' should be on a new line.62

org/apache/myfaces/examples/colspanexample/TestColspanBean.java

ViolationMessageLine
Errors'{' should be on a new line.25
Errors'{' should be on a new line.26
Errors'{' should be on a new line.37

org/apache/myfaces/examples/common/CarConfigurator.java

ViolationMessageLine
ErrorsName '_cars' must match pattern '^[a-z][a-zA-Z0-9]*$'.48
ErrorsName '_colors' must match pattern '^[a-z][a-zA-Z0-9]*$'.49
ErrorsName '_extrasList' must match pattern '^[a-z][a-zA-Z0-9]*$'.50
ErrorsName '_priceList' must match pattern '^[a-z][a-zA-Z0-9]*$'.51
ErrorsName '_priceFactorColors' must match pattern '^[a-z][a-zA-Z0-9]*$'.52
ErrorsName '_priceListExtras' must match pattern '^[a-z][a-zA-Z0-9]*$'.53
Errorsswitch without "default" clause.267
Errorsswitch without "default" clause.284
ErrorsLine is longer than 120 characters.321
Errors'if' construct must use '{}'s.323
ErrorsLine is longer than 120 characters.329
ErrorsDefinition of 'equals()' without corresponding definition of 'hashCode()'.359
Errors'if' construct must use '{}'s.361
Errors'if' construct must use '{}'s.366

org/apache/myfaces/examples/displayValueOnly/DVOFace.java

ViolationMessageLine
Errors'{' should be on a new line.47
Errors'if' construct must use '{}'s.49
Errors'if' construct must use '{}'s.51
Errors'{' should be on a new line.58
Errors'{' should be on a new line.61
Errors'{' should be on a new line.64
Errors'{' should be on a new line.67

org/apache/myfaces/examples/forceid/ForceIdBean.java

ViolationMessageLine
Errors'{' should be on a new line.27
ErrorsEach variable declaration must be in its own statement.29
Errors'{' should be on a new line.34
Errors'{' should be on a new line.44
Errors'{' should be on a new line.47
Errors'{' should be on a new line.50
Errors'{' should be on a new line.53
Errors'{' should be on a new line.56
Errors'{' should be on a new line.59

org/apache/myfaces/examples/forceid/User.java

ViolationMessageLine
Errors'{' should be on a new line.28
ErrorsEach variable declaration must be in its own statement.30
Errors'{' should be on a new line.35
Errors'{' should be on a new line.40
Errors'{' should be on a new line.43
Errors'{' should be on a new line.46
Errors'{' should be on a new line.49
Errors'{' should be on a new line.53
Errors'{' should be on a new line.54

org/apache/myfaces/examples/inputhtmlexample/EditorFace.java

ViolationMessageLine
Errors'{' should be on a new line.25
Errors'{' should be on a new line.38
Errors'{' should be on a new line.41
Errors'{' should be on a new line.45
Errors'{' should be on a new line.48
Errors'{' should be on a new line.51
Errors'{' should be on a new line.54
Errors'{' should be on a new line.57
Errors'{' should be on a new line.60
Errors'{' should be on a new line.63
Errors'{' should be on a new line.66
Errors'{' should be on a new line.69
Errors'{' should be on a new line.72
Errors'{' should be on a new line.75
Errors'{' should be on a new line.78
Errors'{' should be on a new line.81
Errors'{' should be on a new line.84

org/apache/myfaces/examples/jslistener/JsListenerModel.java

ViolationMessageLine
Errors'{' should be on a new line.50
Errors'{' should be on a new line.56

org/apache/myfaces/examples/listexample/DataScrollerList.java

ViolationMessageLine
Errors'{' should be on a new line.38
Errors'{' should be on a new line.42

org/apache/myfaces/examples/listexample/OpenDataList.java

ViolationMessageLine
Errors'if' construct must use '{}'s.154
Errors'if' construct must use '{}'s.156
Errors'if' construct must use '{}'s.158
Errors'else' construct must use '{}'s.160

org/apache/myfaces/examples/listexample/PagedSortableCarList.java

ViolationMessageLine
Errors'else' construct must use '{}'s.92

org/apache/myfaces/examples/listexample/SimpleCity.java

ViolationMessageLine
Errors'{' should be on a new line.37
Errors'{' should be on a new line.41
Errors'{' should be on a new line.45

org/apache/myfaces/examples/listexample/SimpleCountry.java

ViolationMessageLine
Errors'if' construct must use '{}'s.61
Errors'else' construct must use '{}'s.63

org/apache/myfaces/examples/listexample/SimpleCountryList.java

ViolationMessageLine
ErrorsLine is longer than 120 characters.108
ErrorsLine is longer than 120 characters.109
ErrorsLine is longer than 120 characters.110
ErrorsLine is longer than 120 characters.111
ErrorsLine is longer than 120 characters.112
ErrorsLine is longer than 120 characters.113

org/apache/myfaces/examples/listexample/SimpleGroupByList.java

ViolationMessageLine
ErrorsLine is longer than 120 characters.37

org/apache/myfaces/examples/listexample/SimpleSortableCarList.java

ViolationMessageLine
Errors'else' construct must use '{}'s.78

org/apache/myfaces/examples/messages/MessagesBean.java

ViolationMessageLine
ErrorsLine is longer than 120 characters.34
ErrorsLine is longer than 120 characters.38

org/apache/myfaces/examples/misc/GlobalOptions.java

ViolationMessageLine
Errors'{' should be on a new line.41
Errors'{' should be on a new line.46

org/apache/myfaces/examples/misc/Language.java

ViolationMessageLine
Errors'{' should be on a new line.30
Errors'{' should be on a new line.33

org/apache/myfaces/examples/misc/NavigationMenu.java

ViolationMessageLine
Errors'{' should be on a new line.36
Errors'{' should be on a new line.39
Errors'{' should be on a new line.57
Errors'{' should be on a new line.63
ErrorsLine is longer than 120 characters.69
ErrorsLine is longer than 120 characters.70
ErrorsLine is longer than 120 characters.80
Errors'{' should be on a new line.95
Errors'{' should be on a new line.102
Errors'{' should be on a new line.106
Errors'{' should be on a new line.107
Errors'{' should be on a new line.111
Errors'{' should be on a new line.118
Errors'{' should be on a new line.122
Errors'{' should be on a new line.126
Errors'{' should be on a new line.130

org/apache/myfaces/examples/misc/TestCheckBox.java

ViolationMessageLine
Errors'{' should be on a new line.33
Errors'{' should be on a new line.36
Errors'{' should be on a new line.41
Errors'{' should be on a new line.44

org/apache/myfaces/examples/misc/TestCheckBoxList.java

ViolationMessageLine
Errors'{' should be on a new line.32
Errors'for' construct must use '{}'s.35
Errors'{' should be on a new line.39
Errors'{' should be on a new line.42

org/apache/myfaces/examples/misc/TestRadioButton.java

ViolationMessageLine
Errors'{' should be on a new line.29
Errors'{' should be on a new line.32

org/apache/myfaces/examples/picklist/PicklistBean.java

ViolationMessageLine
Errors'if' construct must use '{}'s.53

org/apache/myfaces/examples/schedule/BindingScheduleExampleHandler.java

ViolationMessageLine
Errors'if' construct must use '{}'s.61

org/apache/myfaces/examples/schedule/RandomColorScheduleEntryRenderer.java

ViolationMessageLine
Errors'if' construct must use '{}'s.47

org/apache/myfaces/examples/schedule/ScheduleExampleHandler.java

ViolationMessageLine
Errors'if' construct must use '{}'s.57
Errors'if' construct must use '{}'s.77

org/apache/myfaces/examples/schedule/ScheduleSettings.java

ViolationMessageLine
Errors'{' should be on a new line.222
Errors'{' should be on a new line.226

org/apache/myfaces/examples/selectitems/SelectItemsBean.java

ViolationMessageLine
Errors'{' should be on a new line.29
Errors'{' should be on a new line.37
Errors'{' should be on a new line.38
Errors'{' should be on a new line.44
Errors'{' should be on a new line.48
Errors'{' should be on a new line.57
Errors'{' should be on a new line.58
Errors'{' should be on a new line.69
Errors'{' should be on a new line.84
Errors'{' should be on a new line.88

org/apache/myfaces/examples/toggle/ToggleBean.java

ViolationMessageLine
Errors'{' should be on a new line.41
Errors'{' should be on a new line.45
Errors'{' should be on a new line.49
Errors'{' should be on a new line.53

org/apache/myfaces/examples/tree1/Tree1Backer.java

ViolationMessageLine
Errors'{' should be on a new line.28
Errors'{' should be on a new line.32
Errors'{' should be on a new line.33
Errors'{' should be on a new line.59

org/apache/myfaces/examples/util/ExampleMessagesResourceBundle.java

ViolationMessageLine
ErrorsName 'BUNDLE_NAME' must match pattern '^[a-z][a-zA-Z0-9]*$'.33

org/apache/myfaces/examples/util/GuiUtil.java

ViolationMessageLine
ErrorsName 'BUNDLE_NAME' must match pattern '^[a-z][a-zA-Z0-9]*$'.33
Errors'if' construct must use '{}'s.49

org/apache/myfaces/examples/validate/ValidateForm.java

ViolationMessageLine
Errors'{' should be on a new line.25
Errors'{' should be on a new line.39
Errors'{' should be on a new line.43
Errors'{' should be on a new line.47
Errors'{' should be on a new line.52
Errors'{' should be on a new line.55
Errors'{' should be on a new line.58
Errors'{' should be on a new line.61
Errors'{' should be on a new line.65
Errors'{' should be on a new line.69
Errors'{' should be on a new line.76
Errors'{' should be on a new line.83
Errors'{' should be on a new line.90
Errors'{' should be on a new line.97
Errors'{' should be on a new line.104
Errors'{' should be on a new line.111
Errors'{' should be on a new line.115
Errors'{' should be on a new line.118

org/apache/myfaces/examples/webapp/SourceCodeServlet.java

ViolationMessageLine
ErrorsUsing the '.*' form of import should be avoided - javax.servlet.*.21
ErrorsUsing the '.*' form of import should be avoided - javax.servlet.http.*.22
ErrorsUsing the '.*' form of import should be avoided - java.io.*.26
Errors'{' should be on a new line.69
Errors'if' construct must use '{}'s.70
Errors'{' should be on a new line.109
Errors'if' construct must use '{}'s.110