LCOV - differential code coverage report
Current view: top level - src/backend/access/transam - xlogrecovery.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 80.4 % 1410 1133 146 52 164 27 42 693 97 301 171 660 10 35
Current Date: 2023-04-08 15:15:32 Functions: 94.2 % 69 65 4 51 14 3 63 1 2
Baseline: 15
Baseline Date: 2023-04-08 15:09:40
Legend: Lines: hit not hit

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
HotStandbyActiveInReplay EUB 0
StartupRequestWalReceiverRestart EUB 0
XLogRequestWalReceiverReply UIC 0 0.0 % (0 / 3)
verifyBackupPageConsistency UIC 0 0.0 % (0 / 27)
error_multiple_recovery_targets GNC 1 100.0 % (2 / 2)
recoveryPausesHere ECB 2
ConfirmRecoveryPaused ECB 5
checkTimeLineSwitch GIC 9 70.0 % (7 / 10)
GetRecoveryPauseState GIC 11 100.0 % (5 / 5)
GetXLogReceiptTime GIC 29 100.0 % (5 / 5)
SetPromoteIsTriggered GIC 36 100.0 % (7 / 7)
SetRecoveryPause GNC 39 100.0 % (10 / 10)
GetRecoveryPauseState ECB 11
SetRecoveryPause GIC 39
PromoteIsTriggered ECB 42
read_tablespace_map ECB 51
EnableStandbyMode GIC 68 100.0 % (4 / 4)
CheckTablespaceDirectory ECB 75
HotStandbyActive GIC 125 100.0 % (7 / 7)
GetLatestXTime GIC 136 100.0 % (5 / 5)
rm_redo_error_callback GIC 143 100.0 % (9 / 9)
xlog_block_info GIC 143 90.0 % (9 / 10)
xlog_outdesc ECB 143
PerformWalRecovery ECB 151
emode_for_corrupt_record GIC 187 100.0 % (6 / 6)
RecoveryRequiresIntParameter GIC 375 16.7 % (3 / 18)
GetCurrentChunkReplayStartTime ECB 606
CheckPromoteSignal GIC 607 100.0 % (4 / 4)
RemovePromoteSignalFiles ECB 629
FinishWalRecovery GIC 1142 100.0 % (39 / 39)
ShutdownWalRecovery ECB 1142
getRecoveryStopReason GIC 1142 52.9 % (9 / 17)
InitWalRecovery GIC 1176 88.6 % (132 / 149)
readRecoverySignalFile GIC 1176 93.1 % (27 / 29)
read_backup_label ECB 1176
validateRecoveryParameters ECB 1176
XLogFileReadAnyTLI ECB 1542
XLogRecoveryShmemInit GIC 1826 88.9 % (8 / 9)
assign_recovery_target ECB 1858
assign_recovery_target_lsn GNC 1858 77.8 % (7 / 9)
assign_recovery_target_timeline ECB 1858
assign_recovery_target_xid GNC 1858 77.8 % (7 / 9)
check_recovery_target ECB 1858
check_recovery_target_lsn GNC 1858 90.0 % (9 / 10)
check_recovery_target_timeline GNC 1858 53.3 % (8 / 15)
check_recovery_target_xid GNC 1858 90.0 % (9 / 10)
assign_recovery_target_time GNC 1860 100.0 % (8 / 8)
check_recovery_target_time ECB 1860
assign_recovery_target_name ECB 1864
check_recovery_target_name GNC 1864 60.0 % (3 / 5)
check_primary_slot_name ECB 1944
XLogFileRead ECB 2018
XLogRecoveryShmemSize ECB 4564
GetCurrentReplayRecPtr GIC 6048 100.0 % (8 / 8)
SetCurrentChunkStartTime GIC 12659 100.0 % (5 / 5)
CheckForStandbyTrigger GIC 13259 100.0 % (10 / 10)
WaitForWALToBecomeAvailable GIC 15263 89.8 % (114 / 127)
SetLatestXTime GIC 18179 100.0 % (5 / 5)
WakeupRecovery ECB 19191
xlogrecovery_redo ECB 28161
getRecordTimestamp GIC 36360 92.9 % (13 / 14)
GetXLogReplayRecPtr GIC 54667 100.0 % (8 / 8)
XLogPageRead ECB 82351
recoveryStopsAfter ECB 2504086
ApplyWalRecord ECB 2504088
recoveryApplyDelay GIC 2504088 10.3 % (3 / 29)
recoveryStopsBefore ECB 2504088
CheckRecoveryConsistency ECB 2504239
ReadRecord ECB 2506604

Generated by: LCOV version v1.16-55-g56c0a2a