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-15 06:17:48 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
WalSndShutdown 38
WalSndRqstFileReload 56
WalSndLastCycleHandler 72
HandleWalSndInitStopping 80
HandleUploadManifestPacket 86
WalSndErrorCleanup 96
PhysicalReplicationSlotNewXmin 132
TransactionIdInRecentPast 142
ProcessStandbyHSFeedbackMessage 292
DropReplicationSlot 556
StartReplication 560
ProcessPendingWrites 562
StartLogicalReplication 836
CreateReplicationSlot 966
parseCreateReplSlotOptions 966
WalSndInitStopping 1364
WalSndWaitStopping 1364
WalSndLoop 1376
IdentifySystem 1476
pg_stat_get_wal_senders 1520
WalSndGetStateString 1796
GetStandbyFlushRecPtr 1882
WalSndShmemInit 2272
InitWalSender 2384
InitWalSenderSlot 2384
WalSndKill 2384
WalSndSignals 2384
offset_to_interval 2746
ProcessStandbyPSRequestMessage 3300
WalSndSegmentOpen 4916
WalSndUpdateProgress 5106
WalSndKeepalive 8146
WalSndShmemSize 8782
WalSndDone 9726
exec_replication_command 10844
NeedToWaitForStandbys 21788
WalSndSetState 22032
WalSndWaitForWal 22326
logical_read_xlog_page 22326
NeedToWaitForWal 34118
PhysicalWakeupLogicalWalSnd 45272
PhysicalConfirmReceivedLocation 95944
WalSndComputeSleeptime 117014
WalSndWait 117014
ProcessStandbyReplyMessage 210950
ProcessStandbyMessage 214542
LagTrackerWrite 228286
XLogSendPhysical 240278
WalSndPrepareWrite 370116
WalSndWriteData 370116
LagTrackerRead 632850
XLogSendLogical 1148408
WalSndCheckTimeOut 1470984
WalSndKeepaliveIfNecessary 1470984
ProcessRepliesIfAny 1478446
WalSndWakeup 5451268

Generated by: LCOV version 1.16