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: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 93.7 % 1768 1657 3 108 1 64 1592 1 2 55
Current Date: 2026-06-29 16:15:13 +0200 Functions: 100.0 % 94 94 24 70 1
Baseline: lcov-20260630-baseline Branches: 68.8 % 1177 810 18 14 1 334 9 3 40 758
Baseline Date: 2026-06-29 13:01:57 +0200 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: 100.0 % 64 64 63 1
(360..) days: 93.5 % 1701 1590 3 108 1 1 1588 1
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 93 93 23 70
Branch coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 67.9 % 56 38 18 38
(360..) days: 68.8 % 1119 770 14 1 334 9 3 2 756

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 2359 89.5 % (188 / 210) 63.7 % (123 / 193)
ReorderBufferTransferSnapToParent CBC 675 21.1 % (4 / 19) 20.0 % (2 / 10)
ReorderBufferRestoreChanges GNC 105 85.5 % (47 / 55) 48.0 % (24 / 50)
ReorderBufferSerializeChange CBC 1155931 93.1 % (94 / 101) 69.0 % (20 / 29)
ReorderBufferAddDistributedInvalidations CBC 29 68.8 % (11 / 16) 40.0 % (4 / 10)
ReorderBufferCleanupSerializedTXNs CBC 2266 58.3 % (7 / 12) 41.7 % (5 / 12)
ReorderBufferRestoreChange CBC 178506 93.0 % (66 / 71) 76.9 % (10 / 13)
ReorderBufferToastAppendChunk CBC 1847 85.3 % (29 / 34) 43.3 % (13 / 30)
ReorderBufferPrepare GNC 44 75.0 % (9 / 12) 50.0 % (4 / 8)
ReorderBufferQueueMessage CBC 47 88.9 % (24 / 27) 64.3 % (9 / 14)
UpdateLogicalMappings GNC 11 90.9 % (30 / 33) 76.7 % (23 / 30)
ReorderBufferAbort GNC 191 81.8 % (9 / 11) 66.7 % (4 / 6)
ReorderBufferCheckAndTruncateAbortedTXN CBC 4182 90.0 % (18 / 20) 66.7 % (12 / 18)
ReorderBufferProcessPartialChange CBC 1431350 90.0 % (18 / 20) 75.0 % (24 / 32)
ReorderBufferStreamTXN CBC 720 93.1 % (27 / 29) 53.8 % (14 / 26)
ReorderBufferAbortOld CBC 1652 88.9 % (8 / 9) 80.0 % (8 / 10)
ReorderBufferApplyTruncate CBC 29 80.0 % (4 / 5) 50.0 % (1 / 2)
ReorderBufferAssignChild CBC 860 93.3 % (14 / 15) 66.7 % (4 / 6)
ReorderBufferCanStartStreaming CBC 307801 88.9 % (8 / 9) 83.3 % (5 / 6)
ReorderBufferCheckMemoryLimit GNC 1431350 96.7 % (29 / 30) 72.5 % (29 / 40)
ReorderBufferFinishPrepared GNC 45 95.5 % (21 / 22) 66.7 % (8 / 12)
ReorderBufferGetInvalidations CBC 33 83.3 % (5 / 6) 50.0 % (1 / 2)
ReorderBufferInvalidate CBC 123 85.7 % (6 / 7) 62.5 % (5 / 8)
ReorderBufferIterCompare CBC 51571 88.9 % (8 / 9) 75.0 % (3 / 4)
ReorderBufferIterTXNFinish CBC 2358 90.9 % (10 / 11) 75.0 % (6 / 8)
ReorderBufferRememberPrepareInfo GNC 170 91.7 % (11 / 12) 50.0 % (2 / 4)
ReorderBufferRestoreCleanup GNC 307 90.0 % (9 / 10) 41.7 % (5 / 12)
ReorderBufferSaveTXNSnapshot CBC 720 83.3 % (5 / 6) 50.0 % (1 / 2)
ReorderBufferSerializeTXN CBC 3815 97.3 % (36 / 37) 71.9 % (23 / 32)
ReorderBufferSkipPrepare CBC 126 83.3 % (5 / 6) 50.0 % (2 / 4)
ReorderBufferToastReplace GNC 358085 98.6 % (72 / 73) 71.7 % (33 / 46)
StartupReorderBuffer GNC 1050 90.9 % (10 / 11) 87.5 % (7 / 8)
AssertChangeLsnOrder GNC 2825 100.0 % (12 / 12) 62.5 % (10 / 16)
AssertTXNLsnOrder GNC 9441 100.0 % (23 / 23) 68.8 % (22 / 32)
ReorderBufferAccumulateInvalidations GNC 5808 100.0 % (10 / 10) 100.0 % (2 / 2)
ReorderBufferAddInvalidations CBC 5779 100.0 % (9 / 9) 75.0 % (3 / 4)
ReorderBufferAddNewCommandId CBC 26945 100.0 % (6 / 6)
ReorderBufferAddNewTupleCids CBC 26945 100.0 % (14 / 14)
ReorderBufferAddSnapshot CBC 1509 100.0 % (6 / 6)
ReorderBufferAllocChange CBC 1646210 100.0 % (4 / 4)
ReorderBufferAllocRelids CBC 63 100.0 % (4 / 4)
ReorderBufferAllocTXN CBC 4548 100.0 % (9 / 9)
ReorderBufferAllocTupleBuf CBC 1496275 100.0 % (5 / 5)
ReorderBufferAllocate GNC 1193 100.0 % (34 / 34) 50.0 % (1 / 2)
ReorderBufferApplyChange CBC 358085 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferApplyMessage CBC 11 100.0 % (9 / 9) 100.0 % (2 / 2)
ReorderBufferBuildTupleCidHash CBC 2359 100.0 % (22 / 22) 75.0 % (15 / 20)
ReorderBufferCanStream CBC 1739151 100.0 % (3 / 3)
ReorderBufferChangeMemoryUpdate CBC 1824869 100.0 % (26 / 26) 82.1 % (23 / 28)
ReorderBufferChangeSize CBC 2070500 100.0 % (37 / 37) 90.9 % (10 / 11)
ReorderBufferCleanupTXN CBC 4476 100.0 % (33 / 33) 70.6 % (24 / 34)
ReorderBufferCommit CBC 1687 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferCommitChild CBC 270 100.0 % (7 / 7) 100.0 % (2 / 2)
ReorderBufferCopySnap CBC 2287 100.0 % (22 / 22) 75.0 % (3 / 4)
ReorderBufferExecuteInvalidations CBC 7388 100.0 % (4 / 4) 100.0 % (2 / 2)
ReorderBufferForget CBC 2952 100.0 % (10 / 10) 80.0 % (8 / 10)
ReorderBufferFree CBC 946 100.0 % (5 / 5)
ReorderBufferFreeChange CBC 1625474 100.0 % (39 / 39) 73.9 % (17 / 23)
ReorderBufferFreeRelids CBC 58 100.0 % (3 / 3)
ReorderBufferFreeSnap CBC 3784 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferFreeTXN CBC 4476 100.0 % (20 / 20) 91.7 % (11 / 12)
ReorderBufferFreeTupleBuf CBC 1476230 100.0 % (3 / 3)
ReorderBufferGetCatalogChangesXacts GNC 331 100.0 % (13 / 13) 70.0 % (7 / 10)
ReorderBufferGetOldestTXN GNC 513 100.0 % (8 / 8) 66.7 % (4 / 6)
ReorderBufferGetOldestXmin CBC 533 100.0 % (6 / 6) 100.0 % (2 / 2)
ReorderBufferImmediateInvalidation GNC 719 100.0 % (15 / 15) 100.0 % (8 / 8)
ReorderBufferIterTXNInit CBC 2359 100.0 % (43 / 43) 90.9 % (20 / 22)
ReorderBufferIterTXNNext GNC 384415 100.0 % (31 / 31) 81.2 % (13 / 16)
ReorderBufferLargestStreamableTopTXN CBC 820 100.0 % (16 / 16) 75.0 % (15 / 20)
ReorderBufferLargestTXN CBC 3539 100.0 % (6 / 6) 50.0 % (3 / 6)
ReorderBufferMaybeMarkTXNStreamed CBC 1017 100.0 % (4 / 4) 100.0 % (4 / 4)
ReorderBufferProcessXid CBC 2067498 100.0 % (4 / 4) 100.0 % (2 / 2)
ReorderBufferQueueChange GNC 1440759 100.0 % (22 / 22) 94.4 % (17 / 18)
ReorderBufferQueueInvalidations GNC 5808 100.0 % (8 / 8)
ReorderBufferReplay GNC 1710 100.0 % (17 / 17) 75.0 % (6 / 8)
ReorderBufferResetTXN CBC 8 100.0 % (8 / 8) 50.0 % (2 / 4)
ReorderBufferSerializeReserve CBC 2651606 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferSerializedPath CBC 3969 100.0 % (6 / 6)
ReorderBufferSetBaseSnapshot CBC 3847 100.0 % (11 / 11) 66.7 % (4 / 6)
ReorderBufferSetRestartPoint CBC 597 100.0 % (3 / 3)
ReorderBufferStreamCommit CBC 68 100.0 % (12 / 12) 66.7 % (4 / 6)
ReorderBufferTXNByXid GNC 5440068 100.0 % (32 / 32) 85.7 % (24 / 28)
ReorderBufferTXNSizeCompare CBC 302737 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferToastInitHash CBC 44 100.0 % (7 / 7) 50.0 % (1 / 2)
ReorderBufferToastReset CBC 362344 100.0 % (14 / 14) 90.0 % (9 / 10)
ReorderBufferTruncateTXN CBC 1073 100.0 % (32 / 32) 71.4 % (20 / 28)
ReorderBufferXidHasBaseSnapshot CBC 1420440 100.0 % (7 / 7) 100.0 % (4 / 4)
ReorderBufferXidHasCatalogChanges CBC 4942 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferXidSetCatalogChanges CBC 32799 100.0 % (11 / 11) 87.5 % (7 / 8)
ResolveCminCmaxDuringDecoding CBC 808 100.0 % (23 / 23) 72.2 % (13 / 18)
SetupCheckXidLive CBC 177876 100.0 % (6 / 6) 100.0 % (4 / 4)
TransactionIdInArray CBC 348 100.0 % (3 / 3)
file_sort_by_lsn CBC 40 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1