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

A software defect localization method based on textual speech and program call relationship

A technology of program calling and software defects, which is applied in the computer field, can solve problems such as the relationship between program calls that do not use defect files, and achieve the effect of improving accuracy

Active Publication Date: 2017-08-29
NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These studies have treated all parts of speech terms equally in the processing of defective texts, and have not used the calling relationship of defective file programs.

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 software defect localization method based on textual speech and program call relationship
  • A software defect localization method based on textual speech and program call relationship
  • A software defect localization method based on textual speech and program call relationship

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to facilitate the understanding of those skilled in the art, the present invention will be further described below in conjunction with the embodiments and accompanying drawings, and the contents mentioned in the embodiments are not intended to limit the present invention.

[0027] refer to Figure 1 to Figure 2 As shown, a kind of software defect localization method based on text part of speech and program calling relation of the present invention comprises as follows:

[0028] 1. The demand parameter ran

[0029] The required parameter ran appears in both modules. This parameter is of Boolean type, and the value range is true (true) or false (false). It mainly controls the filtering of source code file components and the final result output.

[0030] If the value of ran is true, it means that the developer only needs one suspicious defect source code file for a single defect report. After the source code file filtering operation, only the class name and metho...

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 software defect location method based on textual part of speech and program call relationship, including: 1) extracting summary and description text information in the defect report, increasing the weight of noun items in the defect report according to part of speech tags and summarizing module ownership The weight of the term; 2) According to the developer's demand parameter ran to filter out unnecessary components of the source code file, and preprocess the text information of the defect report and the filtered source code file; 3) Generate a list of suspicious defect source code files ;4) Find the calling source file through string search, improve its similarity value and correct the original ranking; 5) Output the defect source code file or defect source code file list corresponding to the defect report according to the developer's demand parameter ran. The invention utilizes the text part of speech to adjust the weight value of words, the call relationship between programs to correct the similarity value, and performs source code file filtering and final result output according to programmer requirements, so as to improve the accuracy of defect location.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular refers to a method for locating software defects based on the relationship between text speech and program calls. Background technique [0002] The timely repair of software defects is very important to improve user satisfaction, and it is also an important link in software development. In the software development cycle, software defect location becomes a very difficult task for maintenance, especially for developers who are not familiar with defect modules, it is time-consuming and annoying. Software bugs and requirements are usually managed using a bug tracking system (BTS). When a piece of software is released, the corresponding BTS is responsible for collecting description reports (ie, defect reports) on software defects submitted by program testers or end users. Software developers can properly maintain and improve the software through these reports. Developers need to ...

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 UNIV OF AERONAUTICS & ASTRONAUTICS
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