Predicting Effectiveness of IR-Based Bug Localization Techniques

被引:16
|
作者
Le, Tien-Duy B. [1 ]
Thung, Ferdian [1 ]
Lo, David [1 ]
机构
[1] Singapore Management Univ, Sch Informat Syst, Singapore, Singapore
关键词
D O I
10.1109/ISSRE.2014.39
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Recently, many information retrieval (IR) based bug localization approaches have been proposed in the literature. These approaches use information retrieval techniques to process a textual bug report and a collection of source code files to find buggy files. They output a ranked list of files sorted by their likelihood to contain the bug. Recent approaches can achieve reasonable accuracy, however, even a state-of-the-art bug localization tool outputs many ranked lists where buggy files appear very low in the lists. This potentially causes developers to distrust bug localization tools. Parnin and Orso recently conduct a user study and highlight that developers do not find an automated debugging tool useful if they do not find the root cause of a bug early in a ranked list. To address this problem, we build an oracle that can automatically predict whether a ranked list produced by an IR-based bug localization tool is likely to be effective or not. We consider a ranked list to be effective if a buggy file appears in the top-N position of the list. If a ranked list is unlikely to be effective, developers do not need to waste time in checking the recommended files one by one. In such cases, it is better for developers to use traditional debugging methods or request for further information to localize bugs. To build this oracle, our approach extracts features that can be divided into four categories: score features, textual features, topic model features, and metadata features. We build a separate prediction model for each category, and combine them to create a composite prediction model which is used as the oracle. We name our proposed approach APRILE, which stands for Automated PRediction of IR-based Bug Localization's Effectiveness. We have evaluated APRILE to predict the effectiveness of three state-of-the-art IR-based bug localization tools on more than three thousands bug reports from AspectJ, Eclipse, and SWT. APRILE can achieve an average precision, recall, and F-measure of at least 70.36%, 66.94%, and 68.03%, respectively. Furthermore, APRILE outperforms a baseline approach by 84.48%, 17.74%, and 31.56% for the AspectJ, Eclipse, and SWT bug reports, respectively.
引用
收藏
页码:335 / 345
页数:11
相关论文
共 50 条
  • [41] Thermodynamic properties and lattice misfit of Ir-based superalloys
    Liang, C. P.
    Gong, H. R.
    [J]. INTERMETALLICS, 2013, 32 : 429 - 436
  • [42] Vocabulary Normalization Improves IR-Based Concept Location
    Binkley, Dave
    Lawrie, Dawn
    Uehlinger, Christopher
    [J]. 2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2012, : 588 - 591
  • [43] On the Use of Relevance Feedback in IR-Based Concept Location
    Gay, Gregory
    Haiduc, Sonia
    Marcus, Andrian
    Menzies, Tim
    [J]. 2009 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, CONFERENCE PROCEEDINGS, 2009, : 351 - +
  • [44] On the use of positional proximity in IR-based feature location
    Hill, Emily
    Sisman, Bunyamin
    Kak, Avinash
    [J]. 2014 Software Evolution Week - IEEE Conference on Software Maintenance, Reengineering, and Reverse Engineering, CSMR-WCRE 2014 - Proceedings, 2014, : 318 - 322
  • [45] Two Dimensional Ir-Based Catalysts for Acidic OER
    Yu, Hao
    Ke, Jia
    Shao, Qi
    [J]. SMALL, 2023, 19 (48)
  • [46] Are datasets for information retrieval-based bug localization techniques trustworthy?: Impact analysis of bug types on IRBL
    Kim, Misoo
    Lee, Eunseok
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2021, 26 (03)
  • [47] High temperature strength of Ir-based refractory superalloys
    Yamabe-Mitarai, Y
    Ro, Y
    Nakazawa, S
    Harada, H
    [J]. JOURNAL OF THE JAPAN INSTITUTE OF METALS, 2000, 64 (11) : 1068 - 1075
  • [48] Preparation of Ir-based thin film electrodes by MOCVD
    Shimizu, M
    Kita, K
    Fujisawa, H
    Tomozawa, N
    Niu, H
    [J]. PROCEEDINGS OF THE 2001 12TH IEEE INTERNATIONAL SYMPOSIUM ON APPLICATIONS OF FERROELECTRICS, VOLS I AND II, 2001, : 961 - 964
  • [49] On the Use of Positional Proximity in IR-Based Feature Location
    Hill, Emily
    Sisman, Bunyamin
    Kak, Avinash
    [J]. 2014 SOFTWARE EVOLUTION WEEK - IEEE CONFERENCE ON SOFTWARE MAINTENANCE, REENGINEERING, AND REVERSE ENGINEERING (CSMR-WCRE), 2014, : 318 - +
  • [50] Are datasets for information retrieval-based bug localization techniques trustworthy?Impact analysis of bug types on IRBL
    Misoo Kim
    Eunseok Lee
    [J]. Empirical Software Engineering, 2021, 26