LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 92.1 % 1448 1333
Test Date: 2026-09-21 10:15:41 Functions: 100.0 % 63 63
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 70.3 % 852 599

Function Name Sort by function name Hit count Sort by function hit count
AlterReplicationSlot 7
CreateReplicationSlot 540
DropReplicationSlot 306
GetStandbyFlushRecPtr 1447
HandleUploadManifestPacket 51
HandleWalSndInitStopping 52
IdentifySystem 870
InitWalSender 1366
InitWalSenderSlot 1366
LagTrackerRead 325623
LagTrackerWrite 137600
NeedToWaitForStandbys 23830
NeedToWaitForWal 36430
PhysicalConfirmReceivedLocation 84428
PhysicalReplicationSlotNewXmin 73
PhysicalWakeupLogicalWalSnd 37814
ProcessPendingWrites 510
ProcessRepliesIfAny 1016258
ProcessStandbyHSFeedbackMessage 170
ProcessStandbyMessage 116084
ProcessStandbyPSRequestMessage 7373
ProcessStandbyReplyMessage 108541
ReadReplicationSlot 6
SendTimeLineHistory 16
StartLogicalReplication 486
StartReplication 332
TransactionIdInRecentPast 77
UploadManifest 13
WalSndCheckShutdownTimeout 1008321
WalSndCheckTimeOut 1008225
WalSndComputeSleeptime 96863
WalSndDone 2524
WalSndDoneImmediate 3
WalSndErrorCleanup 53
WalSndGetStateString 620
WalSndHandleConfigReload 1015748
WalSndInitStopping 807
WalSndKeepalive 2103
WalSndKeepaliveIfNecessary 1008222
WalSndKill 1366
WalSndLastCycleHandler 52
WalSndLoop 808
WalSndPrepareWrite 205817
WalSndRqstFileReload 29
WalSndSegmentOpen 6629
WalSndSetState 2784
WalSndShmemInit 1308
WalSndShmemRequest 1311
WalSndShutdown 11
WalSndSignals 1366
WalSndUpdateProgress 3253
WalSndWait 96863
WalSndWaitForWal 24217
WalSndWaitStopping 807
WalSndWakeup 2825414
WalSndWriteData 205817
XLogSendLogical 787278
XLogSendPhysical 173988
exec_replication_command 6137
logical_read_xlog_page 24217
offset_to_interval 1464
parseCreateReplSlotOptions 540
pg_stat_get_wal_senders 481

Generated by: LCOV version 2.0-1