LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - slotsync.c (source / functions) Coverage Total Hit UNC GNC
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 85.9 % 454 390 64 390
Current Date: 2024-04-14 14:21:10 Functions: 100.0 % 24 24 24
Baseline: 16@8cea358b128 Branches: 56.7 % 342 194 148 194
Baseline Date: 2024-04-14 14:21:09 Line coverage date bins:
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed [..60] days: 85.9 % 454 390 64 390
Function coverage date bins:
[..60] days: 100.0 % 24 24 24
Branch coverage date bins:
[..60] days: 56.7 % 342 194 148 194

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
slotsync_reread_config GNC 1 86.4 % (19 / 22) 42.9 % (6 / 14)
ReplSlotSyncWorkerMain GNC 4 85.2 % (46 / 54) 45.0 % (9 / 20)
reserve_wal_for_local_slot GNC 4 94.4 % (17 / 18) 66.7 % (8 / 12)
slotsync_worker_onexit GNC 4 100.0 % (5 / 5) 50.0 % (1 / 2)
update_and_persist_local_synced_slot GNC 4 76.9 % (10 / 13) 37.5 % (3 / 8)
SlotSyncWorkerCanRestart GNC 5 100.0 % (6 / 6) 100.0 % (2 / 2)
slotsync_failure_callback GNC 5 55.6 % (5 / 9) 25.0 % (1 / 4)
SyncReplicationSlots GNC 7 100.0 % (6 / 6) 75.0 % (3 / 4)
validate_remote_info GNC 11 89.3 % (25 / 28) 50.0 % (12 / 24)
wait_for_slot_activity GNC 11 100.0 % (8 / 8) 100.0 % (4 / 4)
CheckAndGetDbnameFromConninfo GNC 12 100.0 % (5 / 5) 75.0 % (3 / 4)
ValidateSlotSyncParams GNC 14 61.5 % (8 / 13) 40.0 % (8 / 20)
ProcessSlotSyncInterrupts GNC 15 100.0 % (8 / 8) 87.5 % (7 / 8)
drop_local_obsolete_slots GNC 17 100.0 % (14 / 14) 72.2 % (13 / 18)
get_local_synced_slots GNC 17 100.0 % (10 / 10) 87.5 % (7 / 8)
synchronize_slots GNC 17 91.0 % (61 / 67) 53.8 % (28 / 52)
local_sync_slot_required GNC 30 100.0 % (13 / 13) 83.3 % (15 / 18)
synchronize_one_slot GNC 32 74.5 % (41 / 55) 38.9 % (14 / 36)
update_local_synced_slot GNC 32 74.5 % (38 / 51) 55.6 % (30 / 54)
IsSyncingReplicationSlots GNC 50 100.0 % (2 / 2)
ShutDownSlotSync GNC 729 80.0 % (16 / 20) 50.0 % (6 / 12)
update_synced_slots_inactive_since GNC 729 100.0 % (16 / 16) 81.2 % (13 / 16)
SlotSyncShmemInit GNC 898 100.0 % (9 / 9) 50.0 % (1 / 2)
SlotSyncShmemSize GNC 2577 100.0 % (2 / 2)

Generated by: LCOV version 2.1-beta2-3-g6141622