LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - reorderbuffer.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC ECB DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 93.7 % 1770 1658 112 1 63 1594 1 54
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 94 94 24 70 1
Baseline: lcov-20260315-024220-baseline Branches: 68.7 % 1177 809 17 12 1 338 7 3 39 760 21 41
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 3 3 3
(30,360] days: 91.1 % 112 102 10 60 42
(360..) days: 93.8 % 1655 1553 102 1 1552 1
Function coverage date bins:
(30,360] days: 100.0 % 5 5 3 2
(360..) days: 100.0 % 89 89 21 68
Branch coverage date bins:
(30,360] days: 62.5 % 80 50 17 13 39 11
(360..) days: 69.2 % 1097 759 12 1 325 7 3 749

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
ReorderBufferProcessTXN GNC 2287 88.5 % (185 / 209) 62.3 % (119 / 191)
ReorderBufferRestoreChanges GNC 105 90.9 % (50 / 55) 52.0 % (26 / 50)
ApplyLogicalMappingFile GNC 27 84.8 % (28 / 33) 40.0 % (12 / 30)
ReorderBufferToastAppendChunk CBC 1825 85.3 % (29 / 34) 43.3 % (13 / 30)
ReorderBufferToastReplace GNC 337322 98.6 % (72 / 73) 69.6 % (32 / 46)
ReorderBufferStreamTXN CBC 696 93.1 % (27 / 29) 53.8 % (14 / 26)
ReorderBufferCheckMemoryLimit GNC 1589017 96.7 % (29 / 30) 72.5 % (29 / 40)
AssertTXNLsnOrder GNC 8938 100.0 % (23 / 23) 68.8 % (22 / 32)
ReorderBufferCleanupTXN CBC 4286 100.0 % (33 / 33) 70.6 % (24 / 34)
ReorderBufferSerializeChange CBC 1352514 93.1 % (94 / 101) 69.0 % (20 / 29)
ReorderBufferSerializeTXN CBC 4294 97.3 % (36 / 37) 71.9 % (23 / 32)
ReorderBufferProcessPartialChange CBC 1589017 90.0 % (18 / 20) 75.0 % (24 / 32)
ReorderBufferTransferSnapToParent CBC 687 21.1 % (4 / 19) 20.0 % (2 / 10)
ReorderBufferTruncateTXN CBC 1046 100.0 % (32 / 32) 71.4 % (20 / 28)
ReorderBufferCleanupSerializedTXNs CBC 2204 58.3 % (7 / 12) 41.7 % (5 / 12)
UpdateLogicalMappings GNC 11 90.9 % (30 / 33) 76.7 % (23 / 30)
AssertChangeLsnOrder GNC 2750 100.0 % (12 / 12) 62.5 % (10 / 16)
ReorderBufferAddDistributedInvalidations CBC 29 68.8 % (11 / 16) 40.0 % (4 / 10)
ReorderBufferCheckAndTruncateAbortedTXN CBC 4617 90.0 % (18 / 20) 66.7 % (12 / 18)
ReorderBufferFreeChange CBC 1801694 100.0 % (39 / 39) 73.9 % (17 / 23)
ReorderBufferBuildTupleCidHash CBC 2287 100.0 % (22 / 22) 75.0 % (15 / 20)
ReorderBufferChangeMemoryUpdate CBC 1980758 100.0 % (26 / 26) 82.1 % (23 / 28)
ReorderBufferLargestStreamableTopTXN CBC 800 100.0 % (16 / 16) 75.0 % (15 / 20)
ReorderBufferQueueMessage CBC 48 88.9 % (24 / 27) 64.3 % (9 / 14)
ReorderBufferRestoreCleanup GNC 326 90.0 % (9 / 10) 58.3 % (7 / 12)
ResolveCminCmaxDuringDecoding CBC 810 100.0 % (23 / 23) 72.2 % (13 / 18)
ReorderBufferFinishPrepared GNC 44 95.5 % (21 / 22) 66.7 % (8 / 12)
ReorderBufferPrepare GNC 41 75.0 % (9 / 12) 50.0 % (4 / 8)
ReorderBufferTXNByXid GNC 6013855 100.0 % (32 / 32) 85.7 % (24 / 28)
ReorderBufferAbortOld CBC 1599 88.9 % (8 / 9) 70.0 % (7 / 10)
ReorderBufferGetCatalogChangesXacts GNC 316 100.0 % (13 / 13) 70.0 % (7 / 10)
ReorderBufferInvalidate CBC 118 85.7 % (6 / 7) 62.5 % (5 / 8)
ReorderBufferIterTXNNext GNC 363304 100.0 % (31 / 31) 81.2 % (13 / 16)
ReorderBufferLargestTXN CBC 3994 100.0 % (6 / 6) 50.0 % (3 / 6)
ReorderBufferResetTXN CBC 8 81.8 % (9 / 11) 50.0 % (3 / 6)
ReorderBufferRestoreChange CBC 178216 93.0 % (66 / 71) 76.9 % (10 / 13)
ReorderBufferAbort GNC 191 81.8 % (9 / 11) 66.7 % (4 / 6)
ReorderBufferAssignChild CBC 869 93.3 % (14 / 15) 66.7 % (4 / 6)
ReorderBufferForget CBC 2814 100.0 % (10 / 10) 80.0 % (8 / 10)
ReorderBufferGetOldestTXN GNC 471 100.0 % (8 / 8) 66.7 % (4 / 6)
ReorderBufferIterTXNFinish CBC 2286 90.9 % (10 / 11) 75.0 % (6 / 8)
ReorderBufferIterTXNInit CBC 2287 100.0 % (43 / 43) 90.9 % (20 / 22)
ReorderBufferRememberPrepareInfo GNC 162 91.7 % (11 / 12) 50.0 % (2 / 4)
ReorderBufferReplay GNC 1658 100.0 % (17 / 17) 75.0 % (6 / 8)
ReorderBufferSetBaseSnapshot CBC 3635 100.0 % (11 / 11) 66.7 % (4 / 6)
ReorderBufferSkipPrepare CBC 121 83.3 % (5 / 6) 50.0 % (2 / 4)
ReorderBufferStreamCommit CBC 64 100.0 % (12 / 12) 66.7 % (4 / 6)
ReorderBufferAddInvalidations CBC 5447 100.0 % (9 / 9) 75.0 % (3 / 4)
ReorderBufferAllocate GNC 1163 100.0 % (34 / 34) 50.0 % (1 / 2)
ReorderBufferApplyTruncate CBC 30 80.0 % (4 / 5) 50.0 % (1 / 2)
ReorderBufferCanStartStreaming CBC 383239 88.9 % (8 / 9) 83.3 % (5 / 6)
ReorderBufferChangeSize CBC 2207492 100.0 % (37 / 37) 90.9 % (10 / 11)
ReorderBufferCopySnap CBC 2231 100.0 % (22 / 22) 75.0 % (3 / 4)
ReorderBufferFreeTXN CBC 4286 100.0 % (20 / 20) 91.7 % (11 / 12)
ReorderBufferGetInvalidations CBC 33 83.3 % (5 / 6) 50.0 % (1 / 2)
ReorderBufferIterCompare CBC 51568 88.9 % (8 / 9) 75.0 % (3 / 4)
ReorderBufferQueueChange GNC 1598426 100.0 % (22 / 22) 94.4 % (17 / 18)
ReorderBufferSaveTXNSnapshot CBC 696 83.3 % (5 / 6) 50.0 % (1 / 2)
ReorderBufferToastInitHash CBC 33 100.0 % (7 / 7) 50.0 % (1 / 2)
ReorderBufferToastReset CBC 341401 100.0 % (14 / 14) 90.0 % (9 / 10)
ReorderBufferXidSetCatalogChanges CBC 30835 100.0 % (11 / 11) 87.5 % (7 / 8)
StartupReorderBuffer GNC 1000 90.9 % (10 / 11) 87.5 % (7 / 8)
ReorderBufferAccumulateInvalidations GNC 5476 100.0 % (10 / 10) 100.0 % (2 / 2)
ReorderBufferApplyChange CBC 337322 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferApplyMessage CBC 11 100.0 % (9 / 9) 100.0 % (2 / 2)
ReorderBufferCommit CBC 1640 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferCommitChild CBC 267 100.0 % (7 / 7) 100.0 % (2 / 2)
ReorderBufferExecuteInvalidations CBC 7217 100.0 % (4 / 4) 100.0 % (2 / 2)
ReorderBufferFreeSnap CBC 3637 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferGetOldestXmin CBC 489 100.0 % (6 / 6) 100.0 % (2 / 2)
ReorderBufferImmediateInvalidation GNC 648 100.0 % (15 / 15) 100.0 % (8 / 8)
ReorderBufferMaybeMarkTXNStreamed CBC 993 100.0 % (4 / 4) 100.0 % (4 / 4)
ReorderBufferProcessXid CBC 2269637 100.0 % (4 / 4) 100.0 % (2 / 2)
ReorderBufferSerializeReserve CBC 3044192 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferTXNSizeCompare CBC 348131 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferXidHasBaseSnapshot CBC 1578901 100.0 % (7 / 7) 100.0 % (4 / 4)
ReorderBufferXidHasCatalogChanges CBC 4754 100.0 % (5 / 5) 100.0 % (2 / 2)
SetupCheckXidLive CBC 177856 100.0 % (6 / 6) 100.0 % (4 / 4)
ReorderBufferAddNewCommandId CBC 25319 100.0 % (6 / 6)
ReorderBufferAddNewTupleCids CBC 25319 100.0 % (14 / 14)
ReorderBufferAddSnapshot CBC 1418 100.0 % (6 / 6)
ReorderBufferAllocChange CBC 1801961 100.0 % (4 / 4)
ReorderBufferAllocRelids CBC 63 100.0 % (4 / 4)
ReorderBufferAllocTXN CBC 4343 100.0 % (9 / 9)
ReorderBufferAllocTupleBuf CBC 1655932 100.0 % (5 / 5)
ReorderBufferCanStream CBC 1972256 100.0 % (3 / 3)
ReorderBufferFree CBC 922 100.0 % (5 / 5)
ReorderBufferFreeRelids CBC 58 100.0 % (3 / 3)
ReorderBufferFreeTupleBuf CBC 1655889 100.0 % (3 / 3)
ReorderBufferQueueInvalidations GNC 5476 100.0 % (8 / 8)
ReorderBufferSerializedPath CBC 4459 100.0 % (6 / 6)
ReorderBufferSetRestartPoint CBC 548 100.0 % (3 / 3)
TransactionIdInArray CBC 348 100.0 % (3 / 3)
file_sort_by_lsn CBC 37 100.0 % (4 / 4)

Generated by: LCOV version 2.4-beta