Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
11 0 0 242

Rules

Rules Violations Severity
JavadocPackage
  • allowLegacy: "true"
3 Errors Error
NewlineAtEndOfFile 0 Errors Error
Translation 0 Errors Error
FileLength 0 Errors Error
FileTabCharacter
  • eachLine: "true"
0 Errors Error
RegexpSingleline
  • format: "\s+$"
  • message: "Line has trailing spaces."
44 Errors Error
JavadocMethod 35 Errors Error
JavadocType 11 Errors Error
JavadocVariable 15 Errors Error
JavadocStyle 2 Errors Error
ConstantName 0 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 49 Errors Error
MemberName 0 Errors Error
MethodName 0 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 0 Errors Error
TypeName 0 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 7 Errors Error
UnusedImports 0 Errors Error
LineLength 30 Errors Error
MethodLength 0 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad 0 Errors Error
MethodParamPad 0 Errors Error
NoWhitespaceAfter 1 Errors Error
NoWhitespaceBefore 0 Errors Error
OperatorWrap 0 Errors Error
ParenPad 0 Errors Error
TypecastParenPad 0 Errors Error
WhitespaceAfter 1 Errors Error
WhitespaceAround 0 Errors Error
ModifierOrder 1 Errors Error
RedundantModifier 10 Errors Error
AvoidNestedBlocks 7 Errors Error
EmptyBlock 0 Errors Error
LeftCurly 0 Errors Error
NeedBraces 0 Errors Error
RightCurly 0 Errors Error
AvoidInlineConditionals 0 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
HiddenField 1 Errors Error
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber 0 Errors Error
MissingSwitchDefault 1 Errors Error
RedundantThrows 0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
DesignForExtension 21 Errors Error
FinalClass 0 Errors Error
HideUtilityClassConstructor 1 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier 3 Errors Error
ArrayTypeStyle 0 Errors Error
FinalParameters 0 Errors Error
TodoComment 0 Errors Error
UpperEll 0 Errors Error

Details

delight/rhinosandox/RhinoSandbox.java

Violation Message Line
Errors Missing a Javadoc comment. 6
Errors Line is longer than 80 characters. 10
Errors Line is longer than 80 characters. 12
Errors Expected an @return tag. 14
Errors Redundant 'public' modifier. 14
Errors Expected @param tag for 'clazz'. 14
Errors Line has trailing spaces. 15
Errors Line is longer than 80 characters. 17
Errors Expected an @return tag. 19
Errors Line is longer than 80 characters. 19
Errors Redundant 'public' modifier. 19
Errors Expected @param tag for 'variableName'. 19
Errors Expected @param tag for 'object'. 19
Errors Line has trailing spaces. 20
Errors Expected an @return tag. 24
Errors Redundant 'public' modifier. 24
Errors Expected @param tag for 'clazz'. 24
Errors Line has trailing spaces. 25
Errors Expected an @return tag. 29
Errors Redundant 'public' modifier. 29
Errors Expected @param tag for 'limit'. 29
Errors Line has trailing spaces. 30
Errors Expected an @return tag. 34
Errors Redundant 'public' modifier. 34
Errors Expected @param tag for 'limitInMs'. 34
Errors Line has trailing spaces. 35
Errors Expected an @return tag. 39
Errors Line is longer than 80 characters. 39
Errors Redundant 'public' modifier. 39
Errors Expected @param tag for 'useSafeStandardObject'. 39
Errors Line has trailing spaces. 40
Errors Expected an @return tag. 44
Errors Redundant 'public' modifier. 44
Errors Expected @param tag for 'value'. 44
Errors Line has trailing spaces. 45
Errors Line is longer than 80 characters. 47
Errors Expected an @return tag. 49
Errors Line is longer than 80 characters. 49
Errors Redundant 'public' modifier. 49
Errors Expected @param tag for 'sourceName'. 49
Errors Expected @param tag for 'js'. 49
Errors Line has trailing spaces. 50
Errors Line is longer than 80 characters. 52
Errors Expected an @return tag. 54
Errors Redundant 'public' modifier. 54
Errors Expected @param tag for 'sourceName'. 54
Errors Expected @param tag for 'js'. 54
Errors Line has trailing spaces. 55
Errors Line is longer than 80 characters. 57
Errors Line is longer than 80 characters. 58
Errors Expected an @return tag. 60
Errors Line is longer than 80 characters. 60
Errors Redundant 'public' modifier. 60
Errors Expected @param tag for 'soureName'. 60
Errors Expected @param tag for 'js'. 60
Errors Expected @param tag for 'variables'. 60

