LCOV - code coverage report
Current view: directory - js/src - jsapi.cpp (source / functions) Found Hit Coverage
Test: app.info Lines: 3041 1874 61.6 %
Date: 2012-04-21 Functions: 463 321 69.3 %

Function Name Sort by function name Hit count Sort by hit count
JS_AbortIfWrongThread 260838
JS_AddArgumentFormatter 0
JS_AddGCThingRoot 0
JS_AddNamedGCThingRoot 0
JS_AddNamedObjectRoot 30207
JS_AddNamedScriptRoot 0
JS_AddNamedStringRoot 0
JS_AddNamedValueRoot 2
JS_AddObjectRoot 0
JS_AddStringRoot 0
JS_AddValueRoot 475504
JS_AlreadyHasOwnElement 0
JS_AlreadyHasOwnProperty 0
JS_AlreadyHasOwnPropertyById 0
JS_AlreadyHasOwnUCProperty 0
JS_AnchorPtr 0
JS_BeginRequest 5114791
JS_BufferIsCompilableUnit 0
JS_CStringsAreUTF8 0
JS_CallFunction 3
JS_CallFunctionName 47345
JS_CallFunctionValue 606113
JS_CallOnce 19869
JS_CallTracer 8656275
JS_CheckAccess 0
JS_ClearPendingException 2842663
JS_ClearRegExpStatics 0
JS_ClearRuntimeThread 4
JS_ClearScope 13174
JS_CloneFunctionObject 2279
JS_CompareStrings 0
JS_CompartmentGC 14292
JS_CompileFunction 4
JS_CompileFunctionForPrincipals 8
JS_CompileScript 9
JS_CompileScriptForPrincipals 11800
JS_CompileScriptForPrincipalsVersion 11265
JS_CompileUCFunction 0
JS_CompileUCFunctionForPrincipals 8
JS_CompileUCFunctionForPrincipalsVersion 0
JS_CompileUCScript 2
JS_CompileUCScriptForPrincipals 11803
JS_CompileUCScriptForPrincipalsVersion 0
JS_CompileUCScriptForPrincipalsVersionOrigin 18
JS_CompileUTF8File 875
JS_CompileUTF8FileHandle 36810
JS_CompileUTF8FileHandleForPrincipals 41567
JS_CompileUTF8FileHandleForPrincipalsVersion 0
JS_ComputeThis 4376
JS_ConcatStrings 0
JS_ConstructObject 0
JS_ConstructObjectWithArguments 7783
JS_ContextIterator 103125
JS_ConvertArguments 1852
JS_ConvertArgumentsVA 1852
JS_ConvertStub 127
JS_ConvertValue 36
JS_DecodeBytes 36
JS_DecodeUTF8 42442
JS_DecompileFunction 12470
JS_DecompileFunctionBody 0
JS_DecompileScript 0
JS_DeepFreezeObject 10007
JS_DefaultValue 0
JS_DefineConstDoubles 7449
JS_DefineElement 459453
JS_DefineFunction 155963
JS_DefineFunctionById 0
JS_DefineFunctions 710866
JS_DefineObject 111883
JS_DefineOwnProperty 0
JS_DefineProperties 5136537
JS_DefineProperty 5776326
JS_DefinePropertyById 1927369
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 24120
JS_DestroyContextMaybeGC 0
JS_DestroyContextNoGC 1956
JS_DestroyIdArray 2449
JS_DoubleIsInt32 30
JS_DoubleToInt32 0
JS_DoubleToUint32 0
JS_DropExceptionState 13091
JS_DropPrincipals 2187356
JS_DumpHeap 0
JS_DumpNamedRoots 0
JS_ElementIteratorStub 927
JS_EncodeCharacters 2
JS_EncodeString 833685
JS_EncodeStringToBuffer 2328223
JS_EndRequest 5114791
JS_EnterCrossCompartmentCall 398
JS_EnterCrossCompartmentCallScript 12
JS_EnterCrossCompartmentCallStackFrame 12
JS_Enumerate 2449
JS_EnumerateResolvedStandardClasses 0
JS_EnumerateStandardClasses 144450
JS_EnumerateStub 2004413
JS_ErrorFromException 318
JS_EvaluateScript 18579
JS_EvaluateScriptForPrincipals 28134
JS_EvaluateScriptForPrincipalsVersion 0
JS_EvaluateUCScript 459
JS_EvaluateUCScriptForPrincipals 29184
JS_EvaluateUCScriptForPrincipalsVersion 2
JS_EvaluateUCScriptForPrincipalsVersionOrigin 26
JS_ExecuteRegExp 0
JS_ExecuteRegExpNoStatics 0
JS_ExecuteScript 54850
JS_ExecuteScriptVersion 12429
JS_FileEscapedString 0
JS_FinalizeStub 5721949
JS_Finish 19868
JS_FlatStringEqualsAscii 286589
JS_FlattenString 306
JS_FlushCaches 0
JS_ForwardGetElementTo 4678137
JS_ForwardGetPropertyTo 1422003
JS_FreeInCompartment 0
JS_FreezeObject 1214437
JS_GC 5709
JS_GetArrayLength 81562
JS_GetClass 4513670
JS_GetClassObject 0
JS_GetCompartmentPrivate 73367
JS_GetConstructor 139617
JS_GetContextPrivate 18429
JS_GetCurrentThread 0
JS_GetElement 4678137
JS_GetElementIfPresent 0
JS_GetEmptyString 0
JS_GetEmptyStringValue 6710
JS_GetErrorReporter 1547470
JS_GetExternalStringFinalizer 0
JS_GetFlatStringChars 8
JS_GetFunctionArity 0
JS_GetFunctionFlags 0
JS_GetFunctionId 1249206
JS_GetFunctionObject 1845103
JS_GetFunctionPrototype 0
JS_GetGCParameter 1395
JS_GetGCParameterForThread 0
JS_GetGlobalForObject 687977
JS_GetGlobalForScopeChain 810627291
JS_GetGlobalFromScript 0
JS_GetGlobalObject 39138
JS_GetImplementationVersion 18404
JS_GetInstancePrivate 9
JS_GetInternedStringChars 0
JS_GetInternedStringCharsAndLength 15635
JS_GetLocaleCallbacks 10333
JS_GetMethod 434245
JS_GetMethodById 434245
JS_GetNaNValue 1
JS_GetNegativeInfinityValue 0
JS_GetObjectId 0
JS_GetObjectPrototype 15662
JS_GetObjectRuntime 5768
JS_GetOperationCallback 1
JS_GetOptions 2233324
JS_GetOwnPropertyDescriptor 0
JS_GetParent 741118
JS_GetPendingException 68667
JS_GetPositiveInfinityValue 0
JS_GetPrivate 148812
JS_GetProperty 841526
JS_GetPropertyAttributes 8
JS_GetPropertyAttrsGetterAndSetter 0
JS_GetPropertyAttrsGetterAndSetterById 8
JS_GetPropertyById 1421995
JS_GetPropertyByIdDefault 4
JS_GetPropertyDefault 2
JS_GetPropertyDescriptorById 18890
JS_GetPrototype 92246
JS_GetRegExpFlags 3
JS_GetRegExpSource 1
JS_GetReservedSlot 4737716
JS_GetRuntime 360390
JS_GetRuntimePrivate 0
JS_GetSecondContextPrivate 33546656
JS_GetSecurityCallbacks 10758
JS_GetStringCharsAndLength 179848
JS_GetStringCharsZ 1903174
JS_GetStringCharsZAndLength 287467
JS_GetStringEncodingLength 2336052
JS_GetStringLength 1907798
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 2733
JS_HasUCProperty 82
JS_HoldPrincipals 2188320
JS_IdArrayGet 0
JS_IdArrayLength 0
JS_IdToValue 33
JS_IndexToId 0
JS_Init 19869
JS_InitClass 69754
JS_InitDestroyPrincipalsCallback 1366
JS_InitStandardClasses 529
JS_InstanceOf 861
JS_InternJSString 1
JS_InternString 2128242
JS_InternUCString 0
JS_InternUCStringN 0
JS_IsAboutToBeFinalized 497677
JS_IsArrayObject 86149
JS_IsBuiltinEvalFunction 40
JS_IsBuiltinFunctionConstructor 40
JS_IsExceptionPending 8892829
JS_IsExtensible 0
JS_IsExternalString 0
JS_IsGCMarkingTracer 2792265
JS_IsIdentifier 837
JS_IsInRequest 78
JS_IsInSuspendedRequest 78
JS_IsNative 0
JS_IsNativeFunction 14531
JS_IsRunning 68436
JS_LeaveCrossCompartmentCall 398
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 76
JS_MakeStringImmutable 2575
JS_MallocInCompartment 0
JS_MapGCRoots 0
JS_MaybeGC 0
JS_New 4
JS_NewArrayObject 72062
JS_NewCompartmentAndGlobalObject 25596
JS_NewContext 26078
JS_NewDateObject 0
JS_NewDateObjectMsec 58
JS_NewDependentString 0
JS_NewElementIterator 927
JS_NewExternalString 971902
JS_NewFunction 916772
JS_NewFunctionById 304
JS_NewGlobalObject 38538
JS_NewGrowableString 0
JS_NewNumberValue 91100
JS_NewObject 3182532
JS_NewObjectForConstructor 19
JS_NewObjectWithGivenProto 90
JS_NewPropertyIterator 583
JS_NewRegExpObject 0
JS_NewRegExpObjectNoStatics 0
JS_NewStringCopyN 20326
JS_NewStringCopyZ 1187993
JS_NewUCRegExpObject 0
JS_NewUCRegExpObjectNoStatics 0
JS_NewUCString 1232086
JS_NewUCStringCopyN 28148
JS_NewUCStringCopyZ 31163
JS_NextProperty 1166
JS_Now 3311
JS_ObjectIsCallable 18
JS_ObjectIsDate 1065
JS_ObjectIsFunction 264718930
JS_ObjectIsRegExp 2
JS_ParseJSON 30
JS_ParseJSONWithReviver 8
JS_PrintTraceThingInfo 0
JS_PropertyStub 1713120
JS_PutEscapedFlatString 0
JS_PutEscapedString 0
JS_ReadBytes 0
JS_ReadStructuredClone 935
JS_ReadUint32Pair 0
JS_RemoveArgumentFormatter 0
JS_RemoveGCThingRoot 0
JS_RemoveObjectRoot 30207
JS_RemoveScriptRoot 0
JS_RemoveStringRoot 0
JS_RemoveValueRoot 475507
JS_ReportAllocationOverflow 0
JS_ReportError 286
JS_ReportErrorFlagsAndNumber 7871
JS_ReportErrorFlagsAndNumberUC 83
JS_ReportErrorNumber 6912
JS_ReportErrorNumberUC 0
JS_ReportOutOfMemory 0
JS_ReportPendingException 11746
JS_ReportWarning 63
JS_ResolveStandardClass 1550332
JS_ResolveStub 0
JS_RestoreExceptionState 13091
JS_RestoreFrameChain 357986
JS_ResumeRequest 306845
JS_SameValue 4106670
JS_SaveExceptionState 13091
JS_SaveFrameChain 357986
JS_ScheduleGC 27
JS_SetArrayLength 40
JS_SetCStringsAreUTF8 1
JS_SetCompartmentCallback 1365
JS_SetCompartmentPrivate 6606
JS_SetContextCallback 4095
JS_SetContextPrivate 37419
JS_SetElement 13544277
JS_SetErrorReporter 80936
JS_SetExtraGCRootsTracer 1365
JS_SetFinalizeCallback 1366
JS_SetGCCallback 1365
JS_SetGCParameter 38433
JS_SetGCParameterForThread 19769
JS_SetGCZeal 1637
JS_SetGlobalObject 64120
JS_SetJitHardening 0
JS_SetLocaleCallbacks 4648
JS_SetNativeStackQuota 19863
JS_SetOperationCallback 55803
JS_SetOptions 1280735
JS_SetParent 0
JS_SetPendingException 38525
JS_SetPrivate 1484497
JS_SetProperty 30590
JS_SetPropertyAttributes 0
JS_SetPropertyById 276782
JS_SetPrototype 36268
JS_SetRegExpInput 0
JS_SetReservedSlot 5903875
JS_SetRuntimePrivate 0
JS_SetRuntimeThread 4
JS_SetSecondContextPrivate 15126
JS_SetSecurityCallbacks 22501
JS_SetStructuredCloneCallbacks 50
JS_SetTrustedPrincipals 21135
JS_SetUCProperty 0
JS_SetUCPropertyAttributes 0
JS_SetVersion 25956
JS_SetWrapObjectCallbacks 1366
JS_ShutDown 19768
JS_StrictPropertyStub 0
JS_StrictlyEqual 1
JS_StringEqualsAscii 8865
JS_StringHasBeenInterned 4225888
JS_StringToVersion 243
JS_Stringify 568
JS_StructuredClone 0
JS_SuspendRequest 306845
JS_ThrowReportedError 0
JS_ThrowStopIteration 1
JS_ToggleOptions 44508
JS_TraceChildren 25995793
JS_TraceRuntime 549
JS_TracerInit 859290
JS_TransplantObject 1
JS_TriggerOperationCallback 5151
JS_TypeOfValue 7889064
JS_UndependString 0
JS_UnlockGCThing 0
JS_UnlockGCThingRT 0
JS_ValueToBoolean 612520
JS_ValueToConstructor 0
JS_ValueToECMAInt32 52247
JS_ValueToECMAUint32 5184169
JS_ValueToFunction 2358
JS_ValueToId 249348
JS_ValueToInt32 405
JS_ValueToNumber 23514
JS_ValueToObject 88820
JS_ValueToSource 1032
JS_ValueToString 3057173
JS_ValueToUint16 0
JS_VersionToString 0
JS_WrapObject 1616938
JS_WrapValue 458260
JS_WriteBytes 16
JS_WriteStructuredClone 1891
JS_WriteUint32Pair 0
JS_YieldRequest 3811
JS_free 24394
JS_malloc 1230355
JS_realloc 0
JS_strdup 49877
JS_updateMallocCounter 1242037
_GLOBAL__I_jsapi_cpp 0
_Z35EvaluateUCScriptForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsS4_PKtjPKcjPN2JS5ValueE9JSVersion 29212
_Z35js_generic_native_method_dispatcherP9JSContextjPN2JS5ValueE 33229
_Z41__static_initialization_and_destruction_0ii 19801
_ZL10AssertNoGCP9JSContext 910063537
_ZL10AssertNoGCP9JSRuntime 910068190
_ZL10DumpNotifyP8JSTracerPPv13JSGCTraceKind 0
_ZL10NewIdArrayP9JSContexti 0
_ZL11StopRequestP9JSContext 5421636
_ZL12LookupResultP9JSContextP8JSObjectS2_4jsidP10JSPropertyPN2JS5ValueE 303
_ZL12StartRequestP9JSContext 5421636
_ZL13StdNameToAtomP9JSContextP9JSStdName 53708156
_ZL14AddAtomToArrayP9JSContextP6JSAtomP9JSIdArrayPi 0
_ZL14DefinePropertyP9JSContextP8JSObjectPKcRKN2JS5ValueEPFiS0_S2_4jsidPS6_EPFiS0_S2_S9_iSA_Ejji 17192276
_ZL15prop_iter_traceP8JSTracerP8JSObject 0
_ZL16DefineUCPropertyP9JSContextP8JSObjectPKtjRKN2JS5ValueEPFiS0_S2_4jsidPS6_EPFiS0_S2_S9_iSA_Ejji 568
_ZL16SetIdArrayLengthP9JSContextP9JSIdArrayi 0
_ZL16SetOptionsCommonP9JSContextj 1325243
_ZL18DefinePropertyByIdP9JSContextP8JSObject4jsidRKN2JS5ValueEPFiS0_S2_S3_PS5_EPFiS0_S2_S3_iS8_Ejji 19579666
_ZL18LookupPropertyByIdP9JSContextP8JSObject4jsidjPS2_PP10JSProperty 21934
_ZL18prop_iter_finalizeP9JSContextP8JSObject 583
_ZL19EnumerateIfResolvedP9JSContextP8JSObjectP6JSAtomP9JSIdArrayPiS7_ 0
_ZL20TryArgumentFormatterP9JSContextPPKciPPN2JS5ValueEPPc 0
_ZL21CompileUTF8FileHelperP9JSContextP8JSObjectP12JSPrincipalsPKcP8_IO_FILE 42442
_ZL21JS_OPTIONS_TO_TCFLAGSP9JSContext 54263
_ZL22AssertNoGCOrFlatStringP9JSContextP8JSString 2370489
_ZL25GetPropertyDescriptorByIdP9JSContextP8JSObject4jsidjiP20JSPropertyDescriptor 18898
_ZL25SetPropertyAttributesByIdP9JSContextP8JSObject4jsidjPi 0
_ZL34CompileUCScriptForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsS4_PKtjPKcj9JSVersion 11821
_ZL36CompileUCFunctionForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsPKcjPS6_PKtjS6_j9JSVersion 8
_ZL8CallOncePv 19770
_ZL8DumpNodeP15JSDumpingTracerP8_IO_FILEP14JSHeapDumpNode 0
_ZN14AutoVersionAPIC2EP9JSContext9JSVersion 23740
_ZN14AutoVersionAPID2Ev 23740
_ZN18AutoLastFrameCheckC2EP9JSContextRK21JSGuardObjectNotifier 791798
_ZN18AutoLastFrameCheckD2Ev 791798
_ZN19AutoHoldCompartmentC2EP13JSCompartmentRK21JSGuardObjectNotifier 25596
_ZN19AutoHoldCompartmentD2Ev 25596
_ZN22JSAutoEnterCompartment20enterAndIgnoreErrorsEP9JSContextP8JSObject 631305
_ZN22JSAutoEnterCompartment5enterEP9JSContextP8JSObject 6948296
_ZN22JSAutoEnterCompartmentD2Ev 6952638
_ZN27JSAutoStructuredCloneBuffer4copyEPKyjj 2149
_ZN27JSAutoStructuredCloneBuffer4swapERS_ 3549
_ZN27JSAutoStructuredCloneBuffer5adoptEPyjj 0
_ZN27JSAutoStructuredCloneBuffer5clearEv 14808
_ZN27JSAutoStructuredCloneBuffer5stealEPPyPjS2_ 0
_ZN27JSAutoStructuredCloneBuffer5writeEP9JSContextN2JS5ValueEPK26JSStructuredCloneCallbacksPv 1837
_ZN2JS12AutoGCRooterC2EP9JSContexti 29070618
_ZN2JS19AutoEnumStateRooterD2Ev 0
_ZN2JS25AutoEnterFrameCompartment5enterEP9JSContextP12JSStackFrame 1361349
_ZN2JS26AutoEnterScriptCompartment5enterEP9JSContextP8JSScript 0
_ZN2JS4CallEP9JSContextNS_5ValueES2_jPS2_S3_ 0
_ZN9JSRuntime14setOwnerThreadEv 4
_ZN9JSRuntime16clearOwnerThreadEv 4
_ZN9JSRuntime4initEj 19869
_ZN9JSRuntimeC2Ev 19869
_ZN9JSRuntimeD2Ev 19868
_ZNK14AutoVersionAPI7versionEv 46
_ZNK27JSAutoStructuredCloneBuffer4readEP9JSContextPN2JS5ValueEPK26JSStructuredCloneCallbacksPv 926
_ZNK9JSRuntime13onOwnerThreadEv 989175271
js_TransplantObjectWithWrapper 0

Generated by: LCOV version 1.7