LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_shmem.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 93.8 % 386 362 3 21 20 342 12
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 35 35 5 30
Baseline: lcov-20260315-024220-baseline Branches: 67.7 % 248 168 1 6 73 1 13 154 1 7
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 88.9 % 27 24 3 20 4
(360..) days: 94.2 % 359 338 3 18 338
Function coverage date bins:
(360..) days: 100.0 % 35 35 5 30
Branch coverage date bins:
(30,360] days: 75.0 % 20 15 1 4 13 2
(360..) days: 67.1 % 228 153 6 69 1 152

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_release_entry_ref CBC 851396 84.0 % (21 / 25) 50.0 % (18 / 36)
pgstat_drop_matching_entries CBC 238 61.1 % (11 / 18) 43.8 % (7 / 16)
pgstat_get_entry_ref GNC 3417568 93.6 % (44 / 47) 78.9 % (30 / 38)
pgstat_get_entry_ref_cached CBC 3417568 90.0 % (18 / 20) 50.0 % (8 / 16)
pgstat_drop_entry_internal CBC 57908 92.3 % (12 / 13) 57.1 % (8 / 14)
StatsShmemInit GNC 1150 97.1 % (34 / 35) 72.2 % (13 / 18)
pgstat_drop_database_and_contents CBC 39 88.2 % (15 / 17) 71.4 % (10 / 14)
pgstat_gc_entry_refs CBC 6331 100.0 % (16 / 16) 78.6 % (11 / 14)
pgstat_acquire_entry_ref CBC 766625 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_need_entry_refs_gc CBC 3417568 83.3 % (5 / 6) 50.0 % (2 / 4)
pgstat_release_matching_entry_refs CBC 17868 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_reset_entry CBC 200 100.0 % (8 / 8) 66.7 % (4 / 6)
StatsShmemSize CBC 3297 100.0 % (12 / 12) 87.5 % (7 / 8)
pgstat_attach_shmem CBC 21568 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_detach_shmem CBC 21568 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_dsa_init_size CBC 5597 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_get_entry_ref_locked CBC 93490 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry GNC 335991 93.8 % (15 / 16) 75.0 % (3 / 4)
pgstat_lock_entry_shared CBC 11136 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_reinit_entry CBC 30 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 21568 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_setup_shared_refs CBC 3417568 100.0 % (7 / 7) 75.0 % (3 / 4)
shared_stat_reset_contents CBC 9125 100.0 % (6 / 6) 50.0 % (1 / 2)
pgstat_drop_entry GNC 77215 100.0 % (16 / 16) 100.0 % (8 / 8)
pgstat_free_entry GNC 57878 100.0 % (10 / 10) 100.0 % (4 / 4)
pgstat_lock_entry CBC 1023790 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_reset_matching_entries CBC 17 100.0 % (13 / 13) 100.0 % (6 / 6)
pgstat_setup_memcxt CBC 3417568 100.0 % (8 / 8) 100.0 % (4 / 4)
match_db CBC 1160 100.0 % (3 / 3)
match_kind CBC 1490 100.0 % (2 / 2)
pgstat_drop_all_entries CBC 238 100.0 % (3 / 3)
pgstat_release_db_entry_refs CBC 39 100.0 % (3 / 3)
pgstat_request_entry_refs_gc CBC 1987 100.0 % (3 / 3)
pgstat_reset_entries_of_kind CBC 4 100.0 % (3 / 3)
pgstat_unlock_entry CBC 1034920 100.0 % (3 / 3)

Generated by: LCOV version 2.4-beta