delight/rhinosandox/RhinoSandboxes.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Redundant import from the same package - delight.rhinosandox.RhinoSandbox. 3
Errors Missing a Javadoc comment. 6
Errors Utility classes should not have a public or default constructor. 6
Errors Missing a Javadoc comment. 8

delight/rhinosandox/exceptions/ScriptCPUAbuseException.java

Violation Message Line
Errors Missing a Javadoc comment. 3

delight/rhinosandox/exceptions/ScriptDurationException.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Missing a Javadoc comment. 3

delight/rhinosandox/internal/RhinoEval.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Missing a Javadoc comment. 8
Errors Line is longer than 80 characters. 10
Errors Missing a Javadoc comment. 10
Errors Line has trailing spaces. 13
Errors Method 'call' is not designed for extension - needs to be abstract, final or empty. 14
Errors Line is longer than 80 characters. 15
Errors Name '_get' must match pattern '^[a-z][a-zA-Z0-9]*$'. 16
Errors Name '_length' must match pattern '^[a-z][a-zA-Z0-9]*$'. 22
Errors Name '_plus' must match pattern '^[a-z][a-zA-Z0-9]*$'. 23
Errors Name '_substring' must match pattern '^[a-z][a-zA-Z0-9]*$'. 24
Errors Name '_replace' must match pattern '^[a-z][a-zA-Z0-9]*$'. 26
Errors Name '_replace_1' must match pattern '^[a-z][a-zA-Z0-9]*$'. 27

delight/rhinosandox/internal/RhinoEvalDummy.java

Violation Message Line
Errors Missing a Javadoc comment. 3
Errors Method 'eval' is not designed for extension - needs to be abstract, final or empty. 5
Errors Missing a Javadoc comment. 5

delight/rhinosandox/internal/RhinoSandboxImpl.java

