Software defect location method based on multi-objective optimization

A multi-objective optimization and software defect technology, applied in the field of software engineering, can solve problems such as difficult large-scale software development and maintenance, high computational complexity, unsuitable large-scale software real-time development and maintenance process, etc., to improve debugging efficiency, The calculation method is simple, and the effect of saving manpower and time costs

Active Publication Date: 2019-09-03
NANJING UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing methods require historical data, training weight parameters through supervised learning, etc., which have high computational complexity and are not suitable for the real-time development and maintenance process of large-scale software.
[0005] In summary, the defect location method in the prior art has high computational complexity and is not easy for large-scale software development and maintenance

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 location method based on multi-objective optimization
  • Software defect location method based on multi-objective optimization
  • Software defect location method based on multi-objective optimization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] In order to enable those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described in detail below in conjunction with specific embodiments.

[0077] Embodiments of the present invention provide a software defect location method based on multi-objective optimization, such as figure 1 shown, including:

[0078] S1. Collect code files, BUG reports, and developer experience information of the software to be tested, wherein, code files refer to object-oriented class files for object-oriented languages, and refer to single code files for process-oriented languages; the BUG report contains information that needs to be located Software defect data; document writer data in the software project development process, including developer experience information;

[0079] S2, the code file and the BUG report loading keyword extraction method to obtain the code file keyword and the BUG file keyword;

[0...

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 present invention discloses a software defect location method based on multi-objective optimization. The method comprises: arranging code files of a software program, a BUG report and developer information; extracting keywords in the code files and the BUG report, and based on a word bag model, calculating a text similarity function of the code file and the BUG report; based on a structure feature measure of the code files, calculating a structure complexity function of the code files; based on the developer information of the code files, calculating a developer familiarity function; and given the BUG report and based on the similarity function, the structure complexity function and the developer familiarity function, sorting the code files by a two-stage sorting method based on multi-objective optimization, and outputting a code file with a high defect probability. The method is simple in calculation and strong in expansibility, and by the method, the defected code can be located rapidly and effectively, and the method can be applicable for various types of code files and suitable for development and maintenance of large-scale software products.

Description

technical field [0001] The invention relates to the field of software engineering, in particular to a software defect location method based on multi-objective optimization. Background technique [0002] Software defects are inevitable in the process of software development and maintenance, especially as the scale of software continues to expand, the number of defects is also increasing. For example, in 2013 alone, 3389 BUG reports were generated for the Eclipse Platform. The main purpose of software debugging includes the discovery, location, understanding and removal of defects. The internal development practice of software companies shows that defect location is an important activity that is difficult, time-consuming and labor-intensive in the debugging process. [0003] Manual debugging of code to achieve defect location is often costly and inefficient, and manual debugging is often based on the personal experience of developers or maintenance personnel, which is not reus...

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