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

Generated by: LCOV version 2.0-1