paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Traceback: A Fault Localization Technique for Molecular Programs

Traceback:一种面向分子程序的故障定位技术
ISSTA Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis2024匹配度 1/10 · 论文研究分子程序的动态故障定位,属于测试与调试方向;与用户画像中的 LLM/Agent 辅助静态分析、浮点程序分析、贝叶斯程序分析等核心方向没有直接交集,也未涉及 LLM 或 Agent。引用 0 inbox
Michael C. Gerten, James I. Lathrop, Myra B. Cohen
crossref: 2026-09-12

AI 速览

一句话:提出利用时序轨迹数据的 Traceback,在分子程序故障定位上较反应式映射提升 32–90%。

故障定位对软件维护、测试与自动修复至关重要。现有方法多基于频谱,面向传统编程范式的代码抽象,难以直接用于分子程序等具有不同抽象机制的专用范式;近期针对分子程序的自动化测试与修复框架也未重视定位。本文提出 Traceback,一种利用程序执行时序轨迹数据的故障定位技术,避免将频谱方法直接翻译为反应式映射。作者在 89 个含故障程序变体上进行实证评估,结果显示 Traceback 相比反应式映射将定位效果提升 32%–90%。参数分析表明,使用全部测试或仅代码不变量测试时参数差异较小,而使用功能或蜕变测试等规约测试时最佳深度与权重不同;总体而言,不变量测试(单独或组合)定位最佳,其次为蜕变测试,最后为功能测试。

问题
分子程序等专用编程范式使用不同的代码抽象,传统基于频谱的故障定位难以有效适用;现有自动化测试与修复工作也忽视了故障定位。
方法
提出 Traceback,利用程序执行的时序轨迹数据(temporal trace)进行故障定位,而非直接将频谱定位翻译为反应式映射;并分析测试类型与参数对定位的影响。
评估
在 89 个含故障的分子程序变体上进行实证研究,与反应式映射比较,定位效果提升 32%–90%,并评估不同测试类型下的参数敏感性。
原文摘要(Abstract)

Fault localization is essential to software maintenance tasks such as testing and automated program repair. Many fault localization techniques have been developed, the most common of which are spectrum-based. Most techniques have been designed for traditional programming paradigms that map passing and failing test cases to lines or branches of code, hence specialized programming paradigms which utilize different code abstractions may fail to localize well. In this paper, we study fault localization in the context of a class of programs, molecular programs. Recent research has designed automated testing and repair frameworks for these pro- grams but has ignored the importance of fault localization. As we demonstrate, using existing spectrum-based approaches may not provide much information. Instead we propose a novel approach, Traceback, that leverages temporal trace data. In an empirical study on a set of 89 faulty program variants, we demonstrate that Trace- back provides between a 32-90% improvement in localization over reaction-based mapping, a direct translation of spectrum-based localization. We see little difference in parameter tuning of Trace- back when all tests, or only code-based (invariant) tests are used, however the best depth and weight parameters vary when using specification based tests, which can be either functional or meta- morphic. Overall, invariant-based tests provide the best localization results (either alone or in combination with others), followed by metamorphic and then functional tests.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot8588,
  title = {Traceback: A Fault Localization Technique for Molecular Programs},
  author = {Michael C. Gerten and James I. Lathrop and Myra B. Cohen},
  booktitle = {ISSTA},
  year = {2024},
  doi = {10.1145/3650212.3652138}
}