Theory and Practice, Do They Match? A Case With Spectrum-Based Fault Localization

被引:57
作者
Le, Tien-Duy B. [1 ]
Thung, Ferdian [1 ]
Lo, David [1 ]
机构
[1] Singapore Management Univ, Sch Informat Syst, Singapore 178902, Singapore
来源
2013 29TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM) | 2013年
关键词
D O I
10.1109/ICSM.2013.52
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Spectrum-based fault localization refers to the process of identifying program units that are buggy from two sets of execution traces: normal traces and faulty traces. These approaches use statistical formulas to measure the suspiciousness of program units based on the execution traces. There have been many spectrum-based fault localization approaches proposing various formulas in the literature. Two of the best performing and well-known ones are Tarantula and Ochiai. Recently, Xie et al. [18] find that theoretically, under certain assumptions, two families of spectrum-based fault localization formulas outperform all other formulas including those of Tarantula and Ochiai. In this work, we empirically validate Xie et al.'s findings by comparing the performance of the theoretically best formulas against popular approaches on a dataset containing 199 buggy versions of 10 programs. Our empirical study finds that Ochiai and Tarantula statistically significantly outperforms 3 out of 5 theoretically best fault localization techniques. For the remaining two, Ochiai also outperforms them, albeit not statistically significantly. This happens because an assumption in Xie et al.'s work is not satisfied in many fault localization settings.
引用
收藏
页码:380 / 383
页数:4
相关论文
共 19 条
[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]  
[Anonymous], ESEC FSE
[3]  
[Anonymous], ISSTA
[4]  
Anvik J., 2005, Proceedings of the 2005 OOPSLA Workshop on Eclipse Technology EXchange. eclipse'05, P35, DOI [10.1145/1117696, DOI 10.1145/1117696.1117704]
[5]   Supporting controlled experimentation with testing techniques: An infrastructure and its potential impact [J].
Do, HS ;
Elbaum, S ;
Rothermel, G .
EMPIRICAL SOFTWARE ENGINEERING, 2005, 10 (04) :405-435
[6]  
Gong L., 2012, ASE
[7]  
Gong L., 2012, ICSM
[8]  
Harrold M. J, 2005, P ASE, P273, DOI DOI 10.1145/1101908.1101949
[9]  
HUTCHINS M, 1994, PROC INT CONF SOFTW, P191, DOI 10.1109/ICSE.1994.296778
[10]   Cause Clue Clauses: Error Localization using Maximum Satisfiability [J].
Jose, Manu ;
Majumdar, Rupak .
ACM SIGPLAN NOTICES, 2011, 46 (06) :437-446