| CPC G06F 11/27 (2013.01) [G06F 11/3676 (2013.01)] | 12 Claims |

|
1. A method for determining coverage in HIL testing, comprising:
acquiring a Hardware in Loop (HIL) test case and performing HIL testing on a controller based on the HIL test case;
for each of functions in code of the controller, detecting a preset mark of the function and acquiring statistical data about the detected preset mark during the HIL testing; and
determining coverage of the HIL test case on the functions based on the statistical data about the preset marks.
|