LCOV - code coverage report
Current view: top level - src/backend/replication/logical - snapbuild.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 84.8 % 558 473
Test Date: 2026-08-11 17:15:34 Functions: 100.0 % 32 32
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 58.1 % 396 230

Function Name Sort by function name Hit count Sort by function hit count
SnapBuildExportSnapshot 1
SnapBuildSetTwoPhaseAt 7
SnapBuildGetOrBuildSnapshot 8
SnapBuildSnapshotExists 15
SnapBuildWaitSnapshot 17
SnapBuildRestore 18
SnapBuildRestoreSnapshot 20
SnapBuildRestoreContents 26
SnapBuildGetTwoPhaseAt 36
SnapBuildSerializationPoint 95
SnapBuildInitialSnapshot 223
SnapBuildPurgeOlderTxn 540
SnapBuildSerialize 614
FreeSnapshotBuilder 966
SnapBuildFindSnapshot 1201
AllocateSnapshotBuilder 1235
SnapBuildDistributeSnapshotAndInval 1618
SnapBuildAddCommittedTxn 1627
SnapBuildProcessRunningXacts 1720
SnapBuildFreeSnapshot 1806
CheckPointSnapBuild 1973
SnapBuildBuildSnapshot 2313
SnapBuildCommitTxn 3882
SnapBuildXidHasCatalogChanges 5098
SnapBuildClearExportedSnapshot 6023
SnapBuildSnapDecRefcount 7420
SnapBuildSnapIncRefcount 7735
SnapBuildProcessNewCid 28303
SnapBuildResetExportedSnapshotState 36123
SnapBuildXactNeedsSkip 467064
SnapBuildProcessChange 1449109
SnapBuildCurrentState 2132667

Generated by: LCOV version 2.0-1