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

Software defect positioning method based on text part of speech and program call relation

A technology for program calling and software defects, which is applied in the computer field and can solve problems such as program calling relationships that do not use defect files

Active Publication Date: 2015-12-16
NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF3 Cites 25 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
  • Software defect positioning method based on text part of speech and program call relation
  • Software defect positioning method based on text part of speech and program call relation
  • Software defect positioning method based on text part of speech and program call relation

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 positioning method based on text part of speech and a program call relation. The method comprises: (1) extracting text messages of summaries and descriptions in a defect report, and increasing weights of noun lexical items and weights of all lexical items of a summary module in the defect report according to part of speech tags; (2) filtering out elements not required by a source code file according to a demand parameter ran of a developer, and preprocessing the text messages of the defect report and the filtered source code file; (3) generating a suspicious defect source code file list; (4) finding out a called source file through character string retrieval, and increasing a similarity value to correct an original rank; and (5) outputting a defect source code file or a defect source code file list corresponding to the defect report according to the demand parameter ran of the developer. According to the software defect positioning method based on the text part of speech and the program call relation, the text part of speech is utilized to adjust the weights of the lexical items, the program call relation is utilized to correct the similarity value, and the source code file is filtered and a final result is output according to the demand of a programmer, so that the purpose of improving the accuracy of defect positioning is achieved.

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