US 12,222,833 B2
Method and device for determining coverage in HIL testing, and storage medium
Cunhao Gong, Hefei (CN)
Assigned to Sungrow Power Supply Co., Ltd., Hefei (CN)
Filed by Sungrow Power Supply Co., Ltd., Hefei (CN)
Filed on Mar. 17, 2023, as Appl. No. 18/186,122.
Claims priority of application No. 202210294110.8 (CN), filed on Mar. 24, 2022.
Prior Publication US 2023/0305938 A1, Sep. 28, 2023
Int. Cl. G06F 11/26 (2006.01); G06F 11/27 (2006.01)
CPC G06F 11/27 (2013.01) [G06F 11/3676 (2013.01)] 12 Claims
OG exemplary drawing
 
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.