Modbus Library Test Coverage Report


lib/MENU_LIB/
Date: 2025-11-17 20:30:01
Lines:
159 of 168, 0 excluded
94.6%
Functions:
21 of 21, 0 excluded
100.0%
Branches:
61 of 74, 0 excluded
82.4%

Function (File:Line) Call count Line coverage Branch coverage Block coverage
clear_current_menu_view_with_cursor (lib/MENU_LIB/menu_lib.c:449)called 326 times100.0%100.0%100.0%
compute_menu_depth (lib/MENU_LIB/menu_lib.c:279)called 231 times100.0%83.3%100.0%
display_cursor_marker_if_needed (lib/MENU_LIB/menu_lib.c:500)called 977 times100.0%100.0%100.0%
display_main_menu_header (lib/MENU_LIB/menu_lib.c:374)called 197 times61.5%25.0%57.0%
display_menu_header (lib/MENU_LIB/menu_lib.c:358)called 326 times100.0%100.0%100.0%
display_menu_item_name (lib/MENU_LIB/menu_lib.c:513)called 976 times85.7%50.0%80.0%
display_sub_menu_header (lib/MENU_LIB/menu_lib.c:410)called 129 times91.7%50.0%88.0%
fill_header_with_dashes (lib/MENU_LIB/menu_lib.c:439)called 326 times100.0%100.0%100.0%
get_current_menu_position (lib/MENU_LIB/menu_lib.c:246)called 2 times100.0%-%100.0%
initialize_menu_view_state (lib/MENU_LIB/menu_lib.c:342)called 46 times100.0%-%100.0%
menu_enter (lib/MENU_LIB/menu_lib.c:185)called 49 times91.7%83.3%88.0%
menu_esc (lib/MENU_LIB/menu_lib.c:213)called 29 times100.0%100.0%100.0%
menu_init (lib/MENU_LIB/menu_lib.c:87)called 52 times100.0%100.0%100.0%
menu_next (lib/MENU_LIB/menu_lib.c:145)called 1209 times100.0%100.0%100.0%
menu_prev (lib/MENU_LIB/menu_lib.c:165)called 185 times100.0%100.0%100.0%
menu_view_init (lib/MENU_LIB/menu_lib.c:127)called 49 times100.0%100.0%100.0%
update_current_menu_view_with_cursor (lib/MENU_LIB/menu_lib.c:478)called 326 times100.0%100.0%100.0%
update_menu_item_pointer_to_print (lib/MENU_LIB/menu_lib.c:464)called 326 times85.7%75.0%83.0%
update_screen_view (lib/MENU_LIB/menu_lib.c:233)called 326 times100.0%-%100.0%
validate_display_interface (lib/MENU_LIB/menu_lib.c:261)called 51 times100.0%58.3%100.0%
validate_menu_view (lib/MENU_LIB/menu_lib.c:313)called 49 times100.0%100.0%100.0%