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

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