Code Complexity Report

Source file: src/CRC/crc_api.h
Source file: src/main_app_priv.h
Source file: src/CRC/crc.c
Function name Cyclomatic complexity (12) LOC (30) Token count Parameter count (4)
rev_u32 2 11 47 1
CRC_hw_init 1 3 6 1
CRC_init 1 4 9 1
CRC_add_byte 4 17 63 2
CRC_add_byte_tab 2 8 36 3
CRC_result 1 4 17 1
Source file: src/main_app.h
Source file: src/main_app.c
Function name Cyclomatic complexity (12) LOC (30) Token count Parameter count (4)
main_app 3 18 56 1
update_SysTick_tim 1 4 9 1
handle_new_cmd 3 19 72 1
byte_rx_cb 7 20 73 1
init_hardware 1 10 36 1
deinit_hardware 1 10 34 1
bl_key_check 7 17 62 1
update_bl_status_led 3 15 42 1
check_bl_exit_condition 4 15 44 1
update_com_fsm 6 25 77 1
do_reset 3 8 44 1
do_get_version 1 10 82 1
do_start 9 29 186 1
write_page_to_flash 3 17 86 3
do_next_page 6 25 176 1