LCOV - code coverage report
Current view:
directory
-
js/src
- jsapi.cpp (
source
/ functions)
Found
Hit
Coverage
Test:
app.info
Lines:
3041
1872
61.6 %
Date:
2012-07-07
Functions:
463
321
69.3 %
Function Name
Hit count
_ZNK9JSRuntime13onOwnerThreadEv
1087088994
_ZL10AssertNoGCP9JSRuntime
1008987613
_ZL10AssertNoGCP9JSContext
1008982829
JS_GetGlobalForScopeChain
910593703
JS_ObjectIsFunction
260317512
_ZL13StdNameToAtomP9JSContextP9JSStdName
52140639
JS_GetSecondContextPrivate
32155136
_ZN2JS12AutoGCRooterC2EP9JSContexti
28985291
JS_TraceChildren
25984480
_ZL18DefinePropertyByIdP9JSContextP8JSObject4jsidRKN2JS5ValueEPFiS0_S2_S3_PS5_EPFiS0_S2_S3_iS8_Ejji
19602848
_ZL14DefinePropertyP9JSContextP8JSObjectPKcRKN2JS5ValueEPFiS0_S2_4jsidPS6_EPFiS0_S2_S9_iSA_Ejji
17194054
JS_SetElement
13532331
JS_CallTracer
8631512
JS_IsExceptionPending
8232161
JS_TypeOfValue
7245402
_ZN22JSAutoEnterCompartmentD2Ev
6941009
_ZN22JSAutoEnterCompartment5enterEP9JSContextP8JSObject
6936667
JS_SetReservedSlot
5904473
JS_DefineProperty
5776730
JS_FinalizeStub
5722178
JS_ValueToECMAUint32
5146746
JS_DefineProperties
5136837
_ZL11StopRequestP9JSContext
4959008
_ZL12StartRequestP9JSContext
4959008
JS_BeginRequest
4791540
JS_EndRequest
4791540
JS_GetReservedSlot
4737978
JS_GetElement
4678144
JS_ForwardGetElementTo
4678144
JS_GetClass
4513991
JS_StringHasBeenInterned
4235883
JS_SameValue
4106419
JS_NewObject
3197575
JS_ValueToString
3032352
JS_ClearPendingException
2827368
JS_IsGCMarkingTracer
2775382
JS_GetStringEncodingLength
2433183
JS_EncodeStringToBuffer
2425350
_ZL22AssertNoGCOrFlatStringP9JSContextP8JSString
2420215
JS_GetOptions
2210600
JS_HoldPrincipals
2193851
JS_DropPrincipals
2192887
JS_InternString
2133665
JS_EnumerateStub
2015588
JS_DefinePropertyById
1948652
JS_GetStringLength
1926670
JS_GetStringCharsZ
1921140
JS_GetFunctionObject
1865977
JS_PropertyStub
1691703
JS_WrapObject
1527725
JS_GetErrorReporter
1522491
JS_ResolveStandardClass
1507970
JS_SetPrivate
1499436
_ZN2JS25AutoEnterFrameCompartment5enterEP9JSContextP12JSStackFrame
1494992
JS_ForwardGetPropertyTo
1398304
JS_GetPropertyById
1398296
JS_GetFunctionId
1345487
_ZL16SetOptionsCommonP9JSContextj
1329870
JS_SetOptions
1285147
JS_NewUCString
1261812
JS_malloc
1260082
JS_updateMallocCounter
1256010
JS_FreezeObject
1214548
JS_NewStringCopyZ
1186089
JS_NewExternalString
977073
JS_NewFunction
916812
JS_GetProperty
848754
JS_EncodeString
809732
_ZN18AutoLastFrameCheckD2Ev
793992
_ZN18AutoLastFrameCheckC2EP9JSContextRK21JSGuardObjectNotifier
793992
JS_TracerInit
767953
JS_GetParent
741180
JS_DefineFunctions
711587
JS_GetGlobalForObject
679481
_ZN22JSAutoEnterCompartment20enterAndIgnoreErrorsEP9JSContextP8JSObject
622821
JS_CallFunctionValue
608171
JS_ValueToBoolean
577296
JS_IsAboutToBeFinalized
496868
JS_DefineElement
459574
JS_RemoveValueRoot
441978
JS_AddValueRoot
441975
JS_WrapValue
441512
JS_GetMethodById
429640
JS_GetMethod
429640
JS_GetRuntime
340140
JS_GetStringCharsZAndLength
319158
JS_FlatStringEqualsAscii
286686
JS_SetPropertyById
281309
JS_ValueToId
250204
JS_AbortIfWrongThread
240001
JS_RestoreFrameChain
220536
JS_SaveFrameChain
220536
JS_GetStringCharsAndLength
179917
JS_ResumeRequest
167468
JS_SuspendRequest
167468
JS_DefineFunction
156152
JS_GetPrivate
148950
JS_EnumerateStandardClasses
144450
JS_GetConstructor
139748
JS_DefineObject
111913
JS_ContextIterator
103103
JS_GetPrototype
92262
JS_ValueToObject
92137
JS_NewNumberValue
90961
JS_IsArrayObject
86172
JS_GetArrayLength
81587
JS_SetErrorReporter
81166
JS_GetCompartmentPrivate
74004
JS_GetPendingException
72285
JS_IsRunning
72095
JS_NewArrayObject
72030
JS_InitClass
69759
JS_SetGlobalObject
64233
JS_SetPendingException
57831
JS_SetOperationCallback
55806
JS_ExecuteScript
54922
_ZL21JS_OPTIONS_TO_TCFLAGSP9JSContext
54335
JS_ValueToECMAInt32
53403
JS_strdup
49989
JS_CallFunctionName
47187
JS_ToggleOptions
44723
JS_DecodeUTF8
42491
_ZL21CompileUTF8FileHelperP9JSContextP8JSObjectP12JSPrincipalsPKcP8_IO_FILE
42491
JS_CompileUTF8FileHandleForPrincipals
41616
JS_GetGlobalObject
38893
JS_NewGlobalObject
38627
JS_SetGCParameter
38474
JS_SetContextPrivate
37421
JS_CompileUTF8FileHandle
36812
JS_SetPrototype
36315
JS_SetProperty
34088
_Z35js_generic_native_method_dispatcherP9JSContextjPN2JS5ValueE
33231
JS_NewUCStringCopyZ
31163
JS_RemoveObjectRoot
30230
JS_AddNamedObjectRoot
30230
_Z35EvaluateUCScriptForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsS4_PKtjPKcjPN2JS5ValueE9JSVersion
29360
JS_EvaluateUCScriptForPrincipals
29332
JS_EvaluateScriptForPrincipals
28282
JS_NewUCStringCopyN
28110
JS_NewContext
26231
JS_SetVersion
26037
_ZN19AutoHoldCompartmentC2EP13JSCompartmentRK21JSGuardObjectNotifier
25666
JS_NewCompartmentAndGlobalObject
25666
_ZN19AutoHoldCompartmentD2Ev
25666
JS_free
24421
JS_DestroyContext
24233
_ZN14AutoVersionAPIC2EP9JSContext9JSVersion
23786
_ZN14AutoVersionAPID2Ev
23786
JS_ValueToNumber
23515
JS_SetSecurityCallbacks
22602
_ZL18LookupPropertyByIdP9JSContextP8JSObject4jsidjPS2_PP10JSProperty
21950
JS_SetTrustedPrincipals
21214
JS_NewStringCopyN
20353
JS_Init
19910
_ZN9JSRuntime4initEj
19910
_ZN9JSRuntimeC2Ev
19910
JS_CallOnce
19910
_ZN9JSRuntimeD2Ev
19908
JS_Finish
19908
JS_SetNativeStackQuota
19901
_Z41__static_initialization_and_destruction_0ii
19870
_GLOBAL__I_jsapi.cpp
19870
_ZL8CallOncePv
19811
JS_SetGCParameterForThread
19809
JS_ShutDown
19808
_ZL25GetPropertyDescriptorByIdP9JSContextP8JSObject4jsidjiP20JSPropertyDescriptor
18898
JS_GetPropertyDescriptorById
18890
JS_EvaluateScript
18580
JS_GetContextPrivate
18432
JS_GetImplementationVersion
18405
JS_GetObjectPrototype
15749
JS_GetInternedStringCharsAndLength
15641
JS_SetSecondContextPrivate
15428
JS_IsNativeFunction
14531
JS_CompartmentGC
14351
_ZN27JSAutoStructuredCloneBuffer5clearEv
14265
JS_ClearScope
13218
JS_RestoreExceptionState
13078
JS_SaveExceptionState
13078
JS_DropExceptionState
13078
JS_DecompileFunction
12524
JS_ExecuteScriptVersion
12452
JS_ReportPendingException
12161
_ZL34CompileUCScriptForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsS4_PKtjPKcj9JSVersion
11844
JS_CompileUCScriptForPrincipals
11826
JS_CompileScriptForPrincipals
11823
JS_CompileScriptForPrincipalsVersion
11288
JS_GetSecurityCallbacks
10832
JS_GetLocaleCallbacks
10474
JS_DeepFreezeObject
10007
JS_GetEmptyStringValue
8874
JS_StringEqualsAscii
8865
JS_ConstructObjectWithArguments
7891
JS_ReportErrorFlagsAndNumber
7845
JS_DefineConstDoubles
7464
JS_ReportErrorNumber
6914
JS_SetCompartmentPrivate
6736
JS_GC
5739
JS_GetObjectRuntime
5586
JS_SetLocaleCallbacks
4704
JS_ComputeThis
4401
JS_SetContextCallback
4182
_ZN27JSAutoStructuredCloneBuffer4swapERS_
3549
JS_Now
3314
JS_TriggerOperationCallback
3236
JS_HasPropertyById
2749
JS_MakeStringImmutable
2576
JS_DestroyIdArray
2449
JS_Enumerate
2449
JS_ValueToFunction
2360
JS_CloneFunctionObject
2279
JS_DestroyContextNoGC
1995
_ZN27JSAutoStructuredCloneBuffer4copyEPKyjj
1968
JS_YieldRequest
1922
JS_WriteStructuredClone
1891
JS_ConvertArguments
1871
JS_ConvertArgumentsVA
1871
_ZN27JSAutoStructuredCloneBuffer5writeEP9JSContextN2JS5ValueEPK26JSStructuredCloneCallbacksPv
1837
JS_SetGCZeal
1637
JS_GetGCParameter
1434
JS_SetFinalizeCallback
1405
JS_SetWrapObjectCallbacks
1405
JS_InitDestroyPrincipalsCallback
1405
JS_SetGCCallback
1404
JS_SetCompartmentCallback
1404
JS_SetExtraGCRootsTracer
1404
JS_NextProperty
1166
JS_ObjectIsDate
1065
JS_ValueToSource
1032
JS_HasProperty
1012
JS_NewElementIterator
927
JS_ElementIteratorStub
927
JS_CompileUTF8File
875
JS_InstanceOf
861
JS_IsIdentifier
837
JS_ReadStructuredClone
754
_ZNK27JSAutoStructuredCloneBuffer4readEP9JSContextPN2JS5ValueEPK26JSStructuredCloneCallbacksPv
745
JS_GetVersion
721
JS_GetUCProperty
703
_ZL18prop_iter_finalizeP9JSContextP8JSObject
583
JS_NewPropertyIterator
583
JS_Stringify
568
_ZL16DefineUCPropertyP9JSContextP8JSObjectPKtjRKN2JS5ValueEPFiS0_S2_4jsidPS6_EPFiS0_S2_S9_iSA_Ejji
568
JS_DefineUCProperty
568
JS_TraceRuntime
567
JS_DescribeScriptedCaller
553
JS_InitStandardClasses
533
JS_EvaluateUCScript
459
JS_ValueToInt32
405
JS_LeaveCrossCompartmentCall
402
JS_EnterCrossCompartmentCall
402
JS_FlattenString
307
JS_NewFunctionById
304
_ZL12LookupResultP9JSContextP8JSObjectS2_4jsidP10JSPropertyPN2JS5ValueE
303
JS_ErrorFromException
303
JS_LookupPropertyById
303
JS_ReportError
287
JS_LinkConstructorAndPrototype
274
JS_StringToVersion
243
JS_ConvertStub
127
JS_NewObjectWithGivenProto
90
JS_ReportErrorFlagsAndNumberUC
83
JS_HasUCProperty
82
JS_LooselyEqual
77
JS_ReportWarning
63
JS_NewDateObjectMsec
58
JS_SetStructuredCloneCallbacks
50
_ZNK14AutoVersionAPI7versionEv
46
JS_IsInRequest
45
JS_IsInSuspendedRequest
45
JS_IsBuiltinEvalFunction
40
JS_SetArrayLength
40
JS_IsBuiltinFunctionConstructor
40
JS_ConvertValue
36
JS_DecodeBytes
36
JS_IdToValue
35
JS_DoubleIsInt32
32
JS_ParseJSON
30
JS_ScheduleGC
27
JS_EvaluateUCScriptForPrincipalsVersionOrigin
26
JS_NewObjectForConstructor
19
JS_ObjectIsCallable
18
JS_CompileUCScriptForPrincipalsVersionOrigin
18
JS_DeleteUCProperty2
16
JS_WriteBytes
16
JS_EnterCrossCompartmentCallStackFrame
12
JS_EnterCrossCompartmentCallScript
12
JS_DeletePropertyById2
9
JS_GetInstancePrivate
9
JS_CompileScript
9
JS_CompileFunctionForPrincipals
8
JS_CompileUCFunctionForPrincipals
8
JS_GetPropertyAttributes
8
JS_GetPropertyAttrsGetterAndSetterById
8
JS_ParseJSONWithReviver
8
JS_GetFlatStringChars
8
_ZL36CompileUCFunctionForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsPKcjPS6_PKtjS6_j9JSVersion
8
JS_CallFunction
5
JS_CompileFunction
4
JS_GetPropertyByIdDefault
4
JS_New
4
JS_GetRegExpFlags
3
JS_GetOperationCallback
3
JS_ClearRuntimeThread
2
JS_EvaluateUCScriptForPrincipalsVersion
2
JS_ObjectIsRegExp
2
JS_AddNamedValueRoot
2
JS_GetPropertyDefault
2
JS_SetRuntimeThread
2
JS_CompileUCScript
2
_ZN9JSRuntime14setOwnerThreadEv
2
JS_EncodeCharacters
2
_ZN9JSRuntime16clearOwnerThreadEv
2
JS_TransplantObject
1
JS_GetRegExpSource
1
JS_LookupProperty
1
JS_ThrowStopIteration
1
JS_GetNaNValue
1
JS_SetCStringsAreUTF8
1
JS_InternJSString
1
JS_StrictlyEqual
1
JS_DoubleToInt32
0
JS_FreeInCompartment
0
_ZL16SetIdArrayLengthP9JSContextP9JSIdArrayi
0
JS_GetUCPropertyAttributes
0
JS_LookupElement
0
JS_GetElementIfPresent
0
_GLOBAL__I_jsapi_cpp
0
JS_ClearRegExpStatics
0
JS_ReportAllocationOverflow
0
JS_DefineUCFunction
0
JS_AddNamedStringRoot
0
JS_SetParent
0
JS_CheckAccess
0
JS_CompileUCScriptForPrincipalsVersion
0
JS_RemoveGCThingRoot
0
JS_CompileUCFunction
0
JS_DeleteProperty2
0
JS_GetFunctionArity
0
JS_DecompileFunctionBody
0
JS_MaybeGC
0
JS_GetOwnPropertyDescriptor
0
_ZL20TryArgumentFormatterP9JSContextPPKciPPN2JS5ValueEPPc
0
JS_IsExtensible
0
JS_PrintTraceThingInfo
0
JS_BufferIsCompilableUnit
0
JS_HasElement
0
JS_RemoveStringRoot
0
JS_IsNative
0
JS_SetRuntimePrivate
0
JS_GetInternedStringChars
0
JS_IdArrayGet
0
JS_MapGCRoots
0
JS_EvaluateScriptForPrincipalsVersion
0
JS_LookupPropertyWithFlagsById
0
JS_DeleteElement
0
JS_ValueToUint16
0
JS_NewRegExpObject
0
JS_GetPropertyAttrsGetterAndSetter
0
JS_ReportOutOfMemory
0
JS_LockGCThingRT
0
_ZN2JS4CallEP9JSContextNS_5ValueES2_jPS2_S3_
0
JS_CompileUTF8FileHandleForPrincipalsVersion
0
JS_AlreadyHasOwnElement
0
JS_DefineFunctionById
0
JS_GetUCPropertyAttrsGetterAndSetter
0
JS_AnchorPtr
0
_ZN2JS19AutoEnumStateRooterD2Ev
0
JS_ResolveStub
0
JS_MallocInCompartment
0
JS_AddObjectRoot
0
JS_UnlockGCThing
0
JS_DeleteProperty
0
JS_SetJitHardening
0
JS_IsExternalString
0
_ZL15prop_iter_traceP8JSTracerP8JSObject
0
JS_SetPropertyAttributes
0
JS_GetTraceEdgeName
0
JS_HasInstance
0
JS_DefinePropertyWithTinyId
0
JS_GetFunctionFlags
0
JS_AddArgumentFormatter
0
JS_DefaultValue
0
JS_IndexToId
0
JS_CStringsAreUTF8
0
JS_GetNegativeInfinityValue
0
JS_VersionToString
0
JS_EnumerateResolvedStandardClasses
0
JS_GetFunctionPrototype
0
js_TransplantObjectWithWrapper
0
JS_ThrowReportedError
0
JS_InternUCString
0
JS_AddNamedGCThingRoot
0
JS_AlreadyHasOwnUCProperty
0
JS_NewDateObject
0
JS_AlreadyHasOwnProperty
0
_ZN2JS26AutoEnterScriptCompartment5enterEP9JSContextP8JSScript
0
_ZL14AddAtomToArrayP9JSContextP6JSAtomP9JSIdArrayPi
0
JS_GetGlobalFromScript
0
JS_DeleteElement2
0
JS_ExecuteRegExp
0
JS_DefineOwnProperty
0
JS_CompareStrings
0
JS_DumpNamedRoots
0
JS_IdArrayLength
0
JS_GetClassObject
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_AddStringRoot
0
JS_DumpHeap
0
JS_DecompileScript
0
_ZL10DumpNotifyP8JSTracerPPv13JSGCTraceKind
0
JS_NewRegExpObjectNoStatics
0
JS_DestroyContextMaybeGC
0
JS_WriteUint32Pair
0
JS_NewUCRegExpObject
0
JS_DeletePropertyById
0
_ZL8DumpNodeP15JSDumpingTracerP8_IO_FILEP14JSHeapDumpNode
0
JS_ReadUint32Pair
0
JS_RemoveArgumentFormatter
0
JS_GetPositiveInfinityValue
0
_ZL25SetPropertyAttributesByIdP9JSContextP8JSObject4jsidjPi
0
JS_LookupPropertyWithFlags
0
JS_UndependString
0
JS_GetRuntimePrivate
0
JS_GetCurrentThread
0
JS_PutEscapedFlatString
0
JS_AlreadyHasOwnPropertyById
0
JS_SetRegExpInput
0
JS_SetUCPropertyAttributes
0
JS_GetGCParameterForThread
0
JS_StrictPropertyStub
0
JS_ExecuteRegExpNoStatics
0
JS_LockGCThing
0
JS_GetObjectId
0
JS_PutEscapedString
0
JS_AddNamedScriptRoot
0
_ZL19EnumerateIfResolvedP9JSContextP8JSObjectP6JSAtomP9JSIdArrayPiS7_
0
JS_LookupUCProperty
0
_ZN27JSAutoStructuredCloneBuffer5stealEPPyPjS2_
0
JS_DoubleToUint32
0
_ZN27JSAutoStructuredCloneBuffer5adoptEPyjj
0
JS_SetUCProperty
0
JS_ReportErrorNumberUC
0
JS_ValueToConstructor
0
JS_GetExternalStringFinalizer
0
JS_ConstructObject
0
_ZL10NewIdArrayP9JSContexti
0
JS_DefineUCPropertyWithTinyId
0
JS_FileEscapedString
0
JS_FlushCaches
0
JS_RemoveScriptRoot
0
JS_realloc
0
JS_CompileUCFunctionForPrincipalsVersion
0
JS_ConcatStrings
0
JS_UnlockGCThingRT
0
JS_NewUCRegExpObjectNoStatics
0
Generated by:
LCOV version 1.7