Evolutionary measures and their correlations with the performance of cross-version defect prediction for object-oriented projects

IF 1.7 4区 计算机科学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Journal of Software-Evolution and Process Pub Date : 2023-10-15 DOI:10.1002/smr.2625
Qiao Yu, Yi Zhu, Hui Han, Yu Zhao, Shujuan Jiang, Junyan Qian
{"title":"Evolutionary measures and their correlations with the performance of cross-version defect prediction for object-oriented projects","authors":"Qiao Yu,&nbsp;Yi Zhu,&nbsp;Hui Han,&nbsp;Yu Zhao,&nbsp;Shujuan Jiang,&nbsp;Junyan Qian","doi":"10.1002/smr.2625","DOIUrl":null,"url":null,"abstract":"<p>Cross-version defect prediction (CVDP) for evolutionary projects has attracted much attention from researchers in recent years. For multiple versions of an object-oriented project, the degree of evolution (e.g., the degree of class change) between successive versions can reflect the differences between versions, which could affect the performance of CVDP. Therefore, how to measure the degree of evolution between successive versions and explore the correlations with the performance of CVDP are very important for software defect prediction. Based on the successive versions of evolutionary projects, this paper proposes six evolutionary measures from three aspects of class change, metric change, and label change, including the Ratio of New Classes (<i>RNC</i>), the Ratio of Deleted Classes (<i>RDC</i>), the Average Ratio of Metric Change (<i>ARMC</i>), the Ratio of Label Changed Classes (<i>RLCC</i>), the Ratio of Unchanged Classes (<i>RUC</i>), and the Ratio of Interference Classes (<i>RIC</i>). An empirical study was conducted on 40 versions of 11 object-oriented projects from the PROMISE repository. Precision, Recall, F-measure, and AUC were used as the performance indicators. Three correlation approaches (Pearson, Spearman, and Kendall) are applied to show the correlations between evolutionary measures and the performance of CVDP. The statistical results show that <i>RNC</i>, <i>RDC</i>, and <i>RUC</i> show no correlation with four performance indicators. <i>ARMC</i> shows weak or medium positive correlations with Recall and F-measure. <i>RLCC</i> and <i>RIC</i> show very strong or strong negative correlations with Recall and F-measure. The results indicate that the correlations between the proposed evolutionary measures and the performance of CVDP are different, which can guide the training set selection of CVDP.</p>","PeriodicalId":48898,"journal":{"name":"Journal of Software-Evolution and Process","volume":"36 6","pages":""},"PeriodicalIF":1.7000,"publicationDate":"2023-10-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Software-Evolution and Process","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/smr.2625","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Cross-version defect prediction (CVDP) for evolutionary projects has attracted much attention from researchers in recent years. For multiple versions of an object-oriented project, the degree of evolution (e.g., the degree of class change) between successive versions can reflect the differences between versions, which could affect the performance of CVDP. Therefore, how to measure the degree of evolution between successive versions and explore the correlations with the performance of CVDP are very important for software defect prediction. Based on the successive versions of evolutionary projects, this paper proposes six evolutionary measures from three aspects of class change, metric change, and label change, including the Ratio of New Classes (RNC), the Ratio of Deleted Classes (RDC), the Average Ratio of Metric Change (ARMC), the Ratio of Label Changed Classes (RLCC), the Ratio of Unchanged Classes (RUC), and the Ratio of Interference Classes (RIC). An empirical study was conducted on 40 versions of 11 object-oriented projects from the PROMISE repository. Precision, Recall, F-measure, and AUC were used as the performance indicators. Three correlation approaches (Pearson, Spearman, and Kendall) are applied to show the correlations between evolutionary measures and the performance of CVDP. The statistical results show that RNC, RDC, and RUC show no correlation with four performance indicators. ARMC shows weak or medium positive correlations with Recall and F-measure. RLCC and RIC show very strong or strong negative correlations with Recall and F-measure. The results indicate that the correlations between the proposed evolutionary measures and the performance of CVDP are different, which can guide the training set selection of CVDP.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
面向对象项目跨版本缺陷预测的进化措施及其与性能的相关性
近年来,针对演化项目的跨版本缺陷预测(CVDP)引起了研究人员的广泛关注。对于面向对象项目的多个版本而言,连续版本之间的演化程度(如类的变化程度)可以反映版本之间的差异,从而影响 CVDP 的性能。因此,如何测量连续版本间的演化程度并探索其与 CVDP 性能的相关性,对于软件缺陷预测非常重要。本文基于演化项目的连续版本,从类变化、度量变化和标签变化三个方面提出了六种演化度量方法,包括新类比率(RNC)、删除类比率(RDC)、度量变化平均比率(ARMC)、标签变化类比率(RLCC)、未变化类比率(RUC)和干扰类比率(RIC)。对 PROMISE 资源库中 11 个面向对象项目的 40 个版本进行了实证研究。精确度、召回率、F-measure 和 AUC 被用作性能指标。研究采用了三种相关方法(Pearson、Spearman 和 Kendall)来显示进化度量与 CVDP 性能之间的相关性。统计结果表明,RNC、RDC 和 RUC 与四个性能指标没有相关性。ARMC 与 Recall 和 F-measure 呈弱或中等正相关。RLCC 和 RIC 与 Recall 和 F-measure 呈极强或强负相关。结果表明,所提出的进化度量与 CVDP 性能之间的相关性是不同的,这可以为 CVDP 的训练集选择提供指导。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Journal of Software-Evolution and Process
Journal of Software-Evolution and Process COMPUTER SCIENCE, SOFTWARE ENGINEERING-
自引率
10.00%
发文量
109
期刊最新文献
Issue Information Issue Information A hybrid‐ensemble model for software defect prediction for balanced and imbalanced datasets using AI‐based techniques with feature preservation: SMERKP‐XGB Issue Information LLMs for science: Usage for code generation and data analysis
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1