Unlock instant, AI-driven research and patent intelligence for your innovation.

Code coverage rate statistical method and device based on artificial intelligence, equipment and storage medium

A technology of code coverage and artificial intelligence, which is applied in the fields of code coverage statistics methods, devices, equipment and storage media, can solve the problems of low efficiency and repetition of code coverage statistics, and achieve the effect of improving statistical efficiency and reducing time

Pending Publication Date: 2019-06-07
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When different versions are iterated, the development actually only adds or modifies some codes based on the entire set of codes, and the code coverage statistics of this version actually only need to count these new or modified codes. For code coverage statistics, there will be a lot of repetition in the scanning work, resulting in low efficiency of code coverage statistics

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code coverage rate statistical method and device based on artificial intelligence, equipment and storage medium
  • Code coverage rate statistical method and device based on artificial intelligence, equipment and storage medium
  • Code coverage rate statistical method and device based on artificial intelligence, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to facilitate the understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Preferred embodiments of the application are shown in the accompanying drawings. However, the present application can be embodied in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the application more thorough and comprehensive.

[0040] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are only for the purpose of describing specific embodiments, and are not intended to limit the application.

[0041] An embodiment of the present application discloses an a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the technical field of artificial intelligence, and relates to a code coverage rate statistical method and device based on artificial intelligence, equipment and a storage medium. The code coverage rate statistical method based on artificial intelligence comprises the following steps: obtaining an exec file generated during code testing, wherein the exec file comprises coverage execution information of a probe; filtering out a non-test file and a non-java file in the exec file; obtaining an incremental code between the baseline submission code and the test submission code according to the coverage execution information of the probe; analyzing the incremental code; calculating incremental code coverage. The method can be used for counting the incremental code coverage rate, the code scanning time can be greatly shortened, and the counting efficiency of the code coverage rate is improved.

Description

technical field [0001] The present application belongs to the technical field of artificial intelligence, and relates to an artificial intelligence-based code coverage statistical method, device, equipment and storage medium. Background technique [0002] At present, the code coverage statistics are mainly full code coverage statistics, that is, the coverage data scanned each time is the code coverage data obtained by scanning the entire set of codes. When different versions are iterated, the development actually only adds or modifies some codes based on the entire set of codes, and the code coverage statistics of this version actually only need to count these new or modified codes. For code coverage statistics, there will be a lot of repetition in the scanning work, resulting in low efficiency of code coverage statistics. Contents of the invention [0003] The embodiment of the present application discloses an artificial intelligence-based code coverage statistical metho...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 王翼
Owner PING AN TECH (SHENZHEN) CO LTD