首页    期刊浏览 2024年12月12日 星期四
登录注册

文章基本信息

  • 标题:Effective Fault Localization Using Weighted Test Cases
  • 本地全文:下载
  • 作者:Li, Yihan ; Liu, Chao
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2014
  • 卷号:9
  • 期号:8
  • 页码:2112-2119
  • DOI:10.4304/jsw.9.8.2112-2119
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:Locating faults in a program is prohibitively time-consuming and tedious, and therefore, many automated fault localization techniques have been proposed to assist in the debugging process. Spectrum based fault localization are promising techniques that can guide developers to the possible locations of faults. These techniques make a summary on the number of passing and failing tests cases to prioritize suspicious statements according to likelihood of containing program bugs for each statement. Though results are encouraging, these techniques treat all test cases as equally important, which ignore individual error diagnosis ability for different test cases. In this paper, we present an approach to exploit varying weights for individual test cases in the computation of suspiciousness scores so as to improve the effectiveness of spectrum based fault localization techniques. To validate our method, experiments were performed on eight typical SFL techniques using two standard benchmarks. Results are suggestive that for the studied SFL techniques, our method can significantly improve the fault localization effectiveness in most situations and in other cases it does not introduce much adverse impact on the techniques original performance.
  • 关键词:fault localization; program spectrum; debugging; passed tests; failed tests
国家哲学社会科学文献中心版权所有