LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_shmem.c (source / functions) Coverage Total Hit LBC UBC GNC CBC DCB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 92.2 % 371 342 29 342 1
Current Date: 2025-09-06 07:49:51 +0900 Functions: 100.0 % 35 35 1 34
Baseline: lcov-20250907-010129-baseline Branches: 65.3 % 236 154 1 81 154
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 86.5 % 37 32 5 32
(360..) days: 92.8 % 334 310 24 310
Function coverage date bins:
(30,360] days: 100.0 % 6 6 6
(360..) days: 100.0 % 29 29 1 28
Branch coverage date bins:
(30,360] days: 50.0 % 18 9 9 9
(360..) days: 66.5 % 218 145 1 72 145

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
pgstat_reset_entries_of_kind CBC 4 100.0 % (3 / 3)
pgstat_reset_matching_entries CBC 11 100.0 % (13 / 13) 100.0 % (6 / 6)
pgstat_reinit_entry CBC 30 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_drop_database_and_contents CBC 34 88.2 % (15 / 17) 71.4 % (10 / 14)
pgstat_release_db_entry_refs CBC 34 100.0 % (3 / 3)
pgstat_reset_entry CBC 185 100.0 % (8 / 8) 66.7 % (4 / 6)
pgstat_drop_all_entries CBC 222 100.0 % (3 / 3)
pgstat_drop_matching_entries CBC 222 61.1 % (11 / 18) 43.8 % (7 / 16)
match_db CBC 1023 100.0 % (3 / 3)
StatsShmemInit GNC 1029 84.4 % (27 / 32) 56.2 % (9 / 16)
match_kind CBC 1482 100.0 % (2 / 2)
pgstat_request_entry_refs_gc CBC 1887 100.0 % (3 / 3)
StatsShmemSize CBC 2938 66.7 % (8 / 12) 37.5 % (3 / 8)
pgstat_dsa_init_size CBC 4996 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_gc_entry_refs CBC 6109 100.0 % (16 / 16) 78.6 % (11 / 14)
shared_stat_reset_contents CBC 8517 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_lock_entry_shared CBC 9878 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_release_matching_entry_refs CBC 15610 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_attach_shmem CBC 18772 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_detach_shmem CBC 18772 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 18772 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_free_entry CBC 52268 100.0 % (7 / 7) 100.0 % (2 / 2)
pgstat_drop_entry_internal CBC 52298 92.3 % (12 / 13) 57.1 % (8 / 14)
pgstat_drop_entry CBC 68372 100.0 % (16 / 16) 100.0 % (8 / 8)
pgstat_get_entry_ref_locked CBC 84420 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry CBC 298788 100.0 % (10 / 10)
pgstat_acquire_entry_ref CBC 678316 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_release_entry_ref CBC 756244 84.0 % (21 / 25) 50.0 % (18 / 36)
pgstat_lock_entry CBC 906566 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_unlock_entry CBC 916443 100.0 % (3 / 3)
pgstat_get_entry_ref CBC 3091177 97.7 % (43 / 44) 82.4 % (28 / 34)
pgstat_get_entry_ref_cached CBC 3091177 90.0 % (18 / 20) 50.0 % (8 / 16)
pgstat_need_entry_refs_gc CBC 3091177 83.3 % (5 / 6) 50.0 % (2 / 4)
pgstat_setup_memcxt CBC 3091177 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_setup_shared_refs CBC 3091177 100.0 % (7 / 7) 75.0 % (3 / 4)

Generated by: LCOV version 2.4-beta