LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1277 1395 91.5 %
Date: 2026-02-05 20:18:23 Functions: 61 61 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ReadReplicationSlot 12
AlterReplicationSlot 14
UploadManifest 24
SendTimeLineHistory 26
WalSndRqstFileReload 56
WalSndShutdown 80
HandleWalSndInitStopping 82
WalSndLastCycleHandler 82
HandleUploadManifestPacket 94
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 128
TransactionIdInRecentPast 136
ProcessStandbyHSFeedbackMessage 280
DropReplicationSlot 554
StartReplication 556
ProcessPendingWrites 632
StartLogicalReplication 872
CreateReplicationSlot 972
parseCreateReplSlotOptions 972
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1408
pg_stat_get_wal_senders 1512
IdentifySystem 1516
WalSndGetStateString 1798
GetStandbyFlushRecPtr 1940
WalSndShmemInit 2280
InitWalSender 2422
InitWalSenderSlot 2422
WalSndKill 2422
WalSndSignals 2424
offset_to_interval 2540
WalSndUpdateProgress 5036
WalSndShmemSize 8814
WalSndSegmentOpen 8966
ProcessStandbyPSRequestMessage 10384
exec_replication_command 10972
WalSndKeepalive 12216
WalSndDone 20242
NeedToWaitForStandbys 34696
WalSndWaitForWal 35156
logical_read_xlog_page 35156
WalSndSetState 38950
NeedToWaitForWal 53900
PhysicalWakeupLogicalWalSnd 58410
PhysicalConfirmReceivedLocation 131106
WalSndComputeSleeptime 205312
WalSndWait 205312
ProcessStandbyReplyMessage 249960
ProcessStandbyMessage 260624
LagTrackerWrite 286232
XLogSendPhysical 307404
WalSndPrepareWrite 370216
WalSndWriteData 370216
LagTrackerRead 749880
XLogSendLogical 1671330
WalSndCheckTimeOut 2094802
WalSndKeepaliveIfNecessary 2094802
WalSndHandleConfigReload 2105582
ProcessRepliesIfAny 2106214
WalSndWakeup 5484510

Generated by: LCOV version 1.16