LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1266 1395 90.8 %
Date: 2025-12-06 23:18: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
SendTimeLineHistory 22
UploadManifest 22
WalSndShutdown 24
WalSndRqstFileReload 56
HandleWalSndInitStopping 74
WalSndLastCycleHandler 74
HandleUploadManifestPacket 86
WalSndErrorCleanup 98
PhysicalReplicationSlotNewXmin 126
TransactionIdInRecentPast 134
ProcessStandbyHSFeedbackMessage 258
ProcessPendingWrites 428
StartReplication 518
DropReplicationSlot 550
StartLogicalReplication 820
CreateReplicationSlot 944
parseCreateReplSlotOptions 944
WalSndInitStopping 1316
WalSndWaitStopping 1316
WalSndLoop 1318
IdentifySystem 1410
GetStandbyFlushRecPtr 1624
pg_stat_get_wal_senders 1666
WalSndGetStateString 1932
WalSndShmemInit 2208
InitWalSender 2310
InitWalSenderSlot 2310
WalSndKill 2310
WalSndSignals 2310
offset_to_interval 3036
WalSndUpdateProgress 5026
ProcessStandbyPSRequestMessage 5094
WalSndSegmentOpen 6412
WalSndShmemSize 8532
exec_replication_command 10588
WalSndKeepalive 12390
WalSndDone 19760
NeedToWaitForStandbys 29618
WalSndWaitForWal 30176
logical_read_xlog_page 30176
WalSndSetState 40418
NeedToWaitForWal 43124
PhysicalWakeupLogicalWalSnd 49312
PhysicalConfirmReceivedLocation 101572
WalSndComputeSleeptime 123446
WalSndWait 123446
ProcessStandbyReplyMessage 187830
ProcessStandbyMessage 193182
LagTrackerWrite 234934
XLogSendPhysical 252302
WalSndPrepareWrite 369948
WalSndWriteData 369948
LagTrackerRead 563490
XLogSendLogical 1670622
WalSndCheckTimeOut 2010530
WalSndKeepaliveIfNecessary 2010530
ProcessRepliesIfAny 2019150
WalSndWakeup 5385938

Generated by: LCOV version 1.16