Collapse stack data-based software defect code locating method

A locating method and software defect technology, applied in the field of software testing and maintenance, can solve problems such as low locating efficiency, difficulty in meeting large-scale software system debugging requirements, and a large number of manual interventions.

Active Publication Date: 2016-01-06
NANJING UNIV
View PDF2 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Also, in the software development cycle, there is also a contrast between the large size of the software and the limited development and testing costs
[0003] At present, defect code positioning is still mainly based on manual positioning and empirical judgment. Interactive debugging tools are often used, which requires a lot of manual intervention, low positioning efficiency, and consumes a lot of time and cost. It is not repeatable, and it is difficult to meet and adapt to large-scale software systems. Debugging requirements
In recent years, researchers have proposed some automatic defect code location methods, but most of these methods need to obtain dynamic information of the software execution process, such as code coverage data and execution trajectory, etc., which are suitable for small-scale statement-level software defect location; Defect localization requirements for large-scale software systems at the function and process levels

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
  • Collapse stack data-based software defect code locating method
  • Collapse stack data-based software defect code locating method
  • Collapse stack data-based software defect code locating method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0050] Such as figure 1 and figure 2 As shown, the software defect code location method based on crash stack data designed by the present invention includes the following steps in the actual application process, wherein the code unit refers to a function, procedure or object method in a software program.

[0051] Step 001. The software developer will build a defect reporting system during the software system development and maintenance process, in which the maintenance code defect history database includes crash stack data, component name, version number, operating system, etc. related to each software defect; For the code defects that have been repaired, the defect code corresponding to each crash stack data, code repair records, etc. will also be recorded; therefore, based on the defect reporting system, we first col...

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 collapse stack data-based software defect code locating method. Historical collapse stack data are combined with historical code maintenance records; by a machine learning technique, a defect code prediction model is established; and various final target collapse code units including defects in software are predicted, so that the code units including the defects in the software are rapidly located; evaluations are carried out on the final target collapse code units; and the work efficiency of restoring software codes is effectively improved. The collapse stack data-based software defect code locating method is simple in design method and suitable for different types of programming languages and different scales of computer software, and has scalability and adaptability; a parallel algorithm is convenient to use; a lot of collapse stack data can be rapidly and effectively analyzed and processed; and the software defect locating efficiency is improved; and the collapse stack data-based software defect code locating method can be applied to testing and maintaining work of medium-to-large software systems.

Description

technical field [0001] The invention relates to a method for locating software defect codes based on crash stack data, and belongs to the technical field of software testing and maintenance. Background technique [0002] Software defects are inevitably generated during the development and maintenance of computer software. Defect location is a time-consuming and labor-intensive task in the software debugging process, especially for large-scale software systems. Software defect location has always been one of the hot issues in the field of software engineering research. Defect location uses code execution information and defect (problem) reports to predict the possible scope of defective code and assist developers in finding defect locations. The scale of the current software system is getting bigger and bigger, and there are more and more code files. According to the content of the defect report, the process of locating the defect code from the massive code files can be desc...

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 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