Method and device for obtaining code coverage rate
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGZHOU PINWEI SOFTWARE
- Publication Date
- 2016-12-07
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of software development, in particular to a method and device for acquiring code coverage. Background technique
[0002] At present, the code coverage rate reflects an important indicator of the coverage degree of the test case to the software under test, and is a reference value used to measure the integrity of the test. The code coverage rate data can be used to evaluate whether the test is sufficient. In the process of software development, the code coverage data obtained through the client is generated based on all codes of the monitored project. In the case of many projects with tight schedules, the coverage data based on all codes is not of great guiding significance to developers. Even if the client can use some filtering conditions to reduce the classes that do not care, it still cannot reflect the coverage of the difference code information between the two versions of the code before and after the ...