Software error positioning method and device

A software error and location method technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as low accuracy rate and efficiency, achieve low false positive rate and false negative rate, improve efficiency, reduce effect of sensitivity

Inactive Publication Date: 2018-08-17
HENAN UNIVERSITY OF TECHNOLOGY
View PDF2 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a software error location method and dev

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
  • Software error positioning method and device
  • Software error positioning method and device
  • Software error positioning method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to improve the efficiency of software error location, the present invention provides a software error location device, the device includes a processor, the processor is used to execute instructions to implement the software error location method of the present invention, the following in conjunction with the accompanying drawings and embodiments, the The method is described in detail.

[0025] The overall flowchart of the method is as follows figure 1 shown.

[0026] First, if figure 2 As shown, with the source code of the test case driver, under the Ubuntu 12.04.2 operating system and the gcc-4.6.3 compiler, use the Gcov component of gcc to obtain the execution path information of the program, and obtain the corresponding program execution through the test language As a result, a successful execution path and a failure execution path are obtained.

[0027] Then, in order to avoid the impact of accidental correctness on software error location, the improved...

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 relates to a software error positioning method and device. The method comprises the steps that through a source code of a testing case driving program, execution path information and a corresponding execution result of the program are acquired, wherein a successful execution path and a failure execution path are involved; an NJW spectral clustering algorithm is adopted for conductingclustering division on the execution path information of the program, an accidental correctness testing case is identified, and the identified accidental correctness testing case is removed; the suspicious degrees of codes are calculated, and a highly-suspicious code of which the suspicious degree is higher than a set suspicious degree threshold value is acquired; an association code associated with the highly-suspicious code is mined on the failure execution path; with the mined association code as a code inspection object, software error positioning is conducted. The software error positioning method has low false report rate and missing report rate on accidental correctness testing case identification, the accuracy rate of software error positioning is increased, and the efficiency ofsoftware error positioning is improved.

Description

technical field [0001] The invention belongs to the technical field of software analysis and testing, and in particular relates to a software error location method and device. Background technique [0002] Software has become an important part of the modern information society and an important factor to ensure national information security and the healthy development of the software industry. The improvement of software quality can improve people's life and work, and has a significant role in promoting the development of national economy and information industry. As the scale and complexity of software increase, the frequency of software errors increases rapidly, and software errors may cause great losses or disasters to human beings. [0003] Software testing is the process of executing the program in order to display the errors existing in the program, which is an important link in the software life cycle; software debugging is the process of finding and repairing errors....

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/3688G06F11/3692
Inventor 曹鹤玲许德刚邓淼磊鞠小林赵玉娟赵晨阳杨卫东邓勇宋炯炯
Owner HENAN UNIVERSITY OF TECHNOLOGY
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