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: b45a8d7d8b306b43f31a002f1b3f1dddc8defeaf vs 8767b449a3a1e75626dfb08f24da54933171d4c5 Lines: 90.9 % 386 351 7 28 13 338 4 8
Current Date: 2025-10-28 08:26:42 +0900 Functions: 100.0 % 35 35 5 30
Baseline: lcov-20251028-005825-baseline Branches: 64.1 % 248 159 6 1 82 1 8 150
Baseline Date: 2025-10-27 06:37:35 +0000 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 61.1 % 18 11 7 11
(30,360] days: 78.4 % 37 29 8 2 27
(360..) days: 94.0 % 331 311 20 311
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 100.0 % 33 33 5 28
Branch coverage date bins:
(7,30] days: 57.1 % 14 8 6 8
(30,360] days: 45.8 % 24 11 13 11
(360..) days: 66.7 % 210 140 1 69 1 139

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 1049 82.9 % (29 / 35) 55.6 % (10 / 18)
StatsShmemSize CBC 2998 66.7 % (8 / 12) 37.5 % (3 / 8)
match_db CBC 1023 100.0 % (3 / 3)
match_kind CBC 1482 100.0 % (2 / 2)
pgstat_acquire_entry_ref CBC 687658 100.0 % (9 / 9) 50.0 % (2 / 4)
pgstat_attach_shmem CBC 19101 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_detach_shmem CBC 19101 100.0 % (9 / 9) 50.0 % (1 / 2)
pgstat_drop_all_entries CBC 223 100.0 % (3 / 3)
pgstat_drop_database_and_contents CBC 34 88.2 % (15 / 17) 71.4 % (10 / 14)
pgstat_drop_entry GNC 69367 100.0 % (16 / 16) 100.0 % (8 / 8)
pgstat_drop_entry_internal CBC 53040 92.3 % (12 / 13) 57.1 % (8 / 14)
pgstat_drop_matching_entries CBC 223 61.1 % (11 / 18) 43.8 % (7 / 16)
pgstat_dsa_init_size CBC 5096 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_free_entry GNC 53010 90.0 % (9 / 10) 75.0 % (3 / 4)
pgstat_gc_entry_refs CBC 6282 100.0 % (16 / 16) 78.6 % (11 / 14)
pgstat_get_entry_ref GNC 3140382 93.6 % (44 / 47) 78.9 % (30 / 38)
pgstat_get_entry_ref_cached CBC 3140382 90.0 % (18 / 20) 50.0 % (8 / 16)
pgstat_get_entry_ref_locked CBC 85511 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_init_entry GNC 306028 87.5 % (14 / 16) 50.0 % (2 / 4)
pgstat_lock_entry CBC 919988 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_lock_entry_shared CBC 9997 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_need_entry_refs_gc CBC 3140382 83.3 % (5 / 6) 50.0 % (2 / 4)
pgstat_reinit_entry CBC 30 100.0 % (8 / 8) 50.0 % (1 / 2)
pgstat_release_all_entry_refs CBC 19101 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_release_db_entry_refs CBC 34 100.0 % (3 / 3)
pgstat_release_entry_ref CBC 766396 84.0 % (21 / 25) 50.0 % (18 / 36)
pgstat_release_matching_entry_refs CBC 15839 100.0 % (10 / 10) 80.0 % (8 / 10)
pgstat_request_entry_refs_gc CBC 1912 100.0 % (3 / 3)
pgstat_reset_entries_of_kind CBC 4 100.0 % (3 / 3)
pgstat_reset_entry CBC 189 100.0 % (8 / 8) 66.7 % (4 / 6)
pgstat_reset_matching_entries CBC 11 100.0 % (13 / 13) 100.0 % (6 / 6)
pgstat_setup_memcxt CBC 3140382 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_setup_shared_refs CBC 3140382 100.0 % (7 / 7) 75.0 % (3 / 4)
pgstat_unlock_entry CBC 929976 100.0 % (3 / 3)
shared_stat_reset_contents CBC 8606 100.0 % (6 / 6) 50.0 % (1 / 2)

Generated by: LCOV version 2.4-beta