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

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