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

Pre-operation based program variation software error positioning method

A technology of software error and positioning method, which is applied in the field of program variation software error positioning based on pre-computation and dynamic software error positioning, which can solve problems such as running time exceeding, affecting practicability, and low accuracy rate, and achieve high accuracy rate, Increased accuracy and efficiency, and high test efficiency

Active Publication Date: 2015-01-28
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This error localization method has an average error localization accuracy of more than 60% when checking 5% of the code, but the average running time is more than 500 seconds
[0007] The automatic error location technology based on coverage information has high efficiency, but the accuracy rate is very low. The automatic error location technology based on program variation has a relatively high accuracy rate, but the efficiency is very low, which seriously affects the practicability. It is necessary to find a An automatic error localization technology with high accuracy and high efficiency

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
  • Pre-operation based program variation software error positioning method
  • Pre-operation based program variation software error positioning method
  • Pre-operation based program variation software error positioning method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] like figure 2 As shown, the specific process of the present invention is mainly divided into four steps, wherein the first two steps are carried out in the process of writing the program, that is, the process of pre-calculation, and the pre-test is carried out, and the last two steps are carried out after the program is written. The specific steps are described as image 3 Shown:

[0024] Step 1. Programmers have obtained intermediate version codes, which may be incomplete codes or incomplete functions. These versions can be regarded as intermediate version codes, which can be used for pre-computation tests. Mutation, each mutated version refers to a random modification of a statement in the intermediate version of the code, such as adding 1 to a variable in a certain statement in a program, so that a mutated version of the program is obtained;

[0025] Step 2, execute the program of the variant version, collect the execution information of the variant version progra...

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 belongs to the field of software testing, and relates to a pre-operation based program mutation software error positioning method, which comprises the following steps: utilizing a program of intermediate version obtained in the programming process to generate a plurality of programs of variant versions; executing the programs of variant versions, and collecting execution information of the program of each version, wherein the execution information comprises execution results and number; after the programming is completed, executing the program of final version, and collecting the execution information of the program of final version; comparing respective program information of the program of variant version and the program of final version, and positioning a software error location. The program error positioning is carried out by variation, and the accuracy rate is very high, so that the precomputed strategy is accelerated, the testing efficiency is very high, and the accuracy rate and the efficiency are improved compared with the existing error positioning method.

Description

technical field [0001] The invention belongs to the technical field of software testing, relates to a software error location method, and in particular provides a program variation software error location method based on pre-computation, which can be applied to dynamic software error location. Background technique [0002] In the continuous integration development process of agile software, software development is required to be iteratively carried out in coding and testing, that is, the staff who write the code provide a version every cycle, and the testers pass it to the staff who write the code for the next version after testing. Such a continuous integration development environment can effectively ensure the efficiency of software development. However, such an iterative method has a lot of free time for coders and testers, which reduces efficiency. We use software testers to start pre-testing in the process of writing code, and complete part of the testing task in the p...

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 INST OF SOFTWARE - CHINESE ACAD OF SCI
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