2009/05/20 - Apache Shale has been retired.

For more information, please explore the Attic.

Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
5800336

Rules

RulesViolationsSeverity
PackageHtml5error Error
NewlineAtEndOfFile35error Error
Translation0error Error
JavadocMethod
  • allowUndeclaredRTE: "true"
118error Error
JavadocType0error Error
JavadocVariable102error Error
JavadocStyle4error Error
ConstantName0error Error
LocalFinalVariableName0error Error
LocalVariableName0error Error
MemberName0error Error
MethodName0error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName0error Error
TypeName0error Error
RegexpHeader
  • header
    1: /\*\s*
    2:  \*\s*Licensed to the Apache Software Foundation \(ASF\) under one or more
    3:  \*\s*contributor license agreements. See the NOTICE file distributed with
    4:  \*\s*this work for additional information regarding copyright ownership\.
    5:  \*\s*The ASF licenses this file to you under the Apache License, Version 2\.0
    6:  \*\s*\(the .License.\); you may not use this file except in compliance with
    7:  \*\s*the License. You may obtain a copy of the License at
    8:  \*\s*
    9:  \*\s*http://www\.apache\.org/licenses/LICENSE\-2\.0
    10:  \*\s*
    11:  \*\s*Unless required by applicable law or agreed to in writing, software
    12:  \*\s*distributed under the License is distributed on an .AS IS. BASIS,
    13:  \*\s*WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
    14:  \*\s*See the License for the specific language governing permissions and
    15:  \*\s*limitations under the License\.
    16:  \*
0error Error
AvoidStarImport0error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports0error Error
FileLength0error Error
LineLength
  • ignorePattern: "^ \* @version .*$"
  • max: "120"
1error Error
MethodLength0error Error
ParameterNumber1error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter
  • tokens: "BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"
0error Error
NoWhitespaceBefore0error Error
OperatorWrap0error Error
ParenPad0error Error
TypecastParenPad0error Error
TabCharacter0error Error
WhitespaceAfter0error Error
WhitespaceAround1error Error
ModifierOrder0error Error
RedundantModifier0error Error
AvoidNestedBlocks0error Error
EmptyBlock0error Error
LeftCurly0error Error
NeedBraces0error Error
RightCurly0error Error
DoubleCheckedLocking0error Error
EmptyStatement1error Error
EqualsHashCode0error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MagicNumber12error Error
MissingSwitchDefault0error Error
RedundantThrows28error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
FinalClass0error Error
HideUtilityClassConstructor0error Error
InterfaceIsType0error Error
VisibilityModifier
  • protectedAllowed: "true"
0error Error
ArrayTypeStyle3error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
25error Error
TodoComment0error Error
UpperEll0error Error

Files

