LCOV - differential code coverage report
Current view: top level - src/backend/access/transam - xlog.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: 88.4 % 2395 2116 28 63 167 21 51 1392 120 553 187 1428 20 72
Current Date: 2023-04-08 17:13:01 Functions: 99.1 % 116 115 1 106 9 112 1 3
Baseline: 15 Line coverage date bins:
Baseline Date: 2023-04-08 15:09:40 [..60] days: 86.7 % 30 26 4 26
View type: Flat (60,120] days: 50.0 % 4 2 1 1 1 1 1 2
Legend: Lines: hit not hit (120,180] days: 88.9 % 18 16 2 16
(180,240] days: 80.6 % 98 79 19 1 1 75 2 5
(240..) days: 88.8 % 2245 1993 2 62 167 21 50 1391 2 550 186 1394
Function coverage date bins:
[..60] days: 100.0 % 1 1 1
(180,240] days: 100.0 % 8 8 8
(240..) days: 49.5 % 214 106 1 106 107

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
CreateOverwriteContrecordRecord GIC 1 81.5 % (22 / 27)
GetMockAuthenticationNonce GNC 1 100.0 % (3 / 3)
GetMockAuthenticationNonce GIC 1
GetFakeLSNForUnloggedRel ECB 33
SwitchIntoArchiveRecovery ECB 2
XLogRestorePoint GIC 3 100.0 % (8 / 8)
register_persistent_abort_backup_handler ECB 4
XLogFileOpen GIC 7 85.7 % (6 / 7)
do_pg_abort_backup GIC 9 100.0 % (12 / 12)
IsInstallXLogFileSegmentActive GIC 24 100.0 % (5 / 5)
GetRecoveryState GIC 25 100.0 % (5 / 5)
XLogFileCopy ECB 30
GetFakeLSNForUnloggedRel GIC 33 100.0 % (5 / 5)
CreateEndOfRecoveryRecord GIC 36 95.0 % (19 / 20)
CleanupAfterArchiveRecovery GIC 39 100.0 % (16 / 16)
XLogInitNewTimeline GIC 39 76.5 % (13 / 17)
RemoveNonParentXlogFiles GIC 48 100.0 % (16 / 16)
ReachedEndOfBackup GIC 51 100.0 % (11 / 11)
GetOldestRestartPoint GIC 53 100.0 % (6 / 6)
GetActiveWalLevelOnStandby ECB 61
CreateRestartPoint GIC 71 91.5 % (65 / 71)
CleanupBackupHistory ECB 117
PerformRecoveryXLogAction GIC 117 100.0 % (8 / 8)
do_pg_backup_stop GNC 122 86.4 % (57 / 66)
do_pg_backup_start GNC 130 88.2 % (67 / 76)
RemoveTempXlogFiles GIC 131 72.7 % (8 / 11)
RecoveryRestartPoint ECB 166
CheckRequiredParameterValues GIC 170 100.0 % (15 / 15)
RequestXLogSwitch GIC 300 83.3 % (5 / 6)
ReserveXLogSwitch ECB 300
BootStrapXLOG GIC 305 94.3 % (82 / 87)
GetWALAvailability ECB 305
InitControlFile ECB 305
WriteControlFile ECB 305
SetWalWriterSleeping GIC 366 100.0 % (5 / 5)
LogCheckpointStart ECB 541
str_time GIC 566 100.0 % (4 / 4)
UpdateLastRemovedPtr ECB 573
RemoveXlogFile GNC 585 94.1 % (16 / 17)
XLogGetLastRemovedSegno ECB 745
XLogCheckpointNeeded GIC 865 100.0 % (5 / 5)
InitializeWalConsistencyChecking GNC 910 50.0 % (4 / 8)
LocalProcessControlFile ECB 917
GetSystemIdentifier ECB 926
ShutdownXLOG ECB 971
GetXLogWriteRecPtr GNC 1029 100.0 % (5 / 5)
do_pg_abort_backup ECB 9
GetXLogWriteRecPtr GIC 1029
show_archive_command GNC 1088 75.0 % (3 / 4)
XLogReportParameters ECB 1142
LocalSetXLogInsertAllowed GIC 1169 100.0 % (4 / 4)
StartupXLOG GIC 1176 93.6 % (190 / 203)
ValidateXLOGDirectoryStructure ECB 1176
ReadControlFile ECB 1222
XLogPutNextOid ECB 1248
InstallXLogFileSegment ECB 1267
XLogShutdownWalRcv GIC 1283 100.0 % (6 / 6)
UpdateFullPageWrites ECB 1533
SetInstallXLogFileSegmentActive GIC 1572 100.0 % (5 / 5)
XLogFileClose ECB 1705
XLOGChooseNumBuffers ECB 1825
XLOGShmemInit GIC 1826 86.8 % (33 / 38)
assign_checkpoint_completion_target GIC 1857 100.0 % (4 / 4)
assign_xlog_sync_method GIC 1857 23.1 % (3 / 13)
assign_wal_consistency_checking ECB 1859
check_wal_consistency_checking ECB 1859
CreateCheckPoint GIC 2340 94.4 % (118 / 125)
CheckPointGuts ECB 2363
LogCheckpointEnd GIC 2363 88.9 % (16 / 18)
RemoveOldXlogFiles GIC 2363 100.0 % (16 / 16)
UpdateCheckPointDistanceEstimate GIC 2363 100.0 % (7 / 7)
XLOGfileslop ECB 2363
GetLastImportantRecPtr ECB 2386
GetInsertRecPtr GIC 2424 100.0 % (5 / 5)
PreallocXlogFiles ECB 2538
KeepLogSeg ECB 2660
XLogGetReplicationSlotMinimumLSN ECB 2660
WALInsertLockAcquireExclusive ECB 3502
check_wal_buffers GIC 3682 75.0 % (6 / 8)
XLOGShmemSize ECB 4564
update_checkpoint_display ECB 4726
GetXLogInsertRecPtr GIC 4968 100.0 % (6 / 6)
assign_max_wal_size ECB 6012
XLogFileInit ECB 7624
XLogFileInitInternal GIC 7666 64.7 % (33 / 51)
get_sync_bit ECB 8348
CalculateCheckpointSegments ECB 9091
show_in_hot_standby ECB 9962
GetWALInsertionTimeLine ECB 10349
UpdateControlFile ECB 10909
XLogBackgroundFlush GIC 14942 100.0 % (45 / 45)
XLogSetReplicationSlotMinimumLSN GIC 19623 100.0 % (5 / 5)
xlog_redo ECB 28161
CheckXLogRemoved GIC 47944 72.7 % (8 / 11)
XLogSetAsyncXactLSN ECB 60542
UpdateMinRecoveryPoint GIC 87149 95.7 % (22 / 23)
GetFlushRecPtr GIC 147978 100.0 % (8 / 8)
GetRedoRecPtr GIC 152956 100.0 % (7 / 7)
issue_xlog_fsync ECB 315883
XLogWrite ECB 731996
WaitXLogInsertionsToFinish ECB 737182
WALInsertLockUpdateInsertingAt ECB 742721
AdvanceXLInsertBuffer ECB 749930
XLogFlush GIC 1019619 89.2 % (33 / 37)
DataChecksumsEnabled ECB 14333955
XLogNeedsFlush ECB 14946151
ReserveXLogInsertLocation GIC 19399102 100.0 % (18 / 18)
CopyXLogRecordToWAL GIC 19399350 97.8 % (45 / 46)
WALInsertLockAcquire ECB 19403953
XLogInsertRecord ECB 19404394
WALInsertLockRelease ECB 19407455
GetFullPageWriteInfo ECB 19592404
XLogBytePosToEndRecPtr GIC 20136832 100.0 % (16 / 16)
GetXLogBuffer GIC 20274329 96.4 % (27 / 28)
XLogBytePosToRecPtr GIC 38806008 100.0 % (12 / 12)
XLogInsertAllowed ECB 43544110
XLogRecPtrToBytePos ECB 58200582
RecoveryInProgress ECB 81142281

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