LCOV - code coverage report

Current view
top level - src/annotations - target_platform.dart
Test
lcov.info
Date
2024-11-13
Legend
Lines
hit
not hit
Branches
taken
not taken
# not executed
HitTotalCoverage
Lines030.0%
Functions00-
Branches00-
Each row represents a line of source code
LineBranchHitsSource code
1final class TargetPlatform {
2 static const vm = 1;
3 static const js = 2;
4 static const wasm = 4;
5
6 static const web = js | wasm;
7 static const all = vm | js | wasm;
8}
9
10extension TargetPlatformExt on int {
110 bool get hasVm => (this & TargetPlatform.vm) != 0;
120 bool get hasJs => (this & TargetPlatform.js) != 0;
130 bool get hasWasm => (this & TargetPlatform.wasm) != 0;
14}
Choose Features