Code coverage rate calculation method and device, equipment and medium
The code coverage rate calculation method comprises the steps of obtaining first coverage rate data corresponding to a first version of target software and second coverage rate data corresponding to a second version of the target software; calculating line coverage information of the first version a...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The code coverage rate calculation method comprises the steps of obtaining first coverage rate data corresponding to a first version of target software and second coverage rate data corresponding to a second version of the target software; calculating line coverage information of the first version according to the first coverage rate data; calculating a code difference between the first version and the second version according to the version information corresponding to the first version and the version information corresponding to the second version; obtaining an accumulation mode of the first coverage rate data and the second coverage rate data according to the line coverage information and the code difference, and superposing the first coverage rate data into the second coverage rate data according to the accumulation mode to obtain current accumulated coverage rate data of the target software, therefore, the coverage condition of software codes is calculated during version updating, and the stability of v |
---|