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