Incremental software defect prediction method, system and equipment 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-04-15
CENT SOUTH UNIV
View PDF8 Cites 2 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
  • Incremental software defect prediction method, system and equipment and storage medium
  • Incremental software defect prediction method, system and equipment and storage medium
  • Incremental software defect prediction method, system and equipment 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 and device and a storage medium, and the method comprises the steps: obtaining a first training set, carrying out the preprocessing of the first training set, and obtaining a second training set; based on the second training set, constructing a cost-sensitive LightGBM model; a cost-sensitive LightGBM model is used as a base classifier to construct an incremental prediction model, and the total training sample number and the total defect sample number are calculated; calculating a classification threshold according to the total training sample number and the total defect sample number; predicting a to-be-predicted sample by using the incremental prediction model to obtain a final prediction value; and judging the category of the to-be-predicted sample based on the classification threshold and the final prediction value. According to the method, a new base classifier can be added on the basis of an original model, historical samples do not need to be repeatedly trained while new data are learned, the model calculation amount can be reduced, the storage space is saved, the training efficiency is improved, the model is continuously improved, and the accuracy of software defect prediction is improved.

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