LCOV - code coverage report
Current view:
top level
-
src
/
backend
/
access
/
transam
- xlog.c
(
source
/ functions)
Coverage
Total
Hit
Test:
Code coverage
Lines:
52.5 %
3164
1661
Test Date:
2026-01-26 10:56:24
Functions:
66.7 %
123
82
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
26.5 %
2095
555
Function Name
Hit count
AdvanceXLInsertBuffer
30113
BootStrapXLOG
1
CalculateCheckpointSegments
974
CheckPointGuts
7
CheckRequiredParameterValues
0
CheckXLogRemoved
0
CleanupAfterArchiveRecovery
0
CleanupBackupHistory
0
CopyXLogRecordToWAL
2526706
CreateCheckPoint
7
CreateEndOfRecoveryRecord
0
CreateOverwriteContrecordRecord
0
CreateRestartPoint
0
DataChecksumsEnabled
995236
GetActiveWalLevelOnStandby
0
GetDefaultCharSignedness
0
GetFakeLSNForUnloggedRel
11
GetFlushRecPtr
0
GetFullPageWriteInfo
2544284
GetInsertRecPtr
13
GetLastImportantRecPtr
7
GetLastSegSwitchData
0
GetMockAuthenticationNonce
0
GetOldestRestartPoint
0
GetRecoveryState
0
GetRedoRecPtr
32286
GetSystemIdentifier
0
GetWALAvailability
0
GetWALInsertionTimeLine
3
GetWALInsertionTimeLineIfSet
0
GetXLogBuffer
2570273
GetXLogInsertRecPtr
0
GetXLogWriteRecPtr
1
InitControlFile
1
InitializeWalConsistencyChecking
3
InstallXLogFileSegment
17
IsInstallXLogFileSegmentActive
0
KeepLogSeg
7
LocalProcessControlFile
3
LocalSetXLogInsertAllowed
4
LogCheckpointEnd
7
LogCheckpointStart
1
PerformRecoveryXLogAction
0
PreallocXlogFiles
8
ReachedEndOfBackup
0
ReadControlFile
4
RecoveryInProgress
12232238
RecoveryRestartPoint
0
RemoveNonParentXlogFiles
0
RemoveOldXlogFiles
7
RemoveTempXlogFiles
0
RemoveXlogFile
3
RequestXLogSwitch
0
ReserveXLogInsertLocation
2526706
ReserveXLogSwitch
0
ResetInstallXLogFileSegmentActive
4
SetInstallXLogFileSegmentActive
5
SetWalWriterSleeping
1
ShutdownXLOG
3
StartupXLOG
4
SwitchIntoArchiveRecovery
0
UpdateCheckPointDistanceEstimate
7
UpdateControlFile
16
UpdateFullPageWrites
5
UpdateLastRemovedPtr
3
UpdateMinRecoveryPoint
0
ValidateXLOGDirectoryStructure
4
WALInsertLockAcquire
2526989
WALInsertLockAcquireExclusive
12
WALInsertLockRelease
2527001
WALInsertLockUpdateInsertingAt
30100
WALReadFromBuffers
0
WaitXLogInsertionsToFinish
24094
WriteControlFile
1
XLOGChooseNumBuffers
6
XLOGShmemInit
6
XLOGShmemSize
15
XLOGfileslop
7
XLogBackgroundFlush
29
XLogBytePosToEndRecPtr
2546761
XLogBytePosToRecPtr
5053415
XLogCheckpointNeeded
21
XLogFileClose
120
XLogFileCopy
0
XLogFileInit
382
XLogFileInitInternal
382
XLogFileOpen
0
XLogFlush
26979
XLogGetLastRemovedSegno
0
XLogGetOldestSegno
0
XLogGetReplicationSlotMinimumLSN
7
XLogInitNewTimeline
0
XLogInsertAllowed
6929655
XLogInsertRecord
2526993
XLogNeedsFlush
1836354
XLogPutNextOid
9
XLogRecPtrToBytePos
7580126
XLogReportParameters
4
XLogRestorePoint
0
XLogSetAsyncXactLSN
2836
XLogSetReplicationSlotMinimumLSN
4
XLogShutdownWalRcv
4
XLogWrite
23488
assign_checkpoint_completion_target
6
assign_max_wal_size
964
assign_wal_consistency_checking
6
assign_wal_sync_method
6
check_wal_buffers
12
check_wal_consistency_checking
6
check_wal_segment_size
11
do_pg_abort_backup
0
do_pg_backup_start
0
do_pg_backup_stop
0
get_backup_status
0
get_sync_bit
396
issue_xlog_fsync
21
register_persistent_abort_backup_handler
0
show_archive_command
7
show_effective_wal_level
7
show_in_hot_standby
323
str_time
2
update_checkpoint_display
14
xlog_redo
0
Generated by:
LCOV version 2.3.2-1