GCC Code Coverage Report


src/
Date: 2025-02-10 15:47:30
Lines:
197/197
100.0%
Functions:
28/28
100.0%
Branches:
61/66
92.4%

Function (File:Line) Call count Block coverage
check_pushbutton (src/pushbutton/pushbutton.c:272)called 1767 times100.0%
check_switch (src/switch/switch.c:118)called 6918 times100.0%
debounce_pushbutton_push_state (src/pushbutton/pushbutton.c:57)called 270 times100.0%
debounce_pushbutton_release_state (src/pushbutton/pushbutton.c:78)called 237 times100.0%
debounce_pushbutton_short_push_long_push_state (src/pushbutton/pushbutton.c:98)called 1260 times100.0%
dec_pushbutton_deb_rep_timer (src/pushbutton/pushbutton.c:400)called 34875 times100.0%
disable_pusbutton_repetition (src/pushbutton/pushbutton.c:380)called 19 times100.0%
enable_pusbutton_repetition (src/pushbutton/pushbutton.c:365)called 9 times100.0%
execute_push_callback (src/pushbutton/pushbutton.c:204)called 27 times100.0%
execute_release_callback (src/pushbutton/pushbutton.c:212)called 12 times100.0%
handle_DEFAULT_state (src/switch/switch.c:19)called 6 times100.0%
handle_SW_OFF_state (src/switch/switch.c:76)called 274 times100.0%
handle_SW_ON_state (src/switch/switch.c:47)called 274 times100.0%
handle_SW_SWITCHED_OFF_state (src/switch/switch.c:27)called 3182 times100.0%
handle_SW_SWITCHED_ON_state (src/switch/switch.c:56)called 3182 times100.0%
handle_long_push_no_repetition_phase (src/pushbutton/pushbutton.c:138)called 24 times100.0%
handle_long_push_phase (src/pushbutton/pushbutton.c:150)called 24 times100.0%
handle_push_debouncing (src/pushbutton/pushbutton.c:123)called 504 times100.0%
handle_short_push_phase (src/pushbutton/pushbutton.c:167)called 84 times100.0%
handle_short_push_phase_pin_pushed (src/pushbutton/pushbutton.c:179)called 75 times100.0%
handle_short_push_phase_pin_released (src/pushbutton/pushbutton.c:197)called 9 times100.0%
init_pushbutton (src/pushbutton/pushbutton.c:237)called 60 times100.0%
init_switch (src/switch/switch.c:95)called 9 times100.0%
register_button_push_callback (src/pushbutton/pushbutton.c:305)called 10 times100.0%
register_button_release_callback (src/pushbutton/pushbutton.c:326)called 5 times100.0%
register_button_short_push_long_push_callbacks (src/pushbutton/pushbutton.c:349)called 18 times100.0%
update_button_deb_rep_counter (src/pushbutton/pushbutton.c:36)called 18 times100.0%
update_pushbutton_input_state (src/pushbutton/pushbutton.c:31)called 1767 times100.0%