Software defect prediction method based on neural network

A software defect prediction and neural network technology, applied in the field of software testing, can solve problems such as spending 40 hours and increasing the cost of repairing defects, and achieve the effect of improving the efficiency of discovery

Pending Publication Date: 2021-05-07
SICHUAN AEROSPACE SYST ENG INST
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Statistics show that in the software code review stage, it takes two minutes to find and repair a software defect evaluation, ten to twenty minutes in the unit test stage, an hour in the integration test stage on average, and an hour in the system test stage. Forty hours, and the cost of fixing bugs grows almost exponentially over time

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 based on neural network
  • Software defect prediction method based on neural network
  • Software defect prediction method based on neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0021] Software defect prediction aims to accurately predict the defects in software modules at the early stage of software development, so as to allocate limited testing resources reasonably and effectively, and improve software quality.

[0022] Software features are the description of software data, and also the software data information that needs to be paid attention to in software defect prediction. The extraction of features is to map high-dimensional data to low-dimensional space through linear or nonlinear methods, so as to facilitate identification and recognition by algorithms. judge.

[0023] A deep neural network is a model of machine learning. Using a deep neural network can obtain a compressed representation of high-dimensional data, thereby reducing the dimensionality of the data.

[0024] The specific steps of the neural network-based software defect prediction method of the present embodiment are as follows:

[0025] 1. Software feature preprocessing:

[00...

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 based on a neural network; the method comprises the steps: software feature preprocessing: dividing the feature dimension of tested software into N equal parts, and enabling the data of each equal part to obey the normal distribution N (mu, sigma<2>); sampling: firstly, calculating a median of a value of each tested software sample under each software feature, and taking the median of each software feature as a threshold value of the software feature, for each sample, comparing the value of each software feature with a corresponding threshold value, calculating the number of the features, greater than the threshold value, of the tested software sample, and sorting the samples from more to less; and sampling the samples according to the sequence, so that defect data occupies a certain proportion; setting a neural network model: enabling a target value to be equal to an input value as much as possible by using a back propagation algorithm, adjusting neural network parameters through continuous training, and obtaining a training weight of each layer of neural network so as to achieve the purpose of feature dimension reduction. According to the invention, the software defect discovery efficiency can be remarkably improved.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a neural network-based software defect prediction method. Background technique [0002] Software defects refer to problems such as errors in the development or maintenance process of software products, or the failure or violation of certain functions that need to be realized. With the increasing scale and complexity of software, defect data will inevitably be generated in the software development process, and defects may appear in any stage of the software development process. With the development of software technology so far, it is impossible to find and eliminate all defects by any means of inspection and verification. In the development cycle of a software project, the later a defect is discovered, the higher the cost of repairing the defect will be. [0003] Statistics show that in the software code review stage, it takes two minutes to find and repair a software d...

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/04G06N3/08
CPCG06F11/3684G06F11/3688G06N3/084G06N3/045
Inventor 姚天问张奔赵铁生钟敏谢黛茜郭海波
Owner SICHUAN AEROSPACE SYST ENG INST
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