A Model for Spectra-Based Software Diagnosis

被引:441
作者
Naish, Lee [1 ]
Lee, Hua Jie [1 ]
Ramamohanarao, Kotagiri [1 ]
机构
[1] Univ Melbourne, Melbourne, Vic, Australia
关键词
Performance; Theory; Fault localization; program spectra; statistical debugging; COEFFICIENTS; AGREEMENT; RELIABILITY; PROGRAM; MARKERS;
D O I
10.1145/2000791.2000795
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This article presents an improved approach to assist diagnosis of failures in software (fault localisation) by ranking program statements or blocks in accordance with to how likely they are to be buggy. We present a very simple single-bug program to model the problem. By examining different possible execution paths through this model program over a number of test cases, the effectiveness of different proposed spectral ranking methods can be evaluated in idealised conditions. The results are remarkably consistent to those arrived at empirically using the Siemens test suite and Space benchmarks. The model also helps identify groups of metrics that are equivalent for ranking. Due to the simplicity of the model, an optimal ranking method can be devised. This new method out-performs previously proposed methods for the model program, the Siemens test suite and Space. It also helps provide insight into other ranking methods.
引用
收藏
页数:32
相关论文
共 43 条
[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]  
Anderberg M.R., 1973, Probability and Mathematical Statistics, DOI DOI 10.1016/C2013-0-06161-0
[4]  
[Anonymous], 2004, Ph.D. dissertation
[5]  
[Anonymous], 2006, Why programs fail-a guide to systematic debugging
[6]  
[Anonymous], 2002, Data mining: Introductory and advanced topics
[7]   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
[8]  
Cleve H, 2005, PROC INT CONF SOFTW, P342
[9]   A COEFFICIENT OF AGREEMENT FOR NOMINAL SCALES [J].
COHEN, J .
EDUCATIONAL AND PSYCHOLOGICAL MEASUREMENT, 1960, 20 (01) :37-46
[10]  
Dallmeier V., 2005, P 6 INT S AUT AN DRI, P99, DOI [10.1145/1085130.1085143, DOI 10.1145/1085130.1085143]