paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Combining Spectrum-Based Fault Localization and Statistical Debugging: An Empirical Study

结合基于频谱的故障定位与统计调试:一项实证研究
ASE 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE)2019匹配度 1/10 · 论文研究的是软件调试中的频谱故障定位与统计调试结合,属于动态程序分析/软件测试方向,与用户关注的静态分析×LLM/Agent、浮点程序分析、贝叶斯程序分析等核心方向没有直接关联。虽然包含程序分析与实证研究,但未涉及LLM、Agent、形式化验证或浮点/贝叶斯分析。引用 54 inbox
Jiajun Jiang, Ran Wang, Yingfei Xiong, Xiangping Chen, Lu Zhang
crossref: 2026-09-12

AI 速览

一句话:统一建模 SBFL 与统计调试并系统实证比较,据此提出 PREDFL 提升故障定位效果。

自动故障定位可减轻人工调试负担,其中基于频谱的故障定位(SBFL)与统计调试(SD)均利用运行时统计信息定位故障,思路相近却长期独立发展,二者组合缺乏系统探索。本文首先建立 SBFL 与 SD 的统一模型,系统考察四类变体:谓词种类、风险评价公式、数据收集粒度、可疑度分数组合方式。实证发现:组合方法的效果主要来自分支条件这类简单谓词;SBFL 的风险评价公式显著优于 SD;细粒度数据收集以少量额外开销显著更优;SBFL 与 SD 谓词的线性组合优于两者单独使用。基于此提出 PREDFL(基于谓词的故障定位),为各维度选取最优配置,并将其与当前最优故障定位框架集成;结果显示 PREDFL 具备互补性,Top-1 成功定位的故障数最高提升 20.8%。

问题
SBFL 与统计调试(SD)都依赖运行时统计信息定位故障,但两族技术独立发展,其组合方式与效果尚未被系统研究。
方法
建立 SBFL 与 SD 的统一模型,系统探索谓词种类、风险评价公式、数据收集粒度以及可疑度分数组合方式四类变体,并据此为每个维度选择最优配置,提出 PREDFL。
评估
通过实证研究比较各变体的定位效果,并将 PREDFL 与当前最优故障定位框架集成,以 Top-1 成功定位的故障数衡量提升(最高提升 20.8%)。
原文摘要(Abstract)

Program debugging is a time-consuming task, and researchers have proposed different kinds of automatic fault localization techniques to mitigate the burden of manual debugging. Among these techniques, two popular families are spectrum-based fault localization (SBFL) and statistical debugging (SD), both localizing faults by collecting statistical information at runtime. Though the ideas are similar, the two families have been developed independently and their combinations have not been systematically explored. In this paper we perform a systematical empirical study on the combination of SBFL and SD. We first build a unified model of the two techniques, and systematically explore four types of variations, different predicates, different risk evaluation formulas, different granularities of data collection, and different methods of combining suspicious scores. Our study leads to several findings. First, most of the effectiveness of the combined approach contributed by a simple type of predicates: branch conditions. Second, the risk evaluation formulas of SBFL significantly outperform that of SD. Third, fine-grained data collection significantly outperforms coarse-grained data collection with a little extra execution overhead. Fourth, a linear combination of SBFL and SD predicates outperforms both individual approaches. According to our empirical study, we propose a new fault localization approach, PREDFL (Predicate-based Fault Localization), with the best configuration for each dimension under the unified model. Then, we explore its complementarity to existing techniques by integrating PREDFL with a state-of-the-art fault localization framework. The experimental results show that PREDFL can further improve the effectiveness of state-of-the-art fault localization techniques. More concretely, integrating PREDFL results in an up to 20.8% improvement w.r.t the faults successfully located at Top-1, which reveals that PREDFL complements existing techniques.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5332,
  title = {Combining Spectrum-Based Fault Localization and Statistical Debugging: An Empirical Study},
  author = {Jiajun Jiang and Ran Wang and Yingfei Xiong and Xiangping Chen and Lu Zhang},
  booktitle = {ASE},
  year = {2019},
  doi = {10.1109/ase.2019.00054}
}