LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - slotsync.c (source / functions) Coverage Total Hit UNC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 88.6 % 553 490 9 54 1 1 102 386 4 61
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 31 31 16 15 7
Baseline: lcov-20260505-025707-baseline Branches: 58.7 % 390 229 24 137 1 50 178 16 14 15 25
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: 78.7 % 47 37 1 9 17 20
(30,360] days: 85.7 % 140 120 8 12 85 35
(360..) days: 91.0 % 366 333 33 1 1 331
Function coverage date bins:
(7,30] days: 100.0 % 4 4 2 2
(30,360] days: 100.0 % 9 9 8 1
(360..) days: 100.0 % 18 18 6 12
Branch coverage date bins:
(7,30] days: 41.7 % 36 15 3 18 7 8
(30,360] days: 53.8 % 106 57 21 26 43 14 1 1
(360..) days: 56.5 % 278 157 93 1 156 15 13

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
update_local_synced_slot GNC 48 87.7 % (57 / 65) 58.3 % (35 / 60)
fetch_remote_slots GNC 31 92.7 % (51 / 55) 60.9 % (28 / 46)
slotsync_reread_config CBC 1 71.9 % (23 / 32) 30.8 % (8 / 26)
ValidateSlotSyncParams GNC 23 57.1 % (8 / 14) 40.0 % (8 / 20)
validate_remote_info CBC 15 89.3 % (25 / 28) 50.0 % (12 / 24)
ReplSlotSyncWorkerMain GNC 6 96.7 % (58 / 60) 57.7 % (15 / 26)
check_and_set_sync_info CBC 15 58.8 % (10 / 17) 21.4 % (3 / 14)
ProcessSlotSyncMessage CBC 1 62.5 % (5 / 8) 25.0 % (2 / 8)
reserve_wal_for_local_slot CBC 9 88.9 % (16 / 18) 50.0 % (6 / 12)
ShutDownSlotSync CBC 1010 81.8 % (18 / 22) 50.0 % (5 / 10)
SyncReplicationSlots GNC 9 96.3 % (26 / 27) 77.8 % (14 / 18)
drop_local_obsolete_slots CBC 29 100.0 % (14 / 14) 75.0 % (12 / 16)
update_synced_slots_inactive_since GNC 1010 100.0 % (15 / 15) 77.8 % (14 / 18)
SlotSyncWorkerCanRestart GNC 12 100.0 % (8 / 8) 66.7 % (4 / 6)
local_sync_slot_required CBC 42 100.0 % (13 / 13) 87.5 % (14 / 16)
slotsync_failure_callback CBC 1 88.9 % (8 / 9) 50.0 % (2 / 4)
slotsync_worker_onexit CBC 6 90.9 % (10 / 11) 50.0 % (2 / 4)
CheckAndGetDbnameFromConninfo CBC 16 100.0 % (5 / 5) 75.0 % (3 / 4)
extract_slot_names GNC 1 100.0 % (6 / 6) 83.3 % (5 / 6)
get_local_synced_slots GNC 29 100.0 % (10 / 10) 87.5 % (7 / 8)
synchronize_slots GNC 29 100.0 % (9 / 9) 83.3 % (5 / 6)
update_slotsync_skip_stats GNC 48 100.0 % (10 / 10) 83.3 % (5 / 6)
wait_for_slot_activity CBC 21 100.0 % (8 / 8) 100.0 % (4 / 4)
HandleSlotSyncMessageInterrupt CBC 1 100.0 % (4 / 4)
IsSyncingReplicationSlots CBC 78 100.0 % (2 / 2)
SlotSyncShmemInit GNC 1241 100.0 % (5 / 5)
SlotSyncShmemRequest GNC 1244 100.0 % (3 / 3)
reset_syncing_flag GNC 9 100.0 % (7 / 7)
slotsync_worker_disconnect CBC 6 100.0 % (4 / 4)

Generated by: LCOV version 2.5.0-beta