Zhanyi Hou, Ling-lin Gong, Minghao Yang, Yizhuo Zhang, Shunkun Yang
{"title":"考虑控制流的复杂网络软件缺陷预测","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":"{\"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}","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}
Software Bug Prediction based on Complex Network Considering Control Flow
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.