Method for locating software unsoundness base on execution track block semblance

A technology of execution trajectory and software defect, which is applied in the field of defect location, can solve the problems of not making full use of existing test data, heavy workload, narrowing the search range, etc., and achieve the effect of narrowing the defect search range, improving efficiency, and narrowing the search range

Inactive Publication Date: 2008-07-30
NANJING UNIV
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to propose a software defect location method based on the similarity of execution track blocks to narrow down the search range for developers to locate defec

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 for locating software unsoundness base on execution track block semblance
  • Method for locating software unsoundness base on execution track block semblance
  • Method for locating software unsoundness base on execution track block semblance

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment t3

[0039] The general flow chart of the present invention is as shown in Figure 3, in the test information collection module, the 1.1st step at first inserts the source program, collects the source program metadata, namely the data about the source program structure: which classes are included in the source program, Which methods each class includes, which code blocks each method consists of, and so on. Step 1.2 Generate the execution driver files of each test case, expressed in XML documents, including some settings for test information collection such as execution environment, execution information storage path, etc. Step 1.3 Execute the driver file, and save the execution track of the test case, whether it passes or not, and other information in the specified directory. As shown in Figure 2, the execution track of the test case is organized according to the level of class, method and code block. A code block refers to a collection of codes whose execution is the same under an...

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 software defect locating method which is based on the lump similarity of execution traces, and the method comprises the following steps that: firstly, the executive information of test cases are collected and arranged, and the execution traces are generated; secondly, a test case set which has defects is positioned according to the lump similarity selection of the execution traces; thirdly, the system comparison is carried out to the execution traces of the selected test cases, and the suspecting rate of the operation part is calculated; fourthly, the suspecting rate of the operation part is mapped to the source program to generate a defect locating report. The invention can be widely applied to the automatic test environment of a large-scale software system, and relates to the stage and the work of an integrated test, a system test, an acceptance test, a user problem report analysis, etc.; the existing test data are fully utilized, and the lump similarity of the execution traces is based on to carry out the position to the software defect, thereby effectively reducing the searching range and improving the defect positioning efficiency. The invention can be used in each period and stage of the test, the selected test case set has higher pertinence, the calculation method of the suspecting rate of the operation part is simple and effective, and the expansibility is better.

Description

technical field [0001] The invention relates to defect location in software automation testing, in particular to effectively utilizing passed and failed test cases and comparing their execution trajectories to locate defects in software when there are a large number of test cases. Background technique [0002] Software defect localization methods are currently widely used in the stages and work of integration testing, system testing, acceptance testing, and user problem report analysis of large-scale software systems. Testing is an essential link in the software development process, and its ultimate goal is to ensure the quality of software. As software becomes more complex, the use of automated software testing grows. Automated testing can generate a large number of test cases and record the execution information of the test cases, so there is a large amount of test data that can be used before repairing defects. The traditional debugging method is only to track the defec...

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
Inventor 王新平顾庆陈翔陈道蓄
Owner NANJING 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