LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_shmem.c (source / functions) Coverage Total Hit LBC UBC GBC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 94.0 % 385 362 3 20 34 328 1 27
Current Date: 2026-05-29 21:51:00 -0400 Functions: 100.0 % 36 36 6 30 1
Baseline: lcov-20260530-034037-baseline Branches: 68.6 % 242 166 6 70 1 12 153 4 8
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 94.0 % 50 47 3 34 13
(360..) days: 94.0 % 335 315 3 17 315
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 100.0 % 34 34 4 30
Branch coverage date bins:
(30,360] days: 77.3 % 22 17 5 12 5
(360..) days: 67.7 % 220 149 6 65 1 148

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
StatsShmemRequest GNC 1251 100.0 % (3 / 3)
StatsShmemSize CBC 1251 100.0 % (12 / 12) 87.5 % (7 / 8)
match_db CBC 1242 100.0 % (3 / 3)
match_kind CBC 1580 100.0 % (2 / 2)
pgstat_acquire_entry_ref CBC 860147 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_attach_shmem CBC 23117 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_detach_shmem CBC 23117 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_drop_all_entries CBC 251 100.0 % (3 / 3)
pgstat_drop_database_and_contents CBC 41 88.2 % (15 / 17) 71.4 % (10 / 14)
pgstat_drop_entry GNC 91889 100.0 % (16 / 16) 100.0 % (8 / 8)
pgstat_drop_entry_internal CBC 70819 92.3 % (12 / 13) 57.1 % (8 / 14)
pgstat_drop_matching_entries CBC 251 61.1 % (11 / 18) 43.8 % (7 / 16)
pgstat_dsa_init_size CBC 4995 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_free_entry GNC 70789 100.0 % (10 / 10) 100.0 % (4 / 4)
pgstat_gc_entry_refs CBC 6801 100.0 % (16 / 16) 78.6 % (11 / 14)
pgstat_get_entry_ref GNC 3869298 93.6 % (44 / 47) 78.9 % (30 / 38)
pgstat_get_entry_ref_cached CBC 3869298 90.0 % (18 / 20) 50.0 % (8 / 16)
pgstat_get_entry_ref_locked CBC 106562 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry GNC 392941 93.8 % (15 / 16) 75.0 % (3 / 4)
pgstat_lock_entry CBC 1159230 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_lock_entry_shared CBC 16626 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_need_entry_refs_gc CBC 3869298 83.3 % (5 / 6) 50.0 % (2 / 4)
pgstat_reinit_entry CBC 29 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 23117 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_release_db_entry_refs CBC 41 100.0 % (3 / 3)
pgstat_release_entry_ref CBC 966843 84.0 % (21 / 25) 50.0 % (18 / 36)
pgstat_release_matching_entry_refs CBC 19673 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_request_entry_refs_gc CBC 2132 100.0 % (3 / 3)
pgstat_reset_entries_of_kind CBC 4 100.0 % (3 / 3)
pgstat_reset_entry CBC 233 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 3869298 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_setup_shared_refs CBC 3869298 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_unlock_entry CBC 1175856 100.0 % (3 / 3)
shared_stat_reset_contents CBC 12552 100.0 % (6 / 6) 50.0 % (1 / 2)

Generated by: LCOV version 2.5.0-beta