Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for calculating coverage rate of service functions of software

A business function and software business technology, applied in the field of communication, can solve problems such as cumbersome process and low degree of automation, and achieve the effect of improving statistical efficiency

Inactive Publication Date: 2010-05-12
ZTE CORP
View PDF0 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention is proposed in view of the problem that the process of confirming test execution coverage in integration testing and system testing is cumbersome and has a low degree of automation in the related art. Therefore, the main purpose of the present invention is to provide a software service function coverage statistics Method and device to solve at least one of the above problems

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
  • Method and system for calculating coverage rate of service functions of software
  • Method and system for calculating coverage rate of service functions of software
  • Method and system for calculating coverage rate of service functions of software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Functional Overview

[0020] The present invention provides a statistical scheme for the coverage of software service functions. The idea of ​​the scheme is as follows:

[0021] Step 1: Design and insert software code business function coverage points, which is the prerequisite for business function coverage statistics. Under normal circumstances, this step is carried out in the software code implementation stage, so that the statistical interface has been reserved in the released software; otherwise, this step is performed for the tested software code, and the software needs to be recompiled to generate a version with a statistical interface.

[0022] Step 2: Carry out automatic scanning of business function coverage points for software with statistical interfaces. Through automatic scanning processing with certain rules on the version with statistical interfaces output in the first step, a compositional logic diagram of software business function coverage points is fo...

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 method and a system for calculating the coverage rate of the service functions of software. The method comprises the following steps: scanning the coverage points of the service functions of the software to obtain logical relationship information comprising the coverage points of all the service functions of the software; testing the software by adopting a preset test case and calculating the information of the coverage points of the traversing service functions at real time; and according to the information of the coverage points of the service functions and the logical relationship information, calculating the coverage rate of the service functions of the software. According to the technical scheme provided by the invention, the problems of comparatively complicated process for determining the situation of testing executing coverage and low automatization degree in integration test and system test in the relevant technology are solved, thereby forming an automatic calculation process and enhancing the calculation efficiency of the coverage rate greatly.

Description

technical field [0001] The present invention relates to the communication field, in particular to a statistical method and system for software service function coverage. Background technique [0002] The design and development process of a software system is inseparable from testing. According to the division of testing phases, testing can be divided into unit testing, integration testing and system testing. The coverage index is a measurement dimension to indicate whether the testing is sufficient. Among them, in unit testing, coverage indicators are used more, usually including: source code statement coverage or branch coverage, conditional coverage, but for integration testing or system testing due to the huge amount of code, it is difficult to use the above indicators to measure , it mostly refers to software requirement coverage or function coverage. [0003] In terms of the method of achieving coverage statistics, the coverage of unit tests has been supported by many ...

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
IPC IPC(8): G06F11/36
CPCG06F11/3676
Inventor 左军罗漩
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products