LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1280 1396 91.7 %
Date: 2026-01-10 07:17:08 Functions: 60 60 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ReadReplicationSlot 12
AlterReplicationSlot 14
UploadManifest 22
SendTimeLineHistory 26
WalSndRqstFileReload 58
WalSndShutdown 60
HandleWalSndInitStopping 80
WalSndLastCycleHandler 80
HandleUploadManifestPacket 86
WalSndErrorCleanup 100
PhysicalReplicationSlotNewXmin 132
TransactionIdInRecentPast 144
ProcessStandbyHSFeedbackMessage 288
ProcessPendingWrites 534
DropReplicationSlot 554
StartReplication 556
StartLogicalReplication 856
CreateReplicationSlot 964
parseCreateReplSlotOptions 964
WalSndInitStopping 1364
WalSndWaitStopping 1364
WalSndLoop 1392
IdentifySystem 1490
pg_stat_get_wal_senders 1576
WalSndGetStateString 1858
GetStandbyFlushRecPtr 1908
WalSndShmemInit 2272
InitWalSender 2396
InitWalSenderSlot 2396
WalSndKill 2396
WalSndSignals 2396
offset_to_interval 2710
WalSndUpdateProgress 5092
WalSndKeepalive 6296
WalSndDone 7816
WalSndShmemSize 8782
WalSndSegmentOpen 9750
exec_replication_command 10868
WalSndSetState 13308
ProcessStandbyPSRequestMessage 17392
NeedToWaitForStandbys 30220
WalSndWaitForWal 30698
logical_read_xlog_page 30698
PhysicalWakeupLogicalWalSnd 51896
NeedToWaitForWal 56264
PhysicalConfirmReceivedLocation 109558
WalSndComputeSleeptime 144494
WalSndWait 144494
ProcessStandbyReplyMessage 215002
LagTrackerWrite 222748
ProcessStandbyMessage 232682
XLogSendPhysical 235066
WalSndPrepareWrite 370148
WalSndWriteData 370148
LagTrackerRead 645006
XLogSendLogical 1040856
WalSndCheckTimeOut 1389938
WalSndKeepaliveIfNecessary 1389938
ProcessRepliesIfAny 1402024
WalSndWakeup 5458456

Generated by: LCOV version 1.16