ScriptableObject

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total4,468 of 4,4850%787 of 7880%5565571,0251,029162163
buildClassCtor(Scriptable, Class, boolean, boolean)6140%1300%666612912911
defineProperty(String, Object, Method, Method, int)2020%460%2424565611
checkPropertyChangeForSlot(Object, Slot, ScriptableObject)1620%340%1818313111
getIds(boolean, boolean)1340%300%1616282811
lambda$defineOrdinaryProperty$0(boolean, ScriptableObject, Object, ScriptableObject, Object, Object, Object, boolean, Object, Object, Object, Object, int, Slot)1120%240%1313323211
getDefaultValue(Scriptable, Class)1010%300%1616242411
putConstImpl(String, int, Scriptable, Object, int)980%220%1212242411
setGetterOrSetter(Object, int, Callable, boolean)900%160%99202011
getPropertyName(String, String, Annotation)860%260%1414222211
putImpl(Object, int, Scriptable, Object, boolean)850%280%1515181811
defineProperty(String, Class, int)820%60%44171711
findSetterMethod(Method[], String, String)780%140%88131311
sealObject()730%120%77212111
getPropertyIds(Scriptable)720%160%99242411
defineOwnProperties(Context, ScriptableObject)570%40%33101011
defineFunctionProperties(String[], Class, int)520%40%338811
put(int, Scriptable, Object)500%80%55111111
defineOwnProperty(Context, Object, ScriptableObject, boolean)490%60%44121211
get(Object)490%120%77121211
defineOrdinaryProperty(ScriptableObject, Object, ScriptableObject, boolean, Object, int)480%n/a11101011
sameValue(Object, Object)480%160%99121211
ensureType(Object, Class, String)460%40%338811
checkPropertyDefinition(ScriptableObject)440%160%999911
applyDescriptorToAttributeBitset(int, Object, Object, Object)440%120%77131311
setCommonDescriptorProperties(int, boolean)390%80%555511
writeObject(ObjectOutputStream)390%40%33111111
redefineProperty(Scriptable, String, boolean)380%80%557711
getGetterOrSetter(String, int, Scriptable, boolean)370%100%667711
hasInstance(Scriptable)370%40%338811
getClassPrototype(Scriptable, String)370%60%44121211
callMethod(Context, Scriptable, String, Object[])330%40%338811
putConst(String, Scriptable, Object)300%60%446611
addLazilyInitializedValue(Symbol, int, LazilyLoadedCtor, int)300%40%336611
get(int, Scriptable)290%60%448811
addLazilyInitializedValue(String, int, LazilyLoadedCtor, int)290%40%336611
querySlot(Context, Object)290%40%336611
replaceExistingLambdaSlot(Context, Object, Slot, LambdaAccessorSlot)260%20%227711
getAttributeSlot(String, int)260%40%335511
readObject(ObjectInputStream)260%20%227711
checkSlotRemoval(Object, int, Slot)250%60%446611
findAnnotatedMember(AccessibleObject[], Class)250%40%334411
ensureScriptableObject(Object)240%40%335511
getTopScopeValue(Scriptable, Object)240%60%449911
has(int, Scriptable)230%60%443311
defineConst(String, Scriptable)230%60%444411
deleteProperty(Scriptable, Symbol)230%40%335511
associateValue(Object, Object)230%40%336611
ScriptableObject(Scriptable, Scriptable)220%20%227711
defineClass(Scriptable, Class, boolean, boolean)210%20%225511
defineProperty(Context, String, ScriptableObject.LambdaGetterFunction, ScriptableObject.LambdaSetterFunction, int)210%40%335511
defineProperty(Context, Symbol, ScriptableObject.LambdaGetterFunction, ScriptableObject.LambdaSetterFunction, int)210%40%335511
replaceLambdaAccessorSlot(Context, Object, LambdaAccessorSlot)210%n/a114411
checkNotSealed(Object, int)210%40%333311
put(Symbol, Scriptable, Object)200%40%334411
isConst(String)200%40%334411
deleteProperty(Scriptable, String)200%40%334411
deleteProperty(Scriptable, int)200%40%334411
buildDataDescriptor(Scriptable, Object, int)190%n/a115511
put(String, Scriptable, Object)190%40%334411
defineProperty(String, Supplier, Consumer, int)190%n/a115511
createLambdaAccessorSlot(Object, int, ScriptableObject.LambdaGetterFunction, ScriptableObject.LambdaSetterFunction, int)190%n/a115511
getAttributeSlot(Symbol)190%20%224411
ensureAccessorSlot(Object, int, Slot)190%40%335511
ensureLazySlot(Object, int, Slot)190%40%335511
ensureLambdaSlot(Object, int, Slot)190%40%335511
defineProperty(Scriptable, String, Object, int)180%20%226611
putConstProperty(Scriptable, String, Object)180%40%334411
setExternalArrayData(ExternalArrayData)170%20%225511
defineProperty(Scriptable, String, int, SerializableCallable, int, int)170%n/a114411
defineConstProperty(Scriptable, String)170%20%225511
getPropWalkingPrototypeChain(Scriptable, Scriptable, Symbol)170%40%335511
setAttributes(String, int)160%n/a114411
setAttributes(int, int)160%n/a114411
setAttributes(Symbol, int)160%n/a114411
ensureScriptable(Object)160%20%223311
ensureSymbolScriptable(Object)160%20%224411
ensureScriptableObjectButNotSymbol(Object)160%20%223311
getPropWalkingPrototypeChain(Scriptable, String, Scriptable)160%40%335511
getPropWalkingPrototypeChain(Scriptable, int, Scriptable)160%40%335511
getBase(Scriptable, Symbol)160%40%335511
defineBuiltInProperty(ScriptableObject, String, int, BuiltInSlot.Getter, BuiltInSlot.Setter, BuiltInSlot.AttributeSetter, BuiltInSlot.PropDescriptionSetter)160%n/a113311
lambda$replaceLambdaAccessorSlot$1(Context, Object, LambdaAccessorSlot, ScriptableObject, Object, int, Slot)160%20%224411
isGetterOrSetter(String, int, boolean)150%40%332211
getTypedProperty(Scriptable, int, Class)150%20%224411
getTypedProperty(Scriptable, String, Class)150%20%224411
putProperty(Scriptable, Symbol, Object)150%20%224411
getBase(Scriptable, String)150%40%335511
getBase(Scriptable, int)150%40%335511
defineBuiltInProperty(ScriptableObject, Object, int, BuiltInSlot.Getter, BuiltInSlot.Setter, BuiltInSlot.AttributeSetter)150%n/a113311
get(String, Scriptable)140%20%224411
get(Symbol, Scriptable)140%20%224411
defineProperty(String, Object, int)140%n/a114411
defineProperty(Symbol, Object, int)140%n/a114411
putProperty(Scriptable, String, Object)140%20%224411
putProperty(Scriptable, int, Object)140%20%224411
getOwnPropertyDescriptor(Context, Object)140%20%223311
defineBuiltInProperty(ScriptableObject, String, int, BuiltInSlot.Getter, BuiltInSlot.Setter)140%n/a112211
checkValidAttributes(int)130%20%224411
delete(String)130%n/a113311
delete(int)130%n/a113311
delete(Symbol)130%n/a113311
defineBuiltInProperty(ScriptableObject, Object, int, BuiltInSlot.Getter)130%n/a112211
isDataDescriptor(ScriptableObject)120%40%331111
isAccessorDescriptor(ScriptableObject)120%40%331111
has(String, Scriptable)110%20%221111
has(Symbol, Scriptable)110%20%221111
getAssociatedValue(Object)110%20%223311
ScriptableObject()100%n/a114411
getExternalArrayLength()100%20%221111
defineOwnProperty(Context, Object, ScriptableObject)100%n/a112211
isTrue(Object)100%40%331111
isGenericDescriptor(ScriptableObject)100%40%331111
getTopLevelScope(Scriptable)100%20%225511
hasProperty(Scriptable, String)90%20%221111
hasProperty(Scriptable, int)90%20%221111
hasProperty(Scriptable, Symbol)90%20%221111
static {...}81768%50%122601
putOwnProperty(String, Scriptable, Object, boolean)80%n/a111111
putOwnProperty(int, Scriptable, Object, boolean)80%n/a111111
putOwnProperty(Symbol, Scriptable, Object, boolean)80%n/a111111
extendsScriptable(Class)80%20%222211
defineProperty(Context, String, ScriptableObject.LambdaGetterFunction, int)80%n/a112211
getTypeOf()70%20%221111
getGetterOrSetter(String, int, boolean)70%n/a111111
equivalentValues(Object)70%20%221111
defineClass(Scriptable, Class)70%n/a112211
defineClass(Scriptable, Class, boolean)70%n/a112211
isFalse(Object)70%20%221111
putSuperProperty(Scriptable, Scriptable, Symbol, Object)70%n/a112211
getAttributes(String)60%n/a111111
getAttributes(int)60%n/a111111
putSuperProperty(Scriptable, Scriptable, String, Object)60%n/a112211
putSuperProperty(Scriptable, Scriptable, int, Object)60%n/a112211
callMethod(Scriptable, String, Object[])60%n/a111111
setAttributes(String, Scriptable, int)0%n/a112211
setAttributes(int, Scriptable, int)0%n/a112211
getAttributes(Symbol)0%n/a111111
getIds()0%n/a111111
getAllIds()0%n/a111111
getObjectPrototype(Scriptable)0%n/a111111
getFunctionPrototype(Scriptable)0%n/a111111
getGeneratorFunctionPrototype(Scriptable)0%n/a112211
getArrayPrototype(Scriptable)0%n/a111111
preventExtensions()0%n/a112211
getProperty(Scriptable, String)0%n/a111111
getSuperProperty(Scriptable, Scriptable, String)0%n/a111111
getProperty(Scriptable, Symbol)0%n/a111111
getSuperProperty(Scriptable, Scriptable, Symbol)0%n/a111111
getProperty(Scriptable, int)0%n/a111111
getSuperProperty(Scriptable, Scriptable, int)0%n/a111111
getAttributes(String, Scriptable)0%n/a111111
getAttributes(int, Scriptable)0%n/a111111
setPrototype(Scriptable)0%n/a112211
setParentScope(Scriptable)0%n/a112211
getDefaultValue(Class)0%n/a111111
size()0%n/a111111
isEmpty()0%n/a111111
getExternalArrayData()0%n/a111111
getPrototype()0%n/a111111
getParentScope()0%n/a111111
isExtensible()0%n/a111111
isSealed()0%n/a111111
avoidObjectDetection()0%n/a111111