LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - snapbuild.c (source / functions) Coverage Total Hit LBC UBC GBC GNC CBC DCB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 85.9 % 590 507 4 79 3 1 503 1
Current Date: 2025-09-06 07:49:51 +0900 Functions: 100.0 % 32 32 3 29
Baseline: lcov-20250908-010021-baseline Branches: 56.9 % 476 271 4 201 2 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: 85.1 % 550 468 4 78 3 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.6 % 446 248 4 194 2 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
SnapBuildInitialSnapshot CBC 194 66.7 % (22 / 33) 27.5 % (11 / 40)
SnapBuildCommitTxn CBC 3095 81.7 % (49 / 60) 58.8 % (40 / 68)
SnapBuildSerialize CBC 470 84.1 % (74 / 88) 50.0 % (28 / 56)
SnapBuildRestoreSnapshot CBC 23 85.7 % (30 / 35) 42.9 % (12 / 28)
SnapBuildFindSnapshot GNC 1031 100.0 % (43 / 43) 75.0 % (36 / 48)
SnapBuildRestore GNC 21 71.8 % (28 / 39) 50.0 % (12 / 24)
SnapBuildFreeSnapshot CBC 1395 83.3 % (10 / 12) 38.9 % (7 / 18)
CheckPointSnapBuild CBC 1673 76.9 % (20 / 26) 64.3 % (18 / 28)
SnapBuildSnapDecRefcount CBC 5810 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 436 95.8 % (23 / 24) 77.3 % (17 / 22)
SnapBuildWaitSnapshot CBC 20 81.8 % (9 / 11) 50.0 % (5 / 10)
SnapBuildAddCommittedTxn CBC 1235 55.6 % (5 / 9) 33.3 % (2 / 6)
SnapBuildBuildSnapshot CBC 1811 100.0 % (28 / 28) 50.0 % (3 / 6)
SnapBuildClearExportedSnapshot CBC 5052 87.5 % (7 / 8) 50.0 % (3 / 6)
SnapBuildDistributeSnapshotAndInval GNC 1226 100.0 % (18 / 18) 83.3 % (15 / 18)
SnapBuildProcessNewCid CBC 24328 85.7 % (12 / 14) 70.0 % (7 / 10)
SnapBuildSnapshotExists CBC 12 85.7 % (6 / 7) 50.0 % (3 / 6)
SnapBuildProcessChange CBC 1492262 84.6 % (11 / 13) 80.0 % (8 / 10)
SnapBuildProcessRunningXacts CBC 1443 100.0 % (21 / 21) 90.0 % (18 / 20)
SnapBuildGetOrBuildSnapshot CBC 8 100.0 % (6 / 6) 75.0 % (3 / 4)
SnapBuildSerializationPoint CBC 58 80.0 % (4 / 5) 50.0 % (1 / 2)
SnapBuildXidHasCatalogChanges CBC 4308 100.0 % (7 / 7) 87.5 % (7 / 8)
FreeSnapshotBuilder CBC 837 100.0 % (7 / 7) 100.0 % (2 / 2)
AllocateSnapshotBuilder CBC 1048 100.0 % (21 / 21)
SnapBuildCurrentState CBC 2232635 100.0 % (2 / 2)
SnapBuildGetTwoPhaseAt CBC 32 100.0 % (2 / 2)
SnapBuildResetExportedSnapshotState CBC 24972 100.0 % (4 / 4)
SnapBuildSetTwoPhaseAt CBC 8 100.0 % (3 / 3)
SnapBuildSnapIncRefcount CBC 6048 100.0 % (3 / 3)
SnapBuildXactNeedsSkip CBC 518490 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta