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 17:13:01 Functions: 94.2 % 69 65 4 51 14 3 63 1 2
Baseline: 15 Line coverage date bins:
Baseline Date: 2023-04-08 15:09:40 [..60] days: 100.0 % 2 2 2
View type: Flat (60,120] days: 100.0 % 9 9 5 4 5
Legend: Lines: hit not hit (120,180] days: 100.0 % 3 3 1 1 1 1
(180,240] days: 77.5 % 129 100 28 1 6 92 2 6
(240..) days: 80.4 % 1267 1019 6 52 163 27 42 681 2 294 171 648
Function coverage date bins:
(60,120] days: 50.0 % 2 1 1 1
(180,240] days: 100.0 % 14 14 14
(240..) days: 46.3 % 108 50 4 50 3 51

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 UIC 0 0.0 % (0 / 5)
XLogRequestWalReceiverReply UIC 0 0.0 % (0 / 3)
verifyBackupPageConsistency EUB 0
error_multiple_recovery_targets ECB 1
recoveryPausesHere GIC 2 80.0 % (12 / 15)
ConfirmRecoveryPaused GNC 5 100.0 % (6 / 6)
ConfirmRecoveryPaused GIC 5
SetRecoveryPause ECB 39
checkTimeLineSwitch GIC 9 70.0 % (7 / 10)
GetRecoveryPauseState GIC 11 100.0 % (5 / 5)
GetXLogReceiptTime ECB 29
SetPromoteIsTriggered GIC 36 100.0 % (7 / 7)
SetRecoveryPause GNC 39 100.0 % (10 / 10)
GetRecoveryPauseState ECB 11
SetRecoveryPause GIC 39
PromoteIsTriggered GIC 42 100.0 % (7 / 7)
read_tablespace_map GIC 51 82.9 % (29 / 35)
EnableStandbyMode GIC 68 100.0 % (4 / 4)
CheckTablespaceDirectory GIC 75 100.0 % (9 / 9)
HotStandbyActive ECB 125
rescanLatestTimeLine GIC 125 84.0 % (21 / 25)
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 GIC 151 85.1 % (63 / 74)
emode_for_corrupt_record ECB 187
RecoveryRequiresIntParameter ECB 375
GetCurrentChunkReplayStartTime ECB 606
CheckPromoteSignal ECB 607
RemovePromoteSignalFiles ECB 629
FinishWalRecovery GIC 1142 100.0 % (39 / 39)
ShutdownWalRecovery ECB 1142
getRecoveryStopReason ECB 1142
InitWalRecovery ECB 1176
ReadCheckpointRecord GIC 1176 52.4 % (11 / 21)
readRecoverySignalFile ECB 1176
read_backup_label ECB 1176
validateRecoveryParameters ECB 1176
XLogFileReadAnyTLI ECB 1542
XLogRecoveryShmemInit ECB 1826
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 ECB 1858
check_recovery_target ECB 1858
check_recovery_target_lsn ECB 1858
check_recovery_target_timeline ECB 1858
check_recovery_target_xid GNC 1858 90.0 % (9 / 10)
assign_recovery_target_time ECB 1860
check_recovery_target_time GNC 1860 75.0 % (15 / 20)
assign_recovery_target_name ECB 1864
check_recovery_target_name ECB 1864
check_primary_slot_name ECB 1944
XLogFileRead ECB 2018
XLogRecoveryShmemSize GIC 4564 100.0 % (3 / 3)
GetCurrentReplayRecPtr ECB 6048
SetCurrentChunkStartTime ECB 12659
CheckForStandbyTrigger GIC 13259 100.0 % (10 / 10)
WaitForWALToBecomeAvailable ECB 15263
SetLatestXTime GIC 18179 100.0 % (5 / 5)
WakeupRecovery ECB 19191
xlogrecovery_redo GIC 28161 94.7 % (18 / 19)
getRecordTimestamp ECB 36360
GetXLogReplayRecPtr GIC 54667 100.0 % (8 / 8)
XLogPageRead ECB 82351
recoveryStopsAfter GIC 2504086 57.8 % (37 / 64)
ApplyWalRecord ECB 2504088
recoveryApplyDelay ECB 2504088
recoveryStopsBefore GIC 2504088 53.3 % (32 / 60)
CheckRecoveryConsistency ECB 2504239
ReadRecord GIC 2506604 88.9 % (40 / 45)

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