LCOV - differential code coverage report
Current view: top level - src/backend/access/transam - twophase.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DUB DCB
Current: c3df85756ceb0246958ef2b72c04aba51e52de13 vs 167cb26718e3eae4fef470900b4cd1d434f15649 Lines: 88.0 % 844 743 20 1 80 89 654 6 74
Current Date: 2025-12-18 07:33:40 +0900 Functions: 97.8 % 46 45 1 30 15 13
Baseline: lcov-20251218-005734-baseline Branches: 54.3 % 532 289 28 2 213 22 267
Baseline Date: 2025-12-17 11:55:04 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 6 6 6
(30,360] days: 79.8 % 109 87 20 2 83 4
(360..) days: 89.2 % 729 650 1 78 650
Function coverage date bins:
(30,360] days: 100.0 % 16 16 15 1
(360..) days: 96.7 % 30 29 1 15 14
Branch coverage date bins:
(30,360] days: 42.6 % 54 23 28 3 22 1
(360..) days: 55.6 % 478 266 2 210 266

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
AdjustToFullTransactionId CBC 340 100.0 % (3 / 3) 50.0 % (1 / 2)
AtAbort_Twophase CBC 26179 88.9 % (8 / 9) 75.0 % (3 / 4)
AtProcExit_Twophase CBC 138 100.0 % (3 / 3)
CheckPointTwoPhase GNC 1732 100.0 % (21 / 21) 83.3 % (15 / 18)
EndPrepare CBC 288 97.0 % (32 / 33) 65.0 % (13 / 20)
FinishPreparedTransaction GNC 308 96.8 % (60 / 62) 81.8 % (18 / 22)
GXactLoadSubxactData CBC 127 100.0 % (9 / 9) 100.0 % (4 / 4)
GetPreparedTransactionList GNC 116 100.0 % (13 / 13) 100.0 % (4 / 4)
IsTwoPhaseTransactionGidForSubid UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
LockGXact CBC 308 83.3 % (20 / 24) 45.8 % (11 / 24)
LookupGXact GNC 5 89.5 % (17 / 19) 50.0 % (7 / 14)
LookupGXactBySubid CBC 1 54.5 % (6 / 11) 16.7 % (1 / 6)
MarkAsPrepared CBC 321 100.0 % (9 / 9) 83.3 % (5 / 6)
MarkAsPreparing GNC 309 91.3 % (21 / 23) 59.1 % (13 / 22)
PostPrepare_Twophase CBC 321 100.0 % (6 / 6)
PrepareRedoAdd GNC 98 88.9 % (32 / 36) 46.9 % (15 / 32)
PrepareRedoRemove GNC 72 100.0 % (4 / 4)
PrepareRedoRemoveFull GNC 72 100.0 % (17 / 17) 68.8 % (11 / 16)
PrescanPreparedTransactions GNC 927 90.6 % (29 / 32) 81.2 % (13 / 16)
RecordTransactionAbortPrepared CBC 43 93.3 % (14 / 15) 58.3 % (7 / 12)
RecordTransactionCommitPrepared GNC 252 100.0 % (21 / 21) 71.4 % (10 / 14)
RecoverPreparedTransactions GNC 872 97.1 % (34 / 35) 70.0 % (7 / 10)
RecreateTwoPhaseFile GNC 24 65.4 % (17 / 26) 20.8 % (5 / 24)
RegisterTwoPhaseRecord CBC 1550 100.0 % (8 / 8) 100.0 % (2 / 2)
RemoveGXact CBC 360 90.0 % (9 / 10) 50.0 % (4 / 8)
RemoveTwoPhaseFile GNC 28 66.7 % (4 / 6) 12.5 % (1 / 8)
StandbyRecoverPreparedTransactions GNC 55 100.0 % (11 / 11) 66.7 % (4 / 6)
StandbyTransactionIdIsPrepared GNC 340 58.3 % (7 / 12) 50.0 % (3 / 6)
StartPrepare GNC 290 100.0 % (54 / 54) 100.0 % (12 / 12)
TwoPhaseGetDummyProc GNC 1169 100.0 % (3 / 3)
TwoPhaseGetGXact GNC 1306 94.7 % (18 / 19) 72.2 % (13 / 18)
TwoPhaseGetOldestXidInCommit GNC 118 30.0 % (6 / 20) 7.1 % (1 / 14)
TwoPhaseGetXidByVirtualXID GNC 80 88.9 % (16 / 18) 71.4 % (10 / 14)
TwoPhaseShmemInit CBC 1071 93.3 % (14 / 15) 50.0 % (4 / 8)
TwoPhaseShmemSize CBC 3061 100.0 % (6 / 6)
TwoPhaseTransactionGid CBC 50 83.3 % (5 / 6) 33.3 % (2 / 6)
XlogReadTwoPhaseData GNC 372 75.0 % (15 / 20) 30.0 % (6 / 20)
pg_prepared_xact GNC 162 97.1 % (33 / 34) 87.5 % (7 / 8)
restoreTwoPhaseData GNC 927 92.9 % (13 / 14) 75.0 % (6 / 8)
save_state_data GNC 3619 100.0 % (15 / 15) 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta