首页> 外文期刊>Software, practice & experience >An evaluation of pure spectrum-based fault localization techniques for large-scale software systems
【24h】

An evaluation of pure spectrum-based fault localization techniques for large-scale software systems

机译:基于纯频谱的故障定位技术对大型软件系统的评估

获取原文
获取原文并翻译 | 示例
       

摘要

Pure spectrum-based fault localization (SBFL) is a well-studied statistical debugging technique that only takes a set of test cases (some failing and some passing) and their code coverage as input and produces a ranked list of suspicious program elements to help the developer identify the location of a bug that causes a failed test case. Studies show that pure SBFL techniques produce good ranked lists for small programs. However, our previous study based on the iBugs benchmark that uses the AspectJ repository shows that, for realistic programs, the accuracy of the ranked list is not suitable for human developers. In this paper, we confirm this based on a combined empirical evaluation with the iBugs and the Defects4J benchmark. Our experiments show that, on average, at most similar to 40%, similar to 80%, and similar to 90% of the bugs can be localized reliably within the first 10, 100, and 1000 ranked lines, respectively, in the Defects4J benchmark. To reliably localize 90% of the bugs with the best performing SBFL metric D*, similar to 450 lines have to be inspected by the developer. For human developers, this remains unsuitable, although the results improve compared with the results for the AspectJ benchmark. Based on this study, we can clearly see the need to go beyond pure SBFL and take other information, such as information from the bug report or from version history of the code lines, into consideration.
机译:基于纯频谱的故障定位(SBFL)是一项良好研究的统计调试技术,只需要一组测试用例(一些失败,一些传递)以及它们的代码覆盖为输入,并产生排名的可疑程序元素列表以帮助开发人员标识导致测试用例失败的错误的位置。研究表明,纯SBFL技术为小程序产生了良好的排名列表。但是,我们以前的研究基于使用Aspectj Repository的IBugs基准显示,对于现实程序,排名列表的准确性不适合人类开发人员。在本文中,我们基于与IBUG和缺陷4J基准的组合实证评估来确认。我们的实验表明,平均而言,最多类似的40%,类似于80%,类似于90%的错误,并且在缺陷4j基准中分别可以在第一个10,100和1000个排名中可靠地定位。 。以可靠地将90%的错误定位为最佳的SBFL度量标准D *,类似于450行必须由开发人员检查。对于人类开发人员来说,这仍然是不合适的,尽管结果与AspectJ基准的结果相比改善。基于这项研究,我们可以清楚地看到需要超越纯SBFL,并考虑来自错误报告的其他信息,例如来自错误报告的信息,或者从代码行的版本历史记录。

著录项

  • 来源
    《Software, practice & experience》 |2019年第8期|1197-1224|共28页
  • 作者单位

    Humboldt Univ Software Engn Grp Inst Comp Sci Berlin Germany;

    Humboldt Univ Software Engn Grp Inst Comp Sci Berlin Germany;

    Humboldt Univ Software Engn Grp Inst Comp Sci Berlin Germany;

    Univ Stuttgart Reliable Software Syst Grp Inst Software Technol Stuttgart Germany;

    Univ Stuttgart Reliable Software Syst Grp Inst Software Technol Stuttgart Germany;

    Imperial Coll London Dept Comp London England;

    Singapore Management Univ Sch Informat Syst Singapore Singapore;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    debugging; empirical studies; fault localization;

    机译:调试;实证研究;故障定位;
  • 入库时间 2022-08-18 21:29:00

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号