LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - snapbuild.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DCB
Current: 806555e3000d0b0e0c536c1dc65548128d457d86 vs 1d325ad99cb2dec0e8b45ba36909ee0a497d2a57 Lines: 85.4 % 590 504 4 82 10 494 10
Current Date: 2025-12-17 08:58:58 +0900 Functions: 100.0 % 32 32 8 24
Baseline: lcov-20251217-005640-baseline Branches: 56.3 % 476 268 3 4 201 19 249
Baseline Date: 2025-12-16 12:57:12 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 2 2 2
(30,360] days: 100.0 % 22 22 8 14
(360..) days: 84.8 % 566 480 4 82 480
Function coverage date bins:
(30,360] days: 100.0 % 2 2 1 1
(360..) days: 100.0 % 30 30 7 23
Branch coverage date bins:
(30,360] days: 87.5 % 32 28 3 1 19 9
(360..) days: 54.1 % 444 240 4 200 240

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 1059 100.0 % (21 / 21)
CheckPointSnapBuild GNC 1729 76.9 % (20 / 26) 64.3 % (18 / 28)
FreeSnapshotBuilder CBC 846 100.0 % (7 / 7) 100.0 % (2 / 2)
SnapBuildAddCommittedTxn CBC 1265 55.6 % (5 / 9) 33.3 % (2 / 6)
SnapBuildBuildSnapshot CBC 1848 100.0 % (28 / 28) 50.0 % (3 / 6)
SnapBuildClearExportedSnapshot CBC 5164 87.5 % (7 / 8) 50.0 % (3 / 6)
SnapBuildCommitTxn CBC 3131 81.7 % (49 / 60) 58.8 % (40 / 68)
SnapBuildCurrentState CBC 2135703 100.0 % (2 / 2)
SnapBuildDistributeSnapshotAndInval GNC 1256 100.0 % (18 / 18) 83.3 % (15 / 18)
SnapBuildExportSnapshot CBC 1 85.7 % (12 / 14) 30.0 % (3 / 10)
SnapBuildFindSnapshot GNC 1031 93.0 % (40 / 43) 68.8 % (33 / 48)
SnapBuildFreeSnapshot CBC 1424 83.3 % (10 / 12) 38.9 % (7 / 18)
SnapBuildGetOrBuildSnapshot CBC 8 100.0 % (6 / 6) 75.0 % (3 / 4)
SnapBuildGetTwoPhaseAt CBC 32 100.0 % (2 / 2)
SnapBuildInitialSnapshot GNC 198 66.7 % (22 / 33) 27.5 % (11 / 40)
SnapBuildProcessChange CBC 1400592 84.6 % (11 / 13) 80.0 % (8 / 10)
SnapBuildProcessNewCid CBC 24187 85.7 % (12 / 14) 70.0 % (7 / 10)
SnapBuildProcessRunningXacts GNC 1446 100.0 % (21 / 21) 90.0 % (18 / 20)
SnapBuildPurgeOlderTxn CBC 436 95.8 % (23 / 24) 77.3 % (17 / 22)
SnapBuildResetExportedSnapshotState CBC 26080 100.0 % (4 / 4)
SnapBuildRestore GNC 18 71.8 % (28 / 39) 50.0 % (12 / 24)
SnapBuildRestoreContents CBC 26 50.0 % (6 / 12) 12.5 % (1 / 8)
SnapBuildRestoreSnapshot CBC 20 85.7 % (30 / 35) 42.9 % (12 / 28)
SnapBuildSerializationPoint CBC 58 80.0 % (4 / 5) 50.0 % (1 / 2)
SnapBuildSerialize GNC 473 84.1 % (74 / 88) 50.0 % (28 / 56)
SnapBuildSetTwoPhaseAt CBC 7 100.0 % (3 / 3)
SnapBuildSnapDecRefcount CBC 5921 92.3 % (12 / 13) 50.0 % (9 / 18)
SnapBuildSnapIncRefcount CBC 6161 100.0 % (3 / 3)
SnapBuildSnapshotExists CBC 13 85.7 % (6 / 7) 50.0 % (3 / 6)
SnapBuildWaitSnapshot CBC 17 81.8 % (9 / 11) 50.0 % (5 / 10)
SnapBuildXactNeedsSkip CBC 516920 100.0 % (2 / 2)
SnapBuildXidHasCatalogChanges CBC 4344 100.0 % (7 / 7) 87.5 % (7 / 8)

Generated by: LCOV version 2.4-beta