Share on Facebook Tweet on Twitter Share on LinkedIn Share by email
The Design of Bug Fixes

Emerson Murphy-Hill, Thomas Zimmermann, Christian Bird, and Nachiappan Nagappan


When software engineers fix bugs, they may have several options as to how to fix those bugs. Which fix is chosen has many implications, both for practitioners and researchers: What is the risk of introducing other bugs during the fix? Is the bug fix in the same code that caused the bug? Is the change fixing the cause or just covering a symptom? In this paper, we investigate the issue of alternative fixes to bugs and present an empirical study of how engineers make design choices about how to fix bugs. Based on qualitative interviews with 40 engineers working on a variety of products, 6 bug triage meetings, and a survey filled out by 326 engineers, we found that there are a number of factors, many of them non-technical, that influence how bugs are fixed, such as how close to release the software is. We also discuss several implications for research and practice, including ways to make bug prediction and localization more accurate.


Publication typeInproceedings
Published inProceedings of the 35th International Conference on Software Engineering (ICSE 2013)

Newer versions

Emerson Murphy-Hill, Thomas Zimmermann, Christian Bird, and Nachiappan Nagappan. The Design Space of Bug Fixes and How Developers Navigate It, IEEE Transactions on Software Engineering, IEEE – Institute of Electrical and Electronics Engineers, January 2015.

> Publications > The Design of Bug Fixes