LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1280 1396 91.7 %
Date: 2025-12-27 19:17:36 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 24
WalSndRqstFileReload 58
WalSndShutdown 58
HandleWalSndInitStopping 80
WalSndLastCycleHandler 80
HandleUploadManifestPacket 86
WalSndErrorCleanup 100
PhysicalReplicationSlotNewXmin 130
TransactionIdInRecentPast 138
ProcessStandbyHSFeedbackMessage 278
StartReplication 542
DropReplicationSlot 556
ProcessPendingWrites 640
StartLogicalReplication 856
CreateReplicationSlot 962
parseCreateReplSlotOptions 962
WalSndInitStopping 1364
WalSndWaitStopping 1364
WalSndLoop 1378
IdentifySystem 1472
pg_stat_get_wal_senders 1626
WalSndGetStateString 1920
GetStandbyFlushRecPtr 1930
WalSndShmemInit 2266
InitWalSender 2380
InitWalSenderSlot 2380
WalSndKill 2380
WalSndSignals 2380
offset_to_interval 2788
WalSndUpdateProgress 5244
WalSndSegmentOpen 6142
WalSndShmemSize 8758
WalSndKeepalive 9274
exec_replication_command 10826
WalSndDone 13432
ProcessStandbyPSRequestMessage 21108
WalSndSetState 28080
NeedToWaitForStandbys 29382
WalSndWaitForWal 29850
logical_read_xlog_page 29850
PhysicalWakeupLogicalWalSnd 55274
NeedToWaitForWal 59120
PhysicalConfirmReceivedLocation 120590
WalSndComputeSleeptime 198074
WalSndWait 198074
ProcessStandbyReplyMessage 233112
ProcessStandbyMessage 254498
XLogSendPhysical 257712
LagTrackerWrite 258104
WalSndPrepareWrite 376058
WalSndWriteData 376058
LagTrackerRead 699336
XLogSendLogical 1699480
WalSndCheckTimeOut 2095016
WalSndKeepaliveIfNecessary 2095016
ProcessRepliesIfAny 2103428
WalSndWakeup 5481332

Generated by: LCOV version 1.16