Filesinfowarningerror
org/apache/shale/test/el/FacesPropertyResolverChainWrapper.java009
org/apache/shale/test/mock/MockFacesContextFactory.java002
org/apache/shale/test/mock/MockServletOutputStream.java002
org/apache/shale/test/el/MockVariableMapper.java003
org/apache/shale/test/mock/MockLifecycleFactory.java001
org/apache/shale/test/mock/package.html001
org/apache/shale/test/mock/MockRenderKitFactory.java001
org/apache/shale/test/mock/MockRenderKit.java001
org/apache/shale/test/mock/MockPrintWriter.java002
org/apache/shale/test/el/MockMethodExpression.java008
org/apache/shale/test/htmlunit/package.html001
org/apache/shale/test/mock/MockHttpServletResponse.java0012
org/apache/shale/test/cargo/package.html001
org/apache/shale/test/mock/MockApplication.java0016
org/apache/shale/test/mock/MockHttpServletRequest.java0022
org/apache/shale/test/mock/MockPropertyResolver.java0012
org/apache/shale/test/el/FacesVariableResolverChainWrapper.java009
org/apache/shale/test/mock/MockEnumeration.java001
org/apache/shale/test/mock/MockNavigationHandler.java002
org/apache/shale/test/jmock/AbstractJmockJsfTestCase.java0022
org/apache/shale/test/el/FacesScopedAttributeELResolver.java009
org/apache/shale/test/mock/MockServlet.java002
org/apache/shale/test/mock/MockApplicationMap.java002
org/apache/shale/test/base/AbstractViewControllerTestCase.java001
org/apache/shale/test/mock/MockFacesContext.java0012
org/apache/shale/test/mock/MockExternalContext.java0010
org/apache/shale/test/mock/MockLifecycle.java003
org/apache/shale/test/mock/MockViewHandler.java001
org/apache/shale/test/mock/MockHttpSession.java005
org/apache/shale/test/mock/MockServletConfig.java003
org/apache/shale/test/mock/MockExternalContext12.java001
org/apache/shale/test/mock/MockRequestMap.java002
org/apache/shale/test/el/MockFunctionMapper.java006
org/apache/shale/test/el/MockValueExpression.java0011
org/apache/shale/test/base/package.html001
org/apache/shale/test/mock/MockValueBinding.java0013
org/apache/shale/test/el/MockVariableValueExpression.java009
org/apache/shale/test/base/AbstractJsfTestCase.java0016
org/apache/shale/test/htmlunit/AbstractHtmlUnitTestCase.java0012
org/apache/shale/test/mock/MockApplication12.java003
org/apache/shale/test/mock/MockStateManager.java001
org/apache/shale/test/mock/MockFacesContext12.java004
org/apache/shale/test/mock/MockVariableResolver.java002
org/apache/shale/test/el/FacesResourceBundleELResolver.java009
org/apache/shale/test/mock/MockMethodBinding.java0017
org/apache/shale/test/mock/MockServletContext.java008
org/apache/shale/test/el/AbstractELResolver.java004
org/apache/shale/test/mock/MockResponseWriter.java0012
org/apache/shale/test/el/MockELContext.java008
org/apache/shale/test/mock/MockSessionMap.java002
org/apache/shale/test/mock/MockActionListener.java002
org/apache/shale/test/el/MockExpressionFactory.java006
org/apache/shale/test/el/FacesImplicitObjectELResolver.java009
org/apache/shale/test/mock/MockApplicationFactory.java001
org/apache/shale/test/jmock/package.html001

Details

org/apache/shale/test/el/FacesPropertyResolverChainWrapper.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine has trailing spaces.37
errorExpected an @return tag.43
errorExpected @param tag for 'context'.43
errorExpected @param tag for 'base'.43
errorExpected an @return tag.61
errorExpected an @return tag.78
errorExpected an @return tag.119
errorExpected an @return tag.159

org/apache/shale/test/mock/MockFacesContextFactory.java

ViolationMessageLine
errorFile does not end with a newline.0
errorRedundant throws: 'FacesException' is unchecked exception.126

org/apache/shale/test/mock/MockServletOutputStream.java

ViolationMessageLine
errorExpected an @return tag.51
errorExpected an @return tag.68

org/apache/shale/test/el/MockVariableMapper.java

ViolationMessageLine
errorLine has trailing spaces.32
errorFirst sentence should end with a period.37
errorLine has trailing spaces.40

org/apache/shale/test/mock/MockLifecycleFactory.java

ViolationMessageLine
errorFile does not end with a newline.0

org/apache/shale/test/mock/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/shale/test/mock/MockRenderKitFactory.java

ViolationMessageLine
errorFile does not end with a newline.0

org/apache/shale/test/mock/MockRenderKit.java

ViolationMessageLine
errorFile does not end with a newline.0

org/apache/shale/test/mock/MockPrintWriter.java

ViolationMessageLine
errorExpected an @return tag.53
errorExpected an @return tag.70

org/apache/shale/test/el/MockMethodExpression.java

ViolationMessageLine
errorLine has trailing spaces.34
errorExpected an @return tag.101
errorExpected an @return tag.116
errorExpected an @return tag.126
errorExpected an @return tag.137
errorExpected an @return tag.153
errorExpected an @return tag.170
error'=' is not preceded with whitespace.217

org/apache/shale/test/htmlunit/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/shale/test/mock/MockHttpServletResponse.java

ViolationMessageLine
errorFile does not end with a newline.0
errorExpected an @return tag.63
errorExpected an @return tag.79
errorExpected an @return tag.87
errorMissing a Javadoc comment.123
errorMissing a Javadoc comment.124
errorMissing a Javadoc comment.125
errorMissing a Javadoc comment.126
errorMissing a Javadoc comment.127
errorMissing a Javadoc comment.128
errorMissing a Javadoc comment.129
errorExpected an @return tag.431

