LCOV - code coverage report

Current view
top level - src/_impl/xplat - _time_stamp.dart
Test
lcov.info
Date
2024-11-13
Legend
Lines
hit
not hit
Branches
taken
not taken
# not executed
HitTotalCoverage
Lines55100.0%
Functions00-
Branches00-
Each row represents a line of source code
LineBranchHitsSource code
141final _latestUPDEpoch = DateTime.utc(2020, 02, 02); // universal palindrome date
2
320int microsecTimeStamp([DateTime? time]) =>
461 (time ?? DateTime.now()).toUtc().difference(_latestUPDEpoch).inMicroseconds;
5
69DateTime? fromMicrosecTimeStamp(int? microsecs) => (microsecs == null)
7 ? null
836 : _latestUPDEpoch.add(Duration(microseconds: microsecs));
Choose Features