LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - slotsync.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 89.3 % 571 510 61 510 1
Current Date: 2026-11-28 16:48:44 +0900 Functions: 100.0 % 31 31 2 29
Baseline: lcov-20261128-baseline Branches: 59.3 % 408 242 166 242
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 75.0 % 8 6 2 6
(30,360] days: 86.4 % 176 152 24 152
(360..) days: 91.0 % 387 352 35 352
Function coverage date bins:
(30,360] days: 100.0 % 12 12 12
(360..) days: 100.0 % 19 19 2 17
Branch coverage date bins:
(7,30] days: 43.8 % 16 7 9 7
(30,360] days: 52.4 % 124 65 59 65
(360..) days: 63.4 % 268 170 98 170

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
CheckAndGetDbnameFromConninfo CBC 19 100.0 % (5 / 5) 75.0 % (3 / 4)
HandleSlotSyncMessageInterrupt CBC 1 100.0 % (4 / 4)
IsSyncingReplicationSlots CBC 88 100.0 % (2 / 2)
ProcessSlotSyncMessage CBC 1 62.5 % (5 / 8) 25.0 % (2 / 8)
ReplSlotSyncWorkerMain GNC 6 96.6 % (57 / 59) 57.7 % (15 / 26)
ShutDownSlotSync CBC 1070 81.8 % (18 / 22) 50.0 % (5 / 10)
SlotSyncShmemInit CBC 1325 100.0 % (5 / 5)
SlotSyncShmemRequest CBC 1329 100.0 % (3 / 3)
SlotSyncWorkerCanRestart CBC 16 100.0 % (8 / 8) 66.7 % (4 / 6)
SyncReplicationSlots CBC 12 96.8 % (30 / 31) 77.8 % (14 / 18)
ValidateSlotSyncParams CBC 30 57.1 % (8 / 14) 40.0 % (8 / 20)
check_and_set_sync_info CBC 18 58.8 % (10 / 17) 21.4 % (3 / 14)
drop_local_obsolete_slots GNC 38 100.0 % (16 / 16) 75.0 % (12 / 16)
extract_slot_names CBC 3 100.0 % (6 / 6) 83.3 % (5 / 6)
fetch_remote_slots CBC 40 92.9 % (52 / 56) 60.9 % (28 / 46)
get_local_synced_slots CBC 38 100.0 % (10 / 10) 87.5 % (7 / 8)
local_sync_slot_required CBC 46 100.0 % (13 / 13) 93.8 % (15 / 16)
reserve_wal_for_local_slot CBC 9 88.9 % (16 / 18) 50.0 % (6 / 12)
reset_syncing_flag CBC 12 100.0 % (7 / 7)
slotsync_failure_callback CBC 1 88.9 % (8 / 9) 50.0 % (2 / 4)
slotsync_reread_config CBC 1 71.9 % (23 / 32) 30.8 % (8 / 26)
slotsync_worker_disconnect CBC 6 100.0 % (4 / 4)
slotsync_worker_onexit CBC 6 90.9 % (10 / 11) 50.0 % (2 / 4)
synchronize_one_slot CBC 54 82.3 % (51 / 62) 53.3 % (16 / 30)
synchronize_slots CBC 38 100.0 % (9 / 9) 100.0 % (6 / 6)
update_and_persist_local_synced_slot CBC 16 100.0 % (10 / 10) 83.3 % (5 / 6)
update_local_synced_slot CBC 52 89.9 % (62 / 69) 58.6 % (41 / 70)
update_slotsync_skip_stats CBC 52 100.0 % (10 / 10) 83.3 % (5 / 6)
update_synced_slots_inactive_since CBC 1070 100.0 % (15 / 15) 77.8 % (14 / 18)
validate_remote_info CBC 18 89.3 % (25 / 28) 50.0 % (12 / 24)
wait_for_slot_activity CBC 27 100.0 % (8 / 8) 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1