Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Code and function covering mapping system and covering mapping method thereof

A code coverage and mapping method technology, applied in the field of software function testing, can solve the problems of inability to obtain function coverage, inability to identify the underlying program code, software functions that have not changed, and no commercial auxiliary tools, etc.

Active Publication Date: 2012-05-02
中国软件评测中心(工业和信息化部软件与集成电路促进中心)
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The advantage of this method is that it is intuitive and convenient. Its disadvantages are manifested in three aspects. One is that the coverage granularity is relatively coarse.
Tests that meet the functional coverage standards may not necessarily meet the code coverage standards; second, the corresponding functional coverage cannot be obtained through the code coverage information
Although testers have obtained uncovered code information through white-box testing tools, how to design new test cases to cover these codes from a functional perspective is still a difficult problem; the third is that it is impossible to identify those underlying program codes that have changed but software functions have not occurred Changing software features
At present, the coverage information of software functions by test cases can only rely on manual statistics, without commercial auxiliary tools
[0004] White-box testing and black-box testing are two indispensable methods in software testing, but due to the lack of effective methods, these two testing methods have been in a state of separation, which seriously affects the adequacy and efficiency of testing

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 and function covering mapping system and covering mapping method thereof
  • Code and function covering mapping system and covering mapping method thereof
  • Code and function covering mapping system and covering mapping method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The technical solutions of the present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments.

[0041] like figure 1 Shown is a structural block diagram of the code and function coverage mapping system in the present invention.

[0042] The code and function coverage mapping system includes four parts: a white box testing tool 101 , a code coverage information extraction module 102 , a code and control mapping processing module 103 and a code coverage and function coverage mapping module 104 .

[0043] Among them, the white-box testing tool 101 is used to extract and display the coverage information of the test cases on the code, and send the coverage information to the code coverage information extraction module 102. The code coverage information includes covered statements, branches, paths and other information. The code coverage information extraction module 102 is used to extract covered program statements...

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 code and function covering mapping system which structurally comprises a white box testing tool, a code covering information extraction module, a code and control mapping processing module and a code covering and function covering mapping module. The invention also discloses a code and function covering mapping method and has the technical scheme that: a bridge between a white box testing and a black box testing can be set up, respective specialty of the white box testing and the black box testing can be fully exerted, and sufficiency and efficiency for a testing can be improved.

Description

technical field [0001] The invention relates to the field of software function testing, in particular to a code and function coverage mapping system and a coverage mapping method thereof. Background technique [0002] White box testing and black box testing are two main methods used in software testing. In the field of white-box testing, in order to accurately grasp the coverage of code by test cases, commercial testing tools have been launched one after another, representative ones are TestBed tools and CodeTest tools. These tools use program instrumentation technology to accurately display information such as statements, branches, and paths covered by test cases. Based on this information, testers can design new test cases to cover those codes that are not covered by the current test cases. Meet the test adequacy requirements. The advantage of this method is that it can visually display the coverage of the code by the test case. The disadvantage is that when designing a ...

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 中国软件评测中心(工业和信息化部软件与集成电路促进中心)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products