LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1275 1391 91.7 %
Date: 2025-10-10 20:17:27 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 28
WalSndRqstFileReload 56
WalSndLastCycleHandler 68
WalSndShutdown 70
HandleWalSndInitStopping 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 124
TransactionIdInRecentPast 134
ProcessStandbyHSFeedbackMessage 272
StartReplication 520
DropReplicationSlot 542
ProcessPendingWrites 566
StartLogicalReplication 850
CreateReplicationSlot 936
parseCreateReplSlotOptions 936
WalSndInitStopping 1300
WalSndWaitStopping 1300
WalSndLoop 1350
IdentifySystem 1442
pg_stat_get_wal_senders 1518
GetStandbyFlushRecPtr 1712
WalSndGetStateString 1812
WalSndShmemInit 2180
InitWalSender 2322
InitWalSenderSlot 2322
WalSndKill 2322
WalSndSignals 2322
offset_to_interval 2354
WalSndSegmentOpen 4622
WalSndUpdateProgress 4914
WalSndKeepalive 8004
WalSndShmemSize 8420
WalSndDone 10086
exec_replication_command 10548
ProcessStandbyPSRequestMessage 21086
WalSndSetState 22806
NeedToWaitForStandbys 26148
WalSndWaitForWal 26636
logical_read_xlog_page 26636
NeedToWaitForWal 55812
PhysicalWakeupLogicalWalSnd 56646
PhysicalConfirmReceivedLocation 119998
WalSndComputeSleeptime 147356
WalSndWait 147356
LagTrackerWrite 231332
ProcessStandbyReplyMessage 235594
ProcessStandbyMessage 256952
WalSndPrepareWrite 369984
WalSndWriteData 369984
XLogSendPhysical 563982
LagTrackerRead 706782
XLogSendLogical 1672614
WalSndCheckTimeOut 2341604
WalSndKeepaliveIfNecessary 2341604
ProcessRepliesIfAny 2348542
WalSndWakeup 5375914

Generated by: LCOV version 1.16