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

Software defect prediction method and device, electronic equipment and storage medium

A software defect prediction and defect technology, applied in software testing/debugging, genetic model, etc., can solve problems such as low prediction accuracy and complex prediction model, achieve small prediction error, good sorting performance, and achieve the effect of model performance

Pending Publication Date: 2021-11-16
SHENZHEN TECH UNIV
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a software defect prediction method, device, electronic equipment and storage medium to solve the problem that the software defect prediction scheme in the prior art has low defect prediction accuracy and complicated prediction models for new software question

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 prediction method and device, electronic equipment and storage medium
  • Software defect prediction method and device, electronic equipment and storage medium
  • Software defect prediction method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] Aiming at the problem that the existing software defect prediction schemes have low defect prediction accuracy for new software, a scheme using the improved MOEA / D algorithm to build a model to realize software defect prediction is proposed. The scheme includes input training data, including The value of all measurement elements of the software module and the number of defects of the corresponding software module; preprocessing the defect data (removing duplicate values, filling or deleting missing values); using the training data to construct a prediction model: using the improved MOEA / D multiple The target optimization algorithm optimizes the sorting performance, regression performance and model complexity of the model at the same time, obtains multiple sets of model parameters, and then gives the three different weights to select the appropriate model parameters according to actual needs; input test data, that is, the next version of the software module Measure the va...

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 prediction method and device, electronic equipment and a storage medium. Comprising the following steps: extracting metric element features and defect information in software with known defect information to obtain training data; using a linear model as a basic model, using an improved MOEA / D algorithm for carrying out optimized training on model parameters according to training data, obtaining a Pareto solution set, and obtaining a set of defect prediction models, in which the improved MOEA / D algorithm introduces a zero parameter construction mode to optimize the model parameters, and therefore optimization of model performance is achieved; and on the basis of the optimized model, selecting one prediction model according to an application scene to perform defect prediction on the to-be-tested software to obtain defect information of the next version of to-be-tested software. Through the implementation of the method, a software defect prediction model with good sorting performance, relatively small prediction error and relatively short prediction time can be better constructed, and the application scene of the model is further expanded, and the accuracy of defect prediction is improved.

Description

technical field [0001] The invention relates to the field of software detection, in particular to a software defect prediction method, device, electronic equipment and storage medium. Background technique [0002] With the rise of various emerging computer technologies, the scale of software is getting bigger and bigger, and the quality of software is getting more and more attention. Software defects are an important factor affecting software quality and a potential source of errors and failures in related systems. Therefore, , How to discover and correct software defects in time to improve software quality has become a problem that cannot be ignored in the software development life cycle. [0003] Software defect prediction technology started in the 1970s. It mainly uses machine learning technology to generate software defect prediction models based on recorded historical data and currently known defects and other software measurement data, and predicts the future of softwa...

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/36G06N3/12
CPCG06F11/3608G06F11/3688G06F11/3684G06N3/126
Inventor 杨晓杏梁立新李艺鸿
Owner SHENZHEN TECH UNIV
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