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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 86.1 % 599 516 1 82 2 26 488 2 16
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 32 32 11 21 1
Baseline: lcov-20260505-025707-baseline Branches: 58.2 % 490 285 7 198 3 35 247 6 22
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 93.3 % 15 14 1 14
(30,360] days: 100.0 % 14 14 12 2
(360..) days: 85.6 % 570 488 82 2 486
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(360..) days: 100.0 % 31 31 10 21
Branch coverage date bins:
(7,30] days: 80.0 % 20 16 4 16
(30,360] days: 86.4 % 22 19 3 19
(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
AllocateSnapshotBuilder GNC 1186 100.0 % (22 / 22)
CheckPointSnapBuild GNC 1944 76.9 % (20 / 26) 64.3 % (18 / 28)
FreeSnapshotBuilder GNC 938 100.0 % (8 / 8) 100.0 % (2 / 2)
SnapBuildAddCommittedTxn GNC 1512 100.0 % (8 / 8) 66.7 % (4 / 6)
SnapBuildBuildSnapshot CBC 2162 100.0 % (28 / 28) 50.0 % (3 / 6)
SnapBuildClearExportedSnapshot CBC 5810 87.5 % (7 / 8) 50.0 % (3 / 6)
SnapBuildCommitTxn CBC 3716 81.7 % (49 / 60) 60.3 % (41 / 68)
SnapBuildCurrentState CBC 2235528 100.0 % (2 / 2)
SnapBuildDistributeSnapshotAndInval GNC 1503 100.0 % (18 / 18) 83.3 % (15 / 18)
SnapBuildExportSnapshot CBC 1 85.7 % (12 / 14) 30.0 % (3 / 10)
SnapBuildFindSnapshot GNC 1166 93.0 % (40 / 43) 73.1 % (38 / 52)
SnapBuildFreeSnapshot CBC 1685 83.3 % (10 / 12) 38.9 % (7 / 18)
SnapBuildGetOrBuildSnapshot CBC 8 100.0 % (6 / 6) 75.0 % (3 / 4)
SnapBuildGetTwoPhaseAt CBC 35 100.0 % (2 / 2)
SnapBuildInitialSnapshot GNC 216 66.7 % (22 / 33) 27.5 % (11 / 40)
SnapBuildProcessChange CBC 1446607 84.6 % (11 / 13) 80.0 % (8 / 10)
SnapBuildProcessNewCid CBC 26781 85.7 % (12 / 14) 70.0 % (7 / 10)
SnapBuildProcessRunningXacts GNC 1653 96.6 % (28 / 29) 85.7 % (24 / 28)
SnapBuildPurgeOlderTxn CBC 507 95.8 % (23 / 24) 77.3 % (17 / 22)
SnapBuildResetExportedSnapshotState CBC 35353 100.0 % (4 / 4)
SnapBuildRestore GNC 20 71.8 % (28 / 39) 57.7 % (15 / 26)
SnapBuildRestoreContents CBC 32 50.0 % (6 / 12) 12.5 % (1 / 8)
SnapBuildRestoreSnapshot CBC 22 85.7 % (30 / 35) 42.9 % (12 / 28)
SnapBuildSerializationPoint CBC 80 80.0 % (4 / 5) 50.0 % (1 / 2)
SnapBuildSerialize GNC 564 84.1 % (74 / 88) 50.0 % (28 / 56)
SnapBuildSetTwoPhaseAt CBC 8 100.0 % (3 / 3)
SnapBuildSnapDecRefcount CBC 7045 92.3 % (12 / 13) 50.0 % (9 / 18)
SnapBuildSnapIncRefcount CBC 7323 100.0 % (3 / 3)
SnapBuildSnapshotExists CBC 13 85.7 % (6 / 7) 50.0 % (3 / 6)
SnapBuildWaitSnapshot GNC 19 81.8 % (9 / 11) 50.0 % (5 / 10)
SnapBuildXactNeedsSkip CBC 563852 100.0 % (2 / 2)
SnapBuildXidHasCatalogChanges CBC 4928 100.0 % (7 / 7) 87.5 % (7 / 8)

Generated by: LCOV version 2.5.0-beta