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
CN101706751AInactive Publication Date: 2010-05-12ZTE CORP

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
ZTE CORP
Publication Date
2010-05-12
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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