org/apache/shale/test/cargo/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/shale/test/mock/MockApplication.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a Javadoc comment.114
errorMissing a Javadoc comment.115
errorMissing a Javadoc comment.116
errorMissing a Javadoc comment.117
errorMissing a Javadoc comment.118
errorMissing a Javadoc comment.119
errorMissing a Javadoc comment.120
errorMissing a Javadoc comment.121
errorMissing a Javadoc comment.122
errorMissing a Javadoc comment.123
errorMissing a Javadoc comment.124
errorMissing a Javadoc comment.125
errorMissing a Javadoc comment.126
errorMissing a Javadoc comment.127
errorRedundant throws: 'FacesException' is unchecked exception.320

org/apache/shale/test/mock/MockHttpServletRequest.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a Javadoc comment.57
errorMissing a Javadoc comment.64
errorMissing a Javadoc comment.72
errorMissing a Javadoc comment.82
errorExpected an @return tag.172
errorMissing a Javadoc comment.249
errorMissing a Javadoc comment.250
errorMissing a Javadoc comment.251
errorMissing a Javadoc comment.252
errorMissing a Javadoc comment.253
errorMissing a Javadoc comment.254
errorMissing a Javadoc comment.255
errorMissing a Javadoc comment.256
errorMissing a Javadoc comment.257
errorMissing a Javadoc comment.258
errorMissing a Javadoc comment.259
errorMissing a Javadoc comment.260
error'46123' is a magic number.705
error'8080' is a magic number.737
errorExpected an @return tag.874
errorExpected an @return tag.884

org/apache/shale/test/mock/MockPropertyResolver.java

ViolationMessageLine
errorFile does not end with a newline.0
errorRedundant throws: 'EvaluationException' is unchecked exception.60
errorRedundant throws: 'PropertyNotFoundException' is subclass of 'EvaluationException'.60
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.60
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.83
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.92
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.116
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.125
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.142
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.151
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.173
errorExpected an @return tag.195

org/apache/shale/test/el/FacesVariableResolverChainWrapper.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine has trailing spaces.37
errorExpected an @return tag.43
errorExpected @param tag for 'context'.43
errorExpected @param tag for 'base'.43
errorExpected an @return tag.61
errorExpected an @return tag.77
errorExpected an @return tag.96
errorExpected an @return tag.130

org/apache/shale/test/mock/MockEnumeration.java

ViolationMessageLine
errorFile does not end with a newline.0

org/apache/shale/test/mock/MockNavigationHandler.java

ViolationMessageLine
errorFile does not end with a newline.0
errorExpected an @return tag.103

org/apache/shale/test/jmock/AbstractJmockJsfTestCase.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a Javadoc comment.80
errorMissing a Javadoc comment.89
errorLine has trailing spaces.90
errorLine has trailing spaces.95
errorLine has trailing spaces.104
errorLine has trailing spaces.115
errorLine has trailing spaces.142
errorMissing a Javadoc comment.146
errorMissing a Javadoc comment.172
errorMissing a Javadoc comment.173
errorMissing a Javadoc comment.174
errorMissing a Javadoc comment.175
errorMissing a Javadoc comment.176
errorMissing a Javadoc comment.177
errorMissing a Javadoc comment.178
errorMissing a Javadoc comment.179
errorMissing a Javadoc comment.180
errorMissing a Javadoc comment.181
errorMissing a Javadoc comment.182
errorMissing a Javadoc comment.183
errorMissing a Javadoc comment.186

org/apache/shale/test/el/FacesScopedAttributeELResolver.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine has trailing spaces.40
errorExpected an @return tag.46
errorExpected @param tag for 'context'.46
errorExpected @param tag for 'base'.46
errorExpected an @return tag.64
errorExpected an @return tag.128
errorExpected an @return tag.151
errorExpected an @return tag.192

org/apache/shale/test/mock/MockServlet.java

ViolationMessageLine
errorFile does not end with a newline.0
errorExpected @throws tag for 'ServletException'.52

org/apache/shale/test/mock/MockApplicationMap.java

ViolationMessageLine
errorFile does not end with a newline.0
errorExpected an @return tag.235

org/apache/shale/test/base/AbstractViewControllerTestCase.java

ViolationMessageLine
errorFile does not end with a newline.0

org/apache/shale/test/mock/MockFacesContext.java

ViolationMessageLine
errorMissing a Javadoc comment.52
errorMissing a Javadoc comment.58
errorMissing a Javadoc comment.64
errorMissing a Javadoc comment.112
errorMissing a Javadoc comment.113
errorMissing a Javadoc comment.114
errorMissing a Javadoc comment.115
errorMissing a Javadoc comment.116
errorMissing a Javadoc comment.117
errorMissing a Javadoc comment.118
errorMissing a Javadoc comment.119
errorMissing a Javadoc comment.120

