LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_shmem.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 92.9 % 468 435 16 17 138 297 13 63
Current Date: 2026-11-05 14:14:01 +0100 Functions: 100.0 % 38 38 20 18 1
Baseline: lcov-20261105-baseline Branches: 71.2 % 316 225 29 62 2 83 140
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 100.0 % 14 14 14
(7,30] days: 92.1 % 127 117 10 113 4
(30,360] days: 79.0 % 62 49 6 7 11 38
(360..) days: 96.2 % 265 255 10 255
Function coverage date bins:
[..1] days: 100.0 % 1 1 1
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 4 4 3 1
(360..) days: 100.0 % 32 32 15 17
Branch coverage date bins:
[..1] days: 78.6 % 14 11 3 11
(7,30] days: 78.9 % 90 71 16 3 68 3
(30,360] days: 45.0 % 40 18 10 12 4 14
(360..) days: 72.7 % 172 125 47 2 123

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_drop_entry GNC 92311 73.1 % (19 / 26) 50.0 % (12 / 24)
pgstat_get_entry_ref GNC 3965205 89.1 % (49 / 55) 73.8 % (31 / 42)
pgstat_drop_matching_entries GNC 277 86.2 % (25 / 29) 76.7 % (23 / 30)
pgstat_gc_entry_refs CBC 7066 81.0 % (17 / 21) 60.0 % (12 / 20)
pgstat_get_entry_ref_cached GNC 3965205 82.6 % (19 / 23) 45.0 % (9 / 20)
pgstat_release_entry_ref GNC 1003594 85.0 % (17 / 20) 53.3 % (16 / 30)
pgstat_drop_database_and_contents GNC 48 88.9 % (16 / 18) 75.0 % (12 / 16)
pgstat_get_entry_ref_locked CBC 114909 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_lock_entry_shared CBC 28127 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_need_entry_refs_gc CBC 3965205 83.3 % (5 / 6) 50.0 % (2 / 4)
StatsShmemInit GNC 1303 100.0 % (46 / 46) 95.0 % (19 / 20)
StatsShmemRequest CBC 1307 100.0 % (3 / 3)
StatsShmemSize GNC 1307 100.0 % (17 / 17) 93.8 % (15 / 16)
match_db CBC 1434 100.0 % (3 / 3)
match_kind CBC 1572 100.0 % (2 / 2)
pgstat_acquire_entry_ref GNC 894261 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_alloc_entry_body GNC 381751 100.0 % (4 / 4)
pgstat_attach_shmem GNC 24261 100.0 % (26 / 26) 90.0 % (9 / 10)
pgstat_detach_shmem GNC 24261 100.0 % (17 / 17) 90.0 % (9 / 10)
pgstat_drop_all_entries GNC 273 100.0 % (3 / 3)
pgstat_drop_entry_internal GNC 70852 100.0 % (12 / 12) 66.7 % (8 / 12)
pgstat_dsa_init_size CBC 5228 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_free_entry GNC 70820 100.0 % (10 / 10) 100.0 % (4 / 4)
pgstat_init_entry GNC 381749 100.0 % (13 / 13) 75.0 % (3 / 4)
pgstat_lock_entry CBC 1264806 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_reinit_entry GNC 32 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 24261 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_release_db_entry_refs CBC 48 100.0 % (3 / 3)
pgstat_release_matching_entry_refs CBC 20683 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_request_entry_refs_gc CBC 2068 100.0 % (3 / 3)
pgstat_reset_entries_of_kind GNC 6 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_reset_entry CBC 263 100.0 % (8 / 8) 66.7 % (4 / 6)
pgstat_reset_matching_entries GNC 15 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_reset_matching_entries_in_hash GNC 21 100.0 % (13 / 13) 100.0 % (6 / 6)
pgstat_setup_memcxt CBC 3965205 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_setup_shared_refs CBC 3965205 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_unlock_entry CBC 1292929 100.0 % (3 / 3)
shared_stat_reset_contents CBC 11382 100.0 % (6 / 6) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1