Extended comprehensive study of association measures for fault localization

被引:61
作者
Lucia [1 ]
Lo, David [1 ]
Jiang, Lingxiao [1 ]
Thung, Ferdian [1 ]
Budi, Aditya [1 ]
机构
[1] Singapore Management Univ, Sch Informat Syst, Singapore 178902, Singapore
关键词
Association Measures; Fault Localization; Program Spectra; INTERESTINGNESS MEASURES; BUG ISOLATION;
D O I
10.1002/smr.1616
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Spectrum-based fault localization is a promising approach to automatically locate root causes of failures quickly. Two well-known spectrum-based fault localization techniques, Tarantula and Ochiai, measure how likely a program element is a root cause of failures based on profiles of correct and failed program executions. These techniques are conceptually similar to association measures that have been proposed in statistics, data mining, and have been utilized to quantify the relationship strength between two variables of interest (e.g., the use of a medicine and the cure rate of a disease). In this paper, we view fault localization as a measurement of the relationship strength between the execution of program elements and program failures. We investigate the effectiveness of 40 association measures from the literature on locating bugs. Our empirical evaluations involve single-bug and multiple-bug programs. We find there is no best single measure for all cases. Klosgen and Ochiai outperform other measures for localizing single-bug programs. Although localizing multiple-bug programs, Added Value could localize the bugs with on average smallest percentage of inspected code, whereas a number of other measures have similar performance. The accuracies of the measures in localizing multi-bug programs are lower than single-bug programs, which provokes future research. Copyright (c) 2013 John Wiley & Sons, Ltd.
引用
收藏
页码:172 / 219
页数:48
相关论文
共 70 条
  • [21] Brin S., 1997, SIGMOD Record, V26, P255, DOI [10.1145/253262.253327, 10.1145/253262.253325]
  • [22] Cheng H, 2009, ISSTA 2009: INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, P141
  • [23] HOLMES: Effective Statistical Debugging via Efficient Path Profiling
    Chilimbi, Trishul M.
    Liblit, Ben
    Mehra, Krishna
    Nori, Aditya V.
    Vaswani, Kapil
    [J]. 2009 31ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 34 - +
  • [24] CLARK P, 1991, LECT NOTES ARTIF INT, V482, P151
  • [25] A COEFFICIENT OF AGREEMENT FOR NOMINAL SCALES
    COHEN, J
    [J]. EDUCATIONAL AND PSYCHOLOGICAL MEASUREMENT, 1960, 20 (01) : 37 - 46
  • [26] MEASURES OF THE AMOUNT OF ECOLOGIC ASSOCIATION BETWEEN SPECIES
    DICE, LR
    [J]. ECOLOGY, 1945, 26 (03) : 297 - 302
  • [27] Supporting controlled experimentation with testing techniques: An infrastructure and its potential impact
    Do, HS
    Elbaum, S
    Rothermel, G
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2005, 10 (04) : 405 - 435
  • [28] Feldman A., 2006, P 21 NATL C ON ARTIF, P827
  • [29] Interestingness measures for data mining: A survey
    Geng, Liqiang
    Hamilton, Howard J.
    [J]. ACM COMPUTING SURVEYS, 2006, 38 (03) : 3
  • [30] Gini C., 1912, Variabilita e Mutabilita: Contributo Allo Studio Delle Distribuzioni e Relazioni Statistiche, VIII