The Impact of Classifier Configuration and Classifier Combination on Bug Localization

被引:74
作者
Thomas, Stephen W. [1 ]
Nagappan, Meiyappan [1 ]
Blostein, Dorothea [1 ]
Hassan, Ahmed E. [1 ]
机构
[1] Queens Univ, Sch Comp, Kingston, ON K7K 2N8, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Software maintenance; bug localization; information retrieval; VSM; LSI; LDA; classifier combination; LOCATION;
D O I
10.1109/TSE.2013.27
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Bug localization is the task of determining which source code entities are relevant to a bug report. Manual bug localization is labor intensive since developers must consider thousands of source code entities. Current research builds bug localization classifiers, based on information retrieval models, to locate entities that are textually similar to the bug report. Current research, however, does not consider the effect of classifier configuration, i.e., all the parameter values that specify the behavior of a classifier. As such, the effect of each parameter or which parameter values lead to the best performance is unknown. In this paper, we empirically investigate the effectiveness of a large space of classifier configurations, 3,172 in total. Further, we introduce a framework for combining the results of multiple classifier configurations since classifier combination has shown promise in other domains. Through a detailed case study on over 8,000 bug reports from three large-scale projects, we make two main contributions. First, we show that the parameters of a classifier have a significant impact on its performance. Second, we show that combining multiple classifiers-whether those classifiers are hand-picked or randomly chosen relative to intelligently defined subspaces of classifiers-improves the performance of even the best individual classifiers.
引用
收藏
页码:1427 / 1443
页数:17
相关论文
共 60 条
  • [1] Anh Tuan Nguyen, 2011, 2011 26th IEEE/ACM International Conference on Automated Software Engineering, P263, DOI 10.1109/ASE.2011.6100062
  • [2] [Anonymous], 2011, P ACM SIGSOFT S EURO
  • [3] [Anonymous], 1999, MODERN INFORM RETRIE
  • [4] [Anonymous], 1999, WWW 1999
  • [5] [Anonymous], 2012586 QUEENS U SCH
  • [6] [Anonymous], 2011, ECL FDN
  • [7] [Anonymous], 2009, TEXT MINING CLASSIFI, DOI [DOI 10.1145/1141844.1143859, DOI 10.1201/9781420059458.CH4]
  • [8] [Anonymous], 2008, INTRO INFORM RETRIEV, DOI DOI 10.1017/CBO9780511809071
  • [9] Arnold R. S., 1993, Proceedings. Conference on Software Maintenance 1993. CSM-93 (Cat. No.93CH3360-5), P292, DOI 10.1109/ICSM.1993.366933
  • [10] Fair and Balanced? Bias in Bug-Fix Datasets
    Bird, Christian
    Bachmann, Adrian
    Aune, Eirik
    Duffy, John
    Bernstein, Abraham
    Filkov, Vladimir
    Devanbu, Premkumar
    [J]. 7TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2009, : 121 - 130