iBiR : Bug-report-driven Fault Injection

Author:

Khanfir Ahmed1ORCID,Koyuncu Anil2ORCID,Papadakis Mike1ORCID,Cordy Maxime1ORCID,Bissyandé Tegawende F.1ORCID,Klein Jacques1ORCID,Le Traon Yves1ORCID

Affiliation:

1. SnT, University of Luxembourg, Luxembourg

2. Sabanci University, Istanbul, Turkey

Abstract

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%.

Funder

Luxembourg National Research Fund (FNR) TestFast Project

European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference85 articles.

1. Ahmed Khanfir Anil Koyuncu Mike Papadakis Maxime Cordy Tegawende F. Bissyandé Jacques Klein and Yves Le Traon. 2022. IBIR. Serval SnT University of Luxembourg. https://github.com/serval-uni-lu/IBIR.

2. Spectrum-Based Multiple Fault Localization

3. Hiralal Agrawal, Richard A. DeMillo, Bob Hathaway, William Hsu, Wynne Hsu, E. W. Krauser, R. J. Martin, Aditya P. Mathur, and Eugene Spafford. 1989. Design of Mutant Operators for the C Programming Language. Techreport SERC-TR-41-P. Purdue University, West Lafayette, Indiana.

4. Introduction to Software Testing

5. Using Mutation Analysis for Assessing and Comparing Testing Coverage Criteria

Cited by 6 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. A Systematic Literature Review on Solutions of Mutation Testing Problems;2023 IEEE 8th International Conference On Software Engineering and Computer Systems (ICSECS);2023-08-25

2. Syntactic Versus Semantic Similarity of Artificial and Real Faults in Mutation Testing Studies;IEEE Transactions on Software Engineering;2023-07

3. Towards Better Code Reviews: Using Mutation Testing to Improve Reviewer Attention;2023 IEEE/ACM International Conference on Software and System Processes (ICSSP);2023-05

4. Enhancing Fault Injection Testing of Service Systems via Fault-Tolerance Bottleneck;IEEE Transactions on Software Engineering;2023

5. IntJect: Vulnerability Intent Bug Seeding;2022 IEEE 22nd International Conference on Software Quality, Reliability and Security (QRS);2022-12

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3