Software Bug Prediction based on Complex Network Considering Control Flow

Zhanyi Hou, Ling-lin Gong, Minghao Yang, Yizhuo Zhang, Shunkun Yang
{"title":"Software Bug Prediction based on Complex Network Considering Control Flow","authors":"Zhanyi Hou, Ling-lin Gong, Minghao Yang, Yizhuo Zhang, Shunkun Yang","doi":"10.1109/QRS-C57518.2022.00044","DOIUrl":null,"url":null,"abstract":"The prediction for software bug number provides vital guidance to the quality management and software testing. In this paper, a novel software bug number prediction method was proposed based on complex network considering control flow. Firstly, for each release of software, we constructed the Call Graph (CG), and for each release, Control Flow Graph (CFG) of every function were constructed. Then the CG Metrics (CGM) and CFG Metrics (CFGM) for each version were calculated with indicators from complex-network science. Finally, the results were sent to Panel Data Model (PDM) to perform the prediction on bugs fixed number. The experimental result showed that our method outperformed other prediction methods by 9.35% to 16.85%, and introducing CFGM reduced MAE by 5.1% to 27.8% than barely use CGM. The prediction of fixed bugs could indicate the software quality, and assist the quality control of software engineering.","PeriodicalId":183728,"journal":{"name":"2022 IEEE 22nd International Conference on Software Quality, Reliability, and Security Companion (QRS-C)","volume":"82 5","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 22nd International Conference on Software Quality, Reliability, and Security Companion (QRS-C)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/QRS-C57518.2022.00044","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The prediction for software bug number provides vital guidance to the quality management and software testing. In this paper, a novel software bug number prediction method was proposed based on complex network considering control flow. Firstly, for each release of software, we constructed the Call Graph (CG), and for each release, Control Flow Graph (CFG) of every function were constructed. Then the CG Metrics (CGM) and CFG Metrics (CFGM) for each version were calculated with indicators from complex-network science. Finally, the results were sent to Panel Data Model (PDM) to perform the prediction on bugs fixed number. The experimental result showed that our method outperformed other prediction methods by 9.35% to 16.85%, and introducing CFGM reduced MAE by 5.1% to 27.8% than barely use CGM. The prediction of fixed bugs could indicate the software quality, and assist the quality control of software engineering.
考虑控制流的复杂网络软件缺陷预测
软件bug数量的预测对软件质量管理和软件测试具有重要的指导意义。本文提出了一种考虑控制流的基于复杂网络的软件缺陷数预测方法。首先,对于每个版本的软件,我们构建了调用图(Call Graph, CG),对于每个版本,我们构建了每个功能的控制流图(Control Flow Graph, CFG)。然后利用复杂网络科学的指标,计算各版本的CG Metrics (CGM)和CFG Metrics (CFGM)。最后,将结果发送给面板数据模型(PDM)对bug固定数量进行预测。实验结果表明,该方法的预测准确率比其他方法高9.35% ~ 16.85%,其中CFGM的引入比不使用CGM的MAE降低了5.1% ~ 27.8%。修正错误的预测可以反映软件的质量,辅助软件工程的质量控制。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信