Title: Source selection and transfer defect learning based cross-project defect prediction

Authors: Wanzhi Wen; Ningbo Zhu; Bingqing Ye; Xikai Li; Chuyue Wang; Jiawei Chu; Yuehua Li

Addresses: Information Science and Technology, Nantong University, Nantong, Jiangsu, 226019, China ' Information Science and Technology, Nantong University, Nantong, Jiangsu, 226019, China ' Information Science and Technology, Nantong University, Nantong, Jiangsu, 226019, China ' Information Science and Technology, Nantong University, Nantong, Jiangsu, 226019, China ' Information Science and Technology, Nantong University, Nantong, Jiangsu, 226019, China ' Information Science and Technology, Nantong University, Nantong, Jiangsu, 226019, China ' Information Science and Technology, Nantong University, Nantong, Jiangsu, 226019, China

Abstract: Software defect is an important metric to evaluate software quality. Too many defects will make the software unavailable and cause economic losses. The aim of software defect prediction (SDP) is to find defects as early as possible. Based on this, source project selection and transfer defect learning based cross-project defect prediction (STCPDP) is proposed. This method firstly sets the threshold of the metrics to predict the defect more effectively, secondly computes the similarity between different project versions to find the appropriate train sets, and finally combines the popular transfer defect learning method TCA + to predict software defects based on the logistic linear regression model. Experimental results show that when the defect probability threshold is about 0.4, STCPDP has better performance based on the F-measure metric, and STCPDP can effectively improve the popular CPDP models.

Keywords: cross-project defect prediction; feature selection; logistic regression; source project selection; transfer defect learning.

DOI: 10.1504/IJCSM.2022.128189

International Journal of Computing Science and Mathematics, 2022 Vol.16 No.3, pp.195 - 207

Received: 19 Nov 2020
Accepted: 12 Mar 2021

Published online: 11 Jan 2023 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article