GCOV Summary for sahpi_struct_utils.c

utils/sahpi_struct_utils.c

Lines executed:0.82% of 1466
Branches executed:1.07% of 1784
Taken at least once:0.67% of 1784
Calls executed:0.23% of 870

oh_decode_manufacturerid

Lines executed:0.00% of 18
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
Calls executed:0.00% of 5

oh_decode_sensorreading

Lines executed:0.00% of 60
Branches executed:0.00% of 58
Taken at least once:0.00% of 58
Calls executed:0.00% of 20

oh_encode_sensorreading

Lines executed:0.00% of 97
Branches executed:0.00% of 116
Taken at least once:0.00% of 116
Calls executed:0.00% of 47

oh_fprint_text

Lines executed:0.00% of 8
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 1

oh_fprint_bigtext

Lines executed:0.00% of 8
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 1

oh_init_textbuffer

Lines executed:0.00% of 8
Branches executed:0.00% of 2
Taken at least once:0.00% of 2
Calls executed:0.00% of 1

oh_copy_textbuffer

Lines executed:0.00% of 8
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 1

oh_append_textbuffer

Lines executed:0.00% of 14
Branches executed:0.00% of 10
Taken at least once:0.00% of 10
Calls executed:0.00% of 5

oh_append_offset

Lines executed:0.00% of 5
Branches executed:0.00% of 2
Taken at least once:0.00% of 2
Calls executed:0.00% of 1

oh_append_bigtext

Lines executed:0.00% of 15
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
Calls executed:0.00% of 9

oh_fprint_ctrlrec

Lines executed:0.00% of 11
Branches executed:0.00% of 8
Taken at least once:0.00% of 8
Calls executed:0.00% of 3

oh_init_bigtext

Lines executed:0.00% of 8
Branches executed:0.00% of 2
Taken at least once:0.00% of 2
Calls executed:0.00% of 1

oh_fprint_watchdogrec

Lines executed:0.00% of 11
Branches executed:0.00% of 8
Taken at least once:0.00% of 8
Calls executed:0.00% of 3

oh_fprint_sensorrec

Lines executed:0.00% of 11
Branches executed:0.00% of 8
Taken at least once:0.00% of 8
Calls executed:0.00% of 3

oh_build_sensorrec

Lines executed:0.00% of 34
Branches executed:0.00% of 8
Taken at least once:0.00% of 8
Calls executed:0.00% of 29

oh_build_sensordataformat

Lines executed:0.00% of 67
Branches executed:0.00% of 40
Taken at least once:0.00% of 40
Calls executed:0.00% of 57

oh_build_sensorthddefn

Lines executed:0.00% of 24
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
Calls executed:0.00% of 14

oh_build_threshold_mask

Lines executed:0.00% of 32
Branches executed:0.00% of 18
Taken at least once:0.00% of 18
Calls executed:0.00% of 18

oh_fprint_idrfield

Lines executed:0.00% of 30
Branches executed:0.00% of 10
Taken at least once:0.00% of 10
Calls executed:0.00% of 25

oh_append_data

Lines executed:0.00% of 20
Branches executed:0.00% of 18
Taken at least once:0.00% of 18
Calls executed:0.00% of 11

oh_fprint_idrareaheader

Lines executed:0.00% of 20
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
Calls executed:0.00% of 15

oh_fprint_idrinfo

Lines executed:0.00% of 20
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
Calls executed:0.00% of 14

oh_fprint_textbuffer

Lines executed:0.00% of 10
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
Calls executed:0.00% of 3

oh_build_textbuffer

Lines executed:0.00% of 20
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 17

oh_decode_capabilities

Lines executed:0.00% of 75
Branches executed:0.00% of 68
Taken at least once:0.00% of 68
Calls executed:0.00% of 17

oh_decode_hscapabilities

Lines executed:0.00% of 24
Branches executed:0.00% of 16
Taken at least once:0.00% of 16
Calls executed:0.00% of 5

oh_fprint_rptentry

Lines executed:0.00% of 42
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
Calls executed:0.00% of 34

oh_fprint_rdr

Lines executed:0.00% of 44
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
Calls executed:0.00% of 33

oh_build_ctrlrec

Lines executed:0.00% of 103
Branches executed:0.00% of 24
Taken at least once:0.00% of 24
Calls executed:0.00% of 95

oh_copy_bigtext

Lines executed:0.00% of 8
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 1

oh_build_invrec

Lines executed:0.00% of 17
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
Calls executed:0.00% of 11

oh_build_wdogrec

Lines executed:0.00% of 14
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 8

oh_build_annrec

Lines executed:0.00% of 23
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
Calls executed:0.00% of 18

oh_fprint_eventloginfo

Lines executed:0.00% of 41
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
Calls executed:0.00% of 34

oh_fprint_eventlogentry

Lines executed:0.00% of 22
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
Calls executed:0.00% of 13

oh_fprint_event

Lines executed:0.00% of 11
Branches executed:0.00% of 8
Taken at least once:0.00% of 8
Calls executed:0.00% of 3

oh_build_event

Lines executed:0.00% of 43
Branches executed:0.00% of 17
Taken at least once:0.00% of 17
Calls executed:0.00% of 30

oh_build_event_resource

Lines executed:0.00% of 8
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 4

oh_build_event_domain

Lines executed:0.00% of 14
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 10

oh_decode_sensoroptionaldata

Lines executed:0.00% of 23
Branches executed:0.00% of 18
Taken at least once:0.00% of 18
Calls executed:0.00% of 5

oh_decode_sensorenableoptdata

Lines executed:0.00% of 23
Branches executed:0.00% of 18
Taken at least once:0.00% of 18
Calls executed:0.00% of 5

oh_build_event_sensor

Lines executed:0.00% of 77
Branches executed:0.00% of 30
Taken at least once:0.00% of 30
Calls executed:0.00% of 54

oh_build_event_sensor_enable_change

Lines executed:0.00% of 50
Branches executed:0.00% of 18
Taken at least once:0.00% of 18
Calls executed:0.00% of 40

oh_build_event_hotswap

Lines executed:0.00% of 14
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 11

oh_build_event_watchdog

Lines executed:0.00% of 28
Branches executed:0.00% of 10
Taken at least once:0.00% of 10
Calls executed:0.00% of 18

oh_build_event_hpi_sw

Lines executed:0.00% of 20
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 11

oh_build_event_oem

Lines executed:0.00% of 20
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 11

oh_build_event_user

Lines executed:0.00% of 10
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
Calls executed:0.00% of 4

oh_fprint_ctrlstate

Lines executed:0.00% of 47
Branches executed:0.00% of 20
Taken at least once:0.00% of 20
Calls executed:0.00% of 32

oh_valid_textbuffer

Lines executed:54.55% of 22
Branches executed:38.78% of 49
Taken at least once:24.49% of 49
Calls executed:28.57% of 7

oh_valid_thresholds

Lines executed:0.00% of 22
Branches executed:0.00% of 924
Taken at least once:0.00% of 924
Calls executed:0.00% of 40

oh_compare_sensorreading

Lines executed:0.00% of 17
Branches executed:0.00% of 32
Taken at least once:0.00% of 32
Calls executed:0.00% of 4

oh_valid_ctrl_state_mode

Lines executed:0.00% of 45
Branches executed:0.00% of 64
Taken at least once:0.00% of 64
Calls executed:0.00% of 8