EUVIMEDEUVIMED entdecken
Crossref

Towards Understanding Refactoring Engine Bugs

Haibo Wang, Zhuolin Xu, Huaien Zhang, Nikolaos Tsantalis, Shin Hwei Tan

ACM Transactions on Software Engineering and Methodology · 31.05.2026 · 35 (5) · 1-55

DOI: 10.1145/3747289 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Software Engineering and Methodology, online erschienen am 24.04.2026. Verfasst von Haibo Wang und 4 weiteren Autor:innen. Die Arbeit wurde bisher 5-mal zitiert (Crossref) und nennt 106 Literaturangaben. Gefördert von: Natural Sciences and Engineering Research Council of Canada.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Refactoring is a critical process in software development, aiming at improving the internal structure of code while preserving its external behavior. Refactoring engines are integral components of modern Integrated Development Environments (IDEs) and can automate or semi-automate this process to enhance code readability, reduce complexity, and improve the maintainability of software products. Like traditional software systems, refactoring engines can generate incorrect refactored programs, resulting in unexpected behaviors. In this article, we present the first systematic study of refactoring engine bugs by analyzing bugs arising in three popular refactoring engines (i.e., Eclipse , IntelliJ IDEA , and Netbeans ). We analyzed these bugs according to their refactoring types, symptoms, root causes, and triggering conditions. We obtained 12 findings and provided a series of valuable guidelines for future work on refactoring bug detection and debugging. Furthermore, our transferability study revealed 134 new bugs in the latest version of those refactoring engines. Among the 22 bugs we submitted, 11 bugs are confirmed by their developers, and 7 of them have already been fixed.

Förderung

  • Natural Sciences and Engineering Research Council of Canada

Zitieren

APA

Wang, H., Xu, Z., Zhang, H., Tsantalis, N., & Tan, S. H. (2026). Towards Understanding Refactoring Engine Bugs. ACM Transactions on Software Engineering and Methodology, 35(5), 1-55. https://doi.org/10.1145/3747289

Vancouver

Wang H, Xu Z, Zhang H, Tsantalis N, Tan SH. Towards Understanding Refactoring Engine Bugs. ACM Transactions on Software Engineering and Methodology. 2026;35(5):1-55. doi:10.1145/3747289

BibTeX
@article{Wang2026,
  author = {Wang, Haibo and Xu, Zhuolin and Zhang, Huaien and Tsantalis, Nikolaos and Tan, Shin Hwei},
  title = {Towards Understanding Refactoring Engine Bugs},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year = {2026},
  volume = {35},
  number = {5},
  pages = {1--55},
  doi = {10.1145/3747289}
}
Kostenlos starten →