LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - snapbuild.c (source / functions) Coverage Total Hit UBC GBC GNC CBC DCB
Current: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 87.4 % 597 522 75 1 1 520 1
Current Date: 2026-11-28 16:48:44 +0900 Functions: 100.0 % 32 32 1 31
Baseline: lcov-20261128-baseline Branches: 60.0 % 488 293 195 2 2 289
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 19 19 1 18
(360..) days: 87.0 % 578 503 75 1 502
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 31 31 1 30
Branch coverage date bins:
(30,360] days: 90.0 % 20 18 2 2 16
(360..) days: 58.8 % 468 275 193 2 273

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 CBC 1332 100.0 % (21 / 21)
CheckPointSnapBuild CBC 2058 76.9 % (20 / 26) 64.3 % (18 / 28)
FreeSnapshotBuilder CBC 1027 100.0 % (7 / 7) 100.0 % (2 / 2)
SnapBuildAddCommittedTxn CBC 2259 100.0 % (8 / 8) 83.3 % (5 / 6)
SnapBuildBuildSnapshot CBC 3007 100.0 % (28 / 28) 50.0 % (3 / 6)
SnapBuildClearExportedSnapshot CBC 6422 87.5 % (7 / 8) 50.0 % (3 / 6)
SnapBuildCommitTxn CBC 4916 86.7 % (52 / 60) 64.7 % (44 / 68)
SnapBuildCurrentState CBC 2208218 100.0 % (2 / 2)
SnapBuildDistributeSnapshotAndInval CBC 2244 100.0 % (18 / 18) 83.3 % (15 / 18)
SnapBuildExportSnapshot CBC 1 85.7 % (12 / 14) 30.0 % (3 / 10)
SnapBuildFindSnapshot CBC 1298 93.0 % (40 / 43) 76.9 % (40 / 52)
SnapBuildFreeSnapshot CBC 2443 83.3 % (10 / 12) 38.9 % (7 / 18)
SnapBuildGetOrBuildSnapshot CBC 9 100.0 % (6 / 6) 75.0 % (3 / 4)
SnapBuildGetTwoPhaseAt CBC 38 100.0 % (2 / 2)
SnapBuildInitialSnapshot CBC 236 80.5 % (33 / 41) 39.1 % (18 / 46)
SnapBuildProcessChange CBC 1615159 92.3 % (12 / 13) 90.0 % (9 / 10)
SnapBuildProcessNewCid CBC 36324 85.7 % (12 / 14) 70.0 % (7 / 10)
SnapBuildProcessRunningXacts CBC 1957 100.0 % (21 / 21) 90.0 % (18 / 20)
SnapBuildPurgeOlderTxn GNC 695 95.8 % (23 / 24) 77.3 % (17 / 22)
SnapBuildResetExportedSnapshotState CBC 37243 100.0 % (4 / 4)
SnapBuildRestore CBC 26 71.8 % (28 / 39) 57.7 % (15 / 26)
SnapBuildRestoreContents CBC 47 50.0 % (6 / 12) 12.5 % (1 / 8)
SnapBuildRestoreSnapshot CBC 28 85.7 % (30 / 35) 42.9 % (12 / 28)
SnapBuildSerializationPoint CBC 122 80.0 % (4 / 5) 50.0 % (1 / 2)
SnapBuildSerialize CBC 781 84.1 % (74 / 88) 50.0 % (28 / 56)
SnapBuildSetTwoPhaseAt CBC 9 100.0 % (3 / 3)
SnapBuildSnapDecRefcount CBC 9722 92.3 % (12 / 13) 50.0 % (9 / 18)
SnapBuildSnapIncRefcount CBC 10086 100.0 % (3 / 3)
SnapBuildSnapshotExists CBC 15 85.7 % (6 / 7) 50.0 % (3 / 6)
SnapBuildWaitSnapshot CBC 30 81.8 % (9 / 11) 50.0 % (5 / 10)
SnapBuildXactNeedsSkip CBC 385770 100.0 % (2 / 2)
SnapBuildXidHasCatalogChanges CBC 6259 100.0 % (7 / 7) 87.5 % (7 / 8)

Generated by: LCOV version 2.0-1