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.
CN111240993BActive Publication Date: 2021-05-14天航长鹰(江苏)科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
天航长鹰(江苏)科技有限公司
Publication Date
2021-05-14

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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