Supercharge Your Innovation With Domain-Expert AI Agents!

A Software Defect Prediction Method Based on Cooperative Migration

A software defect prediction and defect technology, applied in software testing/debugging, computer components, error detection/correction, etc., can solve problems such as inability to determine the predictive performance of source projects, and achieve the effect of improving the effect of prediction

Active Publication Date: 2021-04-06
ZHEJIANG UNIV OF TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, none of the above algorithms have been used in the prediction of software defects.
[0005] In general, the current software defect prediction algorithms have the following problems: In software defect prediction, transfer learning is very important for cross-project defect prediction, how to make the transfer learning algorithm make full use of the useful information of the source project, thereby improving the target The defect prediction performance of the project; different source projects will have different prediction effects on the target project. Under the premise that it is impossible to determine which source project has the best prediction performance, how to consider it at the same time compared with one-to-one cross-project defect prediction All other related source items to improve predictive performance

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
  • A Software Defect Prediction Method Based on Cooperative Migration
  • A Software Defect Prediction Method Based on Cooperative Migration
  • A Software Defect Prediction Method Based on Cooperative Migration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The present invention will be further described below in conjunction with the accompanying drawings.

[0047] refer to figure 1 with figure 2 , a software defect prediction method based on collaborative migration, including the following steps:

[0048] 1) Through the combination of four different standardization methods and the TCA transfer learning method at the same time, the original source item dataset is expanded into four new source item datasets of the same size. The process is as follows:

[0049] 1.1) First, divide the samples with known class labels in the target project into two parts according to the class labels: the target training set and the target test set, which require the same number of samples of the same standard and must contain defective samples. The target project Other unclassified samples in the sample are used as the target samples to be tested;

[0050] 1.2) For all current source data sets related to the target project, standardize the...

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

A software defect prediction method based on collaborative migration, including the following steps: 1) Expand the original source project data set into four new source project data of the same scale by combining four different standardization methods and the TCA transfer learning method at the same time 2) Construct a collaborative classifier for the target project using the software defect prediction algorithm based on collaborative migration; 3) Perform defect prediction on new samples to be predicted in the target project. The present invention selects four different standardization methods and combines them with the TCA transfer learning method to expand the source item data set, enriches the information expression of the source item data, generates a sub-classifier for each source item, and classifies the sub-classes according to the PSO algorithm The adaptive weight distribution is carried out by the classifier, so as to build a collaborative classifier to predict the defects of the samples to be tested in the target project.

Description

technical field [0001] The invention belongs to the field of software defect prediction algorithms, in particular to a software defect prediction method based on cooperative migration. Background technique [0002] Software defect prediction can be divided into intra-project defect prediction and cross-project defect prediction. In-project defect prediction requires a large number of samples known to be defective in the project, such as files, classes, and functions, etc., which are used as training sets, combined with machine learning methods to generate classifiers and then predict target samples. The cross-project defect prediction can predict the defect of the target project based on the samples of other related projects. In the actual development process, due to the fact that the target project is too new or the cost of obtaining labels is too high, there are too few training samples in the target project, and cross-project defect prediction is often required. In most...

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/36G06K9/62
CPCG06F11/3668G06F18/24G06F18/214
Inventor 陈晋音胡可科杨奕涛方航
Owner ZHEJIANG UNIV OF TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More