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

A Software Defect Prediction Method Based on Module Dependency Graph

A software defect prediction and dependency graph technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve problems such as difficulty in feature extraction of network nodes, lack of flexibility, etc.

Active Publication Date: 2021-05-14
天航长鹰(江苏)科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Existing research mainly relies on user-defined structural feature metrics (such as degree statistics or centrality metrics) to describe the structural features of nodes, which lacks flexibility and makes it difficult to extract network node features.
Developers are also the cause of defects, and the existing research rarely takes this factor into account

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 Prediction Method Based on Module Dependency Graph
  • A Software Defect Prediction Method Based on Module Dependency Graph
  • A Software Defect Prediction Method Based on Module Dependency Graph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the above objects, features and advantages of the present application more obvious and understandable, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0021] figure 1 It shows a flowchart of a software defect prediction method based on a module dependency graph according to an embodiment of the present disclosure; figure 2 A general flowchart of a software defect prediction method based on a module dependency graph according to an embodiment of the present disclosure is shown.

[0022] Such as figure 1 As shown, the software defect prediction method of the present disclosure includes:

[0023] S1: Identify the defect information of the software module according to the version information of the software to be analyzed.

[0024] Such as figure 2 As shown, in the C source code software version library to be analyzed, which softwa...

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

This disclosure proposes a software defect prediction method based on the module dependency graph, which identifies the defect information of the software module according to the version information of the software to be analyzed; establishes the software module dependency graph according to the dependency relationship between the software modules, and uses the developer as a Nodes in the module dependency graph; extracting internal features of the software module, extracting the dependency features of each node in the software module dependency graph by means of network representation learning, and forming a metric tuple with the internal features and the dependency features between the modules, Establish the historical defect library of the software according to the measurement tuple and the defect information of the module; use the historical defect library to train the defect prediction model for subsequent software defect prediction, and the defect prediction adopts the dynamic selection of classifiers based on local optimum The model automatically optimizes the parameters of the defect prediction model, and uses the result of the software module defect prediction model as the defect prediction result of the software to be analyzed. This method can improve the flexibility of constructing network node metrics and improve the effect of software defect prediction.

Description

technical field [0001] The invention belongs to the technical field of software quality assurance, in particular to a software defect prediction method based on a module dependency graph. Background technique [0002] Software defect prediction is a very important research topic in software engineering. Static software defect prediction technology based on metrics uses the historical data obtained from existing software modules to predict defects for new software modules to judge new software defects. Whether the module is defective or not, thus providing decision support for software projects. Most of the existing research on software defect prediction uses machine learning technology. Software defect prediction generally includes the following steps: 1) Mark module categories, software modules can be divided into two categories: defective modules and non-defective modules; 2) Extract module attributes, Use McCabe metric, McCabe metric, Halstead metric and other methods 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
CPCG06F11/3616
Inventor 原仓周柯鑫鑫詹盼盼齐征
Owner 天航长鹰(江苏)科技有限公司
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