A single fault localization technique based on failed test input

被引:10
作者
Zakari, Abubakar [1 ]
Lee, Sai Peck [2 ]
Hashem, Ibrahim Abaker Targio [3 ]
机构
[1] Kano Univ Sci & Technol, Dept Comp Sci, PMB 3244, Kano, Nigeria
[2] Univ Malaya, Fac Comp Sci & Informat Technol, Dept Software Engn, Kuala Lumpur 50603, Malaysia
[3] Taylors Univ, Sch Comp & IT, Subang Jaya 47500, Selangor, Malaysia
关键词
Complex network; Fault localization; Program debugging; Program spectra; Software testing; PROGRAM;
D O I
10.1016/j.array.2019.100008
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Testing and debugging are very important tasks in software development. Fault localization is a very critical activity in the debugging process and also is one of the most difficult and time-consuming activities. The demand for effective fault localization techniques that can aid developers to the location of faults is high. In this paper, a fault localization technique based on complex network theory named FLCN-S is proposed to improve localization effectiveness on single -fault subject programs. The proposed technique diagnoses and ranks faulty program statements based on their behavioral anomalies and distance between statements in failed tests execution by utilizing two network centrality measures (degree centrality and closeness centrality). The proposed technique is evaluated on a well-known standard benchmark (Siemens test suite) and four Unix real -life utility subject programs ( gzip, sed, flex, and grep ). Overall, the results show that FLCN-S is significantly more effective in locating faults in comparison with other techniques. Furthermore, we observed that both degree and closeness centrality play a vital role in the identification of faults.
引用
收藏
页数:13
相关论文
共 61 条
[1]   On the accuracy of spectrum-based fault localization [J].
Abreu, Rui ;
Zoeteweij, Peter ;
van Gemund, Arjan J. C. .
TAIC PART 2007 - TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE - PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS: CO-LOCATED WITH MUTATION 2007, 2007, :89-+
[2]  
Abreu R, 2006, 12TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING, PROCEEDINGS, P39
[3]   Simultaneous debugging of software faults [J].
Abreu, Rui ;
Zoeteweij, Peter ;
van Gemund, Arjan J. C. .
JOURNAL OF SYSTEMS AND SOFTWARE, 2011, 84 (04) :573-586
[4]   Localizing Software Faults Simultaneously [J].
Abreu, Rui ;
Zoeteweij, Peter ;
van Gemund, Arjan J. C. .
2009 NINTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC 2009), 2009, :367-376
[5]  
Agrawal H, 1995, SIXTH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, P143, DOI 10.1109/ISSRE.1995.497652
[6]   AN EXECUTION-BACKTRACKING APPROACH TO DEBUGGING [J].
AGRAWAL, H ;
DEMILLO, RA ;
SPAFFORD, EH .
IEEE SOFTWARE, 1991, 8 (03) :21-26
[7]   Centrality and network flow [J].
Borgatti, SP .
SOCIAL NETWORKS, 2005, 27 (01) :55-71
[8]   Software execution processes as an evolving complex network [J].
Cai, Kai-Yuan ;
Yin, Bei-Bei .
INFORMATION SCIENCES, 2009, 179 (12) :1903-1928
[9]   Pinpoint: Problem determination in large, dynamic Internet services [J].
Chen, MY ;
Kiciman, E ;
Fratkin, E ;
Fox, A ;
Brewer, E .
INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS, PROCEEDINGS, 2002, :595-604
[10]  
Cleve H, 2005, PROC INT CONF SOFTW, P342