LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 92.1 % 1448 1333
Test Date: 2026-08-24 20:15:41 Functions: 100.0 % 63 63
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 70.3 % 852 599

Function Name Sort by function name Hit count Sort by function hit count
WalSndDoneImmediate 3
ReadReplicationSlot 6
AlterReplicationSlot 7
WalSndShutdown 12
UploadManifest 13
SendTimeLineHistory 16
WalSndRqstFileReload 30
HandleWalSndInitStopping 48
WalSndLastCycleHandler 48
HandleUploadManifestPacket 52
WalSndErrorCleanup 52
PhysicalReplicationSlotNewXmin 70
TransactionIdInRecentPast 74
ProcessStandbyHSFeedbackMessage 161
DropReplicationSlot 298
StartReplication 317
StartLogicalReplication 479
pg_stat_get_wal_senders 482
CreateReplicationSlot 529
parseCreateReplSlotOptions 529
ProcessPendingWrites 548
WalSndGetStateString 619
WalSndInitStopping 774
WalSndWaitStopping 774
WalSndLoop 786
IdentifySystem 848
WalSndShmemInit 1264
WalSndShmemRequest 1267
InitWalSender 1335
InitWalSenderSlot 1335
WalSndKill 1335
WalSndSignals 1335
GetStandbyFlushRecPtr 1462
offset_to_interval 1482
WalSndDone 1849
WalSndKeepalive 2252
WalSndUpdateProgress 3151
WalSndSetState 3742
WalSndSegmentOpen 4230
exec_replication_command 6011
ProcessStandbyPSRequestMessage 7860
NeedToWaitForStandbys 18007
WalSndWaitForWal 18368
logical_read_xlog_page 18368
NeedToWaitForWal 30811
PhysicalWakeupLogicalWalSnd 41176
PhysicalConfirmReceivedLocation 91540
WalSndComputeSleeptime 102880
WalSndWait 102880
ProcessStandbyReplyMessage 114131
ProcessStandbyMessage 122152
LagTrackerWrite 143416
XLogSendPhysical 175698
WalSndPrepareWrite 209113
WalSndWriteData 209113
LagTrackerRead 342393
XLogSendLogical 930397
WalSndKeepaliveIfNecessary 1156750
WalSndCheckTimeOut 1156753
WalSndCheckShutdownTimeout 1156841
WalSndHandleConfigReload 1161709
ProcessRepliesIfAny 1162257
WalSndWakeup 2884525

Generated by: LCOV version 2.0-1