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

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