LCOV - code coverage report

Current view
top level - src - squadron_platform_type.dart
Test
lcov.info
Date
2026-11-07
Legend
Lines
hit
not hit
Branches
taken
not taken
# not executed
HitTotalCoverage
Lines101190.9%
Functions00-
Branches00-
Each row represents a line of source code
LineBranchHitsSource code
1enum SquadronPlatformType {
2 unknown('Unknown'),
3 vm('Dart VM'),
4 js('JavaScript'),
5 wasm('Web Assembly');
6
7 const SquadronPlatformType(this.label);
8
9 final String label;
10
112 bool get isVm => this == vm;
122 bool get isJs => this == js;
132 bool get isWasm => this == wasm;
143 bool get isWeb => isJs || isWasm;
15
161 static SquadronPlatformType? tryParse(String label) {
172 if (label == js.label) return js;
182 if (label == wasm.label) return wasm;
192 if (label == vm.label) return vm;
200 if (label == unknown.label) return unknown;
21 return null;
22 }
23
241 @override
251 String toString() => label;
26}
27
28enum SquadronOSType {
29 unknown,
30 windows,
31 linux,
32 fuchsia,
33 macos,
34 android,
35 ios,
36 web
37}
Choose Features