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: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 92.9 % 392 364 2 26 3 361 2
Current Date: 2026-07-25 17:13:00 -0400 Functions: 100.0 % 36 36 1 35
Baseline: lcov-20260726-baseline Branches: 66.8 % 250 167 3 80 1 166
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 60.0 % 5 3 2 3
(30,360] days: 87.5 % 56 49 7 49
(360..) days: 94.3 % 331 312 19 312
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 100.0 % 33 33 1 32
Branch coverage date bins:
(1,7] days: 25.0 % 4 1 3 1
(30,360] days: 63.3 % 30 19 11 19
(360..) days: 68.1 % 216 147 69 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
StatsShmemInit CBC 1223 100.0 % (31 / 31) 91.7 % (11 / 12)
StatsShmemRequest CBC 1226 100.0 % (3 / 3)
StatsShmemSize CBC 1226 100.0 % (12 / 12) 87.5 % (7 / 8)
match_db CBC 1269 100.0 % (3 / 3)
match_kind CBC 1581 100.0 % (2 / 2)
pgstat_acquire_entry_ref CBC 861810 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_attach_shmem CBC 22814 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_detach_shmem CBC 22814 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_drop_all_entries CBC 253 100.0 % (3 / 3)
pgstat_drop_database_and_contents CBC 42 88.2 % (15 / 17) 71.4 % (10 / 14)
pgstat_drop_entry CBC 92883 81.0 % (17 / 21) 64.3 % (9 / 14)
pgstat_drop_entry_internal CBC 71583 100.0 % (12 / 12) 66.7 % (8 / 12)
pgstat_drop_matching_entries CBC 253 61.1 % (11 / 18) 43.8 % (7 / 16)
pgstat_dsa_init_size CBC 4895 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_free_entry CBC 71555 100.0 % (10 / 10) 100.0 % (4 / 4)
pgstat_gc_entry_refs CBC 7393 100.0 % (16 / 16) 78.6 % (11 / 14)
pgstat_get_entry_ref CBC 3988941 93.6 % (44 / 47) 76.3 % (29 / 38)
pgstat_get_entry_ref_cached GNC 3988941 82.6 % (19 / 23) 45.0 % (9 / 20)
pgstat_get_entry_ref_locked CBC 113362 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry CBC 383808 93.8 % (15 / 16) 75.0 % (3 / 4)
pgstat_lock_entry CBC 1235553 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_lock_entry_shared CBC 29029 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_need_entry_refs_gc CBC 3988941 83.3 % (5 / 6) 50.0 % (2 / 4)
pgstat_reinit_entry CBC 28 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 22814 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_release_db_entry_refs CBC 42 100.0 % (3 / 3)
pgstat_release_entry_ref CBC 973613 84.0 % (21 / 25) 50.0 % (18 / 36)
pgstat_release_matching_entry_refs CBC 19472 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_request_entry_refs_gc CBC 2181 100.0 % (3 / 3)
pgstat_reset_entries_of_kind CBC 4 100.0 % (3 / 3)
pgstat_reset_entry CBC 257 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 3988941 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_setup_shared_refs CBC 3988941 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_unlock_entry CBC 1264578 100.0 % (3 / 3)
shared_stat_reset_contents CBC 12517 100.0 % (6 / 6) 50.0 % (1 / 2)

Generated by: LCOV version 2.0-1