Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
9 0 0 219

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
  • message: "Line has trailing spaces."
  • format: "\s+$"
43 Errors Error
JavadocMethod 33 Errors Error
JavadocType 9 Errors Error
JavadocVariable 15 Errors Error
JavadocStyle 2 Errors Error
ConstantName 0 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 41 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 5 Errors Error
UnusedImports 0 Errors Error
LineLength 25 Errors Error
MethodLength 0 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad 0 Errors Error
MethodParamPad 0 Errors Error
NoWhitespaceAfter 0 Errors Error
NoWhitespaceBefore 0 Errors Error
OperatorWrap 0 Errors Error
ParenPad 0 Errors Error
TypecastParenPad 0 Errors Error
WhitespaceAfter 0 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 19 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/RhinoSandboxImpl.java

Violation Message Line
Errors Redundant import from the same package - delight.rhinosandox.internal.SafeClassShutter. 5
Errors Redundant import from the same package - delight.rhinosandox.internal.SafeContext. 6
Errors Redundant import from the same package - delight.rhinosandox.internal.SafeWrapFactory. 7
Errors Missing a Javadoc comment. 18
Errors Missing a Javadoc comment. 20
Errors Line has trailing spaces. 21
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 First sentence should end with a period. 38
Errors Line is longer than 80 characters. 39
Errors Method 'assertContextFactory' is not designed for extension - needs to be abstract, final or empty. 41
Errors Name '_notEquals' must match pattern '^[a-z][a-zA-Z0-9]*$'. 42
Errors Name '_safeContext' must match pattern '^[a-z][a-zA-Z0-9]*$'. 46
Errors Name '_hasExplicitGlobal' must match pattern '^[a-z][a-zA-Z0-9]*$'. 48
Errors Name '_not' must match pattern '^[a-z][a-zA-Z0-9]*$'. 49
Errors Line is longer than 80 characters. 57
Errors Name '_initStandardObjects' must match pattern '^[a-z][a-zA-Z0-9]*$'. 57
Errors Name '_entrySet' must match pattern '^[a-z][a-zA-Z0-9]*$'. 59
Errors Name '_key' must match pattern '^[a-z][a-zA-Z0-9]*$'. 61
Errors Name '_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. 62
Errors Name '_object' must match pattern '^[a-z][a-zA-Z0-9]*$'. 63
Errors Line has trailing spaces. 70
Errors Method 'assertSafeScope' is not designed for extension - needs to be abstract, final or empty. 71
Errors Missing a Javadoc comment. 71
Errors Name '_notEquals' must match pattern '^[a-z][a-zA-Z0-9]*$'. 72
Errors Line is longer than 80 characters. 77
Errors Name '_initSafeStandardObjects' must match pattern '^[a-z][a-zA-Z0-9]*$'. 77
Errors Name '_safeWrapFactory' must match pattern '^[a-z][a-zA-Z0-9]*$'. 82
Errors Line has trailing spaces. 86
Errors Method 'evalWithGlobalScope' is not designed for extension - needs to be abstract, final or empty. 87
Errors Line has trailing spaces. 97
Errors Method 'eval' is not designed for extension - needs to be abstract, final or empty. 98
Errors Line is longer than 80 characters. 99
Errors Name '_entrySet' must match pattern '^[a-z][a-zA-Z0-9]*$'. 108
Errors Avoid nested blocks. 110
Errors Name '_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. 111
Errors Name '_class' must match pattern '^[a-z][a-zA-Z0-9]*$'. 112
Errors Name '_key' must match pattern '^[a-z][a-zA-Z0-9]*$'. 114
Errors Name '_value_1' must match pattern '^[a-z][a-zA-Z0-9]*$'. 115
Errors Name '_object' must match pattern '^[a-z][a-zA-Z0-9]*$'. 116
Errors Line has trailing spaces. 125
Errors Method 'eval' is not designed for extension - needs to be abstract, final or empty. 126
Errors Name '_hashMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 128
Errors Line has trailing spaces. 131
Errors Method 'setInstructionLimit' is not designed for extension - needs to be abstract, final or empty. 132
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 134
Errors Avoid nested blocks. 135
Errors Name '_notEquals' must match pattern '^[a-z][a-zA-Z0-9]*$'. 137
Errors Line has trailing spaces. 145
Errors Expected an @return tag. 149
Errors Method 'setMaxDuration' is not designed for extension - needs to be abstract, final or empty. 149
Errors Expected @param tag for 'limitInMs'. 150
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 151
Errors Avoid nested blocks. 152
Errors Name '_notEquals' must match pattern '^[a-z][a-zA-Z0-9]*$'. 154
Errors Line has trailing spaces. 162
Errors Method 'setUseSafeStandardObjects' is not designed for extension - needs to be abstract, final or empty. 163
Errors Line is longer than 80 characters. 164
Errors 'useSafeStandardObjects' hides a field. 164
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 165
Errors Avoid nested blocks. 166
Errors Line has trailing spaces. 172
Errors Method 'allow' is not designed for extension - needs to be abstract, final or empty. 173
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 175
Errors Avoid nested blocks. 176
Errors Name '_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. 177
Errors Line has trailing spaces. 183
Errors Method 'inject' is not designed for extension - needs to be abstract, final or empty. 184
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 187
Errors Avoid nested blocks. 188
Errors Name '_e' must match pattern '^[a-z][a-zA-Z0-9]*$'. 194
Errors Line has trailing spaces. 198
Errors Method 'inject' is not designed for extension - needs to be abstract, final or empty. 199
Errors Name '_xblockexpression' must match pattern '^[a-z][a-zA-Z0-9]*$'. 201
Errors Avoid nested blocks. 202
Errors Name '_class' must match pattern '^[a-z][a-zA-Z0-9]*$'. 204
Errors Line has trailing spaces. 210
Errors Missing a Javadoc comment. 211
Errors Name '_containsKey' must match pattern '^[a-z][a-zA-Z0-9]*$'. 212
Errors Line is longer than 80 characters. 215
Errors Name '_equals' must match pattern '^[a-z][a-zA-Z0-9]*$'. 217
Errors Name '_object' must match pattern '^[a-z][a-zA-Z0-9]*$'. 223
Errors Line has trailing spaces. 230
Errors Missing a Javadoc comment. 231
Errors Name '_hashMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 232
Errors Name '_safeClassShutter' must match pattern '^[a-z][a-zA-Z0-9]*$'. 236
Errors Line has trailing spaces. 239
Errors Method 'setUseSealedScope' is not designed for extension - needs to be abstract, final or empty. 240

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 package-info.java file. 0
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