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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 93.6 % 1768 1655 3 110 1 64 1590 1 2 55
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 94 94 24 70 1
Baseline: lcov-20260505-025707-baseline Branches: 68.8 % 1177 810 18 12 1 336 8 3 40 759 22 42
Baseline Date: 2026-05-05 10:27:06 +0900 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.3 % 1097 760 12 1 324 8 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
AssertChangeLsnOrder GNC 2847 100.0 % (12 / 12) 62.5 % (10 / 16)
AssertTXNLsnOrder GNC 9406 100.0 % (23 / 23) 68.8 % (22 / 32)
ReorderBufferAbort GNC 212 81.8 % (9 / 11) 66.7 % (4 / 6)
ReorderBufferAbortOld CBC 1648 88.9 % (8 / 9) 70.0 % (7 / 10)
ReorderBufferAccumulateInvalidations GNC 5779 100.0 % (10 / 10) 100.0 % (2 / 2)
ReorderBufferAddDistributedInvalidations CBC 29 68.8 % (11 / 16) 40.0 % (4 / 10)
ReorderBufferAddInvalidations CBC 5750 100.0 % (9 / 9) 75.0 % (3 / 4)
ReorderBufferAddNewCommandId CBC 26781 100.0 % (6 / 6)
ReorderBufferAddNewTupleCids CBC 26781 100.0 % (14 / 14)
ReorderBufferAddSnapshot CBC 1508 100.0 % (6 / 6)
ReorderBufferAllocChange CBC 1674990 100.0 % (4 / 4)
ReorderBufferAllocRelids CBC 66 100.0 % (4 / 4)
ReorderBufferAllocTXN CBC 4541 100.0 % (9 / 9)
ReorderBufferAllocTupleBuf CBC 1525379 100.0 % (5 / 5)
ReorderBufferAllocate GNC 1186 100.0 % (34 / 34) 50.0 % (1 / 2)
ReorderBufferApplyChange CBC 355138 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferApplyMessage CBC 11 100.0 % (9 / 9) 100.0 % (2 / 2)
ReorderBufferApplyTruncate CBC 32 80.0 % (4 / 5) 50.0 % (1 / 2)
ReorderBufferAssignChild CBC 836 93.3 % (14 / 15) 66.7 % (4 / 6)
ReorderBufferBuildTupleCidHash CBC 2381 100.0 % (22 / 22) 75.0 % (15 / 20)
ReorderBufferCanStartStreaming CBC 552209 88.9 % (8 / 9) 83.3 % (5 / 6)
ReorderBufferCanStream CBC 2012659 100.0 % (3 / 3)
ReorderBufferChangeMemoryUpdate CBC 1853580 100.0 % (26 / 26) 82.1 % (23 / 28)
ReorderBufferChangeSize CBC 2094960 100.0 % (37 / 37) 90.9 % (10 / 11)
ReorderBufferCheckAndTruncateAbortedTXN CBC 4263 90.0 % (18 / 20) 66.7 % (12 / 18)
ReorderBufferCheckMemoryLimit GNC 1460450 96.7 % (29 / 30) 72.5 % (29 / 40)
ReorderBufferCleanupSerializedTXNs CBC 2245 58.3 % (7 / 12) 41.7 % (5 / 12)
ReorderBufferCleanupTXN CBC 4479 100.0 % (33 / 33) 70.6 % (24 / 34)
ReorderBufferCommit CBC 1714 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferCommitChild CBC 270 100.0 % (7 / 7) 100.0 % (2 / 2)
ReorderBufferCopySnap CBC 2321 100.0 % (22 / 22) 75.0 % (3 / 4)
ReorderBufferExecuteInvalidations CBC 7465 100.0 % (4 / 4) 100.0 % (2 / 2)
ReorderBufferFinishPrepared GNC 46 95.5 % (21 / 22) 66.7 % (8 / 12)
ReorderBufferForget CBC 2910 100.0 % (10 / 10) 80.0 % (8 / 10)
ReorderBufferFree CBC 938 100.0 % (5 / 5)
ReorderBufferFreeChange CBC 1654460 100.0 % (39 / 39) 73.9 % (17 / 23)
ReorderBufferFreeRelids CBC 61 100.0 % (3 / 3)
ReorderBufferFreeSnap CBC 3817 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferFreeTXN CBC 4479 100.0 % (20 / 20) 91.7 % (11 / 12)
ReorderBufferFreeTupleBuf CBC 1505316 100.0 % (3 / 3)
ReorderBufferGetCatalogChangesXacts GNC 320 100.0 % (13 / 13) 70.0 % (7 / 10)
ReorderBufferGetInvalidations CBC 33 83.3 % (5 / 6) 50.0 % (1 / 2)
ReorderBufferGetOldestTXN GNC 489 100.0 % (8 / 8) 66.7 % (4 / 6)
ReorderBufferGetOldestXmin CBC 507 100.0 % (6 / 6) 100.0 % (2 / 2)
ReorderBufferImmediateInvalidation GNC 704 100.0 % (15 / 15) 100.0 % (8 / 8)
ReorderBufferInvalidate CBC 123 85.7 % (6 / 7) 62.5 % (5 / 8)
ReorderBufferIterCompare CBC 51571 88.9 % (8 / 9) 75.0 % (3 / 4)
ReorderBufferIterTXNFinish CBC 2380 90.9 % (10 / 11) 75.0 % (6 / 8)
ReorderBufferIterTXNInit CBC 2381 100.0 % (43 / 43) 90.9 % (20 / 22)
ReorderBufferIterTXNNext GNC 381602 100.0 % (31 / 31) 81.2 % (13 / 16)
ReorderBufferLargestStreamableTopTXN CBC 820 100.0 % (16 / 16) 75.0 % (15 / 20)
ReorderBufferLargestTXN CBC 3620 100.0 % (6 / 6) 50.0 % (3 / 6)
ReorderBufferMaybeMarkTXNStreamed CBC 1017 100.0 % (4 / 4) 100.0 % (4 / 4)
ReorderBufferPrepare GNC 44 75.0 % (9 / 12) 50.0 % (4 / 8)
ReorderBufferProcessPartialChange CBC 1460450 90.0 % (18 / 20) 75.0 % (24 / 32)
ReorderBufferProcessTXN GNC 2381 89.4 % (185 / 207) 63.4 % (121 / 191)
ReorderBufferProcessXid CBC 2279997 100.0 % (4 / 4) 100.0 % (2 / 2)
ReorderBufferQueueChange GNC 1469859 100.0 % (22 / 22) 94.4 % (17 / 18)
ReorderBufferQueueInvalidations GNC 5779 100.0 % (8 / 8)
ReorderBufferQueueMessage CBC 47 88.9 % (24 / 27) 64.3 % (9 / 14)
ReorderBufferRememberPrepareInfo GNC 170 91.7 % (11 / 12) 50.0 % (2 / 4)
ReorderBufferReplay GNC 1732 100.0 % (17 / 17) 75.0 % (6 / 8)
ReorderBufferResetTXN CBC 8 81.8 % (9 / 11) 50.0 % (3 / 6)
ReorderBufferRestoreChange CBC 178350 93.0 % (66 / 71) 76.9 % (10 / 13)
ReorderBufferRestoreChanges GNC 105 85.5 % (47 / 55) 48.0 % (24 / 50)
ReorderBufferRestoreCleanup GNC 292 90.0 % (9 / 10) 58.3 % (7 / 12)
ReorderBufferSaveTXNSnapshot CBC 720 83.3 % (5 / 6) 50.0 % (1 / 2)
ReorderBufferSerializeChange CBC 1189401 93.1 % (94 / 101) 69.0 % (20 / 29)
ReorderBufferSerializeReserve CBC 2718234 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferSerializeTXN CBC 3800 97.3 % (36 / 37) 71.9 % (23 / 32)
ReorderBufferSerializedPath CBC 4027 100.0 % (6 / 6)
ReorderBufferSetBaseSnapshot CBC 3869 100.0 % (11 / 11) 66.7 % (4 / 6)
ReorderBufferSetRestartPoint CBC 573 100.0 % (3 / 3)
ReorderBufferSkipPrepare CBC 126 83.3 % (5 / 6) 50.0 % (2 / 4)
ReorderBufferStreamCommit CBC 68 100.0 % (12 / 12) 66.7 % (4 / 6)
ReorderBufferStreamTXN CBC 720 93.1 % (27 / 29) 53.8 % (14 / 26)
ReorderBufferTXNByXid GNC 5595454 100.0 % (32 / 32) 85.7 % (24 / 28)
ReorderBufferTXNSizeCompare CBC 324706 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferToastAppendChunk CBC 1847 85.3 % (29 / 34) 43.3 % (13 / 30)
ReorderBufferToastInitHash CBC 44 100.0 % (7 / 7) 50.0 % (1 / 2)
ReorderBufferToastReplace GNC 355138 98.6 % (72 / 73) 71.7 % (33 / 46)
ReorderBufferToastReset CBC 359401 100.0 % (14 / 14) 90.0 % (9 / 10)
ReorderBufferTransferSnapToParent CBC 651 21.1 % (4 / 19) 20.0 % (2 / 10)
ReorderBufferTruncateTXN CBC 1073 100.0 % (32 / 32) 71.4 % (20 / 28)
ReorderBufferXidHasBaseSnapshot CBC 1449648 100.0 % (7 / 7) 100.0 % (4 / 4)
ReorderBufferXidHasCatalogChanges CBC 4928 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferXidSetCatalogChanges CBC 32606 100.0 % (11 / 11) 87.5 % (7 / 8)
ResolveCminCmaxDuringDecoding CBC 819 100.0 % (23 / 23) 72.2 % (13 / 18)
SetupCheckXidLive CBC 177876 100.0 % (6 / 6) 100.0 % (4 / 4)
StartupReorderBuffer GNC 1077 90.9 % (10 / 11) 87.5 % (7 / 8)
TransactionIdInArray CBC 348 100.0 % (3 / 3)
UpdateLogicalMappings GNC 11 90.9 % (30 / 33) 76.7 % (23 / 30)
file_sort_by_lsn CBC 35 100.0 % (4 / 4)

Generated by: LCOV version 2.5.0-beta