Violation Message Line
Errors Redundant import from the same package - delight.rhinosandox.internal.RhinoEval. 5
Errors Redundant import from the same package - delight.rhinosandox.internal.RhinoEvalDummy. 6
Errors Redundant import from the same package - delight.rhinosandox.internal.SafeClassShutter. 7
Errors Redundant import from the same package - delight.rhinosandox.internal.SafeContext. 8
Errors Redundant import from the same package - delight.rhinosandox.internal.SafeWrapFactory. 9
Errors Missing a Javadoc comment. 20
Errors Missing a Javadoc comment. 22
Errors Line has trailing spaces. 23
Errors Missing a Javadoc comment. 24
Errors Line has trailing spaces. 25
Errors Missing a Javadoc comment. 26
Errors Line has trailing spaces. 27
Errors Missing a Javadoc comment. 28
Errors Line has trailing spaces. 29
Errors Missing a Javadoc comment. 30
Errors Line has trailing spaces. 31
Errors Missing a Javadoc comment. 32
Errors Line has trailing spaces. 33
Errors Missing a Javadoc comment. 34
Errors Line has trailing spaces. 35
Errors Missing a Javadoc comment. 36
Errors Line has trailing spaces. 37
Errors Missing a Javadoc comment. 38
Errors Line has trailing spaces. 39
Errors First sentence should end with a period. 40
Errors Line is longer than 80 characters. 41
Errors Method 'assertContextFactory' is not designed for extension - needs to be abstract, final or empty. 43
Errors Name '_notEquals' must match pattern '^[a-z][a-zA-Z0-9]*$'. 45
Errors Name '_safeContext' must match pattern '^[a-z][a-zA-Z0-9]*$'. 49
Errors Name '_hasExplicitGlobal' must match pattern '^[a-z][a-zA-Z0-9]*$'. 51
Errors Name '_not' must match pattern '^[a-z][a-zA-Z0-9]*$'. 52
Errors Line is longer than 80 characters. 60
Errors Name '_initStandardObjects' must match pattern '^[a-z][a-zA-Z0-9]*$'. 60
Errors Name '_entrySet' must match pattern '^[a-z][a-zA-Z0-9]*$'. 62
Errors Name '_key' must match pattern '^[a-z][a-zA-Z0-9]*$'. 64
Errors Name '_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. 65
Errors Name '_object' must match pattern '^[a-z][a-zA-Z0-9]*$'. 66
Errors '{' is followed by whitespace. 69
Errors Line is longer than 80 characters. 70
Errors Line is longer than 80 characters. 71
Errors Name '_rhinoEval' must match pattern '^[a-z][a-zA-Z0-9]*$'. 71
Errors Line is longer than 80 characters. 72
Errors Name '_e' must match pattern '^[a-z][a-zA-Z0-9]*$'. 76
Errors Line has trailing spaces. 80
Errors Method 'assertSafeScope' is not designed for extension - needs to be abstract, final or empty. 81
Errors Missing a Javadoc comment. 81
Errors Name '_notEquals' must match pattern '^[a-z][a-zA-Z0-9]*$'. 82
Errors Line is longer than 80 characters. 87
Errors Name '_initSafeStandardObjects' must match pattern '^[a-z][a-zA-Z0-9]*$'. 87
Errors Name '_safeWrapFactory' must match pattern '^[a-z][a-zA-Z0-9]*$'. 92
Errors Line has trailing spaces. 96
Errors Method 'evalWithGlobalScope' is not designed for extension - needs to be abstract, final or empty. 97
Errors Line has trailing spaces. 107
Errors Method 'eval' is not designed for extension - needs to be abstract, final or empty. 108
Errors Line is longer than 80 characters. 109
Errors Name '_entrySet' must match pattern '^[a-z][a-zA-Z0-9]*$'. 120
Errors Avoid nested blocks. 122
Errors Name '_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. 123
Errors Name '_class' must match pattern '^[a-z][a-zA-Z0-9]*$'. 124
Errors Name '_key' must match pattern '^[a-z][a-zA-Z0-9]*$'. 126
Errors Name '_value_1' must match pattern '^[a-z][a-zA-Z0-9]*$'. 127
Errors Name '_object' must match pattern '^[a-z][a-zA-Z0-9]*$'. 128
Errors Line has trailing spaces. 137
Errors Method 'eval' is not designed for extension - needs to be abstract, final or empty. 138
Errors Name '_hashMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 140
Errors Line has trailing spaces. 143
Errors Method 'setInstructionLimit' is not designed for extension - needs to be abstract, final or empty. 144
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 146
Errors Avoid nested blocks. 147
Errors Name '_notEquals' must match pattern '^[a-z][a-zA-Z0-9]*$'. 149
Errors Line has trailing spaces. 157
Errors Expected an @return tag. 161
Errors Method 'setMaxDuration' is not designed for extension - needs to be abstract, final or empty. 161
Errors Expected @param tag for 'limitInMs'. 162
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 163
Errors Avoid nested blocks. 164
Errors Name '_notEquals' must match pattern '^[a-z][a-zA-Z0-9]*$'. 166
Errors Line has trailing spaces. 174
Errors Method 'setUseSafeStandardObjects' is not designed for extension - needs to be abstract, final or empty. 175
Errors Line is longer than 80 characters. 176
Errors 'useSafeStandardObjects' hides a field. 176
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 177
Errors Avoid nested blocks. 178
Errors Line has trailing spaces. 184
Errors Method 'allow' is not designed for extension - needs to be abstract, final or empty. 185
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 187
Errors Avoid nested blocks. 188
Errors Name '_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. 189
Errors Line has trailing spaces. 195
Errors Method 'inject' is not designed for extension - needs to be abstract, final or empty. 196
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 199
Errors Avoid nested blocks. 200
Errors Name '_e' must match pattern '^[a-z][a-zA-Z0-9]*$'. 206
Errors Line has trailing spaces. 210
Errors Method 'inject' is not designed for extension - needs to be abstract, final or empty. 211
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 213
Errors Avoid nested blocks. 214
Errors Name '_class' must match pattern '^[a-z][a-zA-Z0-9]*$'. 216
Errors Line has trailing spaces. 222
Errors Missing a Javadoc comment. 223
Errors Name '_containsKey' must match pattern '^[a-z][a-zA-Z0-9]*$'. 224
Errors Line is longer than 80 characters. 227
Errors Name '_equals' must match pattern '^[a-z][a-zA-Z0-9]*$'. 229
Errors Name '_object' must match pattern '^[a-z][a-zA-Z0-9]*$'. 235
Errors Line has trailing spaces. 242
Errors Missing a Javadoc comment. 243
Errors Name '_hashMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 244
Errors Name '_safeClassShutter' must match pattern '^[a-z][a-zA-Z0-9]*$'. 248
Errors Line has trailing spaces. 251
Errors Method 'setUseSealedScope' is not designed for extension - needs to be abstract, final or empty. 252

