LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlogrecovery.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 87.4 % 1431 1250
Test Date: 2026-10-29 00:16:02 Functions: 98.5 % 68 67
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 66.5 % 1159 771

Function Name Sort by function name Hit count Sort by function hit count
HotStandbyActiveInReplay 0
XLogRequestWalReceiverReply 3
recoveryPausesHere 9
StartupRequestWalReceiverRestart 15
checkTimeLineSwitch 15
ConfirmRecoveryPaused 21
GetXLogReceiptTime 28
GetRecoveryPauseState 39
SetPromoteIsTriggered 58
SetRecoveryPause 74
PromoteIsTriggered 90
read_tablespace_map 99
EnableStandbyMode 134
SetRecoverySubtransInitialized 136
CheckTablespaceDirectory 146
HotStandbyActive 196
rm_redo_error_callback 200
xlog_block_info 200
xlog_outdesc 200
RecoverySubtransInitialized 213
rescanLatestTimeLine 228
PerformWalRecovery 251
GetCurrentChunkReplayStartTime 275
emode_for_corrupt_record 328
GetLatestXTime 381
RecoveryRequiresIntParameter 800
CheckPromoteSignal 845
FinishWalRecovery 1077
ShutdownWalRecovery 1077
getRecoveryStopReason 1077
RemovePromoteSignalFiles 1123
ReadCheckpointRecord 1156
read_backup_label 1156
DetermineRecoveryTargetType 1159
InitWalRecovery 1159
readRecoverySignalFile 1159
validateRecoveryParameters 1159
XLogRecoveryShmemInit 1328
XLogRecoveryShmemRequest 1332
assign_recovery_target_timeline 1375
check_recovery_target 1376
check_recovery_target_time 1378
check_recovery_target_timeline 1378
assign_recovery_target_xid 1380
assign_recovery_target_lsn 1381
check_recovery_target_lsn 1381
check_recovery_target_xid 1382
check_recovery_target_name 1383
check_primary_slot_name 1565
XLogFileReadAnyTLI 2078
XLogFileRead 3897
GetCurrentReplayRecPtr 6673
SetCurrentChunkStartTime 12745
CheckForStandbyTrigger 16256
WaitForWALToBecomeAvailable 19709
SetLatestXTime 23286
WakeupRecovery 42660
getRecordTimestamp 46606
GetXLogReplayRecPtr 114062
xlogrecovery_redo 117926
XLogPageRead 1503775
verifyBackupPageConsistency 2238461
recoveryStopsAfter 2931103
ApplyWalRecord 2931105
recoveryApplyDelay 2931105
recoveryStopsBefore 2931107
CheckRecoveryConsistency 2931355
ReadRecord 2933727

Generated by: LCOV version 2.0-1