GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 11 / 0 / 11
Functions: 100.0% 3 / 0 / 3
Branches: 100.0% 7 / 0 / 7
Decisions: -% 0 / - / 0

unit_tests/tests/test_hardware_reinit.cpp
Line Branch Decision Exec Source
1 #include "pch.h"
2
3 4 TEST(hardware, reinit) {
4
1/1
✓ Branch 2 taken 1 time.
1 EngineTestHelper eth(engine_type_e::FRANKENSO_MIATA_NA6_MAP);
5
6
1/1
✓ Branch 1 taken 1 time.
1 ButtonDebounce::stopConfigurationList();
7
1/1
✓ Branch 1 taken 1 time.
1 ButtonDebounce::startConfigurationList();
8
9
1/1
✓ Branch 1 taken 1 time.
1 ButtonDebounce::stopConfigurationList();
10
1/1
✓ Branch 1 taken 1 time.
1 ButtonDebounce::startConfigurationList();
11
12
13
1/1
✓ Branch 1 taken 1 time.
1 resetConfigurationExt(nullptr, engine_type_e::DODGE_NEON_1995);
14
1/1
✓ Branch 1 taken 1 time.
1 resetConfigurationExt(nullptr, engine_type_e::FRANKENSO_MIATA_NA6_MAP);
15 2 }
16