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: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 92.2 % 396 365 4 27 6 359 4
Current Date: 2026-08-27 14:31:44 +0300 Functions: 100.0 % 36 36 3 33
Baseline: lcov-20260827-baseline Branches: 66.1 % 254 168 6 80 2 166
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 50.0 % 6 3 2 1 3
(30,360] days: 85.2 % 61 52 2 7 3 49
(360..) days: 94.2 % 329 310 19 310
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 100.0 % 33 33 3 30
Branch coverage date bins:
(7,30] days: 25.0 % 4 1 3 1
(30,360] days: 58.8 % 34 20 3 11 1 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 1236 100.0 % (31 / 31) 91.7 % (11 / 12)
StatsShmemRequest CBC 1239 100.0 % (3 / 3)
StatsShmemSize CBC 1239 100.0 % (12 / 12) 87.5 % (7 / 8)
match_db CBC 1377 100.0 % (3 / 3)
match_kind CBC 1581 100.0 % (2 / 2)
pgstat_acquire_entry_ref GNC 878621 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_attach_shmem CBC 23322 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_detach_shmem CBC 23322 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_drop_all_entries CBC 257 100.0 % (3 / 3)
pgstat_drop_database_and_contents CBC 46 88.2 % (15 / 17) 71.4 % (10 / 14)
pgstat_drop_entry CBC 91094 81.0 % (17 / 21) 64.3 % (9 / 14)
pgstat_drop_entry_internal CBC 70344 100.0 % (12 / 12) 66.7 % (8 / 12)
pgstat_drop_matching_entries CBC 257 61.1 % (11 / 18) 43.8 % (7 / 16)
pgstat_dsa_init_size CBC 4947 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_free_entry CBC 70317 100.0 % (10 / 10) 100.0 % (4 / 4)
pgstat_gc_entry_refs CBC 7323 100.0 % (16 / 16) 78.6 % (11 / 14)
pgstat_get_entry_ref GNC 3956243 88.2 % (45 / 51) 71.4 % (30 / 42)
pgstat_get_entry_ref_cached GNC 3956243 82.6 % (19 / 23) 45.0 % (9 / 20)
pgstat_get_entry_ref_locked CBC 114666 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry CBC 385870 93.8 % (15 / 16) 75.0 % (3 / 4)
pgstat_lock_entry CBC 1249225 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_lock_entry_shared CBC 30476 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_need_entry_refs_gc CBC 3956243 83.3 % (5 / 6) 50.0 % (2 / 4)
pgstat_reinit_entry CBC 27 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 23322 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_release_db_entry_refs CBC 46 100.0 % (3 / 3)
pgstat_release_entry_ref CBC 988460 84.0 % (21 / 25) 50.0 % (18 / 36)
pgstat_release_matching_entry_refs CBC 19943 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_request_entry_refs_gc CBC 2142 100.0 % (3 / 3)
pgstat_reset_entries_of_kind CBC 4 100.0 % (3 / 3)
pgstat_reset_entry CBC 259 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 3956243 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_setup_shared_refs CBC 3956243 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_unlock_entry CBC 1279696 100.0 % (3 / 3)
shared_stat_reset_contents CBC 12390 100.0 % (6 / 6) 50.0 % (1 / 2)

Generated by: LCOV version 2.0-1