LCOV - code coverage report
Current view: top level - gjs - context.cpp (source / functions) Coverage Total Hit
Test: gjs- Code Coverage Lines: 81.4 % 872 710
Test Date: 2024-04-29 05:18:28 Functions: 87.0 % 92 80
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 63.4 % 350 222

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
_ZL40on_context_module_rejected_log_exceptionP9JSContextjPN2JS5ValueE 1
gjs_context_define_string_array 1
gjs_context_run_in_realm 1
_ZN17GjsContextPrivate16exit_immediatelyEh 2
gjs_get_js_version 2
gjs_context_get_profiler 4
_ZN17GjsContextPrivate35queue_finalization_registry_cleanupEP10JSFunction 5
_ZN17GjsContextPrivate38unregister_unhandled_promise_rejectionEm 13
_ZN17GjsContextPrivate36register_unhandled_promise_rejectionEmON7mozilla9UniquePtrIA_cN2JS10FreePolicyEEE 14
_ZN17GjsContextPrivate4exitEh 30
gjs_context_get_all 44
_ZN17GjsContextPrivate18run_main_loop_hookEv 49
_ZN17GjsContextPrivate18set_main_loop_hookEP8JSObject 49
gjs_context_set_argv 53
_ZN17GjsContextPrivate8set_argsEOSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE 54
gjs_context_eval_file 61
_ZN17GjsContextPrivate16build_args_arrayEv 63
gjs_context_new_with_search_path 73
_ZL22gjs_context_class_initP15GjsContextClass 102
gjs_context_eval_module_file 112
_ZN17GjsContextPrivate28async_closure_enqueue_for_gcEPN3Gjs7ClosureE 113
gjs_context_new 114
_ZN17GjsContextPrivate11eval_moduleEPKcPhPP7_GError 118
gjs_context_eval_module 118
_ZN17GjsContextPrivate15register_moduleEPKcS1_PP7_GError 120
gjs_context_register_module 120
_ZL19gjs_context_disposeP8_GObject 239
_ZL20gjs_context_finalizeP8_GObject 239
_ZN17GjsContextPrivate13free_profilerEv 239
_ZN17GjsContextPrivate7disposeEv 239
_ZN17GjsContextPrivateD0Ev 239
_ZN17GjsContextPrivateD0Ev 0
_ZN17GjsContextPrivateD2Ev 239
_ZL15setup_dump_heapv 241
_ZL16gjs_context_initP11_GjsContext 241
_ZL19load_context_moduleP9JSContextPKcS2_ 241
_ZL23gjs_context_constructedP8_GObject 241
_ZN17GjsContextPrivateC2EP9JSContextP11_GjsContext 241
_ZN3Gjs17AutoInternalRealmC2EP9JSContext 241
_ZN17GjsContextPrivate4evalEPKcmS1_PiPP7_GError 247
gjs_context_eval 247
_ZN17GjsContextPrivate15eval_with_scopeEN2JS6HandleIP8JSObjectEEPKcmS6_NS0_13MutableHandleINS0_5ValueEEE 250
_ZN17GjsContextPrivate5traceEP8JSTracerPv 322
_ZL26on_context_module_resolvedP9JSContextjPN2JS5ValueE 350
_ZL21add_promise_reactionsP9JSContextN2JS6HandleINS1_5ValueEEEPFbS0_jPS3_ES7_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 354
_ZN17GjsContextPrivate16handle_exit_codeEbPKcS1_PhPP7_GError 359
_ZN17GjsContextPrivate17auto_profile_exitEb 359
_ZN17GjsContextPrivate18auto_profile_enterEv 365
gjs_context_make_current 480
_ZN3Gjs17AutoInternalRealmC2EP17GjsContextPrivate 482
_ZN17GjsContextPrivate21on_garbage_collectionE10JSGCStatusN2JS8GCReasonE 962
_ZZN17GjsContextPrivateC4EP9JSContextP11_GjsContextENKUlS1_10JSGCStatusN2JS8GCReasonEPvE_clES1_S4_S6_S7_ 962
_ZN17GjsContextPrivate17enqueuePromiseJobEP9JSContextN2JS6HandleIP8JSObjectEES6_S6_S6_ 979
_ZN17GjsContextPrivate18getIncumbentGlobalEP9JSContext 985
_ZL24gjs_context_set_propertyP8_GObjectjPK7_GValueP11_GParamSpec 1446
gjs_context_get_native_context 1532
_ZNK17GjsContextPrivate11should_exitEPh 1664
_ZN17GjsContextPrivate11from_objectEP8_GObject 2165
_ZN17GjsContextPrivate19set_finalize_statusE16JSFinalizeStatus 2244
_ZN17GjsContextPrivate13call_functionEN2JS6HandleIP8JSObjectEENS1_INS0_5ValueEEERKNS0_16HandleValueArrayENS0_13MutableHandleIS5_EE 2438
_ZN17GjsContextPrivate10SavedQueueC2EPS_ 2697
_ZN17GjsContextPrivate10SavedQueueD0Ev 2697
_ZN17GjsContextPrivate10SavedQueueD0Ev 0
_ZN17GjsContextPrivate10SavedQueueD2Ev 2697
_ZN17GjsContextPrivate12saveJobQueueEP9JSContext 2697
_ZN17GjsContextPrivate23stop_draining_job_queueEv 2936
_ZN17GjsContextPrivate24start_draining_job_queueEv 2938
_ZN17GjsContextPrivate20from_current_contextEv 5027
gjs_context_get_current 6511
_ZN17GjsContextPrivate11from_objectEP11_GjsContext 7200
_ZN17GjsContextPrivate7runJobsEP9JSContext 8529
_ZN17GjsContextPrivate17run_jobs_fallibleEv 8554
_ZN17GjsContextPrivate39warn_about_unhandled_promise_rejectionsEv 8767
_ZN17GjsContextPrivate33run_finalization_registry_cleanupEv 9005
_ZN17GjsContextPrivate19unregister_notifierEPFvP9JSContextPvES2_ 11605
_ZN17GjsContextPrivate17register_notifierEPFvP9JSContextPvES2_ 11794
_ZN17GjsContextPrivate21schedule_gc_if_neededEv 12670
_ZN3Gjs13AutoMainRealmC2EP9JSContext 12878
_ZN17GjsContextPrivate20schedule_gc_internalEb 14136
_ZN3Gjs13AutoMainRealmC2EP17GjsContextPrivate 14228
gjs_context_get_type 23880
_ZL25gjs_context_get_type_oncev 102
_ZL29gjs_context_class_intern_initPv 102
_ZL32gjs_context_get_instance_privateP11_GjsContext 9365
gjs_context_get_type 14311

Generated by: LCOV version 2.0-1