Lune

ASE2022顶会

How Useful is Code Change Information for Fault Localization in Continuous Integration?

An Ran Chen, Tse-Hsun (Peter) Chen, Junjie Chen

摘要

Continuous integration (CI) is the process in which code changes are automatically integrated, built, and tested in a shared repository. In CI, developers frequently merge and test code under development, which helps isolate faults with finer-grained change information. To identify faulty code, prior research has widely studied and evaluated the performance of spectrum-based fault localization (SBFL) techniques. While the continuous nature of CI requires the code changes to be atomic and presents fine-grained information on what part of the system is being changed, traditional SBFL techniques do not benefit from it. To overcome the limitation, we propose to integrate the code and coverage change information in fault localization under CI settings. First, code changes show how faults are introduced into the system, and provide developers with better understanding on the root cause. Second, coverage changes show how the code coverage is impacted when faults are introduced. This change information can help limit the search space of code coverage, which offers more opportunities for improving fault localization techniques. Based on the above observations, we propose three new change-based fault localization techniques, and compare them with Ochiai, a commonly used SBFL technique. We evaluate these techniques on 192 real faults from seven software systems. Our results show that all three change-based techniques outperform Ochiai on the Defects4J dataset. In particular, the improvement varies from 7% to 23% and 17% to 24% for average MAP and MRR, respectively. Moreover, we find that our change-based fault localization techniques can be integrated with Ochiai, and boost its performance by up to 53% and 52% for average MAP and MRR, respectively.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Towards Better Graph Neural Network-Based Fault Localization through Enhanced Code Representation 引用了 Fault Localization with Code Coverage Representation Learning
  • Towards Better Graph Neural Network-Based Fault Localization through Enhanced Code Representation 引用了 Can automated program repair refine fault localization? a unified debugging approach
  • Order Matters! An Empirical Study on Large Language Models' Input Order Bias in Software Fault Localization 引用了 Towards Better Graph Neural Network-Based Fault Localization through Enhanced Code Representation
  • Enhancing Fault Localization in Industrial Software Systems via Contrastive Learning 引用了 Fault Localization with Code Coverage Representation Learning
  • Do not neglect what's on your hands: localizing software faults with exception trigger stream 引用了 Fault Localization with Code Coverage Representation Learning
  • Enhanced Compiler Bug Isolation via Memoized Search 引用了 Can automated program repair refine fault localization? a unified debugging approach
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Towards Better Graph Neural Network-Based Fault Localization through Enhanced Code RepresentationMd Nakhla Rafi, Dong Jae Kim, An Ran Chen, Tse-Hsun (Peter) Chen 等FSE 2024 · 15 次引用
  2. Enhancing Fault Localization in Industrial Software Systems via Contrastive LearningChun Li, Hui Li, Zhong Li, Minxue Pan 等ICSE 2025 · 1 次引用
  3. Order Matters! An Empirical Study on Large Language Models' Input Order Bias in Software Fault LocalizationMd Nakhla Rafi, Dong Jae Kim, Tse-Hsun (Peter) Chen, Shaowei WangICSE 2026
  4. Do not neglect what's on your hands: localizing software faults with exception trigger streamXihao Zhang, Yi Song, Xiaoyuan Xie, Qi Xin 等ASE 2024

它引用的 Paper4

  1. Fault Localization with Code Coverage Representation LearningYi Li, Shaohua Wang, Tien N. NguyenICSE 2021 · 120 次引用
  2. Can automated program repair refine fault localization? a unified debugging approachYiling Lou, Ali Ghanbari, Xia Li, Lingming Zhang 等ISSTA 2020 · 99 次引用
  3. Extracting Concise Bug-Fixing Patches from Human-Written Patches in Version Control SystemsYanjie Jiang, Hui Liu, Nan Niu, Lu Zhang 等ICSE 2021 · 38 次引用
  4. Enhanced Compiler Bug Isolation via Memoized SearchJunjie Chen, Haoyang Ma, Lingming ZhangASE 2020 · 36 次引用

相关 Paper

  1. Combining Coverage and Expert Features with Semantic Representation for Coincidental Correctness DetectionHuan Xie, Yan Lei, Maojin Li, Meng Yan 等ASE 2024 · 1 次引用
  2. Boosting coverage-based fault localization via graph-based representation learningYiling Lou, Qihao Zhu, Jinhao Dong, Xia Li 等FSE 2021 · 157 次引用
  3. Improving Spectrum-Based Localization of Multiple Faults by Iterative Test Suite ReductionDylan Callaghan, Bernd FischerISSTA 2023 · 16 次引用
  4. Efficient Incremental Code Coverage Analysis for Regression Test SuitesJiale Amber Wang, Kaiyuan Wang, Pengyu NieASE 2024 · 1 次引用
  5. The best of both worlds: integrating semantic features with expert features for defect prediction and localizationChao Ni, Wei Wang, Kaiwen Yang, Xin Xia 等FSE 2022 · 76 次引用
黄昏的海面,两侧是细线勾勒的悬崖