Program error positioning method based on dynamic program failure execution block

A positioning method, a technology for program errors, applied in error detection/correction, instrumentation, electrical digital data processing, etc.

Pending Publication Date: 2020-06-12
ZHEJIANG SCI-TECH UNIV
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The researchers also found that using SFL error localization techniques at different levels of granularity affects the efficiency of error localization for a given program, such as statements, methods, basic blocks; since some correct statements with high suspiciousness values ​​may be excluded from high Suspicious code block (method or basic block), the existence of these statements will affect the error localization ability of SFL method

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
  • Program error positioning method based on dynamic program failure execution block
  • Program error positioning method based on dynamic program failure execution block
  • Program error positioning method based on dynamic program failure execution block

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to describe the present invention more specifically, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0032] In order to facilitate browsing and calculation, the present invention can use symbols to represent four kinds of operating conditions of a certain statement under different test cases, as shown in Table 1:

[0033] Table 1

[0034]

[0035] For example, a 11 Represents the statistics of the statement that was executed when the test case was run and the result of the test case was a failure. If a statement happens to be executed under a certain use case and the result of the test case is a failure, then the statement's a 11 The count is incremented by 1. In the following content, this form will be used to represent different spectrum formulas.

[0036]In the existing program error location method, the calculation formula of the suspiciousness...

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 program error positioning method based on a dynamic program failure execution block. The SFL method is analyzed in two aspects of theory and practice, a new granularity, namely a dynamic program failure execution block DFEB, is provided on the basis, and a new error positioning method, namely an error positioning method based on a dynamic program basic block is provided on the basis of the granularity. According to the method, the adjacent statements executed by each test case are grouped, the DFEB can be easily constructed from the coverage matrix obtained by test execution, and then the DFEB is integrated into the SFL technology by using the conditional probability model, so that the program error statements can be effectively positioned. Experimental results show that under most conditions, the method is more effective than a classical method, and has advantages in overall error positioning effect.

Description

technical field [0001] The invention belongs to the technical field of software program error location detection, and in particular relates to a program error location method based on a dynamic program failure execution block. Background technique [0002] The increasing scale and complexity of software has brought great challenges to software development and debugging technology. In the face of software defects that follow in the software development process, software testing is an important technical means to improve its quality and reliability. As a way to ensure and improve software quality, software testing plays an increasingly important role in the software development life cycle. Debugging is a part of the software testing process that involves fault location of programs under test and correction of code errors; software fault location is primarily about identifying specific locations of faults and is considered the most expensive and time-consuming activity in debug...

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
CPCG06F11/366
Inventor 舒挺潘抱一
Owner ZHEJIANG SCI-TECH 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