arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1409.1989cs.SE
收藏

提高配方法的效率和Scalability

Improving Efficiency and Scalability of Formula-based Debugging

Wei Jin, Alessandro Orso

摘要:

基于公式的调试技术正变得越来越流行,因为它们提供了一种原则性的方法来识别潜在的错误语句以及可以帮助修复这些语句的信息。虽然有效,但这些方法在计算上是昂贵的,这限制了它们的实际适用性。此外,他们倾向于只关注失败的测试用例,从而忽略了通过测试所提供的丰富信息。为了缓解这些问题,我们提出了两种技术:按需公式计算(OFC)和条款加权(CW)。OFC通过探索程序中与故障相关的所有部分,提高了基于公式的调试的整体效率。CW通过利用统计的故障定位信息来提高基于公式的调试的准确性。我们的实证结果表明,这两种技术是有效的,可以提高最先进的基于公式的调试。

英文摘要:

Formula-based debugging techniques are becoming increasingly popular, as they provide a principled way to identify potentially faulty statements together with information that can help fix such statements. Although effective, these approaches are computationally expensive, which limits their practical applicability. Moreover, they tend to focus on failing test cases alone, thus ignoring the wealth of information provided by passing tests. To mitigate these issues, we propose two techniques: on-demand formula computation (OFC) and clause weighting (CW). OFC improves the overall efficiency of formula-based debugging by exploring all and only the parts of a program that are relevant to a failure. CW improves the accuracy of formula-based debugging by leveraging statistical fault-localization information that accounts for passing tests. Our empirical results show that both techniques are effective and can improve the state of the art in formula-based debugging.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