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: b45a8d7d8b306b43f31a002f1b3f1dddc8defeaf vs 8767b449a3a1e75626dfb08f24da54933171d4c5 Lines: 93.5 % 1775 1660 3 112 1 27 1632 14
Current Date: 2025-10-28 08:26:42 +0900 Functions: 100.0 % 94 94 12 82
Baseline: lcov-20251028-005825-baseline Branches: 68.8 % 1173 807 1 5 360 1 9 797 3 3
Baseline Date: 2025-10-27 06:37:35 +0000 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 1 1 1
(7,30] days: 100.0 % 15 15 15
(30,360] days: 89.3 % 169 151 18 11 140
(360..) days: 93.9 % 1590 1493 3 94 1 1492
Function coverage date bins:
(30,360] days: 100.0 % 14 14 14
(360..) days: 100.0 % 80 80 12 68
Branch coverage date bins:
(7,30] days: 100.0 % 6 6 6
(30,360] days: 66.7 % 108 72 1 35 3 69
(360..) days: 68.5 % 1065 729 5 325 1 728 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
ReorderBufferResetTXN CBC 8 81.8 % (9 / 11) 50.0 % (3 / 6)
ReorderBufferApplyMessage CBC 11 100.0 % (9 / 9) 100.0 % (2 / 2)
UpdateLogicalMappings CBC 11 90.9 % (30 / 33) 76.7 % (23 / 30)
ReorderBufferApplyTruncate CBC 22 80.0 % (4 / 5) 50.0 % (1 / 2)
ApplyLogicalMappingFile CBC 27 84.8 % (28 / 33) 40.0 % (12 / 30)
ReorderBufferAddDistributedInvalidations CBC 28 68.8 % (11 / 16) 40.0 % (4 / 10)
ReorderBufferGetInvalidations CBC 32 83.3 % (5 / 6) 50.0 % (1 / 2)
file_sort_by_lsn CBC 33 100.0 % (4 / 4)
ReorderBufferToastInitHash CBC 35 100.0 % (7 / 7) 50.0 % (1 / 2)
ReorderBufferPrepare GNC 42 75.0 % (9 / 12) 50.0 % (4 / 8)
ReorderBufferFinishPrepared GNC 43 95.5 % (21 / 22) 66.7 % (8 / 12)
ReorderBufferQueueMessage CBC 47 88.9 % (24 / 27) 64.3 % (9 / 14)
ReorderBufferFreeRelids CBC 48 100.0 % (3 / 3)
ReorderBufferAllocRelids CBC 53 100.0 % (4 / 4)
ReorderBufferStreamCommit CBC 66 100.0 % (12 / 12) 66.7 % (4 / 6)
ReorderBufferInvalidate CBC 101 85.7 % (6 / 7) 62.5 % (5 / 8)
ReorderBufferRestoreChanges CBC 102 85.5 % (47 / 55) 48.0 % (24 / 50)
ReorderBufferSkipPrepare CBC 104 83.3 % (5 / 6) 50.0 % (2 / 4)
ReorderBufferRememberPrepareInfo GNC 146 91.7 % (11 / 12) 50.0 % (2 / 4)
ReorderBufferAbort GNC 164 81.8 % (9 / 11) 66.7 % (4 / 6)
ReorderBufferRestoreCleanup CBC 252 90.0 % (9 / 10) 41.7 % (5 / 12)
ReorderBufferCommitChild CBC 267 100.0 % (7 / 7) 100.0 % (2 / 2)
ReorderBufferGetCatalogChangesXacts CBC 291 100.0 % (14 / 14) 70.0 % (7 / 10)
TransactionIdInArray CBC 348 100.0 % (3 / 3)
ReorderBufferGetOldestTXN CBC 412 100.0 % (8 / 8) 66.7 % (4 / 6)
ReorderBufferGetOldestXmin CBC 429 100.0 % (6 / 6) 100.0 % (2 / 2)
ReorderBufferSetRestartPoint CBC 475 100.0 % (3 / 3)
ReorderBufferImmediateInvalidation GNC 600 100.0 % (15 / 15) 100.0 % (8 / 8)
ReorderBufferTransferSnapToParent CBC 659 21.1 % (4 / 19) 20.0 % (2 / 10)
ReorderBufferSaveTXNSnapshot CBC 725 83.3 % (5 / 6) 50.0 % (1 / 2)
ReorderBufferStreamTXN CBC 725 93.1 % (27 / 29) 53.8 % (14 / 26)
ResolveCminCmaxDuringDecoding CBC 775 100.0 % (23 / 23) 72.2 % (13 / 18)
ReorderBufferLargestStreamableTopTXN CBC 828 100.0 % (16 / 16) 75.0 % (15 / 20)
ReorderBufferAssignChild CBC 841 93.3 % (14 / 15) 66.7 % (4 / 6)
ReorderBufferFree CBC 841 100.0 % (5 / 5)
StartupReorderBuffer GNC 907 90.9 % (10 / 11) 87.5 % (7 / 8)
ReorderBufferMaybeMarkTXNStreamed CBC 1022 100.0 % (4 / 4) 100.0 % (4 / 4)
ReorderBufferAllocate GNC 1055 100.0 % (34 / 34) 50.0 % (1 / 2)
ReorderBufferTruncateTXN CBC 1076 100.0 % (32 / 32) 71.4 % (20 / 28)
ReorderBufferAddSnapshot CBC 1283 100.0 % (6 / 6)
ReorderBufferAbortOld CBC 1433 88.9 % (8 / 9) 70.0 % (7 / 10)
ReorderBufferCommit CBC 1498 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferReplay GNC 1526 100.0 % (17 / 17) 75.0 % (6 / 8)
ReorderBufferToastAppendChunk CBC 1830 85.3 % (29 / 34) 43.3 % (13 / 30)
ReorderBufferCleanupSerializedTXNs CBC 1994 58.3 % (7 / 12) 41.7 % (5 / 12)
ReorderBufferCopySnap CBC 2086 100.0 % (22 / 22) 75.0 % (3 / 4)
ReorderBufferIterTXNFinish CBC 2180 90.9 % (10 / 11) 75.0 % (6 / 8)
ReorderBufferBuildTupleCidHash CBC 2182 100.0 % (22 / 22) 75.0 % (15 / 20)
ReorderBufferIterTXNInit CBC 2182 100.0 % (43 / 43) 90.9 % (20 / 22)
ReorderBufferProcessTXN GNC 2182 88.5 % (185 / 209) 63.6 % (119 / 187)
ReorderBufferForget CBC 2593 100.0 % (10 / 10) 80.0 % (8 / 10)
AssertChangeLsnOrder CBC 2645 100.0 % (12 / 12) 62.5 % (10 / 16)
ReorderBufferSetBaseSnapshot CBC 3286 100.0 % (11 / 11) 66.7 % (4 / 6)
ReorderBufferLargestTXN CBC 3323 100.0 % (6 / 6) 50.0 % (3 / 6)
ReorderBufferFreeSnap CBC 3357 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferSerializeTXN CBC 3574 97.3 % (36 / 37) 71.9 % (23 / 32)
ReorderBufferSerializedPath CBC 3696 100.0 % (6 / 6)
ReorderBufferCleanupTXN CBC 3905 100.0 % (33 / 33) 70.6 % (24 / 34)
ReorderBufferFreeTXN CBC 3905 100.0 % (20 / 20) 91.7 % (11 / 12)
ReorderBufferAllocTXN CBC 3965 100.0 % (9 / 9)
ReorderBufferCheckAndTruncateAbortedTXN CBC 3974 90.0 % (18 / 20) 66.7 % (12 / 18)
ReorderBufferXidHasCatalogChanges CBC 4389 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferAddInvalidations CBC 5214 100.0 % (9 / 9) 75.0 % (3 / 4)
ReorderBufferAccumulateInvalidations CBC 5242 100.0 % (12 / 12) 100.0 % (2 / 2)
ReorderBufferQueueInvalidations CBC 5242 100.0 % (9 / 9)
ReorderBufferExecuteInvalidations CBC 6849 100.0 % (4 / 4) 100.0 % (2 / 2)
AssertTXNLsnOrder CBC 8092 100.0 % (23 / 23) 68.8 % (22 / 32)
ReorderBufferAddNewCommandId CBC 24452 100.0 % (6 / 6)
ReorderBufferAddNewTupleCids CBC 24452 100.0 % (14 / 14)
ReorderBufferXidSetCatalogChanges CBC 29699 100.0 % (11 / 11) 87.5 % (7 / 8)
ReorderBufferIterCompare CBC 51568 88.9 % (8 / 9) 75.0 % (3 / 4)
ReorderBufferRestoreChange CBC 173221 93.0 % (66 / 71) 76.9 % (10 / 13)
SetupCheckXidLive CBC 177874 100.0 % (6 / 6) 100.0 % (4 / 4)
ReorderBufferTXNSizeCompare CBC 287597 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferCanStartStreaming CBC 321348 88.9 % (8 / 9) 83.3 % (5 / 6)
ReorderBufferApplyChange CBC 334084 100.0 % (5 / 5) 100.0 % (2 / 2)
ReorderBufferToastReplace GNC 334084 98.6 % (72 / 73) 69.6 % (32 / 46)
ReorderBufferToastReset CBC 337782 100.0 % (14 / 14) 90.0 % (9 / 10)
ReorderBufferIterTXNNext GNC 359036 100.0 % (32 / 32) 81.2 % (13 / 16)
ReorderBufferSerializeChange CBC 1135031 93.1 % (94 / 101) 69.0 % (20 / 29)
ReorderBufferXidHasBaseSnapshot CBC 1357123 100.0 % (7 / 7) 100.0 % (4 / 4)
ReorderBufferCheckMemoryLimit GNC 1366970 96.7 % (29 / 30) 72.5 % (29 / 40)
ReorderBufferProcessPartialChange CBC 1366970 90.0 % (18 / 20) 81.2 % (26 / 32)
ReorderBufferQueueChange CBC 1376379 100.0 % (22 / 22) 94.4 % (17 / 18)
ReorderBufferFreeTupleBuf CBC 1428997 100.0 % (3 / 3)
ReorderBufferAllocTupleBuf CBC 1430256 100.0 % (5 / 5)
ReorderBufferFreeChange CBC 1572597 100.0 % (39 / 39) 73.9 % (17 / 23)
ReorderBufferAllocChange CBC 1574052 100.0 % (4 / 4)
ReorderBufferCanStream CBC 1688318 100.0 % (3 / 3)
ReorderBufferChangeMemoryUpdate CBC 1746806 100.0 % (26 / 26) 82.1 % (23 / 28)
ReorderBufferChangeSize CBC 1968840 100.0 % (37 / 37) 90.9 % (10 / 11)
ReorderBufferProcessXid CBC 1999994 100.0 % (4 / 4) 100.0 % (2 / 2)
ReorderBufferSerializeReserve CBC 2599235 100.0 % (8 / 8) 100.0 % (4 / 4)
ReorderBufferTXNByXid CBC 5187309 100.0 % (32 / 32) 85.7 % (24 / 28)

Generated by: LCOV version 2.4-beta