LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 91.7 % 1471 1349
Test Date: 2026-11-25 14:16:11 Functions: 100.0 % 63 63
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 70.5 % 874 616

Function Name Sort by function name Hit count Sort by function hit count
WalSndDoneImmediate 4
ReadReplicationSlot 6
AlterReplicationSlot 7
WalSndShutdown 12
UploadManifest 17
SendTimeLineHistory 18
WalSndRqstFileReload 30
HandleWalSndInitStopping 56
WalSndLastCycleHandler 56
WalSndErrorCleanup 59
HandleUploadManifestPacket 67
PhysicalReplicationSlotNewXmin 69
TransactionIdInRecentPast 71
ProcessStandbyHSFeedbackMessage 173
DropReplicationSlot 317
StartReplication 345
pg_stat_get_wal_senders 506
ProcessPendingWrites 556
CreateReplicationSlot 564
parseCreateReplSlotOptions 564
StartLogicalReplication 568
WalSndGetStateString 670
WalSndInitStopping 840
WalSndWaitStopping 840
WalSndLoop 901
IdentifySystem 970
WalSndShmemInit 1359
WalSndShmemRequest 1363
InitWalSender 1497
InitWalSenderSlot 1497
WalSndKill 1497
WalSndSignals 1498
offset_to_interval 1635
GetStandbyFlushRecPtr 1766
WalSndKeepalive 2935
WalSndSetState 3308
WalSndDone 3673
WalSndUpdateProgress 4304
exec_replication_command 6620
WalSndSegmentOpen 8698
ProcessStandbyPSRequestMessage 9182
NeedToWaitForStandbys 30893
WalSndWaitForWal 31316
logical_read_xlog_page 31316
PhysicalWakeupLogicalWalSnd 40685
NeedToWaitForWal 45948
PhysicalConfirmReceivedLocation 90646
WalSndComputeSleeptime 105883
WalSndWait 105883
ProcessStandbyReplyMessage 114708
ProcessStandbyMessage 124063
LagTrackerWrite 143680
XLogSendPhysical 169406
WalSndPrepareWrite 206378
WalSndWriteData 206378
LagTrackerRead 344124
XLogSendLogical 828844
WalSndKeepaliveIfNecessary 1049738
WalSndCheckTimeOut 1049742
WalSndCheckShutdownTimeout 1049846
WalSndHandleConfigReload 1059542
ProcessRepliesIfAny 1060097
WalSndWakeup 2886691

Generated by: LCOV version 2.0-1