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-06-02
Functions:
463
321
69.3 %
Function Name
Hit count
JS_AbortIfWrongThread
239718
JS_AddArgumentFormatter
0
JS_AddGCThingRoot
0
JS_AddNamedGCThingRoot
0
JS_AddNamedObjectRoot
30230
JS_AddNamedScriptRoot
0
JS_AddNamedStringRoot
0
JS_AddNamedValueRoot
2
JS_AddObjectRoot
0
JS_AddStringRoot
0
JS_AddValueRoot
441414
JS_AlreadyHasOwnElement
0
JS_AlreadyHasOwnProperty
0
JS_AlreadyHasOwnPropertyById
0
JS_AlreadyHasOwnUCProperty
0
JS_AnchorPtr
0
JS_BeginRequest
4789002
JS_BufferIsCompilableUnit
0
JS_CStringsAreUTF8
0
JS_CallFunction
5
JS_CallFunctionName
47171
JS_CallFunctionValue
607836
JS_CallOnce
19910
JS_CallTracer
8642335
JS_CheckAccess
0
JS_ClearPendingException
2826294
JS_ClearRegExpStatics
0
JS_ClearRuntimeThread
6
JS_ClearScope
13218
JS_CloneFunctionObject
2279
JS_CompareStrings
0
JS_CompartmentGC
14358
JS_CompileFunction
4
JS_CompileFunctionForPrincipals
8
JS_CompileScript
9
JS_CompileScriptForPrincipals
11823
JS_CompileScriptForPrincipalsVersion
11288
JS_CompileUCFunction
0
JS_CompileUCFunctionForPrincipals
8
JS_CompileUCFunctionForPrincipalsVersion
0
JS_CompileUCScript
2
JS_CompileUCScriptForPrincipals
11826
JS_CompileUCScriptForPrincipalsVersion
0
JS_CompileUCScriptForPrincipalsVersionOrigin
18
JS_CompileUTF8File
875
JS_CompileUTF8FileHandle
36812
JS_CompileUTF8FileHandleForPrincipals
41616
JS_CompileUTF8FileHandleForPrincipalsVersion
0
JS_ComputeThis
4401
JS_ConcatStrings
0
JS_ConstructObject
0
JS_ConstructObjectWithArguments
7855
JS_ContextIterator
103148
JS_ConvertArguments
1871
JS_ConvertArgumentsVA
1871
JS_ConvertStub
127
JS_ConvertValue
36
JS_DecodeBytes
36
JS_DecodeUTF8
42491
JS_DecompileFunction
12524
JS_DecompileFunctionBody
0
JS_DecompileScript
0
JS_DeepFreezeObject
10007
JS_DefaultValue
0
JS_DefineConstDoubles
7464
JS_DefineElement
459454
JS_DefineFunction
156170
JS_DefineFunctionById
0
JS_DefineFunctions
711593
JS_DefineObject
111913
JS_DefineOwnProperty
0
JS_DefineProperties
5136801
JS_DefineProperty
5776759
JS_DefinePropertyById
1949911
JS_DefinePropertyWithTinyId
0
JS_DefineUCFunction
0
JS_DefineUCProperty
568
JS_DefineUCPropertyWithTinyId
0
JS_DeleteElement
0
JS_DeleteElement2
0
JS_DeleteProperty
0
JS_DeleteProperty2
0
JS_DeletePropertyById
0
JS_DeletePropertyById2
9
JS_DeleteUCProperty2
16
JS_DescribeScriptedCaller
553
JS_DestroyContext
24233
JS_DestroyContextMaybeGC
0
JS_DestroyContextNoGC
1995
JS_DestroyIdArray
2449
JS_DoubleIsInt32
30
JS_DoubleToInt32
0
JS_DoubleToUint32
0
JS_DropExceptionState
13079
JS_DropPrincipals
2192889
JS_DumpHeap
0
JS_DumpNamedRoots
0
JS_ElementIteratorStub
927
JS_EncodeCharacters
2
JS_EncodeString
809664
JS_EncodeStringToBuffer
2426325
JS_EndRequest
4789002
JS_EnterCrossCompartmentCall
402
JS_EnterCrossCompartmentCallScript
12
JS_EnterCrossCompartmentCallStackFrame
12
JS_Enumerate
2449
JS_EnumerateResolvedStandardClasses
0
JS_EnumerateStandardClasses
144450
JS_EnumerateStub
2015561
JS_ErrorFromException
305
JS_EvaluateScript
18580
JS_EvaluateScriptForPrincipals
28282
JS_EvaluateScriptForPrincipalsVersion
0
JS_EvaluateUCScript
459
JS_EvaluateUCScriptForPrincipals
29332
JS_EvaluateUCScriptForPrincipalsVersion
2
JS_EvaluateUCScriptForPrincipalsVersionOrigin
26
JS_ExecuteRegExp
0
JS_ExecuteRegExpNoStatics
0
JS_ExecuteScript
54922
JS_ExecuteScriptVersion
12452
JS_FileEscapedString
0
JS_FinalizeStub
5722142
JS_Finish
19908
JS_FlatStringEqualsAscii
286675
JS_FlattenString
307
JS_FlushCaches
0
JS_ForwardGetElementTo
4678115
JS_ForwardGetPropertyTo
1397641
JS_FreeInCompartment
0
JS_FreezeObject
1214548
JS_GC
5740
JS_GetArrayLength
81587
JS_GetClass
4513979
JS_GetClassObject
0
JS_GetCompartmentPrivate
74008
JS_GetConstructor
139748
JS_GetContextPrivate
18432
JS_GetCurrentThread
0
JS_GetElement
4678115
JS_GetElementIfPresent
0
JS_GetEmptyString
0
JS_GetEmptyStringValue
8874
JS_GetErrorReporter
1521579
JS_GetExternalStringFinalizer
0
JS_GetFlatStringChars
8
JS_GetFunctionArity
0
JS_GetFunctionFlags
0
JS_GetFunctionId
1346602
JS_GetFunctionObject
1867183
JS_GetFunctionPrototype
0
JS_GetGCParameter
1434
JS_GetGCParameterForThread
0
JS_GetGlobalForObject
679204
JS_GetGlobalForScopeChain
910589576
JS_GetGlobalFromScript
0
JS_GetGlobalObject
38917
JS_GetImplementationVersion
18405
JS_GetInstancePrivate
9
JS_GetInternedStringChars
0
JS_GetInternedStringCharsAndLength
15641
JS_GetLocaleCallbacks
10473
JS_GetMethod
429369
JS_GetMethodById
429369
JS_GetNaNValue
1
JS_GetNegativeInfinityValue
0
JS_GetObjectId
0
JS_GetObjectPrototype
15749
JS_GetObjectRuntime
5600
JS_GetOperationCallback
3
JS_GetOptions
2209371
JS_GetOwnPropertyDescriptor
0
JS_GetParent
741180
JS_GetPendingException
72337
JS_GetPositiveInfinityValue
0
JS_GetPrivate
148936
JS_GetProperty
848736
JS_GetPropertyAttributes
8
JS_GetPropertyAttrsGetterAndSetter
0
JS_GetPropertyAttrsGetterAndSetterById
8
JS_GetPropertyById
1397633
JS_GetPropertyByIdDefault
4
JS_GetPropertyDefault
2
JS_GetPropertyDescriptorById
18890
JS_GetPrototype
92271
JS_GetRegExpFlags
3
JS_GetRegExpSource
1
JS_GetReservedSlot
4737978
JS_GetRuntime
339940
JS_GetRuntimePrivate
0
JS_GetSecondContextPrivate
32149526
JS_GetSecurityCallbacks
10832
JS_GetStringCharsAndLength
179883
JS_GetStringCharsZ
1920619
JS_GetStringCharsZAndLength
319180
JS_GetStringEncodingLength
2434158
JS_GetStringLength
1926149
JS_GetTraceEdgeName
0
JS_GetTypeName
0
JS_GetUCProperty
703
JS_GetUCPropertyAttributes
0
JS_GetUCPropertyAttrsGetterAndSetter
0
JS_GetVersion
721
JS_HasElement
0
JS_HasInstance
0
JS_HasProperty
1012
JS_HasPropertyById
2754
JS_HasUCProperty
82
JS_HoldPrincipals
2193853
JS_IdArrayGet
0
JS_IdArrayLength
0
JS_IdToValue
33
JS_IndexToId
0
JS_Init
19910
JS_InitClass
69759
JS_InitDestroyPrincipalsCallback
1405
JS_InitStandardClasses
533
JS_InstanceOf
861
JS_InternJSString
1
JS_InternString
2134716
JS_InternUCString
0
JS_InternUCStringN
0
JS_IsAboutToBeFinalized
496873
JS_IsArrayObject
86170
JS_IsBuiltinEvalFunction
40
JS_IsBuiltinFunctionConstructor
40
JS_IsExceptionPending
8229777
JS_IsExtensible
0
JS_IsExternalString
0
JS_IsGCMarkingTracer
2779809
JS_IsIdentifier
837
JS_IsInRequest
48
JS_IsInSuspendedRequest
48
JS_IsNative
0
JS_IsNativeFunction
14531
JS_IsRunning
72145
JS_LeaveCrossCompartmentCall
402
JS_LinkConstructorAndPrototype
274
JS_LockGCThing
0
JS_LockGCThingRT
0
JS_LookupElement
0
JS_LookupProperty
1
JS_LookupPropertyById
303
JS_LookupPropertyWithFlags
0
JS_LookupPropertyWithFlagsById
0
JS_LookupUCProperty
0
JS_LooselyEqual
77
JS_MakeStringImmutable
2576
JS_MallocInCompartment
0
JS_MapGCRoots
0
JS_MaybeGC
0
JS_New
4
JS_NewArrayObject
72003
JS_NewCompartmentAndGlobalObject
25666
JS_NewContext
26231
JS_NewDateObject
0
JS_NewDateObjectMsec
58
JS_NewDependentString
0
JS_NewElementIterator
927
JS_NewExternalString
977008
JS_NewFunction
916812
JS_NewFunctionById
304
JS_NewGlobalObject
38627
JS_NewGrowableString
0
JS_NewNumberValue
90868
JS_NewObject
3197888
JS_NewObjectForConstructor
19
JS_NewObjectWithGivenProto
90
JS_NewPropertyIterator
583
JS_NewRegExpObject
0
JS_NewRegExpObjectNoStatics
0
JS_NewStringCopyN
20353
JS_NewStringCopyZ
1186610
JS_NewUCRegExpObject
0
JS_NewUCRegExpObjectNoStatics
0
JS_NewUCString
1261953
JS_NewUCStringCopyN
28124
JS_NewUCStringCopyZ
31163
JS_NextProperty
1166
JS_Now
3316
JS_ObjectIsCallable
18
JS_ObjectIsDate
1065
JS_ObjectIsFunction
260315424
JS_ObjectIsRegExp
2
JS_ParseJSON
30
JS_ParseJSONWithReviver
8
JS_PrintTraceThingInfo
0
JS_PropertyStub
1688863
JS_PutEscapedFlatString
0
JS_PutEscapedString
0
JS_ReadBytes
0
JS_ReadStructuredClone
756
JS_ReadUint32Pair
0
JS_RemoveArgumentFormatter
0
JS_RemoveGCThingRoot
0
JS_RemoveObjectRoot
30230
JS_RemoveScriptRoot
0
JS_RemoveStringRoot
0
JS_RemoveValueRoot
441417
JS_ReportAllocationOverflow
0
JS_ReportError
287
JS_ReportErrorFlagsAndNumber
7849
JS_ReportErrorFlagsAndNumberUC
83
JS_ReportErrorNumber
6913
JS_ReportErrorNumberUC
0
JS_ReportOutOfMemory
0
JS_ReportPendingException
12161
JS_ReportWarning
63
JS_ResolveStandardClass
1507716
JS_ResolveStub
0
JS_RestoreExceptionState
13079
JS_RestoreFrameChain
220467
JS_ResumeRequest
167487
JS_SameValue
4106419
JS_SaveExceptionState
13079
JS_SaveFrameChain
220467
JS_ScheduleGC
27
JS_SetArrayLength
40
JS_SetCStringsAreUTF8
1
JS_SetCompartmentCallback
1404
JS_SetCompartmentPrivate
6736
JS_SetContextCallback
4182
JS_SetContextPrivate
37421
JS_SetElement
13531376
JS_SetErrorReporter
81168
JS_SetExtraGCRootsTracer
1404
JS_SetFinalizeCallback
1405
JS_SetGCCallback
1404
JS_SetGCParameter
38474
JS_SetGCParameterForThread
19809
JS_SetGCZeal
1637
JS_SetGlobalObject
64233
JS_SetJitHardening
0
JS_SetLocaleCallbacks
4704
JS_SetNativeStackQuota
19905
JS_SetOperationCallback
55806
JS_SetOptions
1284517
JS_SetParent
0
JS_SetPendingException
57892
JS_SetPrivate
1499751
JS_SetProperty
34088
JS_SetPropertyAttributes
0
JS_SetPropertyById
281309
JS_SetPrototype
36315
JS_SetRegExpInput
0
JS_SetReservedSlot
5904473
JS_SetRuntimePrivate
0
JS_SetRuntimeThread
6
JS_SetSecondContextPrivate
15428
JS_SetSecurityCallbacks
22602
JS_SetStructuredCloneCallbacks
50
JS_SetTrustedPrincipals
21214
JS_SetUCProperty
0
JS_SetUCPropertyAttributes
0
JS_SetVersion
26037
JS_SetWrapObjectCallbacks
1405
JS_ShutDown
19808
JS_StrictPropertyStub
0
JS_StrictlyEqual
1
JS_StringEqualsAscii
8865
JS_StringHasBeenInterned
4237985
JS_StringToVersion
243
JS_Stringify
568
JS_StructuredClone
0
JS_SuspendRequest
167487
JS_ThrowReportedError
0
JS_ThrowStopIteration
1
JS_ToggleOptions
44723
JS_TraceChildren
26044482
JS_TraceRuntime
567
JS_TracerInit
810360
JS_TransplantObject
1
JS_TriggerOperationCallback
3339
JS_TypeOfValue
7243404
JS_UndependString
0
JS_UnlockGCThing
0
JS_UnlockGCThingRT
0
JS_ValueToBoolean
577091
JS_ValueToConstructor
0
JS_ValueToECMAInt32
53418
JS_ValueToECMAUint32
5146284
JS_ValueToFunction
2360
JS_ValueToId
250204
JS_ValueToInt32
405
JS_ValueToNumber
23516
JS_ValueToObject
92099
JS_ValueToSource
1032
JS_ValueToString
3031679
JS_ValueToUint16
0
JS_VersionToString
0
JS_WrapObject
1526822
JS_WrapValue
441232
JS_WriteBytes
16
JS_WriteStructuredClone
1891
JS_WriteUint32Pair
0
JS_YieldRequest
2010
JS_free
24421
JS_malloc
1260223
JS_realloc
0
JS_strdup
49992
JS_updateMallocCounter
1256303
_GLOBAL__I_jsapi_cpp
0
_Z35EvaluateUCScriptForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsS4_PKtjPKcjPN2JS5ValueE9JSVersion
29360
_Z35js_generic_native_method_dispatcherP9JSContextjPN2JS5ValueE
33227
_Z41__static_initialization_and_destruction_0ii
19870
_ZL10AssertNoGCP9JSContext
1008973742
_ZL10AssertNoGCP9JSRuntime
1008978534
_ZL10DumpNotifyP8JSTracerPPv13JSGCTraceKind
0
_ZL10NewIdArrayP9JSContexti
0
_ZL11StopRequestP9JSContext
4956489
_ZL12LookupResultP9JSContextP8JSObjectS2_4jsidP10JSPropertyPN2JS5ValueE
303
_ZL12StartRequestP9JSContext
4956489
_ZL13StdNameToAtomP9JSContextP9JSStdName
52131167
_ZL14AddAtomToArrayP9JSContextP6JSAtomP9JSIdArrayPi
0
_ZL14DefinePropertyP9JSContextP8JSObjectPKcRKN2JS5ValueEPFiS0_S2_4jsidPS6_EPFiS0_S2_S9_iSA_Ejji
17194011
_ZL15prop_iter_traceP8JSTracerP8JSObject
0
_ZL16DefineUCPropertyP9JSContextP8JSObjectPKtjRKN2JS5ValueEPFiS0_S2_4jsidPS6_EPFiS0_S2_S9_iSA_Ejji
568
_ZL16SetIdArrayLengthP9JSContextP9JSIdArrayi
0
_ZL16SetOptionsCommonP9JSContextj
1329240
_ZL18DefinePropertyByIdP9JSContextP8JSObject4jsidRKN2JS5ValueEPFiS0_S2_S3_PS5_EPFiS0_S2_S3_iS8_Ejji
19603944
_ZL18LookupPropertyByIdP9JSContextP8JSObject4jsidjPS2_PP10JSProperty
21955
_ZL18prop_iter_finalizeP9JSContextP8JSObject
583
_ZL19EnumerateIfResolvedP9JSContextP8JSObjectP6JSAtomP9JSIdArrayPiS7_
0
_ZL20TryArgumentFormatterP9JSContextPPKciPPN2JS5ValueEPPc
0
_ZL21CompileUTF8FileHelperP9JSContextP8JSObjectP12JSPrincipalsPKcP8_IO_FILE
42491
_ZL21JS_OPTIONS_TO_TCFLAGSP9JSContext
54335
_ZL22AssertNoGCOrFlatStringP9JSContextP8JSString
2419682
_ZL25GetPropertyDescriptorByIdP9JSContextP8JSObject4jsidjiP20JSPropertyDescriptor
18898
_ZL25SetPropertyAttributesByIdP9JSContextP8JSObject4jsidjPi
0
_ZL34CompileUCScriptForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsS4_PKtjPKcj9JSVersion
11844
_ZL36CompileUCFunctionForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsPKcjPS6_PKtjS6_j9JSVersion
8
_ZL8CallOncePv
19811
_ZL8DumpNodeP15JSDumpingTracerP8_IO_FILEP14JSHeapDumpNode
0
_ZN14AutoVersionAPIC2EP9JSContext9JSVersion
23786
_ZN14AutoVersionAPID2Ev
23786
_ZN18AutoLastFrameCheckC2EP9JSContextRK21JSGuardObjectNotifier
793641
_ZN18AutoLastFrameCheckD2Ev
793641
_ZN19AutoHoldCompartmentC2EP13JSCompartmentRK21JSGuardObjectNotifier
25666
_ZN19AutoHoldCompartmentD2Ev
25666
_ZN22JSAutoEnterCompartment20enterAndIgnoreErrorsEP9JSContextP8JSObject
622539
_ZN22JSAutoEnterCompartment5enterEP9JSContextP8JSObject
6934718
_ZN22JSAutoEnterCompartmentD2Ev
6939060
_ZN27JSAutoStructuredCloneBuffer4copyEPKyjj
1970
_ZN27JSAutoStructuredCloneBuffer4swapERS_
3549
_ZN27JSAutoStructuredCloneBuffer5adoptEPyjj
0
_ZN27JSAutoStructuredCloneBuffer5clearEv
14271
_ZN27JSAutoStructuredCloneBuffer5stealEPPyPjS2_
0
_ZN27JSAutoStructuredCloneBuffer5writeEP9JSContextN2JS5ValueEPK26JSStructuredCloneCallbacksPv
1837
_ZN2JS12AutoGCRooterC2EP9JSContexti
28983989
_ZN2JS19AutoEnumStateRooterD2Ev
0
_ZN2JS25AutoEnterFrameCompartment5enterEP9JSContextP12JSStackFrame
1496110
_ZN2JS26AutoEnterScriptCompartment5enterEP9JSContextP8JSScript
0
_ZN2JS4CallEP9JSContextNS_5ValueES2_jPS2_S3_
0
_ZN9JSRuntime14setOwnerThreadEv
6
_ZN9JSRuntime16clearOwnerThreadEv
6
_ZN9JSRuntime4initEj
19910
_ZN9JSRuntimeC2Ev
19910
_ZN9JSRuntimeD2Ev
19908
_ZNK14AutoVersionAPI7versionEv
46
_ZNK27JSAutoStructuredCloneBuffer4readEP9JSContextPN2JS5ValueEPK26JSStructuredCloneCallbacksPv
747
_ZNK9JSRuntime13onOwnerThreadEv
1087078385
js_TransplantObjectWithWrapper
0
Generated by:
LCOV version 1.7