LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 92.2 % 1465 1351
Test Date: 2026-11-05 01:15:59 Functions: 100.0 % 63 63
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 71.2 % 868 618

Function Name Sort by function name Hit count Sort by function hit count
WalSndDoneImmediate 3
ReadReplicationSlot 6
AlterReplicationSlot 7
WalSndShutdown 15
UploadManifest 17
SendTimeLineHistory 18
WalSndRqstFileReload 29
HandleWalSndInitStopping 53
WalSndLastCycleHandler 53
WalSndErrorCleanup 60
HandleUploadManifestPacket 67
PhysicalReplicationSlotNewXmin 73
TransactionIdInRecentPast 77
ProcessStandbyHSFeedbackMessage 174
DropReplicationSlot 309
StartReplication 341
pg_stat_get_wal_senders 496
StartLogicalReplication 528
ProcessPendingWrites 541
CreateReplicationSlot 550
parseCreateReplSlotOptions 550
WalSndGetStateString 637
WalSndInitStopping 824
WalSndWaitStopping 824
WalSndLoop 857
IdentifySystem 926
WalSndShmemInit 1331
WalSndShmemRequest 1335
InitWalSender 1437
InitWalSenderSlot 1437
WalSndKill 1437
WalSndSignals 1437
offset_to_interval 1551
GetStandbyFlushRecPtr 1799
WalSndSetState 2917
WalSndKeepalive 3639
WalSndUpdateProgress 3979
WalSndDone 4824
exec_replication_command 6382
ProcessStandbyPSRequestMessage 8612
WalSndSegmentOpen 11835
NeedToWaitForStandbys 34603
WalSndWaitForWal 35000
logical_read_xlog_page 35000
PhysicalWakeupLogicalWalSnd 39431
NeedToWaitForWal 48712
PhysicalConfirmReceivedLocation 87938
WalSndComputeSleeptime 103122
WalSndWait 103122
ProcessStandbyReplyMessage 110941
ProcessStandbyMessage 119727
LagTrackerWrite 139059
XLogSendPhysical 180331
WalSndPrepareWrite 205854
WalSndWriteData 205854
LagTrackerRead 332823
XLogSendLogical 806563
WalSndKeepaliveIfNecessary 1037031
WalSndCheckTimeOut 1037034
WalSndCheckShutdownTimeout 1037132
WalSndHandleConfigReload 1049297
ProcessRepliesIfAny 1049838
WalSndWakeup 2838233

Generated by: LCOV version 2.0-1