LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 91.6 % 1448 1326
Test Date: 2026-08-16 12:15:32 Functions: 100.0 % 63 63
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 69.5 % 852 592

Function Name Sort by function name Hit count Sort by function hit count
WalSndDoneImmediate 4
ReadReplicationSlot 6
AlterReplicationSlot 7
WalSndShutdown 10
UploadManifest 14
SendTimeLineHistory 16
WalSndRqstFileReload 29
HandleWalSndInitStopping 48
WalSndLastCycleHandler 48
WalSndErrorCleanup 54
HandleUploadManifestPacket 56
PhysicalReplicationSlotNewXmin 73
TransactionIdInRecentPast 77
ProcessStandbyHSFeedbackMessage 164
DropReplicationSlot 300
StartReplication 319
pg_stat_get_wal_senders 481
StartLogicalReplication 482
CreateReplicationSlot 529
parseCreateReplSlotOptions 529
ProcessPendingWrites 554
WalSndGetStateString 621
WalSndInitStopping 776
WalSndWaitStopping 776
WalSndLoop 790
IdentifySystem 854
WalSndShmemInit 1268
WalSndShmemRequest 1271
InitWalSender 1342
InitWalSenderSlot 1342
WalSndKill 1342
WalSndSignals 1342
GetStandbyFlushRecPtr 1441
offset_to_interval 1485
WalSndKeepalive 2942
WalSndUpdateProgress 3304
WalSndDone 4292
WalSndSetState 5600
exec_replication_command 6039
WalSndSegmentOpen 7882
ProcessStandbyPSRequestMessage 12954
NeedToWaitForStandbys 24956
WalSndWaitForWal 25342
logical_read_xlog_page 25342
PhysicalWakeupLogicalWalSnd 41278
NeedToWaitForWal 42939
PhysicalConfirmReceivedLocation 91090
WalSndComputeSleeptime 109341
WalSndWait 109341
ProcessStandbyReplyMessage 114650
ProcessStandbyMessage 127768
LagTrackerWrite 143441
XLogSendPhysical 177720
WalSndPrepareWrite 205910
WalSndWriteData 205910
LagTrackerRead 343950
XLogSendLogical 934839
WalSndKeepaliveIfNecessary 1168432
WalSndCheckTimeOut 1168436
WalSndCheckShutdownTimeout 1168524
WalSndHandleConfigReload 1176468
ProcessRepliesIfAny 1177022
WalSndWakeup 2878016

Generated by: LCOV version 2.0-1