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-26 11:16:08 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
AllocateSnapshotBuilder 1367
CheckPointSnapBuild 2086
FreeSnapshotBuilder 1031
SnapBuildAddCommittedTxn 2400
SnapBuildBuildSnapshot 3176
SnapBuildClearExportedSnapshot 6559
SnapBuildCommitTxn 5238
SnapBuildCurrentState 2279232
SnapBuildDistributeSnapshotAndInval 2386
SnapBuildExportSnapshot 1
SnapBuildFindSnapshot 1333
SnapBuildFreeSnapshot 2584
SnapBuildGetOrBuildSnapshot 9
SnapBuildGetTwoPhaseAt 37
SnapBuildInitialSnapshot 239
SnapBuildProcessChange 1559026
SnapBuildProcessNewCid 37661
SnapBuildProcessRunningXacts 1989
SnapBuildPurgeOlderTxn 686
SnapBuildResetExportedSnapshotState 37608
SnapBuildRestore 20
SnapBuildRestoreContents 28
SnapBuildRestoreSnapshot 22
SnapBuildSerializationPoint 139
SnapBuildSerialize 795
SnapBuildSetTwoPhaseAt 9
SnapBuildSnapDecRefcount 10360
SnapBuildSnapIncRefcount 10765
SnapBuildSnapshotExists 15
SnapBuildWaitSnapshot 24
SnapBuildXactNeedsSkip 481628
SnapBuildXidHasCatalogChanges 6553

Generated by: LCOV version 2.0-1