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

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