LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - snapbuild.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 86.1 % 589 507 82 1 506 1
Current Date: 2026-09-20 14:13:17 +0900 Functions: 100.0 % 32 32 2 30
Baseline: lcov-20260920-baseline Branches: 57.9 % 482 279 203 2 277
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 17 17 1 16
(360..) days: 85.7 % 572 490 82 490
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 31 31 2 29
Branch coverage date bins:
(30,360] days: 85.3 % 34 29 5 2 27
(360..) days: 55.8 % 448 250 198 250

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
SnapBuildExportSnapshot CBC 1 85.7 % (12 / 14) 30.0 % (3 / 10)
SnapBuildGetOrBuildSnapshot CBC 8 100.0 % (6 / 6) 75.0 % (3 / 4)
SnapBuildSetTwoPhaseAt CBC 8 100.0 % (3 / 3)
SnapBuildSnapshotExists CBC 13 85.7 % (6 / 7) 50.0 % (3 / 6)
SnapBuildWaitSnapshot CBC 19 81.8 % (9 / 11) 50.0 % (5 / 10)
SnapBuildRestore CBC 20 71.8 % (28 / 39) 57.7 % (15 / 26)
SnapBuildRestoreSnapshot CBC 22 85.7 % (30 / 35) 42.9 % (12 / 28)
SnapBuildRestoreContents CBC 32 50.0 % (6 / 12) 12.5 % (1 / 8)
SnapBuildGetTwoPhaseAt CBC 37 100.0 % (2 / 2)
SnapBuildSerializationPoint CBC 103 80.0 % (4 / 5) 50.0 % (1 / 2)
SnapBuildInitialSnapshot GNC 226 66.7 % (22 / 33) 27.5 % (11 / 40)
SnapBuildPurgeOlderTxn GNC 550 95.8 % (23 / 24) 77.3 % (17 / 22)
SnapBuildSerialize CBC 630 84.1 % (74 / 88) 50.0 % (28 / 56)
FreeSnapshotBuilder CBC 981 100.0 % (7 / 7) 100.0 % (2 / 2)
SnapBuildFindSnapshot CBC 1197 93.0 % (40 / 43) 73.1 % (38 / 52)
AllocateSnapshotBuilder CBC 1247 100.0 % (21 / 21)
SnapBuildProcessRunningXacts CBC 1724 100.0 % (21 / 21) 90.0 % (18 / 20)
SnapBuildDistributeSnapshotAndInval CBC 1728 100.0 % (18 / 18) 83.3 % (15 / 18)
SnapBuildAddCommittedTxn CBC 1738 100.0 % (8 / 8) 66.7 % (4 / 6)
SnapBuildFreeSnapshot CBC 1919 83.3 % (10 / 12) 38.9 % (7 / 18)
CheckPointSnapBuild CBC 1991 76.9 % (20 / 26) 64.3 % (18 / 28)
SnapBuildBuildSnapshot CBC 2426 100.0 % (28 / 28) 50.0 % (3 / 6)
SnapBuildCommitTxn CBC 4030 81.7 % (49 / 60) 60.3 % (41 / 68)
SnapBuildXidHasCatalogChanges CBC 5355 100.0 % (7 / 7) 87.5 % (7 / 8)
SnapBuildClearExportedSnapshot CBC 6093 87.5 % (7 / 8) 50.0 % (3 / 6)
SnapBuildSnapDecRefcount CBC 7800 92.3 % (12 / 13) 50.0 % (9 / 18)
SnapBuildSnapIncRefcount CBC 8102 100.0 % (3 / 3)
SnapBuildProcessNewCid CBC 28966 85.7 % (12 / 14) 70.0 % (7 / 10)
SnapBuildResetExportedSnapshotState CBC 35396 100.0 % (4 / 4)
SnapBuildXactNeedsSkip CBC 320783 100.0 % (2 / 2)
SnapBuildProcessChange CBC 1471017 84.6 % (11 / 13) 80.0 % (8 / 10)
SnapBuildCurrentState CBC 1980569 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1