首页> 外文期刊>IEEE Transactions on Reliability >Improving Fault-Localization Accuracy by Referencing Debugging History to Alleviate Structure Bias in Code Suspiciousness
【24h】

Improving Fault-Localization Accuracy by Referencing Debugging History to Alleviate Structure Bias in Code Suspiciousness

机译:通过引用调试历史来缓解代码可疑的结构偏差来提高故障定位准确性

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

摘要

Spectrum-based fault localization (SBFL) techniques can automatically localize software faults. They employ the program spectrum, such as code coverage profile with test verdicts, to rank the program entities based on their code suspiciousness. In the past decades, researchers have proposed many approaches to optimize these techniques; however, the program structure, which can influence their performance, is not taken into consideration in developing and improving these techniques. In this article, we identify and analyze the effect of the program structure on the application of SBFL techniques. We observe that some specific program structures may introduce structure bias to code suspiciousness and negatively influence the output of SBFL techniques. To mitigate these effects and improve the performance of fault localization, we propose Delta4Ts, a structure-aware technique. Delta4Ts references debugging history to alleviate the impact of structure bias in the calculation of code suspiciousness. It reasons from the observable suspicious value towards the desired suspicious value and the impact of structure bias. To evaluate Delta4Ts under practical constraints, we conduct a controlled experiment using nine widely-studied SBFL formulae on 12 C programs and 6 Java programs. The experiment results show that Delta4Ts can significantly improve the accuracy of the studied SBFL formulae by an average of 34.8% on 12 C programs and 30.6% on 6 Java programs, and improve more on subject programs associated with more history versions or having larger code sizes.
机译:基于频谱的故障定位(SBFL)技术可以自动本地化软件故障。它们采用程序频谱,例如代码覆盖配置文件,具有测试符号,根据其代码可疑,对程序实体进行排序。在过去的几十年中,研究人员提出了许多方法来优化这些技术;但是,在开发和改进这些技术时,不会考虑可能影响其性能的程序结构。在本文中,我们确定并分析了方案结构对SBFL技术应用的影响。我们观察到一些特定的程序结构可以将结构偏差引入代码可疑性并对SBFL技术的输出产生负面影响。为了减轻这些效果并提高故障定位的性能,我们提出了一个结构感知技术。 Delta4ts参考调试历史记录,以缓解结构偏差在计算代码可疑性中的影响。它的原因来自可观察的可疑价值朝着所需的可疑价值和结构偏差的影响。为了在实际限制下评估Delta4ts,我们在12 C程序和6个Java程序中使用九个广泛研究的SBFL公式进行受控实验。实验结果表明,Delta4TS可以显着提高学习的SBFL公式的准确性,平均为12 C计划的34.8%,6个Java计划上的30.6%,并在与更多历史版本相关的主题程序中提高了更多的历史版本。

著录项

  • 来源
    《IEEE Transactions on Reliability》 |2020年第3期|1021-1049|共29页
  • 作者单位

    Chinese Acad Sci Inst Software State Key Lab Comp Sci Comp Software & Theory Beijing 100190 Peoples R China|Univ Chinese Acad Sci Beijing 100049 Peoples R China;

    Chinese Acad Sci Inst Software State Key Lab Comp Sci Comp Engn Beijing 100190 Peoples R China|Univ Chinese Acad Sci Beijing 100049 Peoples R China;

    Nanjing Univ Dept Comp Sci & Technol Nanjing 210094 Peoples R China;

    Chinese Acad Sci Inst Software State Key Lab Comp Sci Beijing 100190 Peoples R China|Univ Calif Irvine Inst Software Res Irvine CA 92697 USA;

    City Univ Hong Kong Dept Comp Sci Hong Kong Peoples R China;

    Chinese Acad Sci Inst Software State Key Lab Comp Sci Beijing 100190 Peoples R China|Univ Chinese Acad Sci Beijing 100049 Peoples R China;

    Nanjing Univ Dept Comp Sci & Technol Nanjing 210094 Peoples R China;

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

    Debugging; Software; History; Java; Analytical models; Testing; Program debugging; software testing; spectrum-based fault localization;

    机译:调试;软件;历史;Java;分析模型;测试;程序调试;软件测试;基于频谱的故障定位;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号