LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_shmem.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 91.3 % 404 369 8 27 14 355 4 9
Current Date: 2026-10-12 11:56:10 +0200 Functions: 100.0 % 37 37 5 32
Baseline: lcov-20261012-baseline Branches: 65.0 % 260 169 10 81 4 165
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 52.9 % 17 9 4 4 8 1
(30,360] days: 84.3 % 51 43 4 4 6 37
(360..) days: 94.3 % 336 317 19 317
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 3 3 3
(360..) days: 100.0 % 33 33 4 29
Branch coverage date bins:
(7,30] days: 25.0 % 12 3 4 5 2 1
(30,360] days: 53.6 % 28 15 6 7 2 13
(360..) days: 68.6 % 220 151 69 151

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_release_entry_ref CBC 994425 84.0 % (21 / 25) 50.0 % (18 / 36)
pgstat_get_entry_ref GNC 3938320 86.8 % (46 / 53) 71.4 % (30 / 42)
pgstat_get_entry_ref_cached GNC 3938320 82.6 % (19 / 23) 45.0 % (9 / 20)
pgstat_drop_matching_entries CBC 266 61.1 % (11 / 18) 43.8 % (7 / 16)
pgstat_gc_entry_refs CBC 7259 81.0 % (17 / 21) 60.0 % (12 / 20)
pgstat_drop_entry CBC 91451 81.0 % (17 / 21) 64.3 % (9 / 14)
pgstat_drop_database_and_contents CBC 47 88.2 % (15 / 17) 71.4 % (10 / 14)
pgstat_drop_entry_internal CBC 70238 100.0 % (12 / 12) 66.7 % (8 / 12)
pgstat_acquire_entry_ref GNC 886319 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_need_entry_refs_gc CBC 3938320 83.3 % (5 / 6) 50.0 % (2 / 4)
pgstat_release_matching_entry_refs CBC 20420 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_reset_entry CBC 262 100.0 % (8 / 8) 66.7 % (4 / 6)
StatsShmemInit CBC 1283 100.0 % (31 / 31) 91.7 % (11 / 12)
StatsShmemSize CBC 1287 100.0 % (12 / 12) 87.5 % (7 / 8)
pgstat_attach_shmem CBC 23947 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_detach_shmem CBC 23947 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_dsa_init_size CBC 5136 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_get_entry_ref_locked CBC 113515 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry GNC 378074 100.0 % (13 / 13) 75.0 % (3 / 4)
pgstat_lock_entry_shared CBC 28568 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_reinit_entry CBC 30 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 23947 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_setup_shared_refs CBC 3938320 100.0 % (7 / 7) 75.0 % (3 / 4)
shared_stat_reset_contents CBC 11490 100.0 % (6 / 6) 50.0 % (1 / 2)
pgstat_free_entry CBC 70208 100.0 % (10 / 10) 100.0 % (4 / 4)
pgstat_lock_entry CBC 1252998 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_reset_matching_entries CBC 19 100.0 % (13 / 13) 100.0 % (6 / 6)
pgstat_setup_memcxt CBC 3938320 100.0 % (8 / 8) 100.0 % (4 / 4)
StatsShmemRequest CBC 1287 100.0 % (3 / 3)
match_db CBC 1404 100.0 % (3 / 3)
match_kind CBC 1500 100.0 % (2 / 2)
pgstat_alloc_entry_body GNC 378074 100.0 % (4 / 4)
pgstat_drop_all_entries CBC 266 100.0 % (3 / 3)
pgstat_release_db_entry_refs CBC 47 100.0 % (3 / 3)
pgstat_request_entry_refs_gc CBC 2069 100.0 % (3 / 3)
pgstat_reset_entries_of_kind CBC 4 100.0 % (3 / 3)
pgstat_unlock_entry CBC 1281564 100.0 % (3 / 3)

Generated by: LCOV version 2.0-1