delight/rhinosandox/internal/SafeClassShutter.java

Violation Message Line
Errors Missing a Javadoc comment. 8
Errors Missing a Javadoc comment. 10
Errors Variable 'allowedClasses' must be private and have accessor methods. 10
Errors Line has trailing spaces. 11
Errors Method 'visibleToScripts' is not designed for extension - needs to be abstract, final or empty. 12
Errors Name '_startsWith' must match pattern '^[a-z][a-zA-Z0-9]*$'. 14
Errors Line has trailing spaces. 20
Errors Missing a Javadoc comment. 21
Errors Name '_hashSet' must match pattern '^[a-z][a-zA-Z0-9]*$'. 22
Errors Name '_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. 24

delight/rhinosandox/internal/SafeContext.java

Violation Message Line
Errors First sentence should end with a period. 11
Errors Line is longer than 80 characters. 12
Errors Line has trailing spaces. 13
Errors Line is longer than 80 characters. 14
Errors Missing a Javadoc comment. 18
Errors Missing a Javadoc comment. 19
Errors Line has trailing spaces. 20
Errors Missing a Javadoc comment. 21
Errors Line has trailing spaces. 23
Errors Missing a Javadoc comment. 24
Errors 'static' modifier out of order with the JLS suggestions. 24
Errors Line has trailing spaces. 25
Errors Missing a Javadoc comment. 26
Errors Variable 'maxRuntimeInMs' must be private and have accessor methods. 26
Errors Line has trailing spaces. 27
Errors Missing a Javadoc comment. 28
Errors Variable 'maxInstructions' must be private and have accessor methods. 28
Errors Line has trailing spaces. 29
Errors Method 'makeContext' is not designed for extension - needs to be abstract, final or empty. 30
Errors Line has trailing spaces. 37
Errors Method 'hasFeature' is not designed for extension - needs to be abstract, final or empty. 38
Errors switch without "default" clause. 40
Errors Line has trailing spaces. 52
Errors Method 'observeInstructionCount' is not designed for extension - needs to be abstract, final or empty. 53
Errors Line is longer than 80 characters. 54
Errors Line is longer than 80 characters. 58
Errors Line is longer than 80 characters. 62
Errors Name '_e' must match pattern '^[a-z][a-zA-Z0-9]*$'. 65
Errors Line has trailing spaces. 69
Errors Method 'doTopCall' is not designed for extension - needs to be abstract, final or empty. 70
Errors Line is longer than 80 characters. 71
Errors Name '_currentTimeMillis' must match pattern '^[a-z][a-zA-Z0-9]*$'. 73

delight/rhinosandox/internal/SafeNativeJavaObject.java

Violation Message Line
Errors Missing a Javadoc comment. 6
Errors Line is longer than 80 characters. 8
Errors Missing a Javadoc comment. 8
Errors Line has trailing spaces. 11
Errors Method 'get' is not designed for extension - needs to be abstract, final or empty. 12
Errors Name '_equals' must match pattern '^[a-z][a-zA-Z0-9]*$'. 14

delight/rhinosandox/internal/SafeWrapFactory.java

Violation Message Line
Errors Redundant import from the same package - delight.rhinosandox.internal.SafeNativeJavaObject. 3
Errors Missing a Javadoc comment. 8
Errors Method 'wrapAsJavaObject' is not designed for extension - needs to be abstract, final or empty. 10
Errors Line is longer than 80 characters. 11