LCOV - code coverage report
Current view: top level - src/backend/replication/logical - snapbuild.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 86.0 % 566 487
Test Date: 2026-11-06 07:15:50 Functions: 100.0 % 32 32
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 60.9 % 402 245

Function Name Sort by function name Hit count Sort by function hit count
SnapBuildExportSnapshot 1
SnapBuildSetTwoPhaseAt 8
SnapBuildGetOrBuildSnapshot 9
SnapBuildSnapshotExists 14
SnapBuildRestore 20
SnapBuildRestoreSnapshot 22
SnapBuildWaitSnapshot 25
SnapBuildRestoreContents 29
SnapBuildGetTwoPhaseAt 34
SnapBuildSerializationPoint 121
SnapBuildInitialSnapshot 236
SnapBuildPurgeOlderTxn 618
SnapBuildSerialize 708
FreeSnapshotBuilder 1012
SnapBuildFindSnapshot 1279
AllocateSnapshotBuilder 1310
SnapBuildProcessRunningXacts 1866
CheckPointSnapBuild 2053
SnapBuildDistributeSnapshotAndInval 2184
SnapBuildAddCommittedTxn 2198
SnapBuildFreeSnapshot 2380
SnapBuildBuildSnapshot 2934
SnapBuildCommitTxn 4792
SnapBuildXidHasCatalogChanges 6099
SnapBuildClearExportedSnapshot 6382
SnapBuildSnapDecRefcount 9561
SnapBuildSnapIncRefcount 9908
SnapBuildProcessNewCid 33578
SnapBuildResetExportedSnapshotState 36206
SnapBuildXactNeedsSkip 475796
SnapBuildProcessChange 1416414
SnapBuildCurrentState 2125575

Generated by: LCOV version 2.0-1