LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlogrecovery.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 87.7 % 1435 1258
Test Date: 2026-11-23 22:16:20 Functions: 100.0 % 68 68
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 66.7 % 1165 777

Function Name Sort by function name Hit count Sort by function hit count
XLogRequestWalReceiverReply 3
recoveryPausesHere 9
checkTimeLineSwitch 15
StartupRequestWalReceiverRestart 16
ConfirmRecoveryPaused 21
GetXLogReceiptTime 28
GetRecoveryPauseState 40
HotStandbyActiveInReplay 41
SetPromoteIsTriggered 59
SetRecoveryPause 76
PromoteIsTriggered 93
read_tablespace_map 102
EnableStandbyMode 135
SetRecoverySubtransInitialized 138
CheckTablespaceDirectory 150
HotStandbyActive 198
rm_redo_error_callback 199
xlog_block_info 199
xlog_outdesc 199
RecoverySubtransInitialized 215
rescanLatestTimeLine 240
PerformWalRecovery 258
GetCurrentChunkReplayStartTime 293
emode_for_corrupt_record 332
GetLatestXTime 390
RecoveryRequiresIntParameter 810
CheckPromoteSignal 825
FinishWalRecovery 1101
ShutdownWalRecovery 1101
getRecoveryStopReason 1101
RemovePromoteSignalFiles 1146
ReadCheckpointRecord 1180
read_backup_label 1180
DetermineRecoveryTargetType 1183
InitWalRecovery 1183
readRecoverySignalFile 1183
validateRecoveryParameters 1183
XLogRecoveryShmemInit 1358
XLogRecoveryShmemRequest 1362
assign_recovery_target_timeline 1405
check_recovery_target 1406
check_recovery_target_time 1408
check_recovery_target_timeline 1408
assign_recovery_target_xid 1410
assign_recovery_target_lsn 1413
check_recovery_target_lsn 1413
check_recovery_target_name 1413
check_recovery_target_xid 1413
check_primary_slot_name 1594
XLogFileReadAnyTLI 2123
XLogFileRead 3986
GetCurrentReplayRecPtr 7082
SetCurrentChunkStartTime 13305
CheckForStandbyTrigger 17144
WaitForWALToBecomeAvailable 20602
SetLatestXTime 24471
WakeupRecovery 44135
getRecordTimestamp 48976
GetXLogReplayRecPtr 112054
xlogrecovery_redo 118661
XLogPageRead 1543020
verifyBackupPageConsistency 2282570
recoveryStopsAfter 2979195
ApplyWalRecord 2979197
recoveryApplyDelay 2979197
recoveryStopsBefore 2979200
CheckRecoveryConsistency 2979454
ReadRecord 2981878

Generated by: LCOV version 2.0-1