org/apache/shale/test/mock/MockExternalContext.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a Javadoc comment.78
errorMissing a Javadoc comment.79
errorMissing a Javadoc comment.80
errorMissing a Javadoc comment.81
errorMissing a Javadoc comment.82
errorMissing a Javadoc comment.83
errorMissing a Javadoc comment.84
errorMissing a Javadoc comment.85
errorRedundant throws: 'FacesException' is unchecked exception.137

org/apache/shale/test/mock/MockLifecycle.java

ViolationMessageLine
errorFile does not end with a newline.0
errorRedundant throws: 'FacesException' is unchecked exception.60
errorRedundant throws: 'FacesException' is unchecked exception.84

org/apache/shale/test/mock/MockViewHandler.java

ViolationMessageLine
errorFile does not end with a newline.0

org/apache/shale/test/mock/MockHttpSession.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a Javadoc comment.97
errorMissing a Javadoc comment.98
errorMissing a Javadoc comment.99
errorMissing a Javadoc comment.100

org/apache/shale/test/mock/MockServletConfig.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a Javadoc comment.87
errorMissing a Javadoc comment.88

org/apache/shale/test/mock/MockExternalContext12.java

ViolationMessageLine
errorMissing a Javadoc comment.40

org/apache/shale/test/mock/MockRequestMap.java

ViolationMessageLine
errorFile does not end with a newline.0
errorExpected an @return tag.240

org/apache/shale/test/el/MockFunctionMapper.java

ViolationMessageLine
errorLine has trailing spaces.32
errorFirst sentence should end with a period.37
errorLine has trailing spaces.40
errorExpected @param tag for 'prefix'.59
errorExpected @param tag for 'localName'.59
errorExpected @param tag for 'method'.59

org/apache/shale/test/el/MockValueExpression.java

ViolationMessageLine
errorLine has trailing spaces.37
errorExpected an @return tag.96
errorExpected an @return tag.111
errorExpected an @return tag.121
errorExpected an @return tag.132
errorExpected an @return tag.146
errorExpected an @return tag.160
errorExpected an @return tag.181
errorExpected an @return tag.208
errorLine has trailing spaces.267
errorLine is longer than 120 characters.269

org/apache/shale/test/base/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/shale/test/mock/MockValueBinding.java

ViolationMessageLine
errorFile does not end with a newline.0
errorExpected an @return tag.81
errorRedundant throws: 'EvaluationException' is unchecked exception.108
errorRedundant throws: 'PropertyNotFoundException' is subclass of 'EvaluationException'.108
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.108
errorRedundant throws: 'EvaluationException' is unchecked exception.137
errorRedundant throws: 'PropertyNotFoundException' is subclass of 'EvaluationException'.137
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.137
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.189
errorRedundant throws: 'PropertyNotFoundException' is unchecked exception.218
errorExpected an @return tag.302
errorExpected an @return tag.315
errorExpected an @return tag.327

org/apache/shale/test/el/MockVariableValueExpression.java

ViolationMessageLine
errorLine has trailing spaces.29
errorExpected an @return tag.81
errorExpected an @return tag.96
errorExpected an @return tag.106
errorExpected an @return tag.117
errorExpected an @return tag.131
errorExpected an @return tag.145
errorExpected an @return tag.161
errorExpected an @return tag.179

org/apache/shale/test/base/AbstractJsfTestCase.java

ViolationMessageLine
errorFile does not end with a newline.0
errorExpected @throws tag for 'Exception'.96
errorExpected @throws tag for 'Exception'.156
errorMissing a Javadoc comment.182
errorMissing a Javadoc comment.183
errorMissing a Javadoc comment.184
errorMissing a Javadoc comment.185
errorMissing a Javadoc comment.186
errorMissing a Javadoc comment.187
errorMissing a Javadoc comment.188
errorMissing a Javadoc comment.189
errorMissing a Javadoc comment.190
errorMissing a Javadoc comment.191
errorMissing a Javadoc comment.192
errorMissing a Javadoc comment.193
errorMissing a Javadoc comment.196

org/apache/shale/test/htmlunit/AbstractHtmlUnitTestCase.java

ViolationMessageLine
errorExpected an @return tag.110
errorExpected @throws tag for 'Exception'.120
errorExpected an @return tag.139
errorExpected an @return tag.162
errorExpected an @return tag.182
errorExpected an @return tag.202
errorExpected an @return tag.225
errorExpected an @return tag.237
errorExpected an @return tag.255
errorExpected an @return tag.287
errorExpected an @return tag.302
errorExpected an @return tag.319

