Source code processing method and apparatus, and storage medium
AssigneeHuawei Cloud Computing Technologies Co., Ltd.
InventorsHao Liu, Mingsheng Li, Jingnan Jia
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Cloud Computing Technologies Co., Ltd.
InventorsHao Liu, Mingsheng Li, Jingnan Jia
Estimating the term…
This application discloses a source code processing method and apparatus, and a storage medium, and pertains to the computer field. The method includes: receiving an instruction for starting a code test, and adding a private variable to at least one first method included in first source code, where the at least one first method is a method that is not executed in the first source code, and the private variable is used to record execution of each code statement in the first method when the first method is executed; when a test on the first source code is completed using a first test case, obtaining first code coverage information based on the private variable, where the first code coverage information describes execution of a code statement in the at least one first method.
A method of source code processing for a code test platform, the method comprising:
An electronic device, comprising:
Dependencies are inferred from the claim text.