LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - snapbuild.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 86.1 % 589 507 82 2 15 490 2 14
Current Date: 2026-06-29 16:15:13 +0200 Functions: 100.0 % 32 32 9 23
Baseline: lcov-20260630-baseline Branches: 57.9 % 482 279 5 198 3 29 247
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 18 18 15 3
(360..) days: 85.6 % 571 489 82 2 487
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 31 31 8 23
Branch coverage date bins:
(30,360] days: 85.3 % 34 29 5 29
(360..) days: 55.8 % 448 250 198 3 247

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
SnapBuildInitialSnapshot GNC 218 66.7 % (22 / 33) 27.5 % (11 / 40)
SnapBuildSerialize GNC 587 84.1 % (74 / 88) 50.0 % (28 / 56)
SnapBuildCommitTxn CBC 3706 81.7 % (49 / 60) 60.3 % (41 / 68)
SnapBuildRestoreSnapshot CBC 23 85.7 % (30 / 35) 42.9 % (12 / 28)
SnapBuildFindSnapshot GNC 1146 93.0 % (40 / 43) 73.1 % (38 / 52)
SnapBuildFreeSnapshot CBC 1691 83.3 % (10 / 12) 38.9 % (7 / 18)
SnapBuildRestore GNC 21 71.8 % (28 / 39) 57.7 % (15 / 26)
CheckPointSnapBuild GNC 1918 76.9 % (20 / 26) 64.3 % (18 / 28)
SnapBuildSnapDecRefcount CBC 7025 92.3 % (12 / 13) 50.0 % (9 / 18)
SnapBuildExportSnapshot CBC 1 85.7 % (12 / 14) 30.0 % (3 / 10)
SnapBuildRestoreContents CBC 35 50.0 % (6 / 12) 12.5 % (1 / 8)
SnapBuildPurgeOlderTxn CBC 533 95.8 % (23 / 24) 77.3 % (17 / 22)
SnapBuildWaitSnapshot CBC 21 81.8 % (9 / 11) 50.0 % (5 / 10)
SnapBuildBuildSnapshot CBC 2169 100.0 % (28 / 28) 50.0 % (3 / 6)
SnapBuildClearExportedSnapshot CBC 5800 87.5 % (7 / 8) 50.0 % (3 / 6)
SnapBuildDistributeSnapshotAndInval GNC 1504 100.0 % (18 / 18) 83.3 % (15 / 18)
SnapBuildProcessNewCid CBC 26945 85.7 % (12 / 14) 70.0 % (7 / 10)
SnapBuildSnapshotExists CBC 13 85.7 % (6 / 7) 50.0 % (3 / 6)
SnapBuildAddCommittedTxn GNC 1513 100.0 % (8 / 8) 66.7 % (4 / 6)
SnapBuildProcessChange CBC 1417397 84.6 % (11 / 13) 80.0 % (8 / 10)
SnapBuildProcessRunningXacts GNC 1654 100.0 % (21 / 21) 90.0 % (18 / 20)
SnapBuildGetOrBuildSnapshot CBC 8 100.0 % (6 / 6) 75.0 % (3 / 4)
SnapBuildSerializationPoint CBC 79 80.0 % (4 / 5) 50.0 % (1 / 2)
SnapBuildXidHasCatalogChanges CBC 4942 100.0 % (7 / 7) 87.5 % (7 / 8)
FreeSnapshotBuilder CBC 946 100.0 % (7 / 7) 100.0 % (2 / 2)
AllocateSnapshotBuilder GNC 1193 100.0 % (21 / 21)
SnapBuildCurrentState CBC 1914310 100.0 % (2 / 2)
SnapBuildGetTwoPhaseAt CBC 34 100.0 % (2 / 2)
SnapBuildResetExportedSnapshotState CBC 35331 100.0 % (4 / 4)
SnapBuildSetTwoPhaseAt CBC 8 100.0 % (3 / 3)
SnapBuildSnapIncRefcount CBC 7307 100.0 % (3 / 3)
SnapBuildXactNeedsSkip CBC 318925 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1