An Empirical Study of Software Metrics Diversity for Cross-Project Defect Prediction

Author:

Zhong Yiwen1,Song Kun1ORCID,Lv ShengKai1,He Peng123ORCID

Affiliation:

1. School of Computer Science and Information Engineering, Hubei University, Wuhan 430062, China

2. Hubei Key Laboratory of Applied Mathematics, Hubei University, Wuhan 430062, China

3. Hubei Engineering Research Center for Educational Informationization, Wuhan 430062, China

Abstract

Cross-project defect prediction (CPDP) is a mainstream method estimating the most defect-prone components of software with limited historical data. Several studies investigate how software metrics are used and how modeling techniques influence prediction performance. However, the software’s metrics diversity impact on the predictor remains unclear. Thus, this paper aims to assess the impact of various metric sets on CPDP and investigate the feasibility of CPDP with hybrid metrics. Based on four software metrics types, we investigate the impact of various metric sets on CPDP in terms of F-measure and statistical methods. Then, we validate the dominant performance of CPDP with hybrid metrics. Finally, we further verify the CPDP-OSS feasibility built with three types of metrics (orient-object, semantic, and structural metrics) and challenge them against two current models. The experimental results suggest that the impact of different metric sets on the performance of CPDP is significantly distinct, with semantic and structural metrics performing better. Additionally, trials indicate that it is helpful for CPDP to increase the software’s metrics diversity appropriately, as the CPDP-OSS improvement is up to 53.8%. Finally, compared with two baseline methods, TCA+ and TDSelector, the optimized CPDP model is viable in practice, and the improvement rate is up to 50.6% and 25.7%, respectively.

Funder

National Basic Research Program of China

Publisher

Hindawi Limited

Subject

General Engineering,General Mathematics

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Study on the Use of Defect Metrics in the Software Development Process. Flaws and Vulnerabilities;2023 IEEE International Conference on Engineering Veracruz (ICEV);2023-10-23

2. Prediction of Defective Artifacts by Removing Redundant Metrics in Software Development Life Cycle (SDLC);2023 6th International Conference on Contemporary Computing and Informatics (IC3I);2023-09-14

3. Research on Reconstruction of New Retail Triangle Driven by AI;Atlantis Highlights in Intelligent Systems;2022-12-02

4. Nonlinear dynamics and static bifurcations control of the 12-pole magnetic bearings system utilizing the integral resonant control strategy;Journal of Low Frequency Noise, Vibration and Active Control;2022-06-17

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3