Fault Localization via Efficient Probabilistic Modeling of Program Semantics
Muhan Zeng, Yiqian Wu, Zhentao Ye, Yingfei Xiong, Xin Zhang, Lu Zhang
摘要
Testing-based fault localization has been a significant topic in software engineering in the past decades. It localizes a faulty program element based on a set of passing and failing test executions. Since whether a fault could be triggered and detected by a test is related to program semantics, it is crucial to model program semantics in fault localization approaches. Existing approaches either consider the full semantics of the program (e.g., mutation-based fault localization and angelic debugging), leading to scalability issues, or ignore the semantics of the program (e.g., spectrum-based fault localization), leading to imprecise localization results. Our key idea is: by modeling only the correctness of program values but not their full semantics, a balance could be reached between effectiveness and scalability. To realize this idea, we introduce a probabilistic approach to model program semantics and utilize information from static analysis and dynamic execution traces in our modeling. Our approach, SmartFL (SeMantics bAsed pRobabilisTic Fault Localization), is evaluated on a real-world dataset, Defects4J. The top-1 statement-level accuracy of our approach is 21%, which is the best among state-of-the-art methods. The average time cost is 210 seconds per fault while existing methods that capture full semantics are often 10x or more slower.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- PAFL: Enhancing Fault Localizers by Leveraging Project-Specific Fault Patterns 引用了 Boosting coverage-based fault localization via graph-based representation learning
- PAFL: Enhancing Fault Localizers by Leveraging Project-Specific Fault Patterns 引用了 A Quantitative and Qualitative Evaluation of LLM-Based Explainable Fault Localization
- Do not neglect what's on your hands: localizing software faults with exception trigger stream 引用了 Improving Fault Localization by Integrating Value and Predicate Based Causal Inference Techniques
- A Quantitative and Qualitative Evaluation of LLM-Based Explainable Fault Localization 引用了 Improving Fault Localization by Integrating Value and Predicate Based Causal Inference Techniques
引用它的顶会 Paper5
- A Quantitative and Qualitative Evaluation of LLM-Based Explainable Fault LocalizationSungmin Kang, Gabin An, Shin YooFSE 2024 · 69 次引用
- A Bayesian Framework for Automated DebuggingSungmin Kang, Wonkeun Choi, Shin YooISSTA 2023 · 1 次引用
- PAFL: Enhancing Fault Localizers by Leveraging Project-Specific Fault PatternsDonguk Kim, Minseok Jeon, Doha Hwang, Hakjoo OhOOPSLA 2025 · 1 次引用
- Belief Propagation with Local Structure and Its Applications in Program AnalysisYiqian Wu, Yifan Chen, Yingfei Xiong, Xin ZhangASE 2025 · 1 次引用
- Do not neglect what's on your hands: localizing software faults with exception trigger streamXihao Zhang, Yi Song, Xiaoyuan Xie, Qi Xin 等ASE 2024
它引用的 Paper2
- Boosting coverage-based fault localization via graph-based representation learningYiling Lou, Qihao Zhu, Jinhao Dong, Xia Li 等FSE 2021 · 157 次引用
- Improving Fault Localization by Integrating Value and Predicate Based Causal Inference TechniquesYigit Küçük, Tim A. D. Henderson, Andy PodgurskiICSE 2021 · 6 次引用
相关 Paper
- Combining Coverage and Expert Features with Semantic Representation for Coincidental Correctness DetectionHuan Xie, Yan Lei, Maojin Li, Meng Yan 等ASE 2024 · 1 次引用
- Can automated program repair refine fault localization? a unified debugging approachYiling Lou, Ali Ghanbari, Xia Li, Lingming Zhang 等ISSTA 2020 · 99 次引用
- Let the Code Speak: Incorporating Program Dynamic State for Better Method-Level Fault LocalizationYihao Qin, Shangwen Wang, Bo Lin, Xin Peng 等ASE 2025
- Improving Spectrum-Based Localization of Multiple Faults by Iterative Test Suite ReductionDylan Callaghan, Bernd FischerISSTA 2023 · 16 次引用
- Project-Scale Statement-Level Fault Localization via Multi-view Semantic Learning and Pairwise RerankingHongwei Yu, Xu Wang, Jian Zhang, Xiangxin Meng 等ISSTA 2026
