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
_ZNK9JSRuntime13onOwnerThreadEv 989175271
_ZL10AssertNoGCP9JSRuntime 910068190
_ZL10AssertNoGCP9JSContext 910063537
JS_GetGlobalForScopeChain 810627291
JS_ObjectIsFunction 264718930
_ZL13StdNameToAtomP9JSContextP9JSStdName 53708156
JS_GetSecondContextPrivate 33546656
_ZN2JS12AutoGCRooterC2EP9JSContexti 29070618
JS_TraceChildren 25995793
_ZL18DefinePropertyByIdP9JSContextP8JSObject4jsidRKN2JS5ValueEPFiS0_S2_S3_PS5_EPFiS0_S2_S3_iS8_Ejji 19579666
_ZL14DefinePropertyP9JSContextP8JSObjectPKcRKN2JS5ValueEPFiS0_S2_4jsidPS6_EPFiS0_S2_S9_iSA_Ejji 17192276
JS_SetElement 13544277
JS_IsExceptionPending 8892829
JS_CallTracer 8656275
JS_TypeOfValue 7889064
_ZN22JSAutoEnterCompartmentD2Ev 6952638
_ZN22JSAutoEnterCompartment5enterEP9JSContextP8JSObject 6948296
JS_SetReservedSlot 5903875
JS_DefineProperty 5776326
JS_FinalizeStub 5721949
_ZL11StopRequestP9JSContext 5421636
_ZL12StartRequestP9JSContext 5421636
JS_ValueToECMAUint32 5184169
JS_DefineProperties 5136537
JS_BeginRequest 5114791
JS_EndRequest 5114791
JS_GetReservedSlot 4737716
JS_GetElement 4678137
JS_ForwardGetElementTo 4678137
JS_GetClass 4513670
JS_StringHasBeenInterned 4225888
JS_SameValue 4106670
JS_NewObject 3182532
JS_ValueToString 3057173
JS_ClearPendingException 2842663
JS_IsGCMarkingTracer 2792265
_ZL22AssertNoGCOrFlatStringP9JSContextP8JSString 2370489
JS_GetStringEncodingLength 2336052
JS_EncodeStringToBuffer 2328223
JS_GetOptions 2233324
JS_HoldPrincipals 2188320
JS_DropPrincipals 2187356
JS_InternString 2128242
JS_EnumerateStub 2004413
JS_DefinePropertyById 1927369
JS_GetStringLength 1907798
JS_GetStringCharsZ 1903174
JS_GetFunctionObject 1845103
JS_PropertyStub 1713120
JS_WrapObject 1616938
JS_ResolveStandardClass 1550332
JS_GetErrorReporter 1547470
JS_SetPrivate 1484497
JS_ForwardGetPropertyTo 1422003
JS_GetPropertyById 1421995
_ZN2JS25AutoEnterFrameCompartment5enterEP9JSContextP12JSStackFrame 1361349
_ZL16SetOptionsCommonP9JSContextj 1325243
JS_SetOptions 1280735
JS_GetFunctionId 1249206
JS_updateMallocCounter 1242037
JS_NewUCString 1232086
JS_malloc 1230355
JS_FreezeObject 1214437
JS_NewStringCopyZ 1187993
JS_NewExternalString 971902
JS_NewFunction 916772
JS_TracerInit 859290
JS_GetProperty 841526
JS_EncodeString 833685
_ZN18AutoLastFrameCheckD2Ev 791798
_ZN18AutoLastFrameCheckC2EP9JSContextRK21JSGuardObjectNotifier 791798
JS_GetParent 741118
JS_DefineFunctions 710866
JS_GetGlobalForObject 687977
_ZN22JSAutoEnterCompartment20enterAndIgnoreErrorsEP9JSContextP8JSObject 631305
JS_ValueToBoolean 612520
JS_CallFunctionValue 606113
JS_IsAboutToBeFinalized 497677
JS_RemoveValueRoot 475507
JS_AddValueRoot 475504
JS_DefineElement 459453
JS_WrapValue 458260
JS_GetMethodById 434245
JS_GetMethod 434245
JS_GetRuntime 360390
JS_RestoreFrameChain 357986
JS_SaveFrameChain 357986
JS_ResumeRequest 306845
JS_SuspendRequest 306845
JS_GetStringCharsZAndLength 287467
JS_FlatStringEqualsAscii 286589
JS_SetPropertyById 276782
JS_AbortIfWrongThread 260838
JS_ValueToId 249348
JS_GetStringCharsAndLength 179848
JS_DefineFunction 155963
JS_GetPrivate 148812
JS_EnumerateStandardClasses 144450
JS_GetConstructor 139617
JS_DefineObject 111883
JS_ContextIterator 103125
JS_GetPrototype 92246
JS_NewNumberValue 91100
JS_ValueToObject 88820
JS_IsArrayObject 86149
JS_GetArrayLength 81562
JS_SetErrorReporter 80936
JS_GetCompartmentPrivate 73367
JS_NewArrayObject 72062
JS_InitClass 69754
JS_GetPendingException 68667
JS_IsRunning 68436
JS_SetGlobalObject 64120
JS_SetOperationCallback 55803
JS_ExecuteScript 54850
_ZL21JS_OPTIONS_TO_TCFLAGSP9JSContext 54263
JS_ValueToECMAInt32 52247
JS_strdup 49877
JS_CallFunctionName 47345
JS_ToggleOptions 44508
JS_DecodeUTF8 42442
_ZL21CompileUTF8FileHelperP9JSContextP8JSObjectP12JSPrincipalsPKcP8_IO_FILE 42442
JS_CompileUTF8FileHandleForPrincipals 41567
JS_GetGlobalObject 39138
JS_NewGlobalObject 38538
JS_SetPendingException 38525
JS_SetGCParameter 38433
JS_SetContextPrivate 37419
JS_CompileUTF8FileHandle 36810
JS_SetPrototype 36268
_Z35js_generic_native_method_dispatcherP9JSContextjPN2JS5ValueE 33229
JS_NewUCStringCopyZ 31163
JS_SetProperty 30590
JS_RemoveObjectRoot 30207
JS_AddNamedObjectRoot 30207
_Z35EvaluateUCScriptForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsS4_PKtjPKcjPN2JS5ValueE9JSVersion 29212
JS_EvaluateUCScriptForPrincipals 29184
JS_NewUCStringCopyN 28148
JS_EvaluateScriptForPrincipals 28134
JS_NewContext 26078
JS_SetVersion 25956
_ZN19AutoHoldCompartmentC2EP13JSCompartmentRK21JSGuardObjectNotifier 25596
JS_NewCompartmentAndGlobalObject 25596
_ZN19AutoHoldCompartmentD2Ev 25596
JS_free 24394
JS_DestroyContext 24120
_ZN14AutoVersionAPIC2EP9JSContext9JSVersion 23740
_ZN14AutoVersionAPID2Ev 23740
JS_ValueToNumber 23514
JS_SetSecurityCallbacks 22501
_ZL18LookupPropertyByIdP9JSContextP8JSObject4jsidjPS2_PP10JSProperty 21934
JS_SetTrustedPrincipals 21135
JS_NewStringCopyN 20326
JS_Init 19869
_ZN9JSRuntime4initEj 19869
_ZN9JSRuntimeC2Ev 19869
JS_CallOnce 19869
_ZN9JSRuntimeD2Ev 19868
JS_Finish 19868
JS_SetNativeStackQuota 19863
_Z41__static_initialization_and_destruction_0ii 19801
_GLOBAL__I_jsapi.cpp 19801
_ZL8CallOncePv 19770
JS_SetGCParameterForThread 19769
JS_ShutDown 19768
_ZL25GetPropertyDescriptorByIdP9JSContextP8JSObject4jsidjiP20JSPropertyDescriptor 18898
JS_GetPropertyDescriptorById 18890
JS_EvaluateScript 18579
JS_GetContextPrivate 18429
JS_GetImplementationVersion 18404
JS_GetObjectPrototype 15662
JS_GetInternedStringCharsAndLength 15635
JS_SetSecondContextPrivate 15126
_ZN27JSAutoStructuredCloneBuffer5clearEv 14808
JS_IsNativeFunction 14531
JS_CompartmentGC 14292
JS_ClearScope 13174
JS_RestoreExceptionState 13091
JS_SaveExceptionState 13091
JS_DropExceptionState 13091
JS_DecompileFunction 12470
JS_ExecuteScriptVersion 12429
_ZL34CompileUCScriptForPrincipalsCommonP9JSContextP8JSObjectP12JSPrincipalsS4_PKtjPKcj9JSVersion 11821
JS_CompileUCScriptForPrincipals 11803
JS_CompileScriptForPrincipals 11800
JS_ReportPendingException 11746
JS_CompileScriptForPrincipalsVersion 11265
JS_GetSecurityCallbacks 10758
JS_GetLocaleCallbacks 10333
JS_DeepFreezeObject 10007
JS_StringEqualsAscii 8865
JS_ReportErrorFlagsAndNumber 7871
JS_ConstructObjectWithArguments 7783
JS_DefineConstDoubles 7449
JS_ReportErrorNumber 6912
JS_GetEmptyStringValue 6710
JS_SetCompartmentPrivate 6606
JS_GetObjectRuntime 5768
JS_GC 5709
JS_TriggerOperationCallback 5151
JS_SetLocaleCallbacks 4648
JS_ComputeThis 4376
JS_SetContextCallback 4095
JS_YieldRequest 3811
_ZN27JSAutoStructuredCloneBuffer4swapERS_ 3549
JS_Now 3311
JS_HasPropertyById 2733
JS_MakeStringImmutable 2575
JS_DestroyIdArray 2449
JS_Enumerate 2449
JS_ValueToFunction 2358
JS_CloneFunctionObject 2279
_ZN27JSAutoStructuredCloneBuffer4copyEPKyjj 2149
JS_DestroyContextNoGC 1956
JS_WriteStructuredClone 1891
JS_ConvertArguments 1852
JS_ConvertArgumentsVA 1852
_ZN27JSAutoStructuredCloneBuffer5writeEP9JSContextN2JS5ValueEPK26JSStructuredCloneCallbacksPv 1837
JS_SetGCZeal 1637
JS_GetGCParameter 1395
JS_SetFinalizeCallback 1366
JS_SetWrapObjectCallbacks 1366
JS_InitDestroyPrincipalsCallback 1366
JS_SetGCCallback 1365
JS_SetCompartmentCallback 1365
JS_SetExtraGCRootsTracer 1365
JS_NextProperty 1166
JS_ObjectIsDate 1065
JS_ValueToSource 1032
JS_HasProperty 1012
JS_ReadStructuredClone 935
JS_NewElementIterator 927
JS_ElementIteratorStub 927
_ZNK27JSAutoStructuredCloneBuffer4readEP9JSContextPN2JS5ValueEPK26JSStructuredCloneCallbacksPv 926
JS_CompileUTF8File 875
JS_InstanceOf 861
JS_IsIdentifier 837
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_DescribeScriptedCaller 553
JS_TraceRuntime 549
JS_InitStandardClasses 529
JS_EvaluateUCScript 459
JS_ValueToInt32 405
JS_LeaveCrossCompartmentCall 398
JS_EnterCrossCompartmentCall 398
JS_ErrorFromException 318
JS_FlattenString 306
JS_NewFunctionById 304
_ZL12LookupResultP9JSContextP8JSObjectS2_4jsidP10JSPropertyPN2JS5ValueE 303
JS_LookupPropertyById 303
JS_ReportError 286
JS_LinkConstructorAndPrototype 274
JS_StringToVersion 243
JS_ConvertStub 127
JS_NewObjectWithGivenProto 90
JS_ReportErrorFlagsAndNumberUC 83
JS_HasUCProperty 82
JS_IsInRequest 78
JS_IsInSuspendedRequest 78
JS_LooselyEqual 76
JS_ReportWarning 63
JS_NewDateObjectMsec 58
JS_SetStructuredCloneCallbacks 50
_ZNK14AutoVersionAPI7versionEv 46
JS_IsBuiltinEvalFunction 40
JS_SetArrayLength 40
JS_IsBuiltinFunctionConstructor 40
JS_ConvertValue 36
JS_DecodeBytes 36
JS_IdToValue 33
JS_DoubleIsInt32 30
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_ClearRuntimeThread 4
JS_CompileFunction 4
JS_GetPropertyByIdDefault 4
JS_New 4
JS_SetRuntimeThread 4
_ZN9JSRuntime14setOwnerThreadEv 4
_ZN9JSRuntime16clearOwnerThreadEv 4
JS_CallFunction 3
JS_GetRegExpFlags 3
JS_EvaluateUCScriptForPrincipalsVersion 2
JS_ObjectIsRegExp 2
JS_AddNamedValueRoot 2
JS_GetPropertyDefault 2
JS_CompileUCScript 2
JS_EncodeCharacters 2
JS_TransplantObject 1
JS_GetRegExpSource 1
JS_LookupProperty 1
JS_ThrowStopIteration 1
JS_GetNaNValue 1
JS_SetCStringsAreUTF8 1
JS_InternJSString 1
JS_GetOperationCallback 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