LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - reorderbuffer.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC EUB ECB DCB
Current: 806555e3000d0b0e0c536c1dc65548128d457d86 vs 1d325ad99cb2dec0e8b45ba36909ee0a497d2a57 Lines: 93.5 % 1771 1656 3 112 1 53 1602 1 43
Current Date: 2025-12-17 08:58:58 +0900 Functions: 100.0 % 94 94 23 71
Baseline: lcov-20251217-005640-baseline Branches: 68.8 % 1173 807 15 5 346 1 35 771 3 3
Baseline Date: 2025-12-16 12:57:12 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 7 7 7
(30,360] days: 91.0 % 200 182 18 46 136
(360..) days: 93.8 % 1564 1467 3 94 1 1466 1
Function coverage date bins:
(30,360] days: 100.0 % 14 14 2 12
(360..) days: 100.0 % 80 80 21 59
Branch coverage date bins:
(30,360] days: 67.5 % 154 104 15 35 35 69
(360..) days: 68.6 % 1025 703 5 311 1 702 3 3

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 2107 88.5 % (185 / 209) 63.6 % (119 / 187)
ReorderBufferRestoreChanges GNC 105 85.5 % (47 / 55) 48.0 % (24 / 50)
ApplyLogicalMappingFile CBC 27 84.8 % (28 / 33) 40.0 % (12 / 30)
ReorderBufferToastAppendChunk CBC 1830 85.3 % (29 / 34) 43.3 % (13 / 30)
ReorderBufferToastReplace GNC 334053 98.6 % (72 / 73) 69.6 % (32 / 46)
ReorderBufferStreamTXN CBC 692 93.1 % (27 / 29) 53.8 % (14 / 26)
ReorderBufferCheckMemoryLimit GNC 1412739 96.7 % (29 / 30) 72.5 % (29 / 40)
AssertTXNLsnOrder GNC 8026 100.0 % (23 / 23) 68.8 % (22 / 32)
ReorderBufferCleanupTXN CBC 3862 100.0 % (33 / 33) 70.6 % (24 / 34)
ReorderBufferSerializeChange CBC 1188983 93.1 % (94 / 101) 69.0 % (20 / 29)
ReorderBufferSerializeTXN CBC 3624 97.3 % (36 / 37) 71.9 % (23 / 32)
ReorderBufferTransferSnapToParent CBC 651 21.1 % (4 / 19) 20.0 % (2 / 10)
ReorderBufferTruncateTXN CBC 1039 100.0 % (32 / 32) 71.4 % (20 / 28)
ReorderBufferCleanupSerializedTXNs CBC 2003 58.3 % (7 / 12) 41.7 % (5 / 12)
ReorderBufferRestoreCleanup GNC 246 90.0 % (9 / 10) 41.7 % (5 / 12)
UpdateLogicalMappings GNC 11 90.9 % (30 / 33) 76.7 % (23 / 30)
AssertChangeLsnOrder GNC 2570 100.0 % (12 / 12) 62.5 % (10 / 16)
ReorderBufferAddDistributedInvalidations CBC 29 68.8 % (11 / 16) 40.0 % (4 / 10)
ReorderBufferCheckAndTruncateAbortedTXN CBC 4089 90.0 % (18 / 20) 66.7 % (12 / 18)
ReorderBufferFreeChange CBC 1624490 100.0 % (39 / 39) 73.9 % (17 / 23)
ReorderBufferProcessPartialChange CBC 1412739 90.0 % (18 / 20) 81.2 % (26 / 32)
ReorderBufferBuildTupleCidHash CBC 2107 100.0 % (22 / 22) 75.0 % (15 / 20)
ReorderBufferChangeMemoryUpdate CBC 1802627 100.0 % (26 / 26) 82.1 % (23 / 28)
ReorderBufferLargestStreamableTopTXN CBC 798 100.0 % (16 / 16) 75.0 % (15 / 20)
ReorderBufferQueueMessage CBC 47 88.9 % (24 / 27) 64.3 % (9 / 14)
ResolveCminCmaxDuringDecoding CBC 786 100.0 % (23 / 23) 72.2 % (13 / 18)
ReorderBufferFinishPrepared GNC 41 95.5 % (21 / 22) 66.7 % (8 / 12)
ReorderBufferPrepare GNC 38 75.0 % (9 / 12) 50.0 % (4 / 8)
ReorderBufferTXNByXid GNC 5420640 100.0 % (32 / 32) 85.7 % (24 / 28)
ReorderBufferAbortOld CBC 1444 88.9 % (8 / 9) 70.0 % (7 / 10)
ReorderBufferGetCatalogChangesXacts GNC 288 100.0 % (13 / 13) 70.0 % (7 / 10)
ReorderBufferInvalidate CBC 98 85.7 % (6 / 7) 62.5 % (5 / 8)
ReorderBufferIterTXNNext GNC 358631 100.0 % (31 / 31) 81.2 % (13 / 16)
ReorderBufferLargestTXN CBC 3468 100.0 % (6 / 6) 50.0 % (3 / 6)
ReorderBufferResetTXN CBC 8 81.8 % (9 / 11) 50.0 % (3 / 6)
ReorderBufferRestoreChange CBC 178394 93.0 % (66 / 71) 76.9 % (10 / 13)
ReorderBufferAbort GNC 165 81.8 % (9 / 11) 66.7 % (4 / 6)
ReorderBufferAssignChild CBC 833 93.3 % (14 / 15) 66.7 % (4 / 6)
ReorderBufferForget CBC 2594 100.0 % (10 / 10) 80.0 % (8 / 10)
ReorderBufferGetOldestTXN GNC 420 100.0 % (8 / 8) 66.7 % (4 / 6)
ReorderBufferIterTXNFinish CBC 2106 90.9 % (10 / 11) 75.0 % (6 / 8)
ReorderBufferIterTXNInit CBC 2107 100.0 % (43 / 43) 90.9 % (20 / 22)
ReorderBufferRememberPrepareInfo GNC 139 91.7 % (11 / 12) 50.0 % (2 / 4)
ReorderBufferReplay GNC 1480 100.0 % (17 / 17) 75.0 % (6 / 8)
ReorderBufferSetBaseSnapshot CBC 3250 100.0 % (11 / 11) 66.7 % (4 / 6)
ReorderBufferSkipPrepare CBC 101 83.3 % (5 / 6) 50.0 % (2 / 4)
ReorderBufferStreamCommit CBC 62 100.0 % (12 / 12) 66.7 % (4 / 6)
ReorderBufferAddInvalidations CBC 5160 100.0 % (9 / 9) 75.0 % (3 / 4)
ReorderBufferAllocate GNC 1059 100.0 % (34 / 34) 50.0 % (1 / 2)
ReorderBufferApplyTruncate CBC 23 80.0 % (4 / 5) 50.0 % (1 / 2)
ReorderBufferCanStartStreaming CBC 507373 88.9 % (8 / 9) 83.3 % (5 / 6)
ReorderBufferChangeSize CBC 2017723 100.0 % (37 / 37) 90.9 % (10 / 11)
ReorderBufferCopySnap CBC 2009 100.0 % (22 / 22) 75.0 % (3 / 4)
ReorderBufferFreeTXN CBC 3862 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 1422148 100.0 % (22 / 22) 94.4 % (17 / 18)
ReorderBufferSaveTXNSnapshot CBC 692 83.3 % (5 / 6) 50.0 % (1 / 2)
ReorderBufferToastInitHash CBC 35 100.0 % (7 / 7) 50.0 % (1 / 2)
ReorderBufferToastReset CBC 337709 100.0 % (14 / 14) 90.0 % (9 / 10)
ReorderBufferXidSetCatalogChanges CBC 29381 100.0 % (11 / 11) 87.5 % (7 / 8)
StartupReorderBuffer GNC 925 90.9 % (10 / 11) 87.5 % (7 / 8)
ReorderBufferAccumulateInvalidations GNC 5189 100.0 % (11 / 11) 100.0 % (2 / 2)
ReorderBufferApplyChange CBC 334053 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferApplyMessage CBC 11 100.0 % (9 / 9) 100.0 % (2 / 2)
ReorderBufferCommit CBC 1452 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferCommitChild CBC 267 100.0 % (7 / 7) 100.0 % (2 / 2)
ReorderBufferExecuteInvalidations CBC 6663 100.0 % (4 / 4) 100.0 % (2 / 2)
ReorderBufferFreeSnap CBC 3258 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferGetOldestXmin CBC 436 100.0 % (6 / 6) 100.0 % (2 / 2)
ReorderBufferImmediateInvalidation GNC 596 100.0 % (15 / 15) 100.0 % (8 / 8)
ReorderBufferMaybeMarkTXNStreamed CBC 989 100.0 % (4 / 4) 100.0 % (4 / 4)
ReorderBufferProcessXid CBC 2182343 100.0 % (4 / 4) 100.0 % (2 / 2)
ReorderBufferSerializeReserve CBC 2717486 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferTXNSizeCompare CBC 344055 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferXidHasBaseSnapshot CBC 1403139 100.0 % (7 / 7) 100.0 % (4 / 4)
ReorderBufferXidHasCatalogChanges CBC 4344 100.0 % (5 / 5) 100.0 % (2 / 2)
SetupCheckXidLive CBC 177852 100.0 % (6 / 6) 100.0 % (4 / 4)
ReorderBufferAddNewCommandId CBC 24187 100.0 % (6 / 6)
ReorderBufferAddNewTupleCids CBC 24187 100.0 % (14 / 14)
ReorderBufferAddSnapshot CBC 1261 100.0 % (6 / 6)
ReorderBufferAllocChange CBC 1624729 100.0 % (4 / 4)
ReorderBufferAllocRelids CBC 54 100.0 % (4 / 4)
ReorderBufferAllocTXN CBC 3920 100.0 % (9 / 9)
ReorderBufferAllocTupleBuf CBC 1481660 100.0 % (5 / 5)
ReorderBufferCanStream CBC 1920112 100.0 % (3 / 3)
ReorderBufferFree CBC 846 100.0 % (5 / 5)
ReorderBufferFreeRelids CBC 49 100.0 % (3 / 3)
ReorderBufferFreeTupleBuf CBC 1481617 100.0 % (3 / 3)
ReorderBufferQueueInvalidations GNC 5189 100.0 % (8 / 8)
ReorderBufferSerializedPath CBC 3833 100.0 % (6 / 6)
ReorderBufferSetRestartPoint CBC 480 100.0 % (3 / 3)
TransactionIdInArray CBC 348 100.0 % (3 / 3)
file_sort_by_lsn CBC 41 100.0 % (4 / 4)

Generated by: LCOV version 2.4-beta