Self-adapting software defect positioning method based on predicate execution information analysis

A technique for executing information and locating methods, which is applied in software testing/debugging, etc., and can solve problems such as inability to effectively use predicate execution information

Active Publication Date: 2012-08-01
BEIHANG UNIV
View PDF2 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The present invention is an adaptive software defect location method based on the analysis of predicate execution information, the purpose of which is to overcome the shortcomings of the existing methods that cannot effectively use the predicate execution information, and provide a dynamic defect location method that can adapt to the actual execution of the predicate

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
  • Self-adapting software defect positioning method based on predicate execution information analysis
  • Self-adapting software defect positioning method based on predicate execution information analysis
  • Self-adapting software defect positioning method based on predicate execution information analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0078] Assume that the program under test contains several defects, usually these defects are unknown before the test, first perform stub insertion on the program to be tested, design the output information of the stub point as the information described in the third step of the above method, and then load the test case , run the program after instrumentation. Collect the output information of the stub function, preprocess the information according to the requirements of the fourth step in the above method, and obtain the top N most frequent occurrences of each predicate in all failed test cases (2

[0079] In order to test the positioning efficiency of ...

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

A self-adapting software defect positioning method based on predicate execution information analysis mainly comprises the following seven steps: 1, performing instrumentation to a program with defects; 2, loading test cases of the program and operating the program with stub function; 3, respectively collecting the output information of a stub function when the program operates successfully and unsuccessfully; 4, pre-processing execution information of each predicate in all failure test cases; 5, calculating the defect correlation of a predicate P; 6, repeating step 5, calculating the defect correlation of all the predicates, and ordering all the predicates from high to low; and 7, according to the ordering result in step 6, seeking the predicates in sequence until a defect is found. The method is simple in principle and easy to implement and can solve the problem that the conventional dynamic software defect positioning method based on predicates can not effectively utilize predicate execution information, thereby overcoming the limitation of the traditional method and improving the positioning efficiency.

Description

technical field [0001] The invention relates to a software dynamic defect location method adding feature selection, in particular to an adaptive software defect location method based on predicate execution information analysis. It is a software defect location method that can automatically select the amount of required predicate execution information according to the actual execution of the predicate in the program. The method belongs to the technical field of software testing. Background technique [0002] Establishing a highly reliable and zero-defect software production line has been the persistent pursuit of the software industry and software engineering academic research institutions for many years. Especially after entering the 1990s, foreign investment in software defect location, software debugging and other automated debugging technology research has increased significantly, and in-depth research has been carried out on core technologies such as software defect loc...

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 BEIHANG UNIV
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
Try Eureka
PatSnap group products