LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - snapbuild.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 85.6 % 589 504 1 84 11 493 2 11
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 32 32 9 23
Baseline: lcov-20260315-024220-baseline Branches: 56.5 % 476 269 3 204 19 250 3 19
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 50.0 % 2 1 1 1
(30,360] days: 100.0 % 19 19 10 9
(360..) days: 85.2 % 568 484 84 484
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.7 % 28 24 3 1 19 5
(360..) days: 54.7 % 448 245 203 245

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
AllocateSnapshotBuilder GNC 1163 100.0 % (21 / 21)
CheckPointSnapBuild GNC 1802 76.9 % (20 / 26) 64.3 % (18 / 28)
FreeSnapshotBuilder CBC 922 100.0 % (7 / 7) 100.0 % (2 / 2)
SnapBuildAddCommittedTxn GNC 1422 62.5 % (5 / 8) 33.3 % (2 / 6)
SnapBuildBuildSnapshot CBC 2050 100.0 % (28 / 28) 50.0 % (3 / 6)
SnapBuildClearExportedSnapshot CBC 5656 87.5 % (7 / 8) 50.0 % (3 / 6)
SnapBuildCommitTxn CBC 3505 81.7 % (49 / 60) 58.8 % (40 / 68)
SnapBuildCurrentState CBC 2167792 100.0 % (2 / 2)
SnapBuildDistributeSnapshotAndInval GNC 1413 100.0 % (18 / 18) 83.3 % (15 / 18)
SnapBuildExportSnapshot CBC 1 85.7 % (12 / 14) 30.0 % (3 / 10)
SnapBuildFindSnapshot GNC 1135 93.0 % (40 / 43) 70.8 % (34 / 48)
SnapBuildFreeSnapshot CBC 1594 83.3 % (10 / 12) 38.9 % (7 / 18)
SnapBuildGetOrBuildSnapshot CBC 9 100.0 % (6 / 6) 75.0 % (3 / 4)
SnapBuildGetTwoPhaseAt CBC 34 100.0 % (2 / 2)
SnapBuildInitialSnapshot GNC 208 66.7 % (22 / 33) 27.5 % (11 / 40)
SnapBuildProcessChange CBC 1576040 84.6 % (11 / 13) 80.0 % (8 / 10)
SnapBuildProcessNewCid CBC 25319 85.7 % (12 / 14) 70.0 % (7 / 10)
SnapBuildProcessRunningXacts GNC 1601 100.0 % (21 / 21) 90.0 % (18 / 20)
SnapBuildPurgeOlderTxn CBC 489 95.8 % (23 / 24) 77.3 % (17 / 22)
SnapBuildResetExportedSnapshotState CBC 26758 100.0 % (4 / 4)
SnapBuildRestore GNC 20 71.8 % (28 / 39) 50.0 % (12 / 24)
SnapBuildRestoreContents CBC 32 50.0 % (6 / 12) 12.5 % (1 / 8)
SnapBuildRestoreSnapshot CBC 22 85.7 % (30 / 35) 42.9 % (12 / 28)
SnapBuildSerializationPoint CBC 73 80.0 % (4 / 5) 50.0 % (1 / 2)
SnapBuildSerialize GNC 539 84.1 % (74 / 88) 50.0 % (28 / 56)
SnapBuildSetTwoPhaseAt CBC 8 100.0 % (3 / 3)
SnapBuildSnapDecRefcount CBC 6630 92.3 % (12 / 13) 50.0 % (9 / 18)
SnapBuildSnapIncRefcount CBC 6895 100.0 % (3 / 3)
SnapBuildSnapshotExists CBC 15 85.7 % (6 / 7) 50.0 % (3 / 6)
SnapBuildWaitSnapshot CBC 19 81.8 % (9 / 11) 50.0 % (5 / 10)
SnapBuildXactNeedsSkip CBC 393444 100.0 % (2 / 2)
SnapBuildXidHasCatalogChanges CBC 4754 100.0 % (7 / 7) 87.5 % (7 / 8)

Generated by: LCOV version 2.4-beta