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 DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 93.3 % 389 363 3 23 35 328 3 28
Current Date: 2026-06-29 16:15:13 +0200 Functions: 100.0 % 36 36 6 30 1 2
Baseline: lcov-20260630-baseline Branches: 67.5 % 246 166 6 74 12 154
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 42.9 % 7 3 4 1 2
(30,360] days: 93.9 % 49 46 3 34 12
(360..) days: 94.3 % 333 314 3 16 314
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 2 2 2
(360..) days: 100.0 % 33 33 3 30
Branch coverage date bins:
(7,30] days: 25.0 % 8 2 6 2
(30,360] days: 77.3 % 22 17 5 12 5
(360..) days: 68.1 % 216 147 6 63 147

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 19 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 41 88.2 % (15 / 17) 71.4 % (10 / 14)
pgstat_release_db_entry_refs CBC 41 100.0 % (3 / 3)
pgstat_reset_entry CBC 237 100.0 % (8 / 8) 66.7 % (4 / 6)
pgstat_drop_all_entries CBC 251 100.0 % (3 / 3)
pgstat_drop_matching_entries CBC 251 61.1 % (11 / 18) 43.8 % (7 / 16)
StatsShmemInit GNC 1209 100.0 % (31 / 31) 91.7 % (11 / 12)
StatsShmemRequest GNC 1212 100.0 % (3 / 3)
StatsShmemSize CBC 1212 100.0 % (12 / 12) 87.5 % (7 / 8)
match_db CBC 1242 100.0 % (3 / 3)
match_kind CBC 1581 100.0 % (2 / 2)
pgstat_request_entry_refs_gc CBC 2163 100.0 % (3 / 3)
pgstat_dsa_init_size CBC 4839 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_gc_entry_refs CBC 7405 100.0 % (16 / 16) 78.6 % (11 / 14)
shared_stat_reset_contents CBC 12416 100.0 % (6 / 6) 50.0 % (1 / 2)
pgstat_release_matching_entry_refs CBC 19318 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_attach_shmem CBC 22626 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_detach_shmem CBC 22626 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 22626 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_lock_entry_shared CBC 30356 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_free_entry GNC 71012 100.0 % (10 / 10) 100.0 % (4 / 4)
pgstat_drop_entry_internal CBC 71042 100.0 % (12 / 12) 66.7 % (8 / 12)
pgstat_drop_entry GNC 92102 81.0 % (17 / 21) 64.3 % (9 / 14)
pgstat_get_entry_ref_locked CBC 113453 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry GNC 381159 93.8 % (15 / 16) 75.0 % (3 / 4)
pgstat_acquire_entry_ref CBC 857576 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_release_entry_ref CBC 969106 84.0 % (21 / 25) 50.0 % (18 / 36)
pgstat_lock_entry CBC 1233338 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_unlock_entry CBC 1263685 100.0 % (3 / 3)
pgstat_get_entry_ref GNC 4022798 93.6 % (44 / 47) 76.3 % (29 / 38)
pgstat_get_entry_ref_cached CBC 4022798 90.0 % (18 / 20) 50.0 % (8 / 16)
pgstat_need_entry_refs_gc CBC 4022798 83.3 % (5 / 6) 50.0 % (2 / 4)
pgstat_setup_memcxt CBC 4022798 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_setup_shared_refs CBC 4022798 100.0 % (7 / 7) 75.0 % (3 / 4)

Generated by: LCOV version 2.0-1