LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1275 1396 91.3 %
Date: 2026-01-25 17:17:18 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 24
SendTimeLineHistory 26
WalSndRqstFileReload 56
WalSndShutdown 56
WalSndLastCycleHandler 74
HandleWalSndInitStopping 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 140
ProcessStandbyHSFeedbackMessage 286
DropReplicationSlot 552
StartReplication 558
ProcessPendingWrites 608
StartLogicalReplication 852
CreateReplicationSlot 972
parseCreateReplSlotOptions 972
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1390
IdentifySystem 1496
pg_stat_get_wal_senders 1658
GetStandbyFlushRecPtr 1920
WalSndGetStateString 1956
WalSndShmemInit 2278
InitWalSender 2404
InitWalSenderSlot 2404
WalSndKill 2404
WalSndSignals 2404
offset_to_interval 2956
WalSndUpdateProgress 4980
WalSndDone 7588
WalSndKeepalive 7826
WalSndShmemSize 8806
WalSndSegmentOpen 8898
exec_replication_command 10918
WalSndSetState 13750
ProcessStandbyPSRequestMessage 14556
NeedToWaitForStandbys 29536
WalSndWaitForWal 30042
logical_read_xlog_page 30042
NeedToWaitForWal 52778
PhysicalWakeupLogicalWalSnd 57104
PhysicalConfirmReceivedLocation 116664
WalSndComputeSleeptime 145388
WalSndWait 145388
LagTrackerWrite 217916
XLogSendPhysical 218364
ProcessStandbyReplyMessage 232190
ProcessStandbyMessage 247032
WalSndPrepareWrite 370252
WalSndWriteData 370252
LagTrackerRead 696570
XLogSendLogical 1154870
WalSndCheckTimeOut 1493862
WalSndKeepaliveIfNecessary 1493862
ProcessRepliesIfAny 1505088
WalSndWakeup 5470668

Generated by: LCOV version 1.16