Structured information in bug report descriptions-influence on IR-based bug localization and developers

被引:11
作者
Rath, Michael [1 ]
Maeder, Patrick [1 ]
机构
[1] Tech Univ Ilmenau, Helmholtzpl 5, D-98693 Ilmenau, Germany
关键词
Bug report structure; Bug localization; Information retrieval;
D O I
10.1007/s11219-019-09445-6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Multiple information retrieval (IR)-based bug localization techniques have been proposed over the last years. The foundation of the approaches relies on textual similarity of the bug report description and the source code files. The basic assumption is that these descriptions are well suited to query the code base. However, often bug reports contain structured information such as stack traces and source code next to natural language, which might interfere with the initial belief. In this paper, we systematically analyze the influence of structured information on IR-based techniques. Therefore, an empirical study on 7334 bug reports, out of which more than 30% contain structured information, was carried out. Based on the results, a follow-up user study was conducted focusing on source code fragments found in bug reports. Our results show that stack traces tend to negatively affect IR-based bug localization performance and require special handling. Compared to natural language-only reports, source code is beneficial for IR-based algorithms, as well as for developers to identify false positives in bug localization results.
引用
收藏
页码:1315 / 1337
页数:23
相关论文
共 31 条
[1]  
[Anonymous], 2001, PROGR COMPR 2001 IWP
[2]  
[Anonymous], 2012, EFFECT SIZES RES UNI
[3]  
Bacchelli A., 2011, INT C AUT SOFTW ENG
[4]  
Bettenburg N, 2008, P 2008 INT WORK C MI
[5]   DOMINANCE STATISTICS - ORDINAL ANALYSES TO ANSWER ORDINAL QUESTIONS [J].
CLIFF, N .
PSYCHOLOGICAL BULLETIN, 1993, 114 (03) :494-509
[6]  
Collberg CS, 2003, P ACM 2003 S SOFTW V
[7]   SEESOFT - A TOOL FOR VISUALIZING LINE ORIENTED SOFTWARE STATISTICS [J].
EICK, SG ;
STEFFEN, JL ;
SUMNER, EE .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1992, 18 (11) :957-968
[8]  
Gouveia C., 2013, 1st Working Conference on Software Visualization, VISSOFT, P1, DOI DOI 10.1109/VISSOFT.2013.6650539
[9]  
JIRA, 2018, JIRA ISSUE TRACKING
[10]   A survey and taxonomy of approaches for mining software repositories in the context of software evolution [J].
Kagdi, Huzefa ;
Collard, Michael L. ;
Maletic, Jonathan I. .
JOURNAL OF SOFTWARE MAINTENANCE AND EVOLUTION-RESEARCH AND PRACTICE, 2007, 19 (02) :77-131