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 DCB
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 91.3 % 401 366 4 31 6 360 4
Current Date: 2026-09-20 14:13:17 +0900 Functions: 100.0 % 36 36 3 33
Baseline: lcov-20260920-baseline Branches: 65.0 % 260 169 6 85 2 167
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 20.0 % 5 1 4 1
(30,360] days: 84.7 % 59 50 4 5 6 44
(360..) days: 93.5 % 337 315 22 315
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 100.0 % 33 33 3 30
Branch coverage date bins:
(1,7] days: 16.7 % 6 1 5 1
(30,360] days: 59.4 % 32 19 6 7 2 17
(360..) days: 67.1 % 222 149 73 149

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_matching_entries CBC 265 61.1 % (11 / 18) 43.8 % (7 / 16)
pgstat_get_entry_ref GNC 3917916 88.2 % (45 / 51) 71.4 % (30 / 42)
pgstat_drop_entry CBC 90866 81.0 % (17 / 21) 64.3 % (9 / 14)
pgstat_gc_entry_refs CBC 7015 81.0 % (17 / 21) 60.0 % (12 / 20)
pgstat_get_entry_ref_cached GNC 3917916 82.6 % (19 / 23) 45.0 % (9 / 20)
pgstat_release_entry_ref CBC 986451 84.0 % (21 / 25) 50.0 % (18 / 36)
pgstat_drop_database_and_contents CBC 47 88.2 % (15 / 17) 71.4 % (10 / 14)
pgstat_get_entry_ref_locked CBC 112849 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry CBC 375351 93.8 % (15 / 16) 75.0 % (3 / 4)
pgstat_lock_entry_shared CBC 28173 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_need_entry_refs_gc CBC 3917916 83.3 % (5 / 6) 50.0 % (2 / 4)
StatsShmemInit CBC 1274 100.0 % (31 / 31) 91.7 % (11 / 12)
StatsShmemRequest CBC 1277 100.0 % (3 / 3)
StatsShmemSize CBC 1277 100.0 % (12 / 12) 87.5 % (7 / 8)
match_db CBC 1404 100.0 % (3 / 3)
match_kind CBC 1500 100.0 % (2 / 2)
pgstat_acquire_entry_ref GNC 878951 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_attach_shmem CBC 23712 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_detach_shmem CBC 23712 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_drop_all_entries CBC 265 100.0 % (3 / 3)
pgstat_drop_entry_internal CBC 69846 100.0 % (12 / 12) 66.7 % (8 / 12)
pgstat_dsa_init_size CBC 5099 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_free_entry CBC 69817 100.0 % (10 / 10) 100.0 % (4 / 4)
pgstat_lock_entry CBC 1244668 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_reinit_entry CBC 29 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 23712 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_release_db_entry_refs CBC 47 100.0 % (3 / 3)
pgstat_release_matching_entry_refs CBC 20233 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_request_entry_refs_gc CBC 2038 100.0 % (3 / 3)
pgstat_reset_entries_of_kind CBC 4 100.0 % (3 / 3)
pgstat_reset_entry CBC 261 100.0 % (8 / 8) 66.7 % (4 / 6)
pgstat_reset_matching_entries CBC 19 100.0 % (13 / 13) 100.0 % (6 / 6)
pgstat_setup_memcxt CBC 3917916 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_setup_shared_refs CBC 3917916 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_unlock_entry CBC 1272838 100.0 % (3 / 3)
shared_stat_reset_contents CBC 11526 100.0 % (6 / 6) 50.0 % (1 / 2)

Generated by: LCOV version 2.0-1