LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - snapbuild.c (source / functions) Coverage Total Hit LBC UBC GNC CBC DCB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 85.4 % 590 504 1 85 1 503 1
Current Date: 2025-09-06 07:49:51 +0900 Functions: 100.0 % 32 32 3 29
Baseline: lcov-20250907-010129-baseline Branches: 56.5 % 476 269 2 205 2 267
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 1 1 1
(30,360] days: 97.4 % 39 38 1 1 37
(360..) days: 84.5 % 550 465 1 84 465
Function coverage date bins:
(30,360] days: 100.0 % 4 4 2 2
(360..) days: 100.0 % 28 28 1 27
Branch coverage date bins:
(30,360] days: 76.7 % 30 23 7 2 21
(360..) days: 55.2 % 446 246 2 198 246

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 12 85.7 % (6 / 7) 50.0 % (3 / 6)
SnapBuildWaitSnapshot CBC 18 81.8 % (9 / 11) 50.0 % (5 / 10)
SnapBuildRestore GNC 19 71.8 % (28 / 39) 50.0 % (12 / 24)
SnapBuildRestoreSnapshot CBC 21 85.7 % (30 / 35) 42.9 % (12 / 28)
SnapBuildRestoreContents CBC 29 50.0 % (6 / 12) 12.5 % (1 / 8)
SnapBuildGetTwoPhaseAt CBC 32 100.0 % (2 / 2)
SnapBuildSerializationPoint CBC 55 80.0 % (4 / 5) 50.0 % (1 / 2)
SnapBuildInitialSnapshot CBC 194 66.7 % (22 / 33) 27.5 % (11 / 40)
SnapBuildPurgeOlderTxn CBC 420 95.8 % (23 / 24) 77.3 % (17 / 22)
SnapBuildSerialize CBC 453 84.1 % (74 / 88) 50.0 % (28 / 56)
FreeSnapshotBuilder CBC 838 100.0 % (7 / 7) 100.0 % (2 / 2)
SnapBuildFindSnapshot GNC 1013 93.0 % (40 / 43) 70.8 % (34 / 48)
AllocateSnapshotBuilder CBC 1049 100.0 % (21 / 21)
SnapBuildDistributeSnapshotAndInval GNC 1201 100.0 % (18 / 18) 83.3 % (15 / 18)
SnapBuildAddCommittedTxn CBC 1210 55.6 % (5 / 9) 33.3 % (2 / 6)
SnapBuildFreeSnapshot CBC 1367 83.3 % (10 / 12) 38.9 % (7 / 18)
SnapBuildProcessRunningXacts CBC 1411 100.0 % (21 / 21) 90.0 % (18 / 20)
CheckPointSnapBuild CBC 1671 76.9 % (20 / 26) 64.3 % (18 / 28)
SnapBuildBuildSnapshot CBC 1783 100.0 % (28 / 28) 50.0 % (3 / 6)
SnapBuildCommitTxn CBC 3031 81.7 % (49 / 60) 58.8 % (40 / 68)
SnapBuildXidHasCatalogChanges CBC 4240 100.0 % (7 / 7) 87.5 % (7 / 8)
SnapBuildClearExportedSnapshot CBC 5053 87.5 % (7 / 8) 50.0 % (3 / 6)
SnapBuildSnapDecRefcount CBC 5689 92.3 % (12 / 13) 50.0 % (9 / 18)
SnapBuildSnapIncRefcount CBC 5930 100.0 % (3 / 3)
SnapBuildProcessNewCid CBC 24228 85.7 % (12 / 14) 70.0 % (7 / 10)
SnapBuildResetExportedSnapshotState CBC 24961 100.0 % (4 / 4)
SnapBuildXactNeedsSkip CBC 328575 100.0 % (2 / 2)
SnapBuildProcessChange CBC 1253096 84.6 % (11 / 13) 80.0 % (8 / 10)
SnapBuildCurrentState CBC 1769307 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta