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

An incremental software defect prediction method, system, device and storage medium

A software defect prediction, incremental technology used in computer components, response error generation, character and pattern recognition, etc.

Active Publication Date: 2022-05-27
CENT SOUTH UNIV
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, when building an incremental prediction model, by deleting the base classifier with low prediction accuracy, it can not only ensure that the scale of the prediction model is not too large, but also solve the problem of learning new defect samples that are constantly generated during the iterative process of software development. problems, continuously improve the model, and improve the accuracy of software defect prediction

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
  • An incremental software defect prediction method, system, device and storage medium
  • An incremental software defect prediction method, system, device and storage medium
  • An incremental software defect prediction method, system, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The technical solutions of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present disclosure, rather than all of them. Based on the embodiments of the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present disclosure. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other. In addition, the role of the drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and visually understand each technical feature and overall technical solution of the present disclosure, but they should not be construed as limiting the protection sc...

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 an incremental software defect prediction method, system, device and storage medium. The method obtains a first training set and preprocesses the first training set to obtain a second training set; based on the second training set, build a cost-sensitive LightGBM model; use the cost-sensitive LightGBM model as a base classifier to build an incremental prediction model, and calculate the total number of training samples and the total number of defective samples; calculate the classification threshold based on the total number of training samples and the total number of defective samples ; Use the incremental prediction model to predict the sample to be predicted to obtain the final predicted value; based on the classification threshold and the final predicted value, determine the category of the sample to be predicted. This method can add a new base classifier on the basis of the original model, while learning new data, there is no need to repeatedly train historical samples, and it can reduce the amount of model calculation, save storage space, improve training efficiency, continuously improve the model, and improve the accuracy of software defect prediction. Accuracy.

Description

technical field [0001] The present invention relates to the technical field of software defect prediction, in particular to an incremental software defect prediction method, system, device and storage medium. Background technique [0002] In today's information age, the scale of software is becoming larger and larger, and the complexity of software structure is also increasing. In order to troubleshoot software defects and ensure the normal operation of the software, the cost of software testing should account for more than 50% of the cost of software development. However, in actual development, due to time, cost, and manpower constraints, the cost of software testing is often very low. Therefore, how to reasonably allocate software testing resources and how to conduct software testing with high quality and high efficiency has become a concern of researchers and software testing teams. Software defect prediction can divide software modules into defect-prone software module...

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/07G06K9/62G06N20/00
Inventor 任胜兵毛栋张光辉柳叶晟
Owner CENT SOUTH 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