LCOV - differential code coverage report
Current view: top level - src/backend/utils/time - snapmgr.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 78.0 % 750 585 2 34 74 55 12 322 19 232 97 312 1 7
Current Date: 2023-04-08 15:15:32 Functions: 98.2 % 56 55 1 52 3 1 54 1
Baseline: 15
Baseline Date: 2023-04-08 15:09:40
Legend: Lines: hit not hit

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
GetOldSnapshotFromTimeMapping EUB 0
SetOldSnapshotThresholdTimestamp ECB 3
ExportSnapshot GIC 9 80.4 % (41 / 51)
pg_export_snapshot GIC 9 100.0 % (3 / 3)
ImportSnapshot GIC 18 70.0 % (42 / 60)
parseVxidFromText ECB 18
TransactionIdLimitedForOldSnapshots GIC 24 54.1 % (20 / 37)
ThereAreNoPriorRegisteredSnapshots ECB 26
parseXidFromText ECB 54
parseIntFromText GIC 126 76.9 % (10 / 13)
DeleteAllExportedSnapshotFiles GIC 151 72.7 % (8 / 11)
XactHasExportedSnapshots ECB 379
HistoricSnapshotGetTupleCids GIC 601 100.0 % (3 / 3)
GetOldSnapshotThresholdTimestamp ECB 651
SerializeSnapshot ECB 890
EstimateSnapshotSpace ECB 916
RestoreTransactionSnapshot GIC 1453 100.0 % (3 / 3)
SetTransactionSnapshot ECB 1471
SnapMgrInit GIC 1826 100.0 % (16 / 16)
SnapshotTooOldMagicForTest GIC 2627 100.0 % (8 / 8)
RestoreSnapshot GIC 3383 87.9 % (29 / 33)
AlignTimestampToMinuteBoundary GIC 3560 100.0 % (3 / 3)
MaintainOldSnapshotTimeMapping GIC 3560 23.6 % (17 / 72)
TeardownHistoricSnapshot GIC 3780 100.0 % (4 / 4)
SetupHistoricSnapshot ECB 3786
AtSubCommit_Snapshot GIC 4332 83.3 % (5 / 6)
AtSubAbort_Snapshot GIC 4483 100.0 % (14 / 14)
SnapMgrShmemSize GIC 4564 66.7 % (4 / 6)
GetSnapshotCurrentTimestamp GIC 6192 87.5 % (7 / 8)
UpdateActiveSnapshotCommandId ECB 44867
GetOldestSnapshot ECB 51113
HaveRegisteredOrActiveSnapshot ECB 51268
PushCopiedSnapshot GIC 62749 100.0 % (3 / 3)
GetLatestSnapshot GIC 147495 87.5 % (7 / 8)
AtEOXact_Snapshot ECB 486969
InvalidateCatalogSnapshotConditionally GIC 498735 100.0 % (6 / 6)
ActiveSnapshotSet ECB 799107
PushActiveSnapshot ECB 852969
GetActiveSnapshot GIC 893513 100.0 % (3 / 3)
GetTransactionSnapshot GIC 1028842 88.5 % (23 / 26)
PopActiveSnapshot GIC 1138069 100.0 % (13 / 13)
PushActiveSnapshotWithLevel GNC 1161869 100.0 % (15 / 15)
SnapshotSetCommandId GIC 1206680 100.0 % (7 / 7)
GetNonHistoricCatalogSnapshot ECB 8319334
GetCatalogSnapshot GIC 8329744 100.0 % (4 / 4)
RegisterSnapshotOnOwner GIC 8846204 90.0 % (9 / 10)
UnregisterSnapshotFromOwner ECB 8846204
xmin_cmp ECB 8863619
FreeSnapshot GIC 9312517 100.0 % (6 / 6)
CopySnapshot GIC 9332950 100.0 % (24 / 24)
UnregisterSnapshot GIC 9339581 100.0 % (4 / 4)
RegisterSnapshot ECB 9379752
HistoricSnapshotActive ECB 11078439
SnapshotResetXmin GIC 11078445 100.0 % (9 / 9)
InvalidateCatalogSnapshot GIC 17422509 100.0 % (6 / 6)
XidInMVCCSnapshot GIC 193368061 81.0 % (17 / 21)

Generated by: LCOV version v1.16-55-g56c0a2a