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

Defect positioning method and device

A defect and software program technology, applied in the computer field, can solve problems such as unsuitable scenarios with a large number of source codes, high method complexity, and low static analysis efficiency

Active Publication Date: 2017-01-18
NEUSOFT CORP
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the method of static analysis is inefficient and not suitable for scenarios with a large amount of source code
The method of establishing the training set is relatively complex and insensitive to high-risk defects

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.

[0060] Please refer to figure 1 , figure 1 It is a flowchart of a method for locating a defect according to an exemplary embodiment. Such as figure 1 As shown, the method includes the following steps:

[0061] Step S11: extracting abnormal stack data from the running log file of the software program;

[0062] Step S12: According to the abnormal stack data, determine the defect parameters, the defect parameters include: the number of occurrences of the method in which the defect occurred in the software program, the number of occurrences of the method calling the method in which the defect occurred, and the The number of times the flawed method was called...

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 defect positioning method and a defect positioning device. The method comprises the following steps: extracting abnormal stack data from an operating log file of a software program; generating a network topology map according to the abnormal stack data, wherein the network topology map represents the historical defect condition of the software program; and determining the high-risk defect in the software program according to the network topology map. The defect is positioned by the operating log file without analyzing all the source codes, so the defect positioning complexity is reduced; furthermore, by virtue of the network topology map, the high-risk defect can be identified accurately and the defect positioning efficiency is improved.

Description

technical field [0001] The present disclosure relates to the field of computers, and in particular, to a method and device for locating defects. Background technique [0002] With the development of information technology, more and more software programs are running on computers. In order to ensure that the software program can run normally on the computer, before releasing the software program, the programmer will detect whether there is a defect in the software program, and if there is a defect in the software program, modify the software program until there is no defect in the software program . Then release the bug-free software program. [0003] In related technologies, it is possible to statically analyze the source code of the software program or establish a training set to detect whether there is a defect in the software program. However, the method of static analysis is inefficient and not suitable for scenarios with a large amount of source code. The method of ...

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/3612
Inventor 谢新强张德阳
Owner NEUSOFT CORP
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