-: 0:Source:/home/tesena/zeroproject/test/tmp/procedure/asw_main/tp.c -: 0:Graph:./CMakeFiles/asw_main.dir/tp.c.gcno -: 0:Data:./CMakeFiles/asw_main.dir/tp.c.gcda -: 0:Runs:1 -: 0:Programs:1 -: 1:#include "asw_main.c" -: 2:#include "test_env.h" -: 3: -: 4: -: 5:int ret_hal_led_seton = 0; function hal_led_seton called 2 returned 100% blocks executed 75% 2: 6:int hal_led_seton(const int in_index) -: 7:{ 2*: 8: if (in_index == 0) return ret_hal_led_seton; branch 0 taken 0 (fallthrough) branch 1 taken 2 2: 9: return ret_hal_led_seton; -: 10:} -: 11: -: 12:int ret_hal_led_setoff = 0; function hal_led_setoff called 1 returned 100% blocks executed 75% 1: 13:int hal_led_setoff(const int in_index) -: 14:{ 1*: 15: if (in_index == 0) return ret_hal_led_setoff; branch 0 taken 0 (fallthrough) branch 1 taken 1 1: 16: return ret_hal_led_setoff; -: 17:} -: 18: -: 19:hal_button_state_e ret_out_state = HAL_BUTTON_STATE_ON; function hal_button_read called 3 returned 100% blocks executed 100% 3: 20:void hal_button_read(const int in_index, hal_button_state_e *const out_state) -: 21:{ -: 22: switch (in_index) -: 23: { -: 24: -: 25: default: 3: 26: break; -: 27: } -: 28: 3: 29: *out_state = ret_out_state; 3: 30: return; -: 31:} -: 32: function asw_next called 3 returned 100% blocks executed 100% 3: 33:void asw_next(void) -: 34:{ 3: 35:} -: 36: -: 37: function tp_01 called 1 returned 100% blocks executed 100% 1: 38:void tp_01(void) -: 39:{ 1: 40: ret_out_state = HAL_BUTTON_STATE_OFF; 1: 41: asw_main(); call 0 returned 1 1: 42:} -: 43: function tp_02 called 1 returned 100% blocks executed 100% 1: 44:void tp_02(void) -: 45:{ 1: 46: ret_out_state = HAL_BUTTON_STATE_ON; 1: 47: asw_main(); call 0 returned 1 1: 48:} -: 49: function tp_03 called 1 returned 100% blocks executed 100% 1: 50:void tp_03(void) -: 51:{ 1: 52: ret_out_state = (hal_button_state_e)555; 1: 53: asw_main(); call 0 returned 1 1: 54:} -: 55: -: 56: function tp_main called 1 returned 100% blocks executed 100% 1: 57:void tp_main(void) -: 58:{ 1: 59: tp_01(); call 0 returned 1 1: 60: tp_02(); call 0 returned 1 1: 61: tp_03(); call 0 returned 1 1: 62:} -: 63: -: 64:/* eof */