Coverage rate acquisition method and device, computer storage medium and electronic device
The invention discloses a coverage rate obtaining method and device, a computer storage medium and an electronic device, and relates to the field of application test.The method comprises the steps that a source code of an operating system and a source code of a first target application are obtained,...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
02.05.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a coverage rate obtaining method and device, a computer storage medium and an electronic device, and relates to the field of application test.The method comprises the steps that a source code of an operating system and a source code of a first target application are obtained, and a target class in the operating system is used for triggering a class loading process; under the condition that the class loading process runs to the link stage, the probe array is injected into a source code of an operating system, a modified operating system is obtained, and the modified operating system comprises the modified target class; and acquiring the coverage rate of the first target application in the modified operating system by using the probe array, and transmitting the coverage rate to the remote server. Through the method and the device, the problem that the coverage rate of the shelled application in the operating system is difficult to collect in related technologies is solved.
本申请公开了一种覆盖率的获取 |
---|---|
Bibliography: | Application Number: CN202310275135 |