Inforence: effective fault localization based on information-theoretic analysis and statistical causal inference

被引:21
作者
Feyzi, Farid [1 ]
Parsa, Saeed [1 ]
机构
[1] Iran Univ Sci & Technol, Dept Comp Engn, Tehran, Iran
关键词
fault localization; debugging; backward dynamic slice; mutual information; feature selection; SOFTWARE; SPECTRUM; SLICES; MODEL; CODE;
D O I
10.1007/s11704-017-6512-z
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, a novel approach, Inforence, is proposed to isolate the suspicious codes that likely contain faults. Inforence employs a feature selection method, based on mutual information, to identify those bug-related statements that may cause the program to fail. Because the majority of a program faults may be revealed as undesired joint effect of the program statements on each other and on program termination state, unlike the state-of-the-art methods, Inforence tries to identify and select groups of interdependent statements which altogether may affect the program failure. The interdependence amongst the statements is measured according to their mutual effect on each other and on the program termination state. To provide the context of failure, the selected bug-related statements are chained to each other, considering the program static structure. Eventually, the resultant cause-effect chains are ranked according to their combined causal effect on program failure. To validate Inforence, the results of our experiments with seven sets of programs include Siemens suite, gzip, grep, sed, space, make and bash are presented. The experimental results are then compared with those provided by different fault localization techniques for the both single-fault and multi-fault programs. The experimental results prove the outperformance of the proposed method compared to the state-of-the-art techniques.
引用
收藏
页码:735 / 759
页数:25
相关论文
共 66 条
[31]   HSFal: Effective fault localization using hybrid spectrum of full slices and execution slices [J].
Ju, Xiaolin ;
Jiang, Shujuan ;
Chen, Xiang ;
Wang, Xingya ;
Zhang, Yanmei ;
Cao, Heling .
JOURNAL OF SYSTEMS AND SOFTWARE, 2014, 90 :3-17
[32]  
Le Tien-Duy B., 2015, 2015 IEEE 31st International Conference on Software Maintenance and Evolution (ICSME). Proceedings, P501, DOI 10.1109/ICSM.2015.7332502
[33]   Theory and Practice, Do They Match? A Case With Spectrum-Based Fault Localization [J].
Le, Tien-Duy B. ;
Thung, Ferdian ;
Lo, David .
2013 29TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2013, :380-383
[34]   Feature selection with dynamic mutual information [J].
Liu, Huawen ;
Sun, Jigui ;
Liu, Lei ;
Zhang, Huijie .
PATTERN RECOGNITION, 2009, 42 (07) :1330-1339
[35]  
Lo D., 2010, Software Maintenance (ICSM), 2010 IEEE International Confer- ence on, P1, DOI DOI 10.1109/ICSM.2010.5609542
[36]   Prevalence of Coincidental Correctness and Mitigation of its Impact on Fault Localization [J].
Masri, Wes ;
Abou Assi, Rawad .
ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2014, 23 (01)
[37]  
Miao Y., 2012, SEKE
[38]   A Model for Spectra-Based Software Diagnosis [J].
Naish, Lee ;
Lee, Hua Jie ;
Ramamohanarao, Kotagiri .
ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2011, 20 (03)
[39]   Hierarchy-Debug: a scalable statistical technique for fault localization [J].
Parsa, Saeed ;
Vahidi-Asl, Mojtaba ;
Asadi-Aghbolaghi, Maryam .
SOFTWARE QUALITY JOURNAL, 2014, 22 (03) :427-466
[40]   Comments on Neuberg's review of Causality [J].
Pearl, J .
ECONOMETRIC THEORY, 2003, 19 (04) :686-689