GCOV Summary for sahpi_enum_utils.c

utils/sahpi_enum_utils.c

Lines executed:4.51% of 1109
Branches executed:15.34% of 1278
Taken at least once:3.83% of 1278
No calls

oh_lookup_language

Lines executed:2.86% of 140
Branches executed:100.00% of 139
Taken at least once:2.16% of 139
No calls

oh_encode_language

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_texttype

Lines executed:62.50% of 8
Branches executed:100.00% of 7
Taken at least once:57.14% of 7
No calls

oh_encode_texttype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_entitytype

Lines executed:0.00% of 70
Branches executed:0.00% of 146
Taken at least once:0.00% of 146
No calls

oh_encode_entitytype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_sensortype

Lines executed:0.00% of 46
Branches executed:0.00% of 46
Taken at least once:0.00% of 46
No calls

oh_encode_sensortype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_sensorreadingtype

Lines executed:0.00% of 7
Branches executed:0.00% of 8
Taken at least once:0.00% of 8
No calls

oh_encode_sensorreadingtype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_sensoreventmaskaction

Lines executed:0.00% of 5
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
No calls

oh_encode_sensoreventmaskaction

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_sensorunits

Lines executed:0.00% of 94
Branches executed:0.00% of 93
Taken at least once:0.00% of 93
No calls

oh_encode_sensorunits

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_sensormodunituse

Lines executed:0.00% of 6
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
No calls

oh_encode_sensormodunituse

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_sensoreventctrl

Lines executed:0.00% of 6
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
No calls

oh_encode_sensoreventctrl

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_ctrltype

Lines executed:0.00% of 9
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_encode_ctrltype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_ctrlstatedigital

Lines executed:42.86% of 7
Branches executed:50.00% of 8
Taken at least once:25.00% of 8
No calls

oh_encode_ctrlstatedigital

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_ctrlmode

Lines executed:80.00% of 5
Branches executed:100.00% of 4
Taken at least once:75.00% of 4
No calls

oh_encode_ctrlmode

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_ctrloutputtype

Lines executed:0.00% of 14
Branches executed:0.00% of 13
Taken at least once:0.00% of 13
No calls

oh_encode_ctrloutputtype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_idrareatype

Lines executed:0.00% of 9
Branches executed:0.00% of 16
Taken at least once:0.00% of 16
No calls

oh_encode_idrareatype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_idrfieldtype

Lines executed:0.00% of 14
Branches executed:0.00% of 28
Taken at least once:0.00% of 28
No calls

oh_encode_idrfieldtype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_watchdogaction

Lines executed:0.00% of 7
Branches executed:0.00% of 8
Taken at least once:0.00% of 8
No calls

oh_encode_watchdogaction

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_watchdogactionevent

Lines executed:0.00% of 8
Branches executed:0.00% of 8
Taken at least once:0.00% of 8
No calls

oh_encode_watchdogactionevent

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_watchdogpretimerinterrupt

Lines executed:0.00% of 8
Branches executed:0.00% of 8
Taken at least once:0.00% of 8
No calls

oh_encode_watchdogpretimerinterrupt

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_watchdogtimeruse

Lines executed:0.00% of 10
Branches executed:0.00% of 10
Taken at least once:0.00% of 10
No calls

oh_encode_watchdogtimeruse

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_hsindicatorstate

Lines executed:100.00% of 5
Branches executed:100.00% of 4
Taken at least once:100.00% of 4
No calls

oh_encode_hsindicatorstate

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_hsaction

Lines executed:100.00% of 5
Branches executed:100.00% of 4
Taken at least once:100.00% of 4
No calls

oh_encode_hsaction

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_hsstate

Lines executed:0.00% of 8
Branches executed:0.00% of 7
Taken at least once:0.00% of 7
No calls

oh_encode_hsstate

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_severity

Lines executed:70.00% of 10
Branches executed:87.50% of 16
Taken at least once:68.75% of 16
No calls

oh_encode_severity

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_resourceeventtype

Lines executed:0.00% of 6
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
No calls

oh_encode_resourceeventtype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_domaineventtype

Lines executed:0.00% of 5
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
No calls

oh_encode_domaineventtype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_sweventtype

Lines executed:0.00% of 6
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
No calls

oh_encode_sweventtype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_eventtype

Lines executed:0.00% of 12
Branches executed:0.00% of 11
Taken at least once:0.00% of 11
No calls

oh_encode_eventtype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_statuscondtype

Lines executed:0.00% of 7
Branches executed:0.00% of 8
Taken at least once:0.00% of 8
No calls

oh_encode_statuscondtype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_annunciatormode

Lines executed:0.00% of 6
Branches executed:0.00% of 6
Taken at least once:0.00% of 6
No calls

oh_encode_annunciatormode

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_annunciatortype

Lines executed:0.00% of 10
Branches executed:0.00% of 9
Taken at least once:0.00% of 9
No calls

oh_encode_annunciatortype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_rdrtype

Lines executed:0.00% of 9
Branches executed:0.00% of 8
Taken at least once:0.00% of 8
No calls

oh_encode_rdrtype

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_parmaction

Lines executed:100.00% of 6
Branches executed:100.00% of 6
Taken at least once:100.00% of 6
No calls

oh_encode_parmaction

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_resetaction

Lines executed:71.43% of 7
Branches executed:100.00% of 8
Taken at least once:75.00% of 8
No calls

oh_encode_resetaction

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_powerstate

Lines executed:100.00% of 6
Branches executed:100.00% of 6
Taken at least once:100.00% of 6
No calls

oh_encode_powerstate

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_eventlogoverflowaction

Lines executed:0.00% of 5
Branches executed:0.00% of 4
Taken at least once:0.00% of 4
No calls

oh_encode_eventlogoverflowaction

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_error

Lines executed:0.00% of 25
Branches executed:0.00% of 58
Taken at least once:0.00% of 58
No calls

oh_encode_error

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls

oh_lookup_eventcategory

Lines executed:0.00% of 17
Branches executed:0.00% of 17
Taken at least once:0.00% of 17
No calls

oh_encode_eventcategory

Lines executed:0.00% of 13
Branches executed:0.00% of 14
Taken at least once:0.00% of 14
No calls