LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19devel Lines: 91.3 % 1428 1304
Test Date: 2026-04-07 14:16:30 Functions: 100.0 % 63 63
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
AlterReplicationSlot 7
CreateReplicationSlot 511
DropReplicationSlot 297
GetStandbyFlushRecPtr 961
HandleUploadManifestPacket 48
HandleWalSndInitStopping 47
IdentifySystem 800
InitWalSender 1282
InitWalSenderSlot 1282
LagTrackerRead 335370
LagTrackerWrite 138163
NeedToWaitForStandbys 15148
NeedToWaitForWal 28862
PhysicalConfirmReceivedLocation 88833
PhysicalReplicationSlotNewXmin 70
PhysicalWakeupLogicalWalSnd 39877
ProcessPendingWrites 514
ProcessRepliesIfAny 1008654
ProcessStandbyHSFeedbackMessage 150
ProcessStandbyMessage 120748
ProcessStandbyPSRequestMessage 8808
ProcessStandbyReplyMessage 111790
ReadReplicationSlot 6
SendTimeLineHistory 14
StartLogicalReplication 472
StartReplication 292
TransactionIdInRecentPast 72
UploadManifest 12
WalSndCheckShutdownTimeout 1003946
WalSndCheckTimeOut 1003946
WalSndComputeSleeptime 101551
WalSndDone 1369
WalSndDoneImmediate 3
WalSndErrorCleanup 50
WalSndGetStateString 608
WalSndHandleConfigReload 1008140
WalSndInitStopping 759
WalSndKeepalive 2157
WalSndKeepaliveIfNecessary 1003943
WalSndKill 1282
WalSndLastCycleHandler 47
WalSndLoop 753
WalSndPrepareWrite 205971
WalSndRqstFileReload 29
WalSndSegmentOpen 3455
WalSndSetState 3411
WalSndShmemInit 1231
WalSndShmemRequest 1234
WalSndShutdown 15
WalSndSignals 1282
WalSndUpdateProgress 3136
WalSndWait 101551
WalSndWaitForWal 15515
WalSndWaitStopping 759
WalSndWakeup 2843425
WalSndWriteData 205971
XLogSendLogical 775917
XLogSendPhysical 175182
exec_replication_command 5815
logical_read_xlog_page 15515
offset_to_interval 1464
parseCreateReplSlotOptions 511
pg_stat_get_wal_senders 471

Generated by: LCOV version 2.0-1