LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1262 1395 90.5 %
Date: 2025-12-02 09:18:03 Functions: 60 60 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AlterReplicationSlot 14
CreateReplicationSlot 948
DropReplicationSlot 550
GetStandbyFlushRecPtr 1634
HandleUploadManifestPacket 86
HandleWalSndInitStopping 76
IdentifySystem 1428
InitWalSender 2326
InitWalSenderSlot 2326
LagTrackerRead 639924
LagTrackerWrite 245088
NeedToWaitForStandbys 25960
NeedToWaitForWal 44662
PhysicalConfirmReceivedLocation 94412
PhysicalReplicationSlotNewXmin 128
PhysicalWakeupLogicalWalSnd 44864
ProcessPendingWrites 592
ProcessRepliesIfAny 2044546
ProcessStandbyHSFeedbackMessage 262
ProcessStandbyMessage 223626
ProcessStandbyPSRequestMessage 10056
ProcessStandbyReplyMessage 213308
ReadReplicationSlot 12
SendTimeLineHistory 22
StartLogicalReplication 830
StartReplication 524
TransactionIdInRecentPast 140
UploadManifest 22
WalSndCheckTimeOut 2037668
WalSndComputeSleeptime 131252
WalSndDone 18834
WalSndErrorCleanup 98
WalSndGetStateString 1750
WalSndInitStopping 1318
WalSndKeepalive 12622
WalSndKeepaliveIfNecessary 2037668
WalSndKill 2326
WalSndLastCycleHandler 74
WalSndLoop 1334
WalSndPrepareWrite 370068
WalSndRqstFileReload 56
WalSndSegmentOpen 4452
WalSndSetState 40452
WalSndShmemInit 2204
WalSndShmemSize 8516
WalSndShutdown 44
WalSndSignals 2326
WalSndUpdateProgress 5026
WalSndWait 131252
WalSndWaitForWal 26452
WalSndWaitStopping 1318
WalSndWakeup 5376048
WalSndWriteData 370068
XLogSendLogical 1676572
XLogSendPhysical 275942
exec_replication_command 10636
logical_read_xlog_page 26452
offset_to_interval 2490
parseCreateReplSlotOptions 948
pg_stat_get_wal_senders 1492

Generated by: LCOV version 1.16