Line | Branch | Decision | Exec | Source |
---|---|---|---|---|
1 | #include "global.h" | |||
2 | #include "can_category.h" | |||
3 | // was generated automatically by rusEFI tool from can_category.h // by enum_to_string.jar tool on Wed May 07 01:54:45 UTC 2025 | |||
4 | // see also gen_config_and_enums.bat | |||
5 | ||||
6 | ||||
7 | ||||
8 | 73 | const char *getCanCategory(CanCategory value){ | ||
9 |
3/11✗ Branch 0 not taken.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✗ Branch 3 not taken.
✓ Branch 4 taken 6 times.
✗ Branch 5 not taken.
✓ Branch 6 taken 15 times.
✓ Branch 7 taken 52 times.
✗ Branch 8 not taken.
✗ Branch 9 not taken.
✗ Branch 10 not taken.
|
73 | switch(value) { | |
10 | ✗ | case CanCategory::BENCH_TEST: | ||
11 | ✗ | return "BENCH_TEST"; | ||
12 | ✗ | case CanCategory::CAN_IOBOX: | ||
13 | ✗ | return "CAN_IOBOX"; | ||
14 | ✗ | case CanCategory::DOWNSTREAM_FLASHING: | ||
15 | ✗ | return "DOWNSTREAM_FLASHING"; | ||
16 | ✗ | case CanCategory::GDI: | ||
17 | ✗ | return "GDI"; | ||
18 |
1/1✓ Decision 'true' taken 6 times.
|
6 | case CanCategory::LUA: | |
19 | 6 | return "LUA"; | ||
20 | ✗ | case CanCategory::NBC: | ||
21 | ✗ | return "NBC"; | ||
22 |
1/1✓ Decision 'true' taken 15 times.
|
15 | case CanCategory::OBD: | |
23 | 15 | return "OBD"; | ||
24 |
1/1✓ Decision 'true' taken 52 times.
|
52 | case CanCategory::SERIAL: | |
25 | 52 | return "SERIAL"; | ||
26 | ✗ | case CanCategory::VERBOSE: | ||
27 | ✗ | return "VERBOSE"; | ||
28 | ✗ | case CanCategory::WBO_SERVICE: | ||
29 | ✗ | return "WBO_SERVICE"; | ||
30 | } | |||
31 | ✗ | return NULL; | ||
32 | } | |||
33 |