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,...

Full description

Saved in:
Bibliographic Details
Main Authors HUANG ZHENREN, ZHOU CHAOXIN, XIONG XIAOQING, SU JING
Format Patent
LanguageChinese
English
Published 02.05.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
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