Method and device for carrying out context positioning on software fault

A software fault and context technology, applied in the detection of faulty computer hardware, instruments, electrical digital data processing, etc., can solve the problem of inability to understand the relevant context of the fault code, waste of energy, etc.

Active Publication Date: 2017-01-18
SHANGHAI DIAN TECH INC
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the second stage of manual judgment, programmers often spend a lot of energy because

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 and device for carrying out context positioning on software fault
  • Method and device for carrying out context positioning on software fault
  • Method and device for carrying out context positioning on software fault

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0022] The embodiment of the present invention provides a method for software fault context location, such as figure 1 shown, including:

[0023] Step 101. Obtain input parameters, and determine suspicious input parameters and suspicious value subfields and non-suspicious value subfields of the suspicious input parameters in the input parameters.

[0024]Specifically, since the present invention locates the fault context for software, it can be considered that the...

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 embodiment of the invention provides a method and a device for carrying out context positioning on a software fault, relates to the technical field of software testing, and is used for providing a context environment where the software fault is generated for a programmer and improving accuracy of positioning the software fault. The method comprises: acquiring input parameters, and determining doubtful input parameters in the input parameters and doubtful value subdomains and non-doubtful value subdomains of the doubtful input parameters; according to the doubtful value subdomains and the non-doubtful value subdomains of the doubtful input parameters, acquiring doubtful input parameter variation pairs; acquiring execution information of the doubtful input parameter variation pairs; according to the execution information of the doubtful input parameter variation pairs, establishing a program dependency graph of an execution failure test case and a program dependency graph of a corresponding execution success test case; according to the program dependency graph of the execution failure test case and the program dependency graph of the corresponding execution success test case determining fault content statements.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method and device for locating software fault context. Background technique [0002] With the rapid development of information technology, computer software has penetrated into all fields of society. In order to ensure the quality of software, implementing a large number of software tests is an important step in software development. In the process of software testing, programmers often need to locate the software faults found. Traditional software fault detection and localization technologies are divided into two categories according to whether the process needs to run software: static fault detection based on static analysis and dynamic fault detection based on testing. The static analysis method is mainly based on the syntax and semantics of the programming language to analyze the dependency relationship between the software structure and the program entity, so as ...

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/22
CPCG06F11/2205
Inventor 李宁王瑞张利军田宇立李战怀
Owner SHANGHAI DIAN TECH INC
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