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

Java code coverage rate statistical system

A code coverage, statistical system technology, applied in computing, instrumentation, electrical digital data processing, etc., can solve problems such as the inability to intuitively view and count coverage statistics, and the inability of testers to easily trigger and configure coverage statistics.

Inactive Publication Date: 2019-04-26
CTRIP COMP TECH SHANGHAI
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, most of them are code coverage statistics for unit tests, and testers cannot easily trigger and configure the execution of coverage statistics, nor can they intuitively view and count the historical situation of 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
  • Java code coverage rate statistical system
  • Java code coverage rate statistical system
  • Java code coverage rate statistical system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] This embodiment provides a Java code coverage statistical system. like figure 1 As shown, the Java code coverage statistics system includes: a coverage statistics service client 10 and a coverage statistics server 20 .

[0035] The coverage statistics service client 10 is a web service installed on the server where the application under test is installed, and is mainly used for: starting and stopping the Web container (such as Tomcat) where the application under test is located, loading or unloading the corresponding startup parameters of Jacoco to the Web container In the startup file, download at least one of the coverage statistics files generated by Jacoco.

[0036] The coverage statistics server 20 can be used to provide various services, specifically including: coverage statistics configuration, system coverage statistics, unit test coverage statistics, code quality static inspection, incremental coverage statistics, one-click coverage Statistics, distributed ex...

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 discloses a Java code coverage rate statistical system. The system comprises a coverage rate statistics service client, which is a Web service on a server where a tested application is installed, and is used for starting and stopping a Web container where the tested application is installed, loading or unloading starting parameters corresponding to Jacoco into a starting file of theWeb container, and downloading at least one of coverage rate statistical files generated by the Jacoco; The coverage rate statistics server is used for performing coverage rate statistics configuration; Performing system coverage rate statistics; Carrying out unit test coverage rate statistics; And supporting the coverage rate statistics service client to inquire a coverage rate statistics result.According to the invention, services such as one-stop Java coverage rate statistical configuration, automatic test execution, coverage rate result checking and the like can be provided, and convenience is provided for testers.

Description

technical field [0001] The invention belongs to the Internet field, in particular to a Java (an object-oriented programming language) code coverage statistics system. Background technique [0002] At present, Java code coverage statistics solutions are either embedded in component tools such as Ant and Maven, or integrated with continuous integration tools such as jenkins. However, most of them are code coverage statistics for unit tests, and testers cannot easily trigger and configure the execution of coverage statistics, nor can they intuitively view and count the historical situation of coverage statistics. It is urgent to provide testers with a simple configuration to perform code coverage statistics and view the test plan of the coverage statistics results. Contents of the invention [0003] Aiming at the above technical problems, the present invention provides a Java code coverage statistics system. [0004] The present invention solves the above technical problems...

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
CPCG06F11/3676
Inventor 王幸福梅强强张秋会
Owner CTRIP COMP TECH SHANGHAI