Software Bug Prediction based on Complex Network Considering Control Flow

被引:0
作者
Hou, Zhanyi [1 ]
Gong, LingLin [2 ]
Yang, Minghao [1 ]
Zhang, Yizhuo [1 ]
Yang, Shunkun [1 ]
机构
[1] Beihang Univ, Sch Reliabil & Syst Engn, Beijing 100191, Peoples R China
[2] China Elect Power Res Inst, 15 East Xiaoying Rd, Beijing, Peoples R China
来源
2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY COMPANION, QRS-C | 2022年
关键词
Bug Prediction; Complex Network; Control Flow Graph; Panel Data Model; RELIABILITY; MODEL;
D O I
10.1109/QRS-C57518.2022.00044
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:246 / 254
页数:9
相关论文
共 52 条
[1]   The interaction of size and density with graph-level indices [J].
Anderson, BS ;
Butts, C ;
Carley, K .
SOCIAL NETWORKS, 1999, 21 (03) :239-267
[2]   Convolutional Neural Networks over Control Flow Graphs for Software Defect Prediction [J].
Anh Viet Phan ;
Minh Le Nguyen ;
Lam Thu Bui .
2017 IEEE 29TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI 2017), 2017, :45-52
[3]   Enhanced Bug Prediction in Java']JavaScript Programs with Hybrid Call-Graph Based Invocation Metrics [J].
Antal, Gabor ;
Toth, Zoltan ;
Hegedus, Peter ;
Ferenc, Rudolf .
TECHNOLOGIES, 2021, 9 (01)
[4]  
Baltagi B.H., 1998, HDB APPL EC STAT, P311
[5]   Community Detection Algorithm for Complex Networks Based on Group Density [J].
Chen D.-M. ;
Wang Y.-K. ;
Huang X.-Y. ;
Wang D.-Q. .
Dongbei Daxue Xuebao/Journal of Northeastern University, 2019, 40 (02) :186-191
[6]   Analysis of hourly crash likelihood using unbalanced panel data mixed logit model and real-time driving environmental big data [J].
Chen, Feng ;
Chen, Suren ;
Ma, Xiaoxiang .
JOURNAL OF SAFETY RESEARCH, 2018, 65 :153-159
[7]   An Empirical Study on Heterogeneous Defect Prediction Approaches [J].
Chen, Haowen ;
Jing, Xiao-Yuan ;
Li, Zhiqiang ;
Wu, Di ;
Peng, Yi ;
Huang, Zhiguo .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2021, 47 (12) :2803-2822
[8]   Carbon intensity reduction assessment of renewable energy technology innovation in China: A panel data model with cross-section dependence and slope heterogeneity [J].
Cheng, Yuanyuan ;
Yao, Xin .
RENEWABLE & SUSTAINABLE ENERGY REVIEWS, 2021, 135 (135)
[9]   Analyzing maintainability and reliability of object-oriented software using weighted complex network [J].
Chong, Chun Yong ;
Lee, Sai Peck .
JOURNAL OF SYSTEMS AND SOFTWARE, 2015, 110 :28-53
[10]   Transitivity correlation: A descriptive measure of network transitivity [J].
Dekker, David ;
Krackhardt, David ;
Snijders, Tom A. B. .
NETWORK SCIENCE, 2019, 7 (03) :353-375