Software Bug Prediction Based on Complex Network Considering Control Flow.

Zhanyi Hou,LingLin Gong,Minghao Yang,Yizhuo Zhang,Shunkun Yang
DOI: https://doi.org/10.1109/qrs-c57518.2022.00044
2022-01-01
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.
What problem does this paper attempt to address?