LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - snapbuild.c (source / functions) Coverage Total Hit LBC UBC GNC CBC DCB
Current: b45a8d7d8b306b43f31a002f1b3f1dddc8defeaf vs 8767b449a3a1e75626dfb08f24da54933171d4c5 Lines: 85.4 % 590 504 4 82 1 503 1
Current Date: 2025-10-28 08:26:42 +0900 Functions: 100.0 % 32 32 3 29
Baseline: lcov-20251028-005825-baseline Branches: 56.5 % 476 269 3 204 2 267
Baseline Date: 2025-10-27 06:37:35 +0000 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 15 15 1 14
(360..) days: 85.0 % 575 489 4 82 489
Function coverage date bins:
(30,360] days: 100.0 % 2 2 1 1
(360..) days: 100.0 % 30 30 2 28
Branch coverage date bins:
(30,360] days: 91.7 % 12 11 1 2 9
(360..) days: 55.6 % 464 258 3 203 258

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
SnapBuildExportSnapshot CBC 1 85.7 % (12 / 14) 30.0 % (3 / 10)
SnapBuildGetOrBuildSnapshot CBC 8 100.0 % (6 / 6) 75.0 % (3 / 4)
SnapBuildSetTwoPhaseAt CBC 8 100.0 % (3 / 3)
SnapBuildSnapshotExists CBC 12 85.7 % (6 / 7) 50.0 % (3 / 6)
SnapBuildWaitSnapshot CBC 18 81.8 % (9 / 11) 50.0 % (5 / 10)
SnapBuildRestore GNC 19 71.8 % (28 / 39) 50.0 % (12 / 24)
SnapBuildRestoreSnapshot CBC 21 85.7 % (30 / 35) 42.9 % (12 / 28)
SnapBuildRestoreContents CBC 29 50.0 % (6 / 12) 12.5 % (1 / 8)
SnapBuildGetTwoPhaseAt CBC 32 100.0 % (2 / 2)
SnapBuildSerializationPoint CBC 60 80.0 % (4 / 5) 50.0 % (1 / 2)
SnapBuildInitialSnapshot CBC 196 66.7 % (22 / 33) 27.5 % (11 / 40)
SnapBuildPurgeOlderTxn CBC 429 95.8 % (23 / 24) 77.3 % (17 / 22)
SnapBuildSerialize CBC 467 84.1 % (74 / 88) 50.0 % (28 / 56)
FreeSnapshotBuilder CBC 841 100.0 % (7 / 7) 100.0 % (2 / 2)
SnapBuildFindSnapshot GNC 1028 93.0 % (40 / 43) 70.8 % (34 / 48)
AllocateSnapshotBuilder CBC 1055 100.0 % (21 / 21)
SnapBuildDistributeSnapshotAndInval GNC 1279 100.0 % (18 / 18) 83.3 % (15 / 18)
SnapBuildAddCommittedTxn CBC 1288 55.6 % (5 / 9) 33.3 % (2 / 6)
SnapBuildProcessRunningXacts CBC 1435 100.0 % (21 / 21) 90.0 % (18 / 20)
SnapBuildFreeSnapshot CBC 1447 83.3 % (10 / 12) 38.9 % (7 / 18)
CheckPointSnapBuild CBC 1701 76.9 % (20 / 26) 64.3 % (18 / 28)
SnapBuildBuildSnapshot CBC 1868 100.0 % (28 / 28) 50.0 % (3 / 6)
SnapBuildCommitTxn CBC 3168 81.7 % (49 / 60) 58.8 % (40 / 68)
SnapBuildXidHasCatalogChanges CBC 4389 100.0 % (7 / 7) 87.5 % (7 / 8)
SnapBuildClearExportedSnapshot CBC 5103 87.5 % (7 / 8) 50.0 % (3 / 6)
SnapBuildSnapDecRefcount CBC 5998 92.3 % (12 / 13) 50.0 % (9 / 18)
SnapBuildSnapIncRefcount CBC 6241 100.0 % (3 / 3)
SnapBuildProcessNewCid CBC 24452 85.7 % (12 / 14) 70.0 % (7 / 10)
SnapBuildResetExportedSnapshotState CBC 25290 100.0 % (4 / 4)
SnapBuildXactNeedsSkip CBC 330676 100.0 % (2 / 2)
SnapBuildProcessChange CBC 1354531 84.6 % (11 / 13) 80.0 % (8 / 10)
SnapBuildCurrentState CBC 1873114 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta