paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Bug Relevant Test Generation for Better Fault Localization

面向更优故障定位的缺陷相关测试生成
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 3/10 · 论文用 LLM 生成缺陷相关测试来提升故障定位,属于 AI 辅助软件测试/调试方向,与用户核心关注的静态分析、形式化验证、浮点程序分析或贝叶斯程序分析交叉较弱;且故障定位偏动态分析,不是用户研究画像中的重点。引用 0 inbox
Ashrit Reddy Yarava
crossref: 2026-09-12

AI 速览

一句话:提出基于LLM的FLTestGen,利用失败测试为可疑方法生成缺陷相关测试,提升故障定位效果。

故障定位算法常依赖软件测试套件来识别故障,因此测试质量至关重要;然而实际中多数测试与故障无关,仅一小部分测试对定位有贡献。本文提出 FLTestGen,一种基于 LLM 的测试生成算法,利用失败测试为可疑方法构造新的、与缺陷相关的测试,从而为故障定位算法补充更多关于缺陷的信息。初步结果表明,FLTestGen 能够提升故障定位性能,且生成的测试中大多数也是缺陷相关测试。

问题
故障定位算法依赖测试套件质量,但实际中多数测试与故障无关,只有少部分测试对故障定位有贡献。
方法
提出 FLTestGen,一种基于 LLM 的测试生成算法,利用失败测试为可疑方法生成新的缺陷相关测试,为故障定位算法补充缺陷信息。
评估
初步结果显示 FLTestGen 能提升故障定位性能,并且生成的测试中大多数为缺陷相关测试。
原文摘要(Abstract)

Fault localization (FL) algorithms aim to identify faulty code elements in a software system. These algorithms often leverage the test suite of the software system to pinpoint faults. As such, the quality of a test suite plays a crucial role in successful suspicious code identification. However, in practice, most tests are not relevant to the fault, with only a subset of tests contributing to FL. This paper proposes FLTestGen, an LLM-based test generation algorithm that generates bug-relevant tests. FLTestGen uses failing tests to construct new tests for suspicious methods. The proposed algorithm complements FL algorithms by adding more information about the bug. Initial findings show that FLTestGen can improve FL performance, and a majority of the generated tests are also bug-relevant tests.

链接与引用

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

BibTeX
@inproceedings{paperbot11683,
  title = {Bug Relevant Test Generation for Better Fault Localization},
  author = {Ashrit Reddy Yarava},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3774748.3787749}
}