LCOV - code coverage report
Current view: top level - Modules - gcmodule.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit 5e6661bce9] Lines: 460 759 60.6 %
Date: 2023-03-20 08:15:36 Functions: 56 89 62.9 %
Branches: 150 342 43.9 %

Function Name Sort by function name Hit count Sort by hit count
PyGC_Collect 25
PyGC_Disable 0
PyGC_Enable 0
PyGC_IsEnabled 0
PyInit_gc 2
PyObject_GC_Del 8977912
PyObject_GC_IsFinalized 0
PyObject_GC_IsTracked 0
PyObject_GC_Track 1572233
PyObject_GC_UnTrack 9406814
PyObject_IS_GC 7502158
PyUnstable_GC_VisitObjects 0
_PyGC_CollectNoFail 75
_PyGC_Dump 0
_PyGC_DumpShutdownStats 25
_PyGC_Fini 25
_PyGC_Init 29
_PyGC_InitState 29
_PyObject_GC_Link 8996350
_PyObject_GC_New 7219180
_PyObject_GC_NewVar 358613
_PyObject_GC_Resize 2822
_Py_RunGC 298
_Py_ScheduleGC 945489
append_objects 0
clear_freelists 112
clear_unreachable_mask 386
debug_cycle 0
deduce_unreachable 772
delete_garbage 386
finalize_garbage 386
gc_alloc 7577793
gc_clear_collecting 1463100
gc_collect_generations 298
gc_collect_impl 12
gc_collect_main 386
gc_collect_with_callback 311
gc_decref 2143854
gc_disable_impl 0
gc_enable_impl 0
gc_fini_untrack 0
gc_freeze_impl 0
gc_get_count_impl 0
gc_get_debug_impl 0
gc_get_freeze_count_impl 0
gc_get_objects_impl 0
gc_get_referents 0
gc_get_referrers 0
gc_get_refs 4869431
gc_get_stats_impl 0
gc_get_threshold_impl 0
gc_is_collecting 6028829
gc_is_finalized 0
gc_is_tracked 0
gc_isenabled_impl 0
gc_list_append 513682
gc_list_clear_collecting 386
gc_list_init 3595
gc_list_is_empty 94729
gc_list_merge 1665
gc_list_move 85975
gc_list_remove 0
gc_list_size 507
gc_referrers_for 0
gc_reset_refs 1539696
gc_set_debug_impl 0
gc_set_refs 1220763
gc_set_threshold 0
gc_unfreeze_impl 0
gcmodule_exec 2
get_gc_state 8977914
handle_legacy_finalizers 386
handle_resurrected_objects 386
handle_weakrefs 386
has_legacy_finalizer 81282
invoke_gc_callback 622
move_legacy_finalizer_reachable 386
move_legacy_finalizers 386
move_unreachable 772
referentsvisit 0
referrersvisit 0
show_stats_each_generations 0
subtract_refs 772
untrack_dicts 112
untrack_tuples 386
update_refs 772
visit_decref 5808645
visit_move 0
visit_reachable 4997751

Generated by: LCOV version 1.14