LCOV - code coverage report
Current view:
directory
-
js/src
- jsapi.cpp (
source
/ functions)
Found
Hit
Coverage
Test:
app.info
Lines:
3055
1491
48.8 %
Date:
2012-04-07
Functions:
475
245
51.6 %
Function Name
Hit count
_ZNK9JSRuntime13onOwnerThreadEv
1162488487
_ZL10AssertNoGCP9JSRuntime
1129704867
_ZL10AssertNoGCP9JSContext
1129704317
JS_GetGlobalForScopeChain
912193789
_ZN2JS22AssertArgumentsAreSaneEP9JSContextRKNS_5ValueE
187664031
JS_ObjectIsFunction
138115038
JS_TraceChildren
25175500
_ZL13StdNameToAtomP9JSContextP9JSStdName
20745621
_ZL18DefinePropertyByIdP9JSContextP8JSObject4jsidRKN2JS5ValueEPFiS0_S2_S3_PS5_EPFiS0_S2_S3_iS8_Ejji
17105027
_ZL14DefinePropertyP9JSContextP8JSObjectPKcRKN2JS5ValueEPFiS0_S2_4jsidPS6_EPFiS0_S2_S9_iSA_Ejji
17104889
_ZN2JS12AutoGCRooterC2EP9JSContexti
16498149
JS_SetReservedSlot
5948640
JS_DefineProperty
5810047
JS_DefineProperties
5146143
JS_SameValue
4107796
JS_GetReservedSlot
3055968
JS_GetClass
2323849
JS_NewObject
1722270
JS_EnumerateStub
1666515
JS_FreezeObject
1213065
JS_PropertyStub
1114436
JS_strdup
971786
JS_NewFunction
933204
JS_NewStringCopyZ
770602
JS_GetParent
725536
JS_ResolveStandardClass
649134
JS_DefineFunctions
610915
JS_IsRunning
475957
JS_ReportErrorNumber
471361
JS_TypeOfValue
164565
JS_GetPrivate
153032
JS_EnumerateStandardClasses
144738
JS_GetFunctionObject
139977
JS_GetConstructor
120731
JS_DefineObject
111981
_ZL16SetOptionsCommonP9JSContextj
109968
JS_AbortIfWrongThread
98547
_ZN18AutoLastFrameCheckD2Ev
95970
_ZN18AutoLastFrameCheckC2EP9JSContextRK21JSGuardObjectNotifier
95970
JS_SetOptions
76654
JS_InitClass
69988
JS_GetPrototype
69984
JS_SetOperationCallback
55998
JS_EncodeString
49486
JS_DefineFunction
48245
_ZN22JSAutoEnterCompartmentD2Ev
44867
_ZN22JSAutoEnterCompartment5enterEP9JSContextP8JSObject
44849
JS_SetErrorReporter
42273
JS_GetOptions
38367
_ZL21JS_OPTIONS_TO_TCFLAGSP9JSContext
38313
JS_DecodeUTF8
38282
_ZL21CompileUTF8FileHelperP9JSContextP8JSObjectP12JSPrincipalsPKcP8_IO_FILE
38282
JS_ExecuteScript
38261
_ZL11StopRequestP9JSContext
37692
_ZL12StartRequestP9JSContext
37692
JS_BeginRequest
37532
JS_EndRequest
37532
JS_SetGlobalObject
37427
JS_SetContextPrivate
37352
JS_SetPrivate
37343
JS_SetGCParameter
37342
JS_CompileUTF8FileHandleForPrincipals
37335
JS_CompileUTF8FileHandle
37334
JS_ToggleOptions
33314
JS_DestroyIdArray
25246
JS_Enumerate
25246
JS_free
24725
JS_ValueToString
24202
_ZL18LookupPropertyByIdP9JSContextP8JSObject4jsidjPS2_PP10JSProperty
23870
JS_HasPropertyById
23832
JS_NewGlobalObject
23659
JS_SetPrototype
23328
_ZN19AutoHoldCompartmentC2EP13JSCompartmentRK21JSGuardObjectNotifier
22524
JS_NewCompartmentAndGlobalObject
22524
_ZN19AutoHoldCompartmentD2Ev
22524
JS_WrapObject
22201
JS_NewArrayObject
21421
_Z35EvaluateUCScriptForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsS4_PKtjPKcjPN2JS5ValueE9JSVersion
19357
JS_EvaluateUCScriptForPrincipals
19329
JS_EvaluateScriptForPrincipals
18843
JS_EvaluateScript
18843
JS_SetVersion
18819
JS_NewContext
18771
JS_DestroyContext
18771
JS_Init
18761
_ZN9JSRuntime4initEj
18761
_ZN9JSRuntimeD2Ev
18761
_ZN9JSRuntimeC2Ev
18761
JS_CallOnce
18761
JS_Finish
18761
JS_SetNativeStackQuota
18759
JS_GetContextPrivate
18686
_Z41__static_initialization_and_destruction_0ii
18667
JS_SetTrustedPrincipals
18667
_ZL8CallOncePv
18667
JS_SetSecurityCallbacks
18667
_GLOBAL__I_jsapi.cpp
18667
JS_RemoveObjectRoot
18666
JS_SetGCParameterForThread
18666
JS_ShutDown
18666
JS_AddNamedObjectRoot
18666
JS_GetImplementationVersion
18666
JS_ForwardGetPropertyTo
17632
JS_GetProperty
17632
JS_GetPropertyById
17632
JS_ValueToBoolean
15268
JS_ClearPendingException
13295
JS_GetPendingException
12595
JS_ConstructObjectWithArguments
12520
JS_RestoreExceptionState
11745
JS_SaveExceptionState
11745
JS_DropExceptionState
11745
JS_SetPendingException
11636
JS_DecompileFunction
11538
JS_DeepFreezeObject
10007
JS_StringEqualsAscii
9360
JS_GetRuntime
7213
JS_SetPropertyById
6277
JS_SetProperty
6276
JS_TracerInit
6097
JS_ReportErrorFlagsAndNumber
4087
JS_IsExceptionPending
4051
JS_DefineConstDoubles
3786
JS_SetElement
3636
JS_CloneFunctionObject
2369
JS_NewExternalString
2000
JS_ValueToECMAUint32
1836
_ZL22AssertNoGCOrFlatStringP9JSContextP8JSString
1649
JS_SetGCZeal
1647
JS_GetStringCharsAndLength
1647
_Z35js_generic_native_method_dispatcherP9JSContextjPN2JS5ValueE
1296
JS_ComputeThis
972
JS_CompileUTF8File
947
JS_NewElementIterator
927
JS_ElementIteratorStub
927
JS_DescribeScriptedCaller
577
JS_TraceRuntime
549
JS_ValueToSource
486
JS_EvaluateUCScript
486
JS_DropPrincipals
448
JS_HoldPrincipals
448
JS_ValueToFunction
443
JS_ValueToInt32
405
JS_ConvertArguments
378
JS_ConvertArgumentsVA
378
JS_NewNumberValue
378
JS_InitStandardClasses
264
JS_RemoveValueRoot
171
JS_AddValueRoot
171
JS_ResumeRequest
160
JS_SuspendRequest
160
JS_YieldRequest
160
JS_RestoreFrameChain
145
JS_SaveFrameChain
145
JS_DefineElement
100
JS_LeaveCrossCompartmentCall
95
JS_EnterCrossCompartmentCall
95
JS_GetGlobalObject
93
JS_NewObjectWithGivenProto
90
JS_ReportErrorFlagsAndNumberUC
81
JS_HasProperty
81
JS_FlatStringEqualsAscii
80
JS_LooselyEqual
76
JS_ConcatStrings
72
JS_GC
63
JS_ReportWarning
63
JS_WriteStructuredClone
54
JS_ScheduleGC
54
_ZN14AutoVersionAPIC2EP9JSContext9JSVersion
46
_ZNK14AutoVersionAPI7versionEv
46
_ZN14AutoVersionAPID2Ev
46
JS_FlattenString
43
JS_DefinePropertyById
38
_ZL25GetPropertyDescriptorByIdP9JSContextP8JSObject4jsidjiP20JSPropertyDescriptor
37
JS_GetPropertyDescriptorById
36
JS_ConvertValue
36
JS_DecodeBytes
36
_ZL34CompileUCScriptForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsS4_PKtjPKcj9JSVersion
31
JS_ReportPendingException
31
JS_ParseJSON
30
JS_ValueToNumber
27
JS_EvaluateUCScriptForPrincipalsVersionOrigin
26
JS_IsArrayObject
25
JS_CallFunctionName
21
JS_NewObjectForConstructor
19
JS_ValueToECMAInt32
18
JS_CompileUCScriptForPrincipalsVersionOrigin
18
JS_StringHasBeenInterned
18
JS_malloc
18
JS_GetGCParameter
18
JS_EncodeScript
15
JS_DecodeScript
15
JS_CompileUCScriptForPrincipals
13
JS_GetVersion
12
JS_InternString
10
JS_CompileScriptForPrincipals
10
JS_InstanceOf
9
JS_DeletePropertyById2
9
JS_GetInstancePrivate
9
JS_ReadStructuredClone
9
JS_CompileScript
9
JS_CompileFunctionForPrincipals
8
JS_CompileUCFunctionForPrincipals
8
JS_ParseJSONWithReviver
8
JS_GetFlatStringChars
8
_ZL36CompileUCFunctionForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsPKcjPS6_PKtjS6_j9JSVersion
8
JS_DecodeInterpretedFunction
6
JS_EncodeInterpretedFunction
6
JS_CompileFunction
4
JS_GetPropertyByIdDefault
4
JS_New
4
JS_GetArrayLength
3
JS_CallFunctionValue
3
JS_CallFunction
3
JS_GetRegExpFlags
3
JS_IdToValue
3
JS_WrapValue
2
JS_EvaluateUCScriptForPrincipalsVersion
2
JS_GetElement
2
JS_IsAboutToBeFinalized
2
JS_ObjectIsRegExp
2
JS_ValueToId
2
JS_GetPropertyDefault
2
JS_CompileUCScript
2
JS_ForwardGetElementTo
2
JS_GetStringCharsZ
2
JS_EncodeCharacters
2
JS_TransplantObject
1
JS_GetRegExpSource
1
JS_LookupProperty
1
JS_ThrowStopIteration
1
JS_SetFinalizeCallback
1
JS_SetWrapObjectCallbacks
1
JS_GetEmptyStringValue
1
JS_SetCStringsAreUTF8
1
_ZL12LookupResultP9JSContextP8JSObjectS2_4jsidP10JSPropertyPN2JS5ValueE
1
JS_InitDestroyPrincipalsCallback
1
JS_BindCallable
1
JS_ValueToObject
1
JS_GetPropertyAttributes
1
JS_GetPropertyAttrsGetterAndSetterById
1
JS_InternJSString
1
JS_NewUCStringCopyN
1
JS_LookupPropertyById
1
JS_StrictlyEqual
1
JS_DoubleToInt32
0
JS_IsBuiltinEvalFunction
0
JS_DeleteUCProperty2
0
JS_FreeInCompartment
0
_ZL16SetIdArrayLengthP9JSContextP9JSIdArrayi
0
JS_GetUCPropertyAttributes
0
JS_LookupElement
0
JS_GetSecurityCallbacks
0
JS_GetElementIfPresent
0
JS_ClearRuntimeThread
0
_GLOBAL__I_jsapi_cpp
0
JS_ClearRegExpStatics
0
JS_ReportAllocationOverflow
0
JS_DefineUCFunction
0
JS_AddNamedStringRoot
0
JS_GetInternedStringCharsAndLength
0
JS_SetParent
0
JS_CheckAccess
0
JS_CompileUCScriptForPrincipalsVersion
0
JS_RemoveGCThingRoot
0
JS_GetCompartmentPrivate
0
JS_CompileUCFunction
0
JS_DeleteProperty2
0
JS_GetStringEncodingLength
0
JS_DoubleIsInt32
0
JS_GetFunctionArity
0
JS_DecompileFunctionBody
0
JS_GetNaNValue
0
JS_ObjectIsCallable
0
JS_MaybeGC
0
JS_GetOwnPropertyDescriptor
0
_ZL20TryArgumentFormatterP9JSContextPPKciPPN2JS5ValueEPPc
0
JS_IsExtensible
0
JS_PrintTraceThingInfo
0
_ZN27JSAutoStructuredCloneBuffer4swapERS_
0
JS_BufferIsCompilableUnit
0
JS_HasElement
0
JS_CallTracer
0
JS_Stringify
0
JS_SetCompartmentPrivate
0
JS_NewDateObjectMsec
0
JS_RemoveStringRoot
0
JS_HasUCProperty
0
JS_ExecuteScriptVersion
0
JS_IsNative
0
JS_CompileScriptForPrincipalsVersion
0
JS_SetRuntimePrivate
0
JS_GetInternedStringChars
0
JS_IdArrayGet
0
JS_MapGCRoots
0
JS_GetUCProperty
0
JS_GetFunctionId
0
JS_IsGCMarkingTracer
0
JS_RemoveValueRootRT
0
JS_EvaluateScriptForPrincipalsVersion
0
JS_LookupPropertyWithFlagsById
0
JS_ReportError
0
JS_GetLocaleCallbacks
0
JS_DeleteElement
0
JS_MakeStringImmutable
0
JS_ValueToUint16
0
JS_NewRegExpObject
0
JS_GetObjectPrototype
0
JS_GetPropertyAttrsGetterAndSetter
0
JS_ReportOutOfMemory
0
JS_SetSecondContextPrivate
0
JS_LockGCThingRT
0
_ZN2JS4CallEP9JSContextNS_5ValueES2_jPS2_S3_
0
JS_ErrorFromException
0
JS_CompileUTF8FileHandleForPrincipalsVersion
0
_ZN27JSAutoStructuredCloneBuffer4copyEPKyjj
0
JS_AlreadyHasOwnElement
0
JS_DefineFunctionById
0
JS_EnterCrossCompartmentCallStackFrame
0
JS_GetUCPropertyAttrsGetterAndSetter
0
JS_AnchorPtr
0
_ZN2JS19AutoEnumStateRooterD2Ev
0
JS_ResolveStub
0
JS_freeop
0
JS_SetGCCallback
0
JS_MallocInCompartment
0
JS_AddObjectRoot
0
JS_GetSecondContextPrivate
0
JS_TriggerOperationCallback
0
_ZL16DefineUCPropertyP9JSContextP8JSObjectPKtjRKN2JS5ValueEPFiS0_S2_4jsidPS6_EPFiS0_S2_S9_iSA_Ejji
0
JS_UnlockGCThing
0
JS_GetMethodById
0
JS_DeleteProperty
0
JS_SetJitHardening
0
JS_IsExternalString
0
_ZL15prop_iter_traceP8JSTracerP8JSObject
0
_ZNK27JSAutoStructuredCloneBuffer4readEP9JSContextPN2JS5ValueEPK26JSStructuredCloneCallbacksPv
0
JS_SetPropertyAttributes
0
JS_GetTraceEdgeName
0
JS_HasInstance
0
JS_DefinePropertyWithTinyId
0
JS_GetFunctionFlags
0
JS_AddArgumentFormatter
0
JS_ClearScope
0
JS_DefaultValue
0
JS_IndexToId
0
JS_GetDefaultFreeOp
0
JS_IsIdentifier
0
JS_CStringsAreUTF8
0
JS_IsInRequest
0
JS_GetNegativeInfinityValue
0
JS_VersionToString
0
JS_EnumerateResolvedStandardClasses
0
JS_NewFunctionById
0
JS_GetFunctionPrototype
0
js_TransplantObjectWithWrapper
0
JS_ThrowReportedError
0
JS_InternUCString
0
JS_AddNamedGCThingRoot
0
JS_GetGlobalForObject
0
JS_AlreadyHasOwnUCProperty
0
JS_NewDateObject
0
JS_AlreadyHasOwnProperty
0
_ZN2JS26AutoEnterScriptCompartment5enterEP9JSContextP8JSScript
0
JS_RemoveObjectRootRT
0
_ZL14AddAtomToArrayP9JSContextP6JSAtomP9JSIdArrayPi
0
JS_RemoveStringRootRT
0
_ZN22JSAutoEnterCompartment20enterAndIgnoreErrorsEP9JSContextP8JSObject
0
JS_ContextIterator
0
JS_ConvertStub
0
JS_NewStringCopyN
0
JS_GetGlobalFromScript
0
JS_updateMallocCounter
0
JS_DeleteElement2
0
JS_ExecuteRegExp
0
_ZN15JSDumpingTracerD2Ev
0
JS_NewUCString
0
JS_DefineOwnProperty
0
_Z19JS_RemoveScriptRootP9JSRuntimePP8JSScript
0
JS_CompareStrings
0
JS_AddNamedValueRoot
0
JS_DumpNamedRoots
0
JS_SetArrayLength
0
JS_DestroyContextNoGC
0
JS_GetObjectRuntime
0
JS_IdArrayLength
0
JS_SetStructuredCloneCallbacks
0
JS_SetContextCallback
0
JS_WriteBytes
0
JS_GetClassObject
0
JS_EncodeStringToBuffer
0
JS_AddGCThingRoot
0
JS_GetTypeName
0
JS_NewGrowableString
0
JS_InternUCStringN
0
JS_ReadBytes
0
JS_StructuredClone
0
JS_GetEmptyString
0
JS_NewDependentString
0
JS_IsNativeFunction
0
JS_SetDestroyCompartmentCallback
0
JS_AddStringRoot
0
JS_SetLocaleCallbacks
0
JS_DumpHeap
0
JS_DecompileScript
0
_ZL10DumpNotifyP8JSTracerPPv13JSGCTraceKind
0
JS_DefineUCProperty
0
_ZN15JSDumpingTracerC2Ev
0
JS_NewRegExpObjectNoStatics
0
JS_SetRuntimeThread
0
JS_DestroyContextMaybeGC
0
JS_GetErrorReporter
0
JS_ObjectIsDate
0
JS_WriteUint32Pair
0
_ZN2JS25AutoEnterFrameCompartment5enterEP9JSContextP12JSStackFrame
0
_ZN9JSRuntime14setOwnerThreadEv
0
JS_NewUCRegExpObject
0
JS_DeletePropertyById
0
_ZN27JSAutoStructuredCloneBuffer5writeEP9JSContextN2JS5ValueEPK26JSStructuredCloneCallbacksPv
0
_ZL8DumpNodeP15JSDumpingTracerP8_IO_FILEP14JSHeapDumpNode
0
JS_ReadUint32Pair
0
JS_RemoveArgumentFormatter
0
JS_GetPositiveInfinityValue
0
_ZL25SetPropertyAttributesByIdP9JSContextP8JSObject4jsidjPi
0
JS_Now
0
JS_LookupPropertyWithFlags
0
JS_UndependString
0
JS_GetRuntimePrivate
0
JS_NewUCStringCopyZ
0
JS_SetExtraGCRootsTracer
0
JS_GetCurrentThread
0
JS_GetStringLength
0
JS_PutEscapedFlatString
0
JS_EnterCrossCompartmentCallScript
0
JS_NewPropertyIterator
0
JS_AlreadyHasOwnPropertyById
0
JS_LinkConstructorAndPrototype
0
JS_SetRegExpInput
0
JS_SetUCPropertyAttributes
0
JS_GetGCParameterForThread
0
JS_StrictPropertyStub
0
JS_ExecuteRegExpNoStatics
0
JS_LockGCThing
0
JS_GetMethod
0
JS_GetObjectId
0
JS_GetOperationCallback
0
JS_PutEscapedString
0
JS_AddNamedScriptRoot
0
_ZL19EnumerateIfResolvedP9JSContextP8JSObjectP6JSAtomP9JSIdArrayPiS7_
0
JS_LookupUCProperty
0
_ZN27JSAutoStructuredCloneBuffer5stealEPPyPjS2_
0
JS_IsInSuspendedRequest
0
JS_DoubleToUint32
0
_ZL18prop_iter_finalizePN2js6FreeOpEP8JSObject
0
_ZN27JSAutoStructuredCloneBuffer5adoptEPyjj
0
JS_GetStringCharsZAndLength
0
JS_SetUCProperty
0
JS_ReportErrorNumberUC
0
JS_ValueToConstructor
0
JS_GetExternalStringFinalizer
0
JS_StringToVersion
0
JS_ConstructObject
0
_ZN9JSRuntime16clearOwnerThreadEv
0
_ZL10NewIdArrayP9JSContexti
0
JS_DefineUCPropertyWithTinyId
0
JS_NextProperty
0
JS_FileEscapedString
0
JS_FlushCaches
0
JS_IsBuiltinFunctionConstructor
0
JS_RemoveScriptRoot
0
JS_realloc
0
JS_CompileUCFunctionForPrincipalsVersion
0
_ZN27JSAutoStructuredCloneBuffer5clearEv
0
JS_UnlockGCThingRT
0
JS_NewUCRegExpObjectNoStatics
0
Generated by:
LCOV version 1.7