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: 806555e3000d0b0e0c536c1dc65548128d457d86 vs 1d325ad99cb2dec0e8b45ba36909ee0a497d2a57 Lines: 93.8 % 386 362 24 4 20 338 4 8
Current Date: 2025-12-17 08:58:58 +0900 Functions: 100.0 % 35 35 5 30
Baseline: lcov-20251217-005640-baseline Branches: 67.7 % 248 168 1 1 78 5 13 150
Baseline Date: 2025-12-16 12:57:12 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 81.1 % 37 30 7 20 10
(360..) days: 95.1 % 349 332 17 4 328
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 100.0 % 33 33 5 28
Branch coverage date bins:
(30,360] days: 60.7 % 28 17 1 10 13 4
(360..) days: 68.6 % 220 151 1 68 5 146

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_reset_entries_of_kind CBC 4 100.0 % (3 / 3)
pgstat_reset_matching_entries CBC 11 100.0 % (13 / 13) 100.0 % (6 / 6)
pgstat_reinit_entry CBC 29 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_drop_database_and_contents CBC 36 88.2 % (15 / 17) 71.4 % (10 / 14)
pgstat_release_db_entry_refs CBC 36 100.0 % (3 / 3)
pgstat_reset_entry CBC 190 100.0 % (8 / 8) 66.7 % (4 / 6)
pgstat_drop_all_entries CBC 226 100.0 % (3 / 3)
pgstat_drop_matching_entries CBC 226 61.1 % (11 / 18) 43.8 % (7 / 16)
StatsShmemInit GNC 1069 97.1 % (34 / 35) 72.2 % (13 / 18)
match_db CBC 1105 100.0 % (3 / 3)
match_kind CBC 1486 100.0 % (2 / 2)
pgstat_request_entry_refs_gc CBC 1948 100.0 % (3 / 3)
StatsShmemSize CBC 3055 100.0 % (12 / 12) 87.5 % (7 / 8)
pgstat_dsa_init_size CBC 5193 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_gc_entry_refs CBC 6205 100.0 % (16 / 16) 78.6 % (11 / 14)
shared_stat_reset_contents CBC 8673 100.0 % (6 / 6) 50.0 % (1 / 2)
pgstat_lock_entry_shared CBC 10201 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_release_matching_entry_refs CBC 16252 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_attach_shmem CBC 19587 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_detach_shmem CBC 19587 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 19587 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_free_entry GNC 55675 100.0 % (10 / 10) 100.0 % (4 / 4)
pgstat_drop_entry_internal CBC 55704 92.3 % (12 / 13) 57.1 % (8 / 14)
pgstat_drop_entry GNC 72361 100.0 % (16 / 16) 100.0 % (8 / 8)
pgstat_get_entry_ref_locked CBC 88815 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry GNC 313113 93.8 % (15 / 16) 75.0 % (3 / 4)
pgstat_acquire_entry_ref CBC 703988 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_release_entry_ref CBC 785315 84.0 % (21 / 25) 50.0 % (18 / 36)
pgstat_lock_entry CBC 946932 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_unlock_entry CBC 957127 100.0 % (3 / 3)
pgstat_get_entry_ref GNC 3249242 93.6 % (44 / 47) 78.9 % (30 / 38)
pgstat_get_entry_ref_cached CBC 3249242 90.0 % (18 / 20) 50.0 % (8 / 16)
pgstat_need_entry_refs_gc CBC 3249242 83.3 % (5 / 6) 50.0 % (2 / 4)
pgstat_setup_memcxt CBC 3249242 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_setup_shared_refs CBC 3249242 100.0 % (7 / 7) 75.0 % (3 / 4)

Generated by: LCOV version 2.4-beta