LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1281 1396 91.8 %
Date: 2026-01-21 05:17:13 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
WalSndShutdown 52
WalSndRqstFileReload 56
WalSndLastCycleHandler 74
HandleWalSndInitStopping 80
HandleUploadManifestPacket 94
WalSndErrorCleanup 100
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 136
ProcessStandbyHSFeedbackMessage 290
DropReplicationSlot 554
StartReplication 564
ProcessPendingWrites 604
StartLogicalReplication 852
CreateReplicationSlot 968
parseCreateReplSlotOptions 968
WalSndInitStopping 1372
WalSndWaitStopping 1372
WalSndLoop 1396
IdentifySystem 1504
pg_stat_get_wal_senders 1526
WalSndGetStateString 1842
GetStandbyFlushRecPtr 1962
WalSndShmemInit 2278
InitWalSender 2408
InitWalSenderSlot 2408
WalSndKill 2408
WalSndSignals 2408
offset_to_interval 2724
WalSndUpdateProgress 5074
WalSndShmemSize 8806
exec_replication_command 10906
ProcessStandbyPSRequestMessage 17236
WalSndKeepalive 21308
WalSndSetState 25602
WalSndDone 31680
WalSndSegmentOpen 45272
PhysicalWakeupLogicalWalSnd 58060
NeedToWaitForStandbys 103184
WalSndWaitForWal 103692
logical_read_xlog_page 103692
PhysicalConfirmReceivedLocation 127218
NeedToWaitForWal 129222
WalSndComputeSleeptime 206808
WalSndWait 206808
ProcessStandbyReplyMessage 246776
LagTrackerWrite 257678
ProcessStandbyMessage 264302
XLogSendPhysical 291844
WalSndPrepareWrite 376096
WalSndWriteData 376096
LagTrackerRead 740328
XLogSendLogical 1280034
WalSndCheckTimeOut 1698512
WalSndKeepaliveIfNecessary 1698512
ProcessRepliesIfAny 1746196
WalSndWakeup 5485344

Generated by: LCOV version 1.16