IBIR: Bug Report driven Fault Injection
Ahmed Khanfir, Anil Koyuncu, Mike Papadakis, Maxime Cordy, Tegawend\'e, F. Bissyand\'e, Jacques Klein, Yves Le Traon

TL;DR
IBIR is a fault injection tool that uses bug report data to create realistic, targeted faults for testing, outperforming traditional mutation testing in realism and effectiveness.
Contribution
Introduces IBIR, a bug report driven fault injection method that generates realistic faults without deep code knowledge, improving fault realism and test effectiveness.
Findings
IBIR outperforms mutation testing in semantic similarity to real bugs.
IBIR injects faults that couple with real faults in 36% of cases.
IBIR provides better estimates of test effectiveness.
Abstract
Much research on software engineering and software testing relies on experimental studies based on fault injection. Fault injection, however, is not often relevant to emulate real-world software faults since it "blindly" injects large numbers of faults. It remains indeed challenging to inject few but realistic faults that target a particular functionality in a program. In this work, we introduce IBIR, a fault injection tool that addresses this challenge by exploring change patterns associated to user-reported faults. To inject realistic faults, we create mutants by retargeting a bug report driven automated program repair system, i.e., reversing its code transformation templates. IBIR is further appealing in practice since it requires deep knowledge of neither of the code nor the tests, but just of the program's relevant bug reports. Thus, our approach focuses the fault injection on the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Reliability and Analysis Research · Software Engineering Research
