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

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