Function Summary: jsapi.c

File Conditionals Statements Total
jsapi.c 21.87% 17.71%
17.71%
Function Conditionals Statements Total
JS_GetOptions 100.00% 0.00%
0.00%
JS_DeleteUCProperty2 0.00% 0.00%
0.00%
JS_GC 0.00% 0.00%
0.00%
JS_IsAssigning 0.00% 0.00%
0.00%
JS_GetUCPropertyAttributes 0.00% 0.00%
0.00%
JS_LookupElement 0.00% 0.00%
0.00%
JS_LeaveLocalRootScope 100.00% 0.00%
0.00%
JS_LookupProperty 0.00% 0.00%
0.00%
JS_CompileFunction 0.00% 0.00%
0.00%
JS_DefineUCFunction 0.00% 0.00%
0.00%
JS_CompileFileHandle 100.00% 0.00%
0.00%
JS_GetArrayLength 100.00% 0.00%
0.00%
JS_SetParent 0.00% 0.00%
0.00%
JS_CheckAccess 100.00% 0.00%
0.00%
JS_ConvertArguments 100.00% 0.00%
0.00%
JS_AddNamedRoot 100.00% 0.00%
0.00%
JS_Lock 100.00% 0.00%
0.00%
JS_NewFunction 0.00% 0.00%
0.00%
JS_CloneFunctionObject 0.00% 0.00%
0.00%
JS_CompileUCFunction 100.00% 0.00%
0.00%
JS_GetScriptObject 100.00% 0.00%
0.00%
JS_DeleteProperty2 0.00% 0.00%
0.00%
JS_GetFunctionArity 100.00% 0.00%
0.00%
JS_DecompileFunctionBody 0.00% 0.00%
0.00%
JS_GetNaNValue 100.00% 0.00%
0.00%
JS_EvaluateScriptForPrincipals 0.00% 0.00%
0.00%
JS_SetObjectPrincipalsFinder 100.00% 0.00%
0.00%
JS_MaybeGC 0.00% 0.00%
0.00%
JS_GetStringChars 0.00% 0.00%
0.00%
JS_BufferIsCompilableUnit 0.00% 0.00%
0.00%
JS_ValueToECMAInt32 100.00% 0.00%
0.00%
JS_GetEmptyStringValue 100.00% 0.00%
0.00%
JS_EnterLocalRootScope 100.00% 0.00%
0.00%
JS_ValueToECMAUint32 100.00% 0.00%
0.00%
JS_CallFunctionValue 0.00% 0.00%
0.00%
JS_HasElement 0.00% 0.00%
0.00%
JS_ConstructObjectWithArguments 0.00% 0.00%
0.00%
JS_ConvertValue 0.00% 0.00%
0.00%
JS_HasUCProperty 0.00% 0.00%
0.00%
JS_GetClass 100.00% 0.00%
0.00%
JS_GetReservedSlot 0.00% 0.00%
0.00%
JS_SetRuntimePrivate 100.00% 0.00%
0.00%
JS_StringsAreUTF8 100.00% 0.00%
0.00%
JS_MapGCRoots 100.00% 0.00%
0.00%
JS_EnumerateStandardClasses 0.00% 0.00%
0.00%
JS_GetFunctionId 0.00% 0.00%
0.00%
JS_GetUCProperty 0.00% 0.00%
0.00%
JS_SetVersion 0.00% 0.00%
0.00%
JS_ClearRegExpRoots 100.00% 0.00%
0.00%
JS_SetPrototype 0.00% 0.00%
0.00%
JS_DecompileFunction 0.00% 0.00%
0.00%
JS_SetCheckObjectAccessCallback 100.00% 0.00%
0.00%
JS_ReportError 100.00% 0.00%
0.00%
JS_GetLocaleCallbacks 100.00% 0.00%
0.00%
JS_DeleteElement 100.00% 0.00%
0.00%
JS_GetFunctionObject 100.00% 0.00%
0.00%
JS_NewRegExpObject 0.00% 0.00%
0.00%
JS_ValueToUint16 100.00% 0.00%
0.00%
JS_ValueToNumber 100.00% 0.00%
0.00%
JS_ReportOutOfMemory 100.00% 0.00%
0.00%
JS_GetPropertyAttrsGetterAndSetter 100.00% 0.00%
0.00%
DefineUCProperty 0.00% 0.00%
0.00%
JS_GetScopeChain 0.00% 0.00%
0.00%
JS_ClearNewbornRoots 0.00% 0.00%
0.00%
JS_NewDoubleValue 100.00% 0.00%
0.00%
JS_LockGCThingRT 100.00% 0.00%
0.00%
JS_ErrorFromException 100.00% 0.00%
0.00%
JS_AddRoot 100.00% 0.00%
0.00%
JS_IsExceptionPending 100.00% 0.00%
0.00%
JS_ShutDown 100.00% 0.00%
0.00%
JS_CompileFunctionForPrincipals 0.00% 0.00%
0.00%
JS_GetUCPropertyAttrsGetterAndSetter 0.00% 0.00%
0.00%
JS_NewDouble 100.00% 0.00%
0.00%
JS_RemoveExternalStringFinalizer 100.00% 0.00%
0.00%
JS_PushArguments 100.00% 0.00%
0.00%
JS_ReportErrorFlagsAndNumberUC 100.00% 0.00%
0.00%
JS_ResolveStub 100.00% 0.00%
0.00%
JS_NewExternalString 0.00% 0.00%
0.00%
JS_SetGCCallback 100.00% 0.00%
0.00%
JS_GetFunctionName 0.00% 0.00%
0.00%
JS_ObjectIsFunction 100.00% 0.00%
0.00%
ReservedSlotIndexOK 0.00% 0.00%
0.00%
prop_iter_mark 0.00% 0.00%
0.00%
JS_GetElement 100.00% 0.00%
0.00%
prop_iter_finalize 0.00% 0.00%
0.00%
JS_AliasElement 0.00% 0.00%
0.00%
JS_GetVersion 100.00% 0.00%
0.00%
JS_UnlockGCThing 0.00% 0.00%
0.00%
JS_DeleteProperty 100.00% 0.00%
0.00%
JS_IsArrayObject 100.00% 0.00%
0.00%
JS_Unlock 100.00% 0.00%
0.00%
JS_GetPrototype 0.00% 0.00%
0.00%
JS_SetPropertyAttributes 100.00% 0.00%
0.00%
JS_HasInstance 100.00% 0.00%
0.00%
JS_DefinePropertyWithTinyId 100.00% 0.00%
0.00%
JS_CallFunction 0.00% 0.00%
0.00%
JS_CompileFile 0.00% 0.00%
0.00%
JS_GetFunctionFlags 100.00% 0.00%
0.00%
JS_AddArgumentFormatter 0.00% 0.00%
0.00%
JS_CompileUCFunctionForPrincipals 0.00% 0.00%
0.00%
JS_ClearScope 0.00% 0.00%
0.00%
JS_ReportWarning 100.00% 0.00%
0.00%
JS_PushArgumentsVA 0.00% 0.00%
0.00%
JS_DecodeBytes 100.00% 0.00%
0.00%
JS_SetOptions 0.00% 0.00%
0.00%
JS_ConvertArgumentsVA 0.00% 0.00%
0.00%
JS_GetNegativeInfinityValue 100.00% 0.00%
0.00%
JS_VersionToString 0.00% 0.00%
0.00%
JS_RemoveRoot 100.00% 0.00%
0.00%
JS_ValueToFunction 100.00% 0.00%
0.00%
TryArgumentFormatter 0.00% 0.00%
0.00%
JS_EnumerateResolvedStandardClasses 0.00% 0.00%
0.00%
JS_IsAboutToBeFinalized 100.00% 0.00%
0.00%
JS_ThrowReportedError 100.00% 0.00%
0.00%
JS_SetThreadStackLimit 100.00% 0.00%
0.00%
JS_InternUCString 100.00% 0.00%
0.00%
JS_SetGCParameter 0.00% 0.00%
0.00%
js_gcroot_mapper 0.00% 0.00%
0.00%
JS_ValueToObject 100.00% 0.00%
0.00%
JS_RestoreExceptionState 0.00% 0.00%
0.00%
JS_ContextIterator 100.00% 0.00%
0.00%
JS_ConvertStub 100.00% 0.00%
0.00%
JS_NewStringCopyN 0.00% 0.00%
0.00%
JS_ForgetLocalRoot 100.00% 0.00%
0.00%
AlreadyHasOwnProperty 100.00% 0.00%
0.00%
JS_ReportPendingException 100.00% 0.00%
0.00%
JS_DeleteElement2 100.00% 0.00%
0.00%
JS_ValueToInt32 100.00% 0.00%
0.00%
JS_HasProperty 0.00% 0.00%
0.00%
JS_NewUCString 100.00% 0.00%
0.00%
LookupResult 0.00% 0.00%
0.00%
JS_CompareStrings 100.00% 0.00%
0.00%
JS_ExecuteScript 0.00% 0.00%
0.00%
JS_ExecuteScriptPart 0.00% 0.00%
0.00%
JS_ValueToId 0.00% 0.00%
0.00%
SetPropertyAttributes 0.00% 0.00%
0.00%
JS_ReportErrorFlagsAndNumber 100.00% 0.00%
0.00%
JS_GetPropertyAttributes 100.00% 0.00%
0.00%
JS_SetPendingException 100.00% 0.00%
0.00%
JS_SetArrayLength 100.00% 0.00%
0.00%
LookupUCProperty 0.00% 0.00%
0.00%
JS_DestroyContextNoGC 100.00% 0.00%
0.00%
JS_AddExternalStringFinalizer 100.00% 0.00%
0.00%
JS_GetPendingException 0.00% 0.00%
0.00%
AddAtomToArray 0.00% 0.00%
0.00%
JS_SaveExceptionState 0.00% 0.00%
0.00%
JS_IsRunning 100.00% 0.00%
0.00%
JS_GetTypeName 0.00% 0.00%
0.00%
JS_NewGrowableString 100.00% 0.00%
0.00%
JS_InternUCStringN 0.00% 0.00%
0.00%
JS_GetRuntime 100.00% 0.00%
0.00%
JS_AddNamedRootRT 100.00% 0.00%
0.00%
JS_SetCallReturnValue2 100.00% 0.00%
0.00%
JS_NewDependentString 100.00% 0.00%
0.00%
JS_IdToValue 0.00% 0.00%
0.00%
EnumerateIfResolved 0.00% 0.00%
0.00%
JS_NewScriptObject 0.00% 0.00%
0.00%
JS_SetLocaleCallbacks 100.00% 0.00%
0.00%
GetPropertyAttributes 0.00% 0.00%
0.00%
JS_DecompileScript 0.00% 0.00%
0.00%
JS_ToggleOptions 0.00% 0.00%
0.00%
JS_DefineUCProperty 100.00% 0.00%
0.00%
JS_TypeOfValue 0.00% 0.00%
0.00%
JS_DestroyContextMaybeGC 100.00% 0.00%
0.00%
JS_HasArrayLength 100.00% 0.00%
0.00%
JS_CompileUCScript 100.00% 0.00%
0.00%
JS_CompileScript 0.00% 0.00%
0.00%
JS_NewArrayObject 100.00% 0.00%
0.00%
JS_NewUCRegExpObject 100.00% 0.00%
0.00%
JS_SetBranchCallback 100.00% 0.00%
0.00%
JS_RemoveArgumentFormatter 0.00% 0.00%
0.00%
JS_ResolveStandardClass 0.00% 0.00%
0.00%
JS_CompileScriptForPrincipals 0.00% 0.00%
0.00%
JS_Now 100.00% 0.00%
0.00%
JS_ValueToBoolean 100.00% 0.00%
0.00%
JS_LookupPropertyWithFlags 0.00% 0.00%
0.00%
JS_UndependString 100.00% 0.00%
0.00%
JS_GetRuntimePrivate 100.00% 0.00%
0.00%
JS_PopArguments 100.00% 0.00%
0.00%
JS_NewUCStringCopyZ 0.00% 0.00%
0.00%
js_generic_native_method_dispatcher 0.00% 0.00%
0.00%
JS_IsConstructing 0.00% 0.00%
0.00%
StdNameToAtom 0.00% 0.00%
0.00%
JS_SealObject 0.00% 0.00%
0.00%
JS_NewUCStringCopyN 100.00% 0.00%
0.00%
JS_ReportErrorNumber 100.00% 0.00%
0.00%
JS_SetGCCallbackRT 100.00% 0.00%
0.00%
JS_RemoveRootRT 100.00% 0.00%
0.00%
JS_DropExceptionState 0.00% 0.00%
0.00%
JS_ClearPendingException 100.00% 0.00%
0.00%
JS_NewPropertyIterator 0.00% 0.00%
0.00%
JS_SetRegExpInput 100.00% 0.00%
0.00%
JS_SetUCPropertyAttributes 0.00% 0.00%
0.00%
JS_LockGCThing 0.00% 0.00%
0.00%
JS_GetExternalStringGCType 0.00% 0.00%
0.00%
JS_GetMethod 0.00% 0.00%
0.00%
JS_GetObjectId 100.00% 0.00%
0.00%
JS_LookupUCProperty 0.00% 0.00%
0.00%
JS_GetImplementationVersion 100.00% 0.00%
0.00%
JS_SetUCProperty 0.00% 0.00%
0.00%
JS_ReportErrorNumberUC 100.00% 0.00%
0.00%
JS_GetParent 0.00% 0.00%
0.00%
JS_ValueToConstructor 100.00% 0.00%
0.00%
JS_StringToVersion 0.00% 0.00%
0.00%
JS_EncodeCharacters 100.00% 0.00%
0.00%
JS_ConstructObject 0.00% 0.00%
0.00%
JS_CompileFileHandleForPrincipals 0.00% 0.00%
0.00%
JS_DefineUCPropertyWithTinyId 100.00% 0.00%
0.00%
JS_NextProperty 0.00% 0.00%
0.00%
JS_Enumerate 0.00% 0.00%
0.00%
JS_NewString 0.00% 0.00%
0.00%
JS_SetPrincipalsTranscoder 100.00% 0.00%
0.00%
JS_ConcatStrings 100.00% 0.00%
0.00%
JS_NewNumberValue 100.00% 0.00%
0.00%
JS_UnlockGCThingRT 100.00% 0.00%
0.00%
JS_InstanceOf 33.33% 37.50%
37.50%
JS_CallFunctionName 66.67% 42.86%
42.86%
InitFunctionAndObjectClasses 58.33% 50.00%
50.00%
JS_GetConstructor 100.00% 57.14%
57.14%
JS_AliasProperty 66.67% 58.82%
58.82%
JS_DefineObject 100.00% 60.00%
60.00%
JS_Init 100.00% 63.16%
63.16%
DefineProperty 66.67% 66.67%
66.67%
CompileTokenStream 80.00% 66.67%
66.67%
JS_InitClass 95.24% 68.42%
68.42%
JS_InitStandardClasses 100.00% 71.43%
71.43%
JS_NewStringCopyZ 100.00% 72.73%
72.73%
JS_GetInstancePrivate 100.00% 75.00%
75.00%
JS_NewObject 100.00% 75.00%
75.00%
JS_malloc 100.00% 75.00%
75.00%
JS_InternString 100.00% 80.00%
80.00%
JS_MakeStringImmutable 100.00% 80.00%
80.00%
JS_GetProperty 100.00% 80.00%
80.00%
JS_SetProperty 100.00% 80.00%
80.00%
JS_DefineFunction 100.00% 80.00%
80.00%
LookupProperty 100.00% 80.00%
80.00%
JS_realloc 100.00% 80.00%
80.00%
JS_DefineFunctions 100.00% 80.95%
80.95%
JS_DefineProperties 100.00% 83.33%
83.33%
JS_strdup 100.00% 83.33%
83.33%
JS_DefineConstDoubles 100.00% 83.33%
83.33%
JS_SetReservedSlot 75.00% 85.71%
85.71%
JS_EvaluateScript 100.00% 87.50%
87.50%
JS_CompileUCScriptForPrincipals 66.67% 87.50%
87.50%
JS_EvaluateUCScriptForPrincipals 66.67% 90.91%
90.91%
JS_GetGlobalObject 100.00% 100.00%
100.00%
JS_ClearRegExpStatics 100.00% 100.00%
100.00%
JS_SetErrorReporter 100.00% 100.00%
100.00%
JS_GetContextPrivate 100.00% 100.00%
100.00%
JS_PropertyStub 100.00% 100.00%
100.00%
JS_DefineElement 100.00% 100.00%
100.00%
JS_DestroyScript 100.00% 100.00%
100.00%
JS_SetElement 100.00% 100.00%
100.00%
JS_EnumerateStub 100.00% 100.00%
100.00%
JS_GetPrivate 100.00% 100.00%
100.00%
JS_GetStringBytes 100.00% 100.00%
100.00%
JS_EvaluateUCScript 100.00% 100.00%
100.00%
JS_SetContextPrivate 100.00% 100.00%
100.00%
JS_NewContext 100.00% 100.00%
100.00%
JS_SetGlobalObject 100.00% 100.00%
100.00%
JS_DefineProperty 100.00% 100.00%
100.00%
JS_DestroyIdArray 100.00% 100.00%
100.00%
JS_FinalizeStub 100.00% 100.00%
100.00%
JS_MarkGCThing 100.00% 100.00%
100.00%
JS_free 100.00% 100.00%
100.00%
JS_ValueToString 100.00% 100.00%
100.00%
JS_GetPositiveInfinityValue 100.00% 100.00%
100.00%
JS_Finish 100.00% 100.00%
100.00%
JS_GetStringLength 50.00% 100.00%
100.00%
JS_DestroyContext 100.00% 100.00%
100.00%
JS_SetPrivate 100.00% 100.00%
100.00%