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

A Method for Acquiring Test Sufficiency Based on Function Call Path Criterion

A technology of function call path and acquisition method, applied in the computer field, can solve the problems of judging factors, unsatisfactory measurement index system, and the adequacy of test criteria

Inactive Publication Date: 2018-10-19
BEIJING INFORMATION SCI & TECH UNIV +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Reference 6 establishes a system of measurement indicators for the entire testing process, many of which cannot be used as factors for judging the adequacy of test criteria, such as code walkthroughs, etc.
However, its measurement index system is not satisfactory, resulting in inaccurate final evaluation results

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
  • A Method for Acquiring Test Sufficiency Based on Function Call Path Criterion
  • A Method for Acquiring Test Sufficiency Based on Function Call Path Criterion
  • A Method for Acquiring Test Sufficiency Based on Function Call Path Criterion

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment T1

[0100]The function of the average function itself is to calculate the average, but in the program it is the product. lead to program defects. In the test case T1, this error was detected; the error rate of the test case=1 / 1=100%.

[0101] 4.2.5 Code coverage (E, F)

[0102] Statement coverage:

[0103] Statements covered by T1 {1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 , 28, 36, 37, 38, 39}

[0104] Statements covered by T2 {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 18, 19, 20, 21, 22, 23, 24, 25, 29, 30 , 31, 32, 37, 38, 39}

[0105] Statements covered by T3 {1, 2, 3, 4, 5, 6, 7, 8, 9, 18, 19, 20, 21, 22, 23, 24, 25, 29, 33, 34, 35, 36, 37 , 38, 39}

[0106] Statement coverage: 100%.

[0107] Branches in code such as image 3 .

[0108] T1 covers the branch of choice=1, T2 covers the branch of choice=2, and T3 covers the branch of choice! = 1&choice! -2 for the branch.

[0109] Branch coverage = 3 / 3 = 100%.

[0110] Curre...

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 provides a method for acquiring test adequacy on the basis of function call path criteria. The method includes steps of 1, determining indexes in test criterion adequacy metric index systems by the aid of GQM (goal question metrics) normal forms; 2, computing and comparing test adequacy of a plurality of test criteria by the aid of data envelopment analysis processes which are used as decision-making processes in the index systems.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for obtaining test adequacy based on function call path criteria. Background technique [0002] The quality of software testing determines whether the software system can operate reliably according to the requirements, and the test results obtained by using different testing criteria in the testing process are also different, and the adequacy of software testing is the only criterion for testing the quality of software testing criteria. Based on the function call path criterion, the analysis granularity of path coverage is extended from statement to function level, which not only reduces the test workload exponentially, but also ensures the test effect. [0003] In software testing, testers should test all combinations in the input field of the software, but this is time-consuming and labor-intensive and impossible to achieve. In the actual testing process, testers en...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3672
Inventor 牟永敏
Owner BEIJING INFORMATION SCI & TECH UNIV
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