|
GCOV Summary for safhpi.c
src/safhpi.c
Lines executed:76.36% of 1489
|
Branches executed:45.60% of 2908
|
Taken at least once:29.50% of 2908
|
Calls executed:27.91% of 2365
|
saHpiVersionGet
Lines executed:100.00% of 2
|
No branches
|
No calls
|
saHpiSessionOpen
Lines executed:90.48% of 21
|
Branches executed:64.29% of 28
|
Taken at least once:46.43% of 28
|
Calls executed:35.00% of 20
|
saHpiSessionClose
Lines executed:100.00% of 3
|
Branches executed:50.00% of 12
|
Taken at least once:33.33% of 12
|
Calls executed:36.36% of 11
|
saHpiDiscover
Lines executed:83.33% of 24
|
Branches executed:48.00% of 50
|
Taken at least once:28.00% of 50
|
Calls executed:30.23% of 43
|
saHpiDomainInfoGet
Lines executed:100.00% of 16
|
Branches executed:46.15% of 26
|
Taken at least once:30.77% of 26
|
Calls executed:34.78% of 23
|
saHpiDrtEntryGet
Lines executed:100.00% of 7
|
Branches executed:58.33% of 24
|
Taken at least once:45.83% of 24
|
Calls executed:26.67% of 15
|
saHpiDomainTagSet
Lines executed:100.00% of 11
|
Branches executed:50.00% of 28
|
Taken at least once:35.71% of 28
|
Calls executed:34.78% of 23
|
saHpiRptEntryGet
Lines executed:100.00% of 26
|
Branches executed:60.00% of 40
|
Taken at least once:47.50% of 40
|
Calls executed:40.00% of 30
|
saHpiRptEntryGetByResourceId
Lines executed:100.00% of 17
|
Branches executed:52.94% of 34
|
Taken at least once:35.29% of 34
|
Calls executed:35.71% of 28
|
saHpiResourceSeveritySet
Lines executed:70.83% of 24
|
Branches executed:46.15% of 52
|
Taken at least once:28.85% of 52
|
Calls executed:27.91% of 43
|
saHpiResourceTagSet
Lines executed:53.57% of 28
|
Branches executed:34.62% of 52
|
Taken at least once:21.15% of 52
|
Calls executed:21.74% of 46
|
saHpiResourceIdGet
Lines executed:81.25% of 16
|
Branches executed:46.15% of 26
|
Taken at least once:26.92% of 26
|
Calls executed:36.00% of 25
|
saHpiEventLogInfoGet
Lines executed:93.33% of 30
|
Branches executed:53.57% of 56
|
Taken at least once:35.71% of 56
|
Calls executed:34.78% of 46
|
saHpiEventLogEntryGet
Lines executed:94.87% of 39
|
Branches executed:61.11% of 72
|
Taken at least once:41.67% of 72
|
Calls executed:37.74% of 53
|
saHpiEventLogEntryAdd
Lines executed:48.48% of 33
|
Branches executed:31.43% of 70
|
Taken at least once:24.29% of 70
|
Calls executed:16.98% of 53
|
saHpiEventLogClear
Lines executed:67.86% of 28
|
Branches executed:37.04% of 54
|
Taken at least once:24.07% of 54
|
Calls executed:26.09% of 46
|
saHpiEventLogTimeGet
Lines executed:100.00% of 10
|
Branches executed:100.00% of 4
|
Taken at least once:100.00% of 4
|
Calls executed:100.00% of 1
|
saHpiEventLogTimeSet
Lines executed:67.86% of 28
|
Branches executed:37.04% of 54
|
Taken at least once:24.07% of 54
|
Calls executed:26.09% of 46
|
saHpiEventLogStateGet
Lines executed:100.00% of 10
|
Branches executed:100.00% of 4
|
Taken at least once:100.00% of 4
|
Calls executed:100.00% of 1
|
saHpiEventLogStateSet
Lines executed:88.89% of 18
|
Branches executed:52.63% of 38
|
Taken at least once:34.21% of 38
|
Calls executed:33.33% of 33
|
saHpiEventLogOverflowReset
Lines executed:100.00% of 2
|
No branches
|
No calls
|
saHpiSubscribe
Lines executed:86.67% of 15
|
Branches executed:46.67% of 30
|
Taken at least once:30.00% of 30
|
Calls executed:28.00% of 25
|
saHpiUnsubscribe
Lines executed:76.92% of 26
|
Branches executed:45.45% of 44
|
Taken at least once:29.55% of 44
|
Calls executed:23.53% of 34
|
saHpiEventGet
Lines executed:68.97% of 29
|
Branches executed:59.26% of 54
|
Taken at least once:37.04% of 54
|
Calls executed:37.04% of 27
|
saHpiEventAdd
Lines executed:100.00% of 20
|
Branches executed:50.00% of 24
|
Taken at least once:33.33% of 24
|
Calls executed:40.00% of 20
|
saHpiAlarmGetNext
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiAlarmGet
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiAlarmAcknowledge
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiAlarmAdd
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiAlarmDelete
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiRdrGet
Lines executed:100.00% of 30
|
Branches executed:65.38% of 52
|
Taken at least once:50.00% of 52
|
Calls executed:43.90% of 41
|
saHpiRdrGetByInstrumentId
Lines executed:0.00% of 23
|
Branches executed:0.00% of 48
|
Taken at least once:0.00% of 48
|
Calls executed:0.00% of 40
|
saHpiSensorReadingGet
Lines executed:57.14% of 28
|
Branches executed:26.92% of 52
|
Taken at least once:13.46% of 52
|
Calls executed:15.22% of 46
|
saHpiSensorThresholdsGet
Lines executed:95.65% of 23
|
Branches executed:54.17% of 48
|
Taken at least once:35.42% of 48
|
Calls executed:35.00% of 40
|
saHpiSensorThresholdsSet
Lines executed:96.55% of 29
|
Branches executed:55.56% of 54
|
Taken at least once:37.04% of 54
|
Calls executed:36.96% of 46
|
saHpiSensorTypeGet
Lines executed:100.00% of 23
|
Branches executed:56.52% of 46
|
Taken at least once:41.30% of 46
|
Calls executed:40.00% of 40
|
saHpiSensorEnableGet
Lines executed:91.30% of 23
|
Branches executed:54.17% of 48
|
Taken at least once:35.42% of 48
|
Calls executed:32.50% of 40
|
saHpiSensorEnableSet
Lines executed:90.91% of 22
|
Branches executed:43.48% of 46
|
Taken at least once:23.91% of 46
|
Calls executed:25.00% of 40
|
saHpiSensorEventEnableGet
Lines executed:95.65% of 23
|
Branches executed:54.17% of 48
|
Taken at least once:35.42% of 48
|
Calls executed:35.00% of 40
|
saHpiSensorEventEnableSet
Lines executed:95.45% of 22
|
Branches executed:52.17% of 46
|
Taken at least once:32.61% of 46
|
Calls executed:35.00% of 40
|
saHpiSensorEventMasksGet
Lines executed:91.67% of 24
|
Branches executed:56.00% of 50
|
Taken at least once:34.00% of 50
|
Calls executed:32.50% of 40
|
saHpiSensorEventMasksSet
Lines executed:90.91% of 22
|
Branches executed:52.17% of 46
|
Taken at least once:32.61% of 46
|
Calls executed:32.50% of 40
|
saHpiControlTypeGet
Lines executed:90.48% of 21
|
Branches executed:55.00% of 40
|
Taken at least once:37.50% of 40
|
Calls executed:37.14% of 35
|
saHpiControlGet
Lines executed:95.45% of 22
|
Branches executed:52.17% of 46
|
Taken at least once:32.61% of 46
|
Calls executed:35.00% of 40
|
saHpiControlSet
Lines executed:95.83% of 24
|
Branches executed:59.38% of 64
|
Taken at least once:40.63% of 64
|
Calls executed:38.10% of 42
|
saHpiIdrInfoGet
Lines executed:92.59% of 27
|
Branches executed:50.00% of 60
|
Taken at least once:31.67% of 60
|
Calls executed:30.77% of 52
|
saHpiIdrAreaHeaderGet
Lines executed:81.48% of 27
|
Branches executed:52.78% of 72
|
Taken at least once:36.11% of 72
|
Calls executed:26.92% of 52
|
saHpiIdrAreaAdd
Lines executed:85.19% of 27
|
Branches executed:41.18% of 68
|
Taken at least once:22.06% of 68
|
Calls executed:23.08% of 52
|
saHpiIdrAreaDelete
Lines executed:59.26% of 27
|
Branches executed:26.67% of 60
|
Taken at least once:13.33% of 60
|
Calls executed:13.46% of 52
|
saHpiIdrFieldGet
Lines executed:81.48% of 27
|
Branches executed:54.29% of 70
|
Taken at least once:37.14% of 70
|
Calls executed:26.92% of 52
|
saHpiIdrFieldAdd
Lines executed:80.00% of 30
|
Branches executed:39.39% of 66
|
Taken at least once:21.21% of 66
|
Calls executed:21.43% of 56
|
saHpiIdrFieldSet
Lines executed:80.00% of 30
|
Branches executed:39.39% of 66
|
Taken at least once:21.21% of 66
|
Calls executed:21.43% of 56
|
saHpiIdrFieldDelete
Lines executed:85.19% of 27
|
Branches executed:41.94% of 62
|
Taken at least once:22.58% of 62
|
Calls executed:23.08% of 52
|
saHpiWatchdogTimerGet
Lines executed:0.00% of 23
|
Branches executed:0.00% of 48
|
Taken at least once:0.00% of 48
|
Calls executed:0.00% of 40
|
saHpiWatchdogTimerSet
Lines executed:0.00% of 24
|
Branches executed:0.00% of 56
|
Taken at least once:0.00% of 56
|
Calls executed:0.00% of 43
|
saHpiWatchdogTimerReset
Lines executed:0.00% of 22
|
Branches executed:0.00% of 46
|
Taken at least once:0.00% of 46
|
Calls executed:0.00% of 40
|
saHpiAnnunciatorGetNext
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiAnnunciatorGet
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiAnnunciatorAcknowledge
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiAnnunciatorAdd
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiAnnunciatorDelete
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiAnnunciatorModeGet
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiAnnunciatorModeSet
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiHotSwapPolicyCancel
Lines executed:0.00% of 2
|
No branches
|
No calls
|
saHpiResourceActiveSet
Lines executed:58.06% of 31
|
Branches executed:40.00% of 50
|
Taken at least once:24.00% of 50
|
Calls executed:23.26% of 43
|
saHpiResourceInactiveSet
Lines executed:58.06% of 31
|
Branches executed:40.00% of 50
|
Taken at least once:24.00% of 50
|
Calls executed:23.26% of 43
|
saHpiAutoInsertTimeoutGet
Lines executed:100.00% of 8
|
Branches executed:50.00% of 20
|
Taken at least once:35.00% of 20
|
Calls executed:31.25% of 16
|
saHpiAutoInsertTimeoutSet
Lines executed:87.50% of 8
|
Branches executed:58.33% of 24
|
Taken at least once:41.67% of 24
|
Calls executed:31.25% of 16
|
saHpiAutoExtractTimeoutGet
Lines executed:77.27% of 22
|
Branches executed:50.00% of 40
|
Taken at least once:32.50% of 40
|
Calls executed:29.41% of 34
|
saHpiAutoExtractTimeoutSet
Lines executed:72.73% of 22
|
Branches executed:54.55% of 44
|
Taken at least once:36.36% of 44
|
Calls executed:29.41% of 34
|
saHpiHotSwapStateGet
Lines executed:86.96% of 23
|
Branches executed:54.55% of 44
|
Taken at least once:34.09% of 44
|
Calls executed:33.33% of 36
|
saHpiHotSwapActionRequest
Lines executed:87.50% of 24
|
Branches executed:54.55% of 44
|
Taken at least once:34.09% of 44
|
Calls executed:36.84% of 38
|
saHpiHotSwapIndicatorStateGet
Lines executed:86.96% of 23
|
Branches executed:54.55% of 44
|
Taken at least once:34.09% of 44
|
Calls executed:33.33% of 36
|
saHpiHotSwapIndicatorStateSet
Lines executed:86.96% of 23
|
Branches executed:54.55% of 44
|
Taken at least once:34.09% of 44
|
Calls executed:35.14% of 37
|
saHpiParmControl
Lines executed:86.96% of 23
|
Branches executed:54.55% of 44
|
Taken at least once:34.09% of 44
|
Calls executed:35.14% of 37
|
saHpiResourceResetStateGet
Lines executed:56.52% of 23
|
Branches executed:36.36% of 44
|
Taken at least once:22.73% of 44
|
Calls executed:22.22% of 36
|
saHpiResourceResetStateSet
Lines executed:69.57% of 23
|
Branches executed:40.91% of 44
|
Taken at least once:27.27% of 44
|
Calls executed:27.03% of 37
|
saHpiResourcePowerStateGet
Lines executed:86.96% of 23
|
Branches executed:54.55% of 44
|
Taken at least once:34.09% of 44
|
Calls executed:33.33% of 36
|
saHpiResourcePowerStateSet
Lines executed:86.96% of 23
|
Branches executed:54.55% of 44
|
Taken at least once:34.09% of 44
|
Calls executed:35.14% of 37
|
|