LCOV - code coverage report
Current view: top level - gjs - context.cpp (source / functions) Coverage Total Hit
Test: gjs- Code Coverage Lines: 82.2 % 893 734
Test Date: 2025-07-02 05:04:07 Functions: 87.2 % 94 82
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 65.4 % 347 227

Function Name Sort by function name Hit count Sort by function hit count
_ZL14dump_heap_idlePv 0
_ZL22gjs_context_dump_heapsv 0
_ZL24dump_heap_signal_handleri 0
_ZL24gjs_context_get_propertyP8_GObjectjP7_GValueP11_GParamSpec 0
_ZN17GjsContextPrivate19EnvironmentPreparer6invokeEN2JS6HandleIP8JSObjectEERN2js25ScriptEnvironmentPreparer7ClosureE 0
_ZN17GjsContextPrivate20trigger_gc_if_neededEPv 0
_ZZL19load_context_moduleP9JSContextPKcS2_ENKUlS0_jPN2JS5ValueEE_clES0_jS5_ 0
_ZZN17GjsContextPrivateC4EP9JSContextP11_GjsContextENKUlS3_26GMemoryMonitorWarningLevelE_clES3_S4_ 0
gjs_context_gc 0
gjs_context_maybe_gc 0
gjs_context_define_string_array 1
gjs_context_run_in_realm 1
_ZN17GjsContextPrivate16exit_immediatelyEh 2
gjs_get_js_version 2
_ZL40on_context_module_rejected_log_exceptionP9JSContextjPN2JS5ValueE 3
_ZN17GjsContextPrivate35queue_finalization_registry_cleanupEP10JSFunction 5
gjs_context_get_profiler 13
_ZN17GjsContextPrivate38unregister_unhandled_promise_rejectionEm 19
_ZN17GjsContextPrivate36register_unhandled_promise_rejectionEmON7mozilla9UniquePtrIA_cN2JS10FreePolicyEEE 20
_ZN17GjsContextPrivate4exitEh 35
gjs_context_get_all 44
_ZN17GjsContextPrivate18run_main_loop_hookEv 50
_ZN17GjsContextPrivate18set_main_loop_hookEP8JSObject 50
gjs_context_set_argv 62
_ZN17GjsContextPrivate8set_argsEOSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE 63
gjs_context_eval_file 63
_ZN17GjsContextPrivate16build_args_arrayEv 64
gjs_context_new_with_search_path 74
_ZL22gjs_context_class_initP15GjsContextClass 112
gjs_context_eval_module_file 115
_ZN17GjsContextPrivate28async_closure_enqueue_for_gcEPN3Gjs7ClosureE 118
gjs_context_new 120
_ZN17GjsContextPrivate11eval_moduleEPKcPh 126
gjs_context_eval_module 126
_ZN17GjsContextPrivate15register_moduleEPKcS1_ 128
gjs_context_register_module 128
_ZL19gjs_context_disposeP8_GObject 255
_ZL20gjs_context_finalizeP8_GObject 255
_ZN17GjsContextPrivate13free_profilerEv 255
_ZN17GjsContextPrivate29register_non_module_sourcemapEPKcS1_ 255
_ZN17GjsContextPrivate4evalEPKcmS1_Pi 255
_ZN17GjsContextPrivate7disposeEv 255
_ZN17GjsContextPrivateD0Ev 255
_ZN17GjsContextPrivateD0Ev 0
_ZN17GjsContextPrivateD2Ev 255
gjs_context_eval 255
_ZL15setup_dump_heapv 257
_ZL16gjs_context_initP11_GjsContext 257
_ZL23gjs_context_constructedP8_GObject 257
_ZN17GjsContextPrivateC2EP9JSContextP11_GjsContext 257
gjs_context_get_repl_history_path 257
_ZN17GjsContextPrivate15eval_with_scopeEN2JS6HandleIP8JSObjectEEPKcmS6_NS0_13MutableHandleINS0_5ValueEEE 258
_ZN17GjsContextPrivate5traceEP8JSTracerPv 348
_ZN17GjsContextPrivate16handle_exit_codeEbPKcS1_Ph 375
_ZN17GjsContextPrivate17auto_profile_exitEb 375
_ZN17GjsContextPrivate18auto_profile_enterEv 381
_ZL11result_to_cN7mozilla6ResultINS_2OkEN3Gjs9AutoErrorEEEPP7_GError 507
gjs_context_make_current 512
_ZL19load_context_moduleP9JSContextPKcS2_ 514
_ZL26on_context_module_resolvedP9JSContextjPN2JS5ValueE 626
_ZL21add_promise_reactionsP9JSContextN2JS6HandleINS1_5ValueEEEPFbS0_jPS3_ES7_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 635
_ZN17GjsContextPrivate21on_garbage_collectionE10JSGCStatusN2JS8GCReasonE 1014
_ZZN17GjsContextPrivateC4EP9JSContextP11_GjsContextENKUlS1_10JSGCStatusN2JS8GCReasonEPvE_clES1_S4_S6_S7_ 1014
_ZN17GjsContextPrivate17enqueuePromiseJobEP9JSContextN2JS6HandleIP8JSObjectEES6_S6_S6_ 1313
_ZN17GjsContextPrivate18getIncumbentGlobalEP9JSContext 1321
gjs_context_get_native_context 1561
_ZL24gjs_context_set_propertyP8_GObjectjPK7_GValueP11_GParamSpec 1799
_ZNK17GjsContextPrivate11should_exitEPh 1843
_ZN3Gjs17AutoInternalRealmC2EP9JSContext 2313
_ZN17GjsContextPrivate13call_functionEN2JS6HandleIP8JSObjectEENS1_INS0_5ValueEEERKNS0_16HandleValueArrayENS0_13MutableHandleIS5_EE 2524
_ZN17GjsContextPrivate11from_objectEP8_GObject 2566
_ZN3Gjs17AutoInternalRealmC2EP17GjsContextPrivate 2570
_ZN17GjsContextPrivate10SavedQueueC2EPS_ 3169
_ZN17GjsContextPrivate10SavedQueueD0Ev 3169
_ZN17GjsContextPrivate10SavedQueueD0Ev 0
_ZN17GjsContextPrivate10SavedQueueD2Ev 3169
_ZN17GjsContextPrivate12saveJobQueueEP9JSContext 3169
_ZN17GjsContextPrivate23stop_draining_job_queueEv 3424
_ZN17GjsContextPrivate24start_draining_job_queueEv 3426
_ZN17GjsContextPrivate20from_current_contextEv 5116
gjs_context_get_current 6639
_ZN17GjsContextPrivate11from_objectEP11_GjsContext 7623
_ZN17GjsContextPrivate7runJobsEP9JSContext 9880
_ZN17GjsContextPrivate17run_jobs_fallibleEv 9909
_ZN17GjsContextPrivate39warn_about_unhandled_promise_rejectionsEv 10131
_ZN17GjsContextPrivate33run_finalization_registry_cleanupEv 10651
_ZN17GjsContextPrivate19unregister_notifierEPFvP9JSContextPvES2_ 13548
_ZN17GjsContextPrivate17register_notifierEPFvP9JSContextPvES2_ 13739
_ZN17GjsContextPrivate21schedule_gc_if_neededEv 14117
_ZN17GjsContextPrivate20schedule_gc_internalEb 15613
_ZN3Gjs13AutoMainRealmC2EP9JSContext 22947
_ZN3Gjs13AutoMainRealmC2EP17GjsContextPrivate 24722
gjs_context_get_type 26054
_ZL25gjs_context_get_type_oncev 112
_ZL29gjs_context_class_intern_initPv 112
_ZL32gjs_context_get_instance_privateP11_GjsContext 10189
gjs_context_get_type 15641

Generated by: LCOV version 2.0-1