EUVIMEDSkopri EUVIMED
Crossref

iBiR : Bug-report-driven Fault Injection

Ahmed Khanfir, Anil Koyuncu, Mike Papadakis, Maxime Cordy, Tegawende F. Bissyandé, Jacques Klein, Yves Le Traon

ACM Transactions on Software Engineering and Methodology · 2023-04-30 · 32 (2) · 1-31

DOI: 10.1145/3542946 ↗

At a glance

Journal article in ACM Transactions on Software Engineering and Methodology, published online on 2023-03-30. Written by Ahmed Khanfir and 6 co-authors. Cited 16 times so far (Crossref); 85 references. Funded by: Luxembourg National Research Fund (FNR) TestFast Project, European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme.

AstrattDettalji biblijografiċiCiteRelated studies

Abstract (original language)

Much research on software engineering 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 re-targeting 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 code nor tests, just of the program’s relevant bug reports. Thus, our approach focuses the fault injection on the feature targeted by the bug report. We assess iBiR by considering the Defects4J dataset. Experimental results show that our approach outperforms the fault injection performed by traditional mutation testing in terms of semantic similarity with the original bug, when applied at either system or class levels of granularity, and provides better, statistically significant estimations of test effectiveness (fault detection). Additionally, when injecting 100 faults, iBiR injects faults that couple with the real ones in around 36% of the cases, while mutation testing achieves less than 4%.

Funding

  • Luxembourg National Research Fund (FNR) TestFast Project
  • European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme

Cite

APA

Khanfir, A., Koyuncu, A., Papadakis, M., Cordy, M., Bissyandé, T. F., Klein, J., & Traon, Y. L. (2023). iBiR : Bug-report-driven Fault Injection. ACM Transactions on Software Engineering and Methodology, 32(2), 1-31. https://doi.org/10.1145/3542946

Vancouver

Khanfir A, Koyuncu A, Papadakis M, Cordy M, Bissyandé TF, Klein J, et al. iBiR : Bug-report-driven Fault Injection. ACM Transactions on Software Engineering and Methodology. 2023;32(2):1-31. doi:10.1145/3542946

BibTeX
@article{Khanfir2023,
  author = {Khanfir, Ahmed and Koyuncu, Anil and Papadakis, Mike and Cordy, Maxime and Bissyandé, Tegawende F. and Klein, Jacques and Traon, Yves Le},
  title = {iBiR : Bug-report-driven Fault Injection},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year = {2023},
  volume = {32},
  number = {2},
  pages = {1--31},
  doi = {10.1145/3542946}
}
Start for free →