LCOV - code coverage report
Current view: top level - src/backend/replication - walsender.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 92.2 % 1465 1351
Test Date: 2026-11-05 01:15:59 Functions: 100.0 % 63 63
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 71.2 % 868 618

Function Name Sort by function name Hit count Sort by function hit count
AlterReplicationSlot 7
CreateReplicationSlot 550
DropReplicationSlot 309
GetStandbyFlushRecPtr 1799
HandleUploadManifestPacket 67
HandleWalSndInitStopping 53
IdentifySystem 926
InitWalSender 1437
InitWalSenderSlot 1437
LagTrackerRead 332823
LagTrackerWrite 139059
NeedToWaitForStandbys 34603
NeedToWaitForWal 48712
PhysicalConfirmReceivedLocation 87938
PhysicalReplicationSlotNewXmin 73
PhysicalWakeupLogicalWalSnd 39431
ProcessPendingWrites 541
ProcessRepliesIfAny 1049838
ProcessStandbyHSFeedbackMessage 174
ProcessStandbyMessage 119727
ProcessStandbyPSRequestMessage 8612
ProcessStandbyReplyMessage 110941
ReadReplicationSlot 6
SendTimeLineHistory 18
StartLogicalReplication 528
StartReplication 341
TransactionIdInRecentPast 77
UploadManifest 17
WalSndCheckShutdownTimeout 1037132
WalSndCheckTimeOut 1037034
WalSndComputeSleeptime 103122
WalSndDone 4824
WalSndDoneImmediate 3
WalSndErrorCleanup 60
WalSndGetStateString 637
WalSndHandleConfigReload 1049297
WalSndInitStopping 824
WalSndKeepalive 3639
WalSndKeepaliveIfNecessary 1037031
WalSndKill 1437
WalSndLastCycleHandler 53
WalSndLoop 857
WalSndPrepareWrite 205854
WalSndRqstFileReload 29
WalSndSegmentOpen 11835
WalSndSetState 2917
WalSndShmemInit 1331
WalSndShmemRequest 1335
WalSndShutdown 15
WalSndSignals 1437
WalSndUpdateProgress 3979
WalSndWait 103122
WalSndWaitForWal 35000
WalSndWaitStopping 824
WalSndWakeup 2838233
WalSndWriteData 205854
XLogSendLogical 806563
XLogSendPhysical 180331
exec_replication_command 6382
logical_read_xlog_page 35000
offset_to_interval 1551
parseCreateReplSlotOptions 550
pg_stat_get_wal_senders 496

Generated by: LCOV version 2.0-1