CoReX: Context-Aware Refinement-Based Slicing for Debugging Regression Failures
Sahar Badihi, Julia Rubin
摘要
Troubleshooting regression failures is one of the most frequent yet time-consuming development tasks. To help with this task, numerous approaches aim to narrow down developers' attention to the subset of code statements relevant to the failure. The most prominent of these approaches are based on program slicing, as slicing not only identifies a subset of relevant statements but also maintains the flow of information between these statements.
By surveying more than 50 practitioners from eight different countries, we observe that existing dual-version slicing-based approaches have two main limitations: (a) to minimize the number of statements presented to the developer, they omit contextual information required to truly understand the failure and (b) to keep information propagation between the statements in the slice intact, they include lengthy computations that are not necessary to understand the failure. We use these observations to define a new dual-version slicing approach for regression scenarios, called CoReX. We evaluate CoReX on a large number of subjects, comparing it with other existing dual-version slicing approaches. The results of our evaluation show that CoReX outperforms these approaches both in the quantitative metrics used in prior work and in alignment with developers' expectations. We believe our work provides grounds for efficient integration of slicing-based approaches into development workflows.
• Software and its engineering → Software testing and debugging.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper4
- Causal testing: understanding defects' root causesBrittany Johnson, Yuriy Brun, Alexandra MeliouICSE 2020 · 被引用 39 次
- When does my program do this? learning circumstances of software behaviorAlexander Kampmann, Nikolas Havrikov, Ezekiel O. Soremekun, Andreas ZellerFSE 2020 · 被引用 29 次
- Evaluating the Impact of Experimental Assumptions in Automated Fault LocalizationEzekiel O. Soremekun, Lukas Kirschner, Marcel Böhme, Mike PapadakisICSE 2023 · 被引用 9 次
- Responsibility in Context: On Applicability of Slicing in Semantic Regression AnalysisSahar Badihi, Khaled Ahmed, Yi Li, Julia RubinICSE 2023 · 被引用 2 次
相关 Paper
- Log-based slicing for system-level test casesSalma Messaoudi, Donghwan Shin, Annibale Panichella, Domenico Bianculli 等ISSTA 2021 · 被引用 20 次
- Empirically evaluating readily available information for regression test optimization in continuous integrationDaniel Elsner, Florian Hauer, Alexander Pretschner, Silke ReimerISSTA 2021 · 被引用 45 次
- iCoRe: An Iterative Correlation-Aware Retriever for Bug Reproduction Test GenerationJunyi Wang, Jialun Cao, Zhongxin LiuFSE 2026
- CausalRepair: Bridging the Causality Gap in Large Language Model-Based Automated Program Repair via Dual-SlicingLinhao Wu, Yizhou Chen, Zhen Yang, Pengyu Xue 等ISSTA 2026
- Exploring Experiences with Automated Program Repair in PracticeFairuz Nawer Meem, Justin Smith, Brittany JohnsonICSE 2024 · 被引用 14 次
