GCC Code Coverage Report


Directory: ./
File: unit_tests/boards.cpp
Date: 2025-10-03 00:57:22
Coverage Exec Excl Total
Lines: 33.3% 2 0 6
Functions: 33.3% 1 0 3
Branches: -% 0 0 0
Decisions: -% 0 - 0

Line Branch Decision Exec Source
1 /**
2 * @file board.cpp
3 *
4 * @date Nov 15, 2013
5 * @author Andrey Belomutskiy, (c) 2012-2020
6 */
7
8 #include "pch.h"
9
10 #include "boards.h"
11
12 int adcGetRawValue(const char * /*msg*/, int /*hwChannel*/) {
13 return 0;
14 }
15
16 // voltage in MCU universe, from zero to VDD
17 expected<float> adcGetRawVoltage(const char *msg, adc_channel_e hwChannel) {
18 return expected(0.0f);
19 }
20
21 // voltage in ECU universe, with all input dividers and OpAmps gains taken into account, voltage at ECU connector pin
22 195464 expected<float> adcGetScaledVoltage(const char *msg, adc_channel_e hwChannel) {
23 195464 return expected(0.0f);
24 }
25