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: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 92.7 % 468 434 15 19 132 302 15 61
Current Date: 2026-11-28 16:48:44 +0900 Functions: 100.0 % 38 38 20 18 1 2
Baseline: lcov-20261128-baseline Branches: 70.9 % 316 224 25 67 1 81 142
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 14 14 14
(30,360] days: 87.3 % 189 165 15 9 117 48
(360..) days: 96.2 % 265 255 10 1 254
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 5 5 4 1
(360..) days: 100.0 % 32 32 15 17
Branch coverage date bins:
(7,30] days: 78.6 % 14 11 3 11
(30,360] days: 68.5 % 130 89 22 19 70 19
(360..) days: 72.1 % 172 124 48 1 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
StatsShmemInit GNC 1325 100.0 % (46 / 46) 95.0 % (19 / 20)
StatsShmemRequest CBC 1329 100.0 % (3 / 3)
StatsShmemSize GNC 1329 100.0 % (17 / 17) 93.8 % (15 / 16)
match_db CBC 1818 100.0 % (3 / 3)
match_kind CBC 1579 100.0 % (2 / 2)
pgstat_acquire_entry_ref GNC 930156 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_alloc_entry_body GNC 387506 100.0 % (4 / 4)
pgstat_attach_shmem GNC 25053 100.0 % (26 / 26) 90.0 % (9 / 10)
pgstat_detach_shmem GNC 25053 100.0 % (17 / 17) 90.0 % (9 / 10)
pgstat_drop_all_entries GNC 279 100.0 % (3 / 3)
pgstat_drop_database_and_contents GNC 58 88.9 % (16 / 18) 75.0 % (12 / 16)
pgstat_drop_entry GNC 97411 73.1 % (19 / 26) 50.0 % (12 / 24)
pgstat_drop_entry_internal GNC 75801 100.0 % (12 / 12) 66.7 % (8 / 12)
pgstat_dsa_init_size CBC 5316 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_free_entry GNC 75768 100.0 % (10 / 10) 100.0 % (4 / 4)
pgstat_gc_entry_refs CBC 7116 81.0 % (17 / 21) 60.0 % (12 / 20)
pgstat_get_entry_ref GNC 4083648 87.3 % (48 / 55) 71.4 % (30 / 42)
pgstat_get_entry_ref_cached GNC 4083648 82.6 % (19 / 23) 45.0 % (9 / 20)
pgstat_get_entry_ref_locked CBC 119680 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry GNC 387506 100.0 % (13 / 13) 75.0 % (3 / 4)
pgstat_lock_entry CBC 1311848 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_lock_entry_shared CBC 30900 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_need_entry_refs_gc CBC 4083648 83.3 % (5 / 6) 50.0 % (2 / 4)
pgstat_reinit_entry GNC 32 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 25053 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_release_db_entry_refs CBC 58 100.0 % (3 / 3)
pgstat_release_entry_ref GNC 1044021 85.0 % (17 / 20) 53.3 % (16 / 30)
pgstat_release_matching_entry_refs CBC 21407 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_request_entry_refs_gc CBC 2106 100.0 % (3 / 3)
pgstat_reset_entries_of_kind GNC 6 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_reset_entry CBC 280 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 4083648 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_setup_shared_refs CBC 4083648 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_unlock_entry CBC 1342746 100.0 % (3 / 3)
shared_stat_reset_contents CBC 11636 100.0 % (6 / 6) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1