org/apache/shale/test/mock/MockApplication12.java

ViolationMessageLine
errorLine has trailing spaces.58
errorExpected an @return tag.129
errorRedundant throws: 'ELException' is unchecked exception.183

org/apache/shale/test/mock/MockStateManager.java

ViolationMessageLine
errorFile does not end with a newline.0

org/apache/shale/test/mock/MockFacesContext12.java

ViolationMessageLine
errorMissing a Javadoc comment.43
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.54
errorMissing a Javadoc comment.77

org/apache/shale/test/mock/MockVariableResolver.java

ViolationMessageLine
errorFile does not end with a newline.0
errorExpected an @return tag.126

org/apache/shale/test/el/FacesResourceBundleELResolver.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine has trailing spaces.41
errorExpected an @return tag.47
errorExpected @param tag for 'context'.47
errorExpected @param tag for 'base'.47
errorExpected an @return tag.65
errorExpected an @return tag.104
errorExpected an @return tag.133
errorExpected an @return tag.162

org/apache/shale/test/mock/MockMethodBinding.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a Javadoc comment.88
errorMissing a Javadoc comment.89
errorArray brackets at illegal position.89
errorMissing a Javadoc comment.90
errorMissing a Javadoc comment.91
errorMissing a Javadoc comment.92
errorRedundant throws: 'EvaluationException' is unchecked exception.100
errorRedundant throws: 'MethodNotFoundException' is subclass of 'EvaluationException'.100
errorRedundant throws: 'MethodNotFoundException' is unchecked exception.100
errorArray brackets at illegal position.146
error'4' is a magic number.146
error'3' is a magic number.150
errorArray brackets at illegal position.157
errorLine has trailing spaces.160
error'3' is a magic number.162
errorExpected an @return tag.236

org/apache/shale/test/mock/MockServletContext.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a Javadoc comment.111
errorMissing a Javadoc comment.112
errorMissing a Javadoc comment.113
errorMissing a Javadoc comment.114
errorMissing a Javadoc comment.115
error'4' is a magic number.192
errorEmpty statement.264

org/apache/shale/test/el/AbstractELResolver.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine has trailing spaces.27
errorExpected an @return tag.47
errorMore than 7 parameters.47

org/apache/shale/test/mock/MockResponseWriter.java

ViolationMessageLine
errorMissing a Javadoc comment.51
errorMissing a Javadoc comment.52
errorMissing a Javadoc comment.53
errorMissing a Javadoc comment.54
errorExpected an @return tag.63
error'0xff' is a magic number.245
error'0x22' is a magic number.248
error'0x26' is a magic number.250
error'0x27' is a magic number.252
error'0x3C' is a magic number.254
error'0X3E' is a magic number.256
errorExpected an @return tag.346

org/apache/shale/test/el/MockELContext.java

ViolationMessageLine
errorLine has trailing spaces.36
errorFirst sentence should end with a period.41
errorLine has trailing spaces.44
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.50
errorMissing a Javadoc comment.51
errorMissing a Javadoc comment.52
errorMissing a Javadoc comment.53

org/apache/shale/test/mock/MockSessionMap.java

ViolationMessageLine
errorFile does not end with a newline.0
errorExpected an @return tag.241

org/apache/shale/test/mock/MockActionListener.java

ViolationMessageLine
errorFile does not end with a newline.0
errorRedundant throws: 'AbortProcessingException' is unchecked exception.60

org/apache/shale/test/el/MockExpressionFactory.java

ViolationMessageLine
errorLine has trailing spaces.33
errorFirst sentence should end with a period.38
errorLine has trailing spaces.41
errorExpected an @return tag.172
errorExpected an @return tag.214
errorExpected an @return tag.243

org/apache/shale/test/el/FacesImplicitObjectELResolver.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine has trailing spaces.40
errorExpected an @return tag.74
errorExpected @param tag for 'context'.74
errorExpected @param tag for 'base'.74
errorExpected an @return tag.92
errorExpected an @return tag.123
errorExpected an @return tag.152
errorExpected an @return tag.222

org/apache/shale/test/mock/MockApplicationFactory.java

ViolationMessageLine
errorFile does not end with a newline.0

org/apache/shale/test/jmock/package.html

ViolationMessageLine
errorMissing package documentation file.0