LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_shmem.c (source / functions) Coverage Total Hit LBC UBC GNC CBC DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 94.0 % 385 362 3 20 34 328 1 27
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 36 36 6 30 1
Baseline: lcov-20260505-025707-baseline Branches: 68.6 % 242 166 6 70 12 154 4 8
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 34 34 25 9
(30,360] days: 81.2 % 16 13 3 9 4
(360..) days: 94.0 % 335 315 3 17 315
Function coverage date bins:
(7,30] days: 100.0 % 2 2 2
(360..) days: 100.0 % 34 34 4 30
Branch coverage date bins:
(7,30] days: 91.7 % 12 11 1 8 3
(30,360] days: 60.0 % 10 6 4 4 2
(360..) days: 67.7 % 220 149 6 65 149

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 19 100.0 % (13 / 13) 100.0 % (6 / 6)
pgstat_reinit_entry CBC 28 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_drop_database_and_contents CBC 41 88.2 % (15 / 17) 71.4 % (10 / 14)
pgstat_release_db_entry_refs CBC 41 100.0 % (3 / 3)
pgstat_reset_entry CBC 233 100.0 % (8 / 8) 66.7 % (4 / 6)
pgstat_drop_all_entries CBC 250 100.0 % (3 / 3)
pgstat_drop_matching_entries CBC 250 61.1 % (11 / 18) 43.8 % (7 / 16)
StatsShmemInit GNC 1241 100.0 % (31 / 31) 91.7 % (11 / 12)
match_db CBC 1242 100.0 % (3 / 3)
StatsShmemRequest GNC 1244 100.0 % (3 / 3)
StatsShmemSize CBC 1244 100.0 % (12 / 12) 87.5 % (7 / 8)
match_kind CBC 1576 100.0 % (2 / 2)
pgstat_request_entry_refs_gc CBC 2136 100.0 % (3 / 3)
pgstat_dsa_init_size CBC 4967 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_gc_entry_refs CBC 6780 100.0 % (16 / 16) 78.6 % (11 / 14)
shared_stat_reset_contents CBC 12344 100.0 % (6 / 6) 50.0 % (1 / 2)
pgstat_lock_entry_shared CBC 17454 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_release_matching_entry_refs CBC 19549 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_attach_shmem CBC 22979 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_detach_shmem CBC 22979 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 22979 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_free_entry GNC 70442 100.0 % (10 / 10) 100.0 % (4 / 4)
pgstat_drop_entry_internal CBC 70470 92.3 % (12 / 13) 57.1 % (8 / 14)
pgstat_drop_entry GNC 91369 100.0 % (16 / 16) 100.0 % (8 / 8)
pgstat_get_entry_ref_locked CBC 106470 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry GNC 390472 93.8 % (15 / 16) 75.0 % (3 / 4)
pgstat_acquire_entry_ref CBC 856689 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_release_entry_ref CBC 962828 84.0 % (21 / 25) 50.0 % (18 / 36)
pgstat_lock_entry CBC 1153815 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_unlock_entry CBC 1171257 100.0 % (3 / 3)
pgstat_get_entry_ref GNC 3845329 93.6 % (44 / 47) 78.9 % (30 / 38)
pgstat_get_entry_ref_cached CBC 3845329 90.0 % (18 / 20) 50.0 % (8 / 16)
pgstat_need_entry_refs_gc CBC 3845329 83.3 % (5 / 6) 50.0 % (2 / 4)
pgstat_setup_memcxt CBC 3845329 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_setup_shared_refs CBC 3845329 100.0 % (7 / 7) 75.0 % (3 / 4)

Generated by: LCOV version 2.5.0-beta