LCOV - differential code coverage report
Current view: top level - src/backend/storage/buffer - bufmgr.c (source / functions) Coverage Total Hit UNC LBC UIC GBC GIC GNC CBC EUB ECB DUB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 92.2 % 1503 1386 45 20 52 26 667 413 280 74 906 17 180
Current Date: 2023-04-08 17:13:01 Functions: 97.5 % 80 78 2 57 21 2 68 10
Baseline: 15 Line coverage date bins:
Baseline Date: 2023-04-08 15:09:40 [..60] days: 88.3 % 333 294 39 3 289 2 2
View type: Flat (60,120] days: 100.0 % 4 4 4
Legend: Lines: hit not hit (180,240] days: 94.4 % 71 67 4 1 66 3
(240..) days: 93.2 % 1095 1021 2 20 52 26 663 54 278 56 727
Function coverage date bins:
[..60] days: 84.6 % 13 11 11 2
(180,240] days: 100.0 % 2 2 2
(240..) days: 54.6 % 119 65 2 57 8 1 51

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
ExtendBufferedRelShared GNC 332890 72.9 % (62 / 85)
local_buffer_write_error_callback LBC 0 0.0 % (0 / 7)
local_buffer_write_error_callback UIC 0
LockBuffer ECB 196227071
AbortBufferIO GNC 13 60.0 % (9 / 15)
CheckForBufferLeaks GIC 499458 57.1 % (8 / 14)
IsBufferCleanupOK GIC 2016 64.7 % (11 / 17)
UnlockBuffers GIC 37890 40.0 % (4 / 10)
BgBufferSync GIC 10438 93.9 % (62 / 66)
FlushRelationsAllBuffers GIC 9 88.6 % (31 / 35)
LockBufferForCleanup GIC 37384 92.3 % (48 / 52)
BufferSync GIC 2363 97.4 % (75 / 77)
CheckBufferIsPinnedOnce GNC 3785962 71.4 % (5 / 7)
DropRelationsAllBuffers GNC 10663 96.7 % (58 / 60)
GetVictimBuffer GNC 1870075 94.9 % (37 / 39)
BufferGetTag GNC 23082246 88.9 % (8 / 9)
DropDatabaseBuffers GIC 34 90.0 % (9 / 10)
FlushBuffer GNC 725820 95.8 % (23 / 24)
HoldingBufferPinThatDelaysRecovery GIC 4 85.7 % (6 / 7)
LockBuffer GIC 196227071 91.7 % (11 / 12)
MarkBufferDirty GIC 29096899 95.5 % (21 / 22)
MarkBufferDirtyHint GIC 16382378 97.4 % (37 / 38)
UnpinBuffer GNC 81367861 96.6 % (28 / 29)
BufferGetLSNAtomic GIC 10063084 100.0 % (11 / 11)
CheckPointBuffers GIC 2363 100.0 % (3 / 3)
ConditionalLockBuffer GIC 1220713 100.0 % (6 / 6)
CreateAndCopyRelationData GNC 40861 100.0 % (17 / 17)
DropRelationBuffers GNC 494 100.0 % (34 / 34)
FlushRelationBuffers GIC 115 100.0 % (36 / 36)
GetPrivateRefCountEntry GIC 574705670 100.0 % (26 / 26)
IssuePendingWritebacks GIC 249591 100.0 % (24 / 24)
LockBufHdr GIC 51777935 100.0 % (9 / 9)
PinBuffer_Locked GIC 2792328 100.0 % (11 / 11)
RelationCopyStorageUsingBuffer GNC 54479 100.0 % (26 / 26)
ReleaseAndReadBuffer GIC 33565066 100.0 % (18 / 18)
ScheduleBufferTagForWriteback GIC 722286 100.0 % (9 / 9)
StartBufferIO GIC 2596864 100.0 % (14 / 14)
SyncOneBuffer GIC 1685861 100.0 % (22 / 22)
UnlockReleaseBuffer GIC 19887237 100.0 % (4 / 4)
WaitIO GIC 1696 100.0 % (11 / 11)
shared_buffer_write_error_callback GIC 73 100.0 % (7 / 7)
AtEOXact_Buffers ECB 486167
BufferGetBlockNumber ECB 104052285
BufferIsPermanent ECB 15775629
ConditionalLockBufferForCleanup ECB 270333
ExtendBufferedRel ECB 62012
ExtendBufferedRelCommon ECB 343785
ExtendBufferedRelTo ECB 64243
FindAndDropRelationBuffers ECB 668
FlushDatabaseBuffers ECB 3
FlushOneBuffer ECB 25
ForgetPrivateRefCountEntry ECB 68472110
GetPrivateRefCount ECB 411969948
IncrBufferRefCount ECB 11173807
InitBufferPoolAccess ECB 13291
InvalidateVictimBuffer ECB 1052237
LimitAdditionalPins ECB 332890
NewPrivateRefCountEntry ECB 68472110
PinBuffer ECB 67748593
PrefetchBuffer ECB 420321
PrefetchSharedBuffer ECB 878497
PrintBufferLeakWarning EUB 0
ReadBuffer ECB 50153010
ReadBufferExtended ECB 67680696
ReadBufferWithoutRelcache ECB 2815054
ReadBuffer_common ECB 70495751
ReadRecentBuffer ECB 423615
RelationGetNumberOfBlocksInFork ECB 2074269
ReleaseBuffer ECB 67676152
ReservePrivateRefCountEntry ECB 69663558
TerminateBufferIO ECB 2595096
TestForOldSnapshot_impl ECB 651
WaitBufHdrUnlocked ECB 1033
WritebackContextInit ECB 3777
buffertag_comparator ECB 2012103
ckpt_buforder_comparator ECB 4878998
rlocator_comparator ECB 10899862
ts_ckpt_progress_comparator ECB 426318

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