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: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 93.6 % 1768 1655 3 110 1 64 1590 1 2 55
Current Date: 2026-05-29 21:51:00 -0400 Functions: 100.0 % 94 94 24 70 1
Baseline: lcov-20260530-034037-baseline Branches: 68.6 % 1177 808 18 6 19 326 1 13 40 754 39 53
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 91.8 % 110 101 9 64 37
(360..) days: 93.7 % 1658 1554 3 101 1 1553 1
Function coverage date bins:
(30,360] days: 100.0 % 4 4 3 1
(360..) days: 100.0 % 90 90 21 69
Branch coverage date bins:
(30,360] days: 62.5 % 80 50 18 12 40 10
(360..) days: 69.1 % 1097 758 6 19 314 1 13 744

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 2311 89.4 % (185 / 207) 63.4 % (121 / 191)
ReorderBufferRestoreChanges GNC 105 85.5 % (47 / 55) 48.0 % (24 / 50)
ApplyLogicalMappingFile GNC 27 84.8 % (28 / 33) 40.0 % (12 / 30)
ReorderBufferToastAppendChunk CBC 1847 85.3 % (29 / 34) 43.3 % (13 / 30)
ReorderBufferToastReplace GNC 355161 98.6 % (72 / 73) 71.7 % (33 / 46)
ReorderBufferStreamTXN CBC 720 93.1 % (27 / 29) 53.8 % (14 / 26)
ReorderBufferCheckMemoryLimit GNC 1412870 96.7 % (29 / 30) 72.5 % (29 / 40)
AssertTXNLsnOrder GNC 9278 100.0 % (23 / 23) 68.8 % (22 / 32)
ReorderBufferCleanupTXN CBC 4416 100.0 % (33 / 33) 70.6 % (24 / 34)
ReorderBufferSerializeChange CBC 1140451 93.1 % (94 / 101) 69.0 % (20 / 29)
ReorderBufferSerializeTXN CBC 3746 97.3 % (36 / 37) 71.9 % (23 / 32)
ReorderBufferProcessPartialChange CBC 1412870 90.0 % (18 / 20) 75.0 % (24 / 32)
ReorderBufferTransferSnapToParent CBC 663 21.1 % (4 / 19) 20.0 % (2 / 10)
ReorderBufferTruncateTXN CBC 1073 100.0 % (32 / 32) 71.4 % (20 / 28)
ReorderBufferCleanupSerializedTXNs CBC 2260 58.3 % (7 / 12) 41.7 % (5 / 12)
ReorderBufferRestoreCleanup GNC 299 90.0 % (9 / 10) 41.7 % (5 / 12)
UpdateLogicalMappings GNC 11 90.9 % (30 / 33) 76.7 % (23 / 30)
AssertChangeLsnOrder GNC 2777 100.0 % (12 / 12) 62.5 % (10 / 16)
ReorderBufferAddDistributedInvalidations CBC 29 68.8 % (11 / 16) 40.0 % (4 / 10)
ReorderBufferCheckAndTruncateAbortedTXN CBC 4137 90.0 % (18 / 20) 66.7 % (12 / 18)
ReorderBufferFreeChange CBC 1607154 100.0 % (39 / 39) 73.9 % (17 / 23)
ReorderBufferBuildTupleCidHash CBC 2311 100.0 % (22 / 22) 75.0 % (15 / 20)
ReorderBufferChangeMemoryUpdate CBC 1806428 100.0 % (26 / 26) 82.1 % (23 / 28)
ReorderBufferLargestStreamableTopTXN CBC 820 100.0 % (16 / 16) 75.0 % (15 / 20)
ReorderBufferQueueMessage CBC 47 88.9 % (24 / 27) 64.3 % (9 / 14)
ResolveCminCmaxDuringDecoding CBC 815 100.0 % (23 / 23) 72.2 % (13 / 18)
ReorderBufferFinishPrepared GNC 46 95.5 % (21 / 22) 66.7 % (8 / 12)
ReorderBufferPrepare GNC 44 75.0 % (9 / 12) 50.0 % (4 / 8)
ReorderBufferTXNByXid GNC 5382393 100.0 % (32 / 32) 85.7 % (24 / 28)
ReorderBufferAbortOld CBC 1647 88.9 % (8 / 9) 70.0 % (7 / 10)
ReorderBufferGetCatalogChangesXacts GNC 318 100.0 % (13 / 13) 70.0 % (7 / 10)
ReorderBufferInvalidate CBC 123 85.7 % (6 / 7) 62.5 % (5 / 8)
ReorderBufferIterTXNNext GNC 381240 100.0 % (31 / 31) 81.2 % (13 / 16)
ReorderBufferLargestTXN CBC 3494 100.0 % (6 / 6) 50.0 % (3 / 6)
ReorderBufferResetTXN CBC 8 81.8 % (9 / 11) 50.0 % (3 / 6)
ReorderBufferRestoreChange CBC 178479 93.0 % (66 / 71) 76.9 % (10 / 13)
ReorderBufferAbort GNC 203 81.8 % (9 / 11) 66.7 % (4 / 6)
ReorderBufferAssignChild CBC 848 93.3 % (14 / 15) 66.7 % (4 / 6)
ReorderBufferForget CBC 2928 100.0 % (10 / 10) 80.0 % (8 / 10)
ReorderBufferGetOldestTXN GNC 487 100.0 % (8 / 8) 66.7 % (4 / 6)
ReorderBufferIterTXNFinish CBC 2308 90.9 % (10 / 11) 75.0 % (6 / 8)
ReorderBufferIterTXNInit CBC 2311 100.0 % (43 / 43) 90.9 % (20 / 22)
ReorderBufferRememberPrepareInfo GNC 170 91.7 % (11 / 12) 50.0 % (2 / 4)
ReorderBufferReplay GNC 1662 100.0 % (17 / 17) 75.0 % (6 / 8)
ReorderBufferSetBaseSnapshot CBC 3802 100.0 % (11 / 11) 66.7 % (4 / 6)
ReorderBufferSkipPrepare CBC 126 83.3 % (5 / 6) 50.0 % (2 / 4)
ReorderBufferStreamCommit CBC 68 100.0 % (12 / 12) 66.7 % (4 / 6)
ReorderBufferAddInvalidations CBC 5793 100.0 % (9 / 9) 75.0 % (3 / 4)
ReorderBufferAllocate GNC 1192 100.0 % (34 / 34) 50.0 % (1 / 2)
ReorderBufferApplyTruncate CBC 29 80.0 % (4 / 5) 50.0 % (1 / 2)
ReorderBufferCanStartStreaming CBC 364202 88.9 % (8 / 9) 83.3 % (5 / 6)
ReorderBufferChangeSize CBC 2049153 100.0 % (37 / 37) 90.9 % (10 / 11)
ReorderBufferCopySnap CBC 2192 100.0 % (22 / 22) 75.0 % (3 / 4)
ReorderBufferFreeTXN CBC 4416 100.0 % (20 / 20) 91.7 % (11 / 12)
ReorderBufferGetInvalidations CBC 33 83.3 % (5 / 6) 50.0 % (1 / 2)
ReorderBufferIterCompare CBC 51571 88.9 % (8 / 9) 75.0 % (3 / 4)
ReorderBufferQueueChange GNC 1422279 100.0 % (22 / 22) 94.4 % (17 / 18)
ReorderBufferSaveTXNSnapshot CBC 720 83.3 % (5 / 6) 50.0 % (1 / 2)
ReorderBufferToastInitHash CBC 44 100.0 % (7 / 7) 50.0 % (1 / 2)
ReorderBufferToastReset CBC 359369 100.0 % (14 / 14) 90.0 % (9 / 10)
ReorderBufferXidSetCatalogChanges CBC 33060 100.0 % (11 / 11) 87.5 % (7 / 8)
StartupReorderBuffer GNC 1083 90.9 % (10 / 11) 87.5 % (7 / 8)
ReorderBufferAccumulateInvalidations GNC 5822 100.0 % (10 / 10) 100.0 % (2 / 2)
ReorderBufferApplyChange CBC 355161 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferApplyMessage CBC 11 100.0 % (9 / 9) 100.0 % (2 / 2)
ReorderBufferCommit CBC 1636 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferCommitChild CBC 270 100.0 % (7 / 7) 100.0 % (2 / 2)
ReorderBufferExecuteInvalidations CBC 7246 100.0 % (4 / 4) 100.0 % (2 / 2)
ReorderBufferFreeSnap CBC 3629 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferGetOldestXmin CBC 504 100.0 % (6 / 6) 100.0 % (2 / 2)
ReorderBufferImmediateInvalidation GNC 706 100.0 % (15 / 15) 100.0 % (8 / 8)
ReorderBufferMaybeMarkTXNStreamed CBC 1017 100.0 % (4 / 4) 100.0 % (4 / 4)
ReorderBufferProcessXid CBC 2096564 100.0 % (4 / 4) 100.0 % (2 / 2)
ReorderBufferSerializeReserve CBC 2620592 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferTXNSizeCompare CBC 286928 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferXidHasBaseSnapshot CBC 1401835 100.0 % (7 / 7) 100.0 % (4 / 4)
ReorderBufferXidHasCatalogChanges CBC 4868 100.0 % (5 / 5) 100.0 % (2 / 2)
SetupCheckXidLive CBC 177876 100.0 % (6 / 6) 100.0 % (4 / 4)
ReorderBufferAddNewCommandId CBC 27192 100.0 % (6 / 6)
ReorderBufferAddNewTupleCids CBC 27192 100.0 % (14 / 14)
ReorderBufferAddSnapshot CBC 1451 100.0 % (6 / 6)
ReorderBufferAllocChange CBC 1627950 100.0 % (4 / 4)
ReorderBufferAllocRelids CBC 65 100.0 % (4 / 4)
ReorderBufferAllocTXN CBC 4485 100.0 % (9 / 9)
ReorderBufferAllocTupleBuf CBC 1477536 100.0 % (5 / 5)
ReorderBufferCanStream CBC 1777072 100.0 % (3 / 3)
ReorderBufferFree CBC 944 100.0 % (5 / 5)
ReorderBufferFreeRelids CBC 60 100.0 % (3 / 3)
ReorderBufferFreeTupleBuf CBC 1457484 100.0 % (3 / 3)
ReorderBufferQueueInvalidations GNC 5822 100.0 % (8 / 8)
ReorderBufferSerializedPath CBC 3913 100.0 % (6 / 6)
ReorderBufferSetRestartPoint CBC 569 100.0 % (3 / 3)
TransactionIdInArray CBC 348 100.0 % (3 / 3)
file_sort_by_lsn CBC 43 100.0 % (4 / 4)

Generated by: LCOV version 2.5.0-beta