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

A method for locating software defects based on frequency spectrum and visualization

A software defect and spectrum technology, applied in the computer field, can solve problems such as being easily affected by subjective ideas, and achieve the effect of avoiding subjective assumptions

Active Publication Date: 2019-10-18
NANJING MUCE INFORMATION TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The problem to be solved by the present invention is: at present, the positioning and repairing of software defects by developers is still mainly based on experience, which is easily affected by subjective ideas. Using the objective information of the program for defect positioning and visual guidance can help developers locate faster and more accurately until software bugs are fixed

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
  • A method for locating software defects based on frequency spectrum and visualization
  • A method for locating software defects based on frequency spectrum and visualization
  • A method for locating software defects based on frequency spectrum and visualization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention is a method for guiding software defects of programmers based on frequency spectrum positioning and visualization, which aims to provide developers with better defect positioning and repair guidance, and at the same time make up for inaccuracies that may be caused by subjective factors such as personal experience Even wrong.

[0040] The core technology of the present invention is to combine static scanning and dynamic execution, use the collected two kinds of data to establish a model and apply it to frequency spectrum positioning, obtain calculation of suspicious values ​​and visualize them.

[0041] First, static analysis is used to obtain the control flow graph structure of the program. As the basis of the subsequent analysis of the present invention and the display of the objective structure of the program, the control flow graph plays a crucial supporting role. Next, use dynamic execution to use unit test cases to test and execute the source ...

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 method for positioning software defects on basis of frequency spectrum positioning and visualization, and aims at providing better defect positioning and restoration guidance for developers and remedying the inaccuracy and mistakes caused by subjective factors such as personal experiences and the like. The method comprises the following steps of: obtaining a control flow diagram on the logic of a program by utilizing static analysis; applying a coverage rate, for a program, of a test case obtained through dynamic execution and an own execution result to frequency spectrum positioning; carrying out calculation to obtain the possibility that a program unit comprises defects; distinguishing suspicious degrees through sorting, discretization and grouping; and finally realizing the suspicious degrees on a development tool in a visualization manner.

Description

technical field [0001] The invention belongs to the field of computer technology, relates to the field of software engineering in IT technology, is used to guide programmers on software defects, and is a method based on frequency spectrum positioning and visualization. Background technique [0002] With the increasing popularity of software, software quality has become the focus of people's attention. Among the many methods to ensure software quality, the behavior of developers acts as the first line of defense. Developers need to use testing to ensure the correctness of the software they develop, and when a fault occurs, debugging becomes a way to find a solution to the software defect. [0003] Debugging includes the process of locating software defects and repairing them. The most important and difficult step is to locate the location of the defect. Traditional software error location is manually performed by developers, and these techniques include running the software...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 陈振宇刘子聪宋硕谢晓园卢依宁
Owner NANJING MUCE INFORMATION TECH
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