GCC Code Coverage Report
Directory:
./
Date:
2025-12-16 19:41:02
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Exec
Total
Coverage
Lines:
591
1175
50.3%
Functions:
71
169
42.0%
Branches:
278
806
34.5%
List of functions
File
Lines
Functions
Branches
components/parking_system/include/events/Event.h
8.3
8.3%
4 / 48
33.3%
1 / 3
0.0%
0 / 19
components/parking_system/include/events/IEventBus.h
100.0
100.0%
1 / 1
100.0%
1 / 1
-%
0 / 0
components/parking_system/include/gates/EntryGateController.h
100.0
100.0%
4 / 4
100.0%
2 / 2
-%
0 / 0
components/parking_system/include/gates/ExitGateController.h
100.0
100.0%
4 / 4
100.0%
2 / 2
-%
0 / 0
components/parking_system/include/gates/IGate.h
100.0
100.0%
1 / 1
100.0%
1 / 1
-%
0 / 0
components/parking_system/include/hal/EspGpioOutput.h
0.0
0.0%
0 / 1
0.0%
0 / 1
-%
0 / 0
components/parking_system/include/hal/IGpioInput.h
100.0
100.0%
1 / 1
100.0%
1 / 1
-%
0 / 0
components/parking_system/include/hal/IGpioOutput.h
0.0
0.0%
0 / 1
0.0%
0 / 1
-%
0 / 0
components/parking_system/include/tickets/ITicketService.h
100.0
100.0%
1 / 1
100.0%
1 / 1
-%
0 / 0
components/parking_system/include/tickets/Ticket.h
100.0
100.0%
12 / 12
100.0%
2 / 2
-%
0 / 0
components/parking_system/src/events/FreeRtosEventBus.cpp
0.0
0.0%
0 / 98
0.0%
0 / 12
0.0%
0 / 80
components/parking_system/src/gates/EntryGateController.cpp
78.6
78.6%
121 / 154
72.2%
13 / 18
53.9%
41 / 76
components/parking_system/src/gates/ExitGateController.cpp
73.5
73.5%
122 / 166
60.0%
12 / 20
49.1%
53 / 108
components/parking_system/src/gates/Gate.cpp
0.0
0.0%
0 / 31
0.0%
0 / 6
0.0%
0 / 18
components/parking_system/src/hal/EspGpioInput.cpp
0.0
0.0%
0 / 66
0.0%
0 / 9
0.0%
0 / 26
components/parking_system/src/hal/EspGpioOutput.cpp
0.0
0.0%
0 / 21
0.0%
0 / 3
0.0%
0 / 12
components/parking_system/src/hal/EspServoOutput.cpp
0.0
0.0%
0 / 43
0.0%
0 / 5
0.0%
0 / 22
components/parking_system/src/tickets/TicketService.cpp
0.0
0.0%
0 / 98
0.0%
0 / 10
0.0%
0 / 72
test/unit-tests/mocks/MockEventBus.h
75.9
75.9%
22 / 29
85.7%
6 / 7
61.1%
11 / 18
test/unit-tests/mocks/MockGate.h
84.6
84.6%
11 / 13
80.0%
4 / 5
-%
0 / 0
test/unit-tests/mocks/MockGpioInput.h
26.7
26.7%
4 / 15
20.0%
1 / 5
-%
0 / 0
test/unit-tests/mocks/MockTicketService.h
77.3
77.3%
34 / 44
77.8%
7 / 9
57.1%
16 / 28
test/unit-tests/stubs/driver/gpio.h
0.0
0.0%
0 / 12
0.0%
0 / 6
-%
0 / 0
test/unit-tests/stubs/driver/ledc.h
0.0
0.0%
0 / 10
0.0%
0 / 5
-%
0 / 0
test/unit-tests/stubs/esp_err.h
0.0
0.0%
0 / 12
0.0%
0 / 1
0.0%
0 / 5
test/unit-tests/stubs/esp_timer.h
0.0
0.0%
0 / 3
0.0%
0 / 1
-%
0 / 0
test/unit-tests/stubs/freertos/queue.h
0.0
0.0%
0 / 11
0.0%
0 / 5
0.0%
0 / 2
test/unit-tests/stubs/freertos/semphr.h
0.0
0.0%
0 / 9
0.0%
0 / 4
0.0%
0 / 2
test/unit-tests/stubs/freertos/task.h
0.0
0.0%
0 / 9
0.0%
0 / 3
0.0%
0 / 4
test/unit-tests/stubs/freertos/timers.h
66.7
66.7%
12 / 18
57.1%
4 / 7
33.3%
2 / 6
test/unit-tests/test_entry_gate.cpp
100.0
100.0%
94 / 94
100.0%
5 / 5
50.0%
62 / 124
test/unit-tests/test_exit_gate.cpp
97.9
97.9%
92 / 94
100.0%
5 / 5
50.8%
64 / 126
test/unit-tests/test_integration.cpp
100.0
100.0%
51 / 51
100.0%
3 / 3
50.0%
29 / 58