arrow
返回

Machine learning based improved cross-project software defect prediction using new structural features in object oriented software

delete2024-11-01
delete0
PRE
AI
M
Manpreet Singh *
J
Jitender Kumar Chhabra
DOI:10.1016/j.asoc.2024.112082delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Cross-project software defect prediction (CPSDP) uses data from other projects to train the defect prediction model and is often used for new projects for which previous versions of the software are not available. Most of the latest CPSDP models are based on machine learning (ML), and ML algorithms use code quality metrics of the project as input. Existing ML-based CPSDP models use trivial count-based code quality metrics of the code's object-oriented features, which can hardly capture the structural characteristics of the code and are insufficient to develop a good CPSDP model. So, this research article proposes an improved ML-based CPSDP model that uses new structural code metrics as input features. Proposed source code metrics capture the structural characteristics of the code, such as complexity of the class, coupling, lack of cohesion, abstraction, inheritance coupling, and polymorphism, in a better way than existing source code metrics. Datasets of selected projects are prepared based on the proposed structural code metrics, and a new t-test-based procedure for project selection to prepare training datasets for ML algorithms is proposed. Finally, the most appropriate ML algorithm, extreme gradient boost, is selected for our proposed CPSDP model based on three performance metrics: AUC, accuracy, and balance between AUC and accuracy (BBAA). The balance between AUC and accuracy (BBAA) is proposed in this article. The proposed CPSDP model is compared with six existing models, and results show a significant improvement in the performance.
Keyword:
Code metrics
Cross-project defect prediction
Machine learning
Structural features

期刊

Applied Soft Computing 封面图
Applied Soft Computing
IF:
6.6
论文数:
1.4W
被引数:
4.8W

机构

N
national institute of technology (nit system)
学者数:
4.0W
论文数: 3.7W
被引数: 31
引用论文

引用论文

A multi-objective effort-aware defect prediction approach based on NSGA-II
err2023-12-01
err5
PREAI
errYu, Xiao; Liu, Liming; Zhu, Lin; Keung, Jacky Wai; Wang, Zijian; Li, Fuyang
err分享
err收藏
A Survey on Software Fault Localization软件故障定位研究综述
err2016-08-01
err741
errOAAI
errWong, W. Eric; Gao, Ruizhi; Li, Yihao; Abreu, Rui; Wotawa, Franz
err分享
err收藏
err分享
err收藏
err分享
err收藏
A NEW ABSOLUTE FREQUENCY REFERENCE GRID IN THE 28 THz RANGE
err1981-12-01
err0
PREAI
errA. Clairon; A. Van Lerberghe; Ch. Bréant; Ch. Salomon; G. Camy; Ch. J. Bordé
err分享
err收藏
err分享
err收藏
Host knockout of E-prostanoid 2 receptors reduces tumor growth and causes major alterations of gene expression in prostaglandin E2-producing tumors
err2016-11-30
err0
errOAAI
errAnnika Gustafsson Asting; Britt-Marie Iresjö; Camilla Nilsberth; Ulrika Smedh; Kent Lundholm
err分享
err收藏
学者 查看更多内容