\n \n \n
\n
\n\n \n \n Veloso, V. G.; Tsantalis, N.; and Chen, T. P.\n\n\n \n \n \n \n \n A mixed-method in-depth study of test-specific refactorings.\n \n \n \n \n\n\n \n\n\n\n
Empirical Software Engineering, 32(1). Aug 2026.\n
\n\n
\n\n
\n\n
\n\n \n \n
paper\n \n \n \n
link\n \n \n\n \n \n doi\n \n \n\n \n link\n \n \n\n bibtex\n \n\n \n \n \n abstract \n \n\n \n\n \n \n \n \n \n \n \n\n \n \n \n\n\n\n
\n
@article{Veloso2026,\r\n\tauthor={Veloso, Victor Guerra\r\n\tand Tsantalis, Nikolaos\r\n\tand Chen, Tse-Hsun Peter},\r\n\ttitle={A mixed-method in-depth study of test-specific refactorings},\r\n\tjournal={Empirical Software Engineering},\r\n\tyear={2026},\r\n\tmonth={Aug},\r\n\tday={04},\r\n\tvolume={32},\r\n\tnumber={1},\r\n\tarticleno={17},\r\n\tnumpages={100},\r\n\tabstract={Unlike traditional refactorings, research on test-specific refactoring is limited. This paper presents a comprehensive catalogue of 57 test-specific refactoring types, out of which only 33 were previously documented in the literature. We have identified and classified those refactorings using a mixed-method approach grounded on three sources of data: a) Existing datasets of test-modifying commits, b) Monitoring of latest contributions to popular GitHub repositories, and c) Stack Overflow discussions. Our findings reveal that tools have limited support for test-specific refactorings. And, unlike the existing literature that mainly associates refactoring activity in tests with test smell resolution, test refactoring is driven by various motivations, such as improving test understandability, accommodating changes in production code, and test framework migration. Finally, we provide actionable implications for researchers and tool builders.},\r\n\tissn={1573-7616},\r\n\tdoi={10.1007/s10664-026-10909-0},\r\n\turl_Paper={https://users.encs.concordia.ca/~nikolaos/publications/EMSE_2026.pdf},\r\n\turl_Link={https://testrefactoring.org/},\r\n}\r\n\r\n\n
\n\n\n
\n Unlike traditional refactorings, research on test-specific refactoring is limited. This paper presents a comprehensive catalogue of 57 test-specific refactoring types, out of which only 33 were previously documented in the literature. We have identified and classified those refactorings using a mixed-method approach grounded on three sources of data: a) Existing datasets of test-modifying commits, b) Monitoring of latest contributions to popular GitHub repositories, and c) Stack Overflow discussions. Our findings reveal that tools have limited support for test-specific refactorings. And, unlike the existing literature that mainly associates refactoring activity in tests with test smell resolution, test refactoring is driven by various motivations, such as improving test understandability, accommodating changes in production code, and test framework migration. Finally, we provide actionable implications for researchers and tool builders.\n
\n\n\n
\n\n\n
\n
\n\n \n \n Wang, H.; Xu, Z.; Zhang, H.; Tsantalis, N.; and Tan, S. H.\n\n\n \n \n \n \n \n Towards Understanding Refactoring Engine Bugs.\n \n \n \n \n\n\n \n\n\n\n
ACM Transactions on Software Engineering and Methodology, 35(5). April 2026.\n
\n\n
\n\n
\n\n
\n\n \n \n
paper\n \n \n\n \n \n doi\n \n \n\n \n link\n \n \n\n bibtex\n \n\n \n \n \n abstract \n \n\n \n\n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n\n\n
\n
@article{10.1145/3747289,\r\n\tauthor = {Wang, Haibo and Xu, Zhuolin and Zhang, Huaien and Tsantalis, Nikolaos and Tan, Shin Hwei},\r\n\ttitle = {Towards Understanding Refactoring Engine Bugs},\r\n\tyear = {2026},\r\n\tissue_date = {May 2026},\r\n\tpublisher = {Association for Computing Machinery},\r\n\taddress = {New York, NY, USA},\r\n\tvolume = {35},\r\n\tnumber = {5},\r\n\tissn = {1049-331X},\r\n\tdoi = {10.1145/3747289},\r\n\tabstract = {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.},\r\n\tjournal = {ACM Transactions on Software Engineering and Methodology},\r\n\tmonth = apr,\r\n\tarticleno = {138},\r\n\tnumpages = {55},\r\n\tkeywords = {Refactoring Engine Bug, Refactoring, Empirical Study},\r\n\turl_Paper={https://users.encs.concordia.ca/~nikolaos/publications/TOSEM_2025.pdf},\r\n}\r\n\r\n\n
\n\n\n
\n 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.\n
\n\n\n
\n\n\n
\n
\n\n \n \n Zhu, Y.; Tsantalis, N.; and Rigby, P. C.\n\n\n \n \n \n \n \n Understanding the Code and Architectural Smells Generated by LLMs and Autonomous Agents.\n \n \n \n \n\n\n \n\n\n\n In
Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering, of
ASE '26, pages 1043–1053, New York, NY, USA, 2026. Association for Computing Machinery\n
\n\n
\n\n
\n\n
\n\n \n \n
paper\n \n \n\n \n \n doi\n \n \n\n \n link\n \n \n\n bibtex\n \n\n \n \n \n abstract \n \n\n \n\n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n
\n
@inproceedings{10.1145/3832783.3834413,\r\n\tauthor = {Zhu, Yuecai and Tsantalis, Nikolaos and Rigby, Peter C.},\r\n\ttitle = {Understanding the Code and Architectural Smells Generated by LLMs and Autonomous Agents},\r\n\tyear = {2026},\r\n\tisbn = {9798400728822},\r\n\tpublisher = {Association for Computing Machinery},\r\n\taddress = {New York, NY, USA},\r\n\t--url = {https://doi.org/10.1145/3832783.3834413},\r\n\tdoi = {10.1145/3832783.3834413},\r\n\tabstract = {The promise of Large Language Models (LLMs) in automated software engineering is often measured by functional correctness, overlooking the critical issue of long-term maintainability. This paper presents a systematic audit of technical debt in AI-generated software, revealing that AI does not eliminate flaws but rather introduces a distinct "machine signature" of defects. Our multi-scale analysis—spanning single-file algorithmic tasks and complex, agent-generated systems—identifies a fundamental Reasoning-Complexity Trade-off: as models become more capable, they generate increasingly bloated and coupled code. This architectural decay is so pronounced that we establish a Volume-Quality Inverse Law, where code volume is a near-perfect predictor of structural degradation. Crucially, we demonstrate that neither functional correctness nor detailed prompting mitigates this decay. These findings challenge the current paradigm of prompt-driven generation, reframing the central problem of AI-based software engineering from one of code generation to one of architectural complexity management. We conclude that future progress depends on equipping agents with explicit architectural foresight to ensure the software they build is not just functional, but also maintainable.},\r\n\tbooktitle = {Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering},\r\n\tpages = {1043–1053},\r\n\tnumpages = {11},\r\n\tkeywords = {AI-generated code, architectural smells, autonomous coding agents, code smells, multi-agent systems, software maintainability, technical debt},\r\n\tlocation = {Munich, Germany},\r\n\tseries = {ASE '26},\r\n\turl_Paper ={https://users.encs.concordia.ca/~nikolaos/publications/ASE_2026.pdf},\r\n}\r\n\r\n\n
\n\n\n
\n The promise of Large Language Models (LLMs) in automated software engineering is often measured by functional correctness, overlooking the critical issue of long-term maintainability. This paper presents a systematic audit of technical debt in AI-generated software, revealing that AI does not eliminate flaws but rather introduces a distinct \"machine signature\" of defects. Our multi-scale analysis—spanning single-file algorithmic tasks and complex, agent-generated systems—identifies a fundamental Reasoning-Complexity Trade-off: as models become more capable, they generate increasingly bloated and coupled code. This architectural decay is so pronounced that we establish a Volume-Quality Inverse Law, where code volume is a near-perfect predictor of structural degradation. Crucially, we demonstrate that neither functional correctness nor detailed prompting mitigates this decay. These findings challenge the current paradigm of prompt-driven generation, reframing the central problem of AI-based software engineering from one of code generation to one of architectural complexity management. We conclude that future progress depends on equipping agents with explicit architectural foresight to ensure the software they build is not just functional, but also maintainable.\n
\n\n\n
\n\n\n
\n
\n\n \n \n Bellur, A.; Ullah, M. R.; Batole, F.; Kansara, M.; Morimoto, M.; Ishikawa, K.; Chen, H.; Klause, H.; Zharov, Y.; Bryksin, T.; Nguyen, T.; Rajan, H.; Tsantalis, N.; and Dig, D.\n\n\n \n \n \n \n \n CoRenameAgent: A Human-In-The-Loop, Multi-Agent Tool for Coordinated Rename Refactoring.\n \n \n \n \n\n\n \n\n\n\n In
Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering, pages 192–196, New York, NY, USA, 2026. Association for Computing Machinery\n
\n\n
\n\n
\n\n
\n\n \n \n
paper\n \n \n\n \n \n doi\n \n \n\n \n link\n \n \n\n bibtex\n \n\n \n \n \n abstract \n \n\n \n\n \n \n \n \n \n \n \n\n \n \n \n\n\n\n
\n
@inproceedings{10.1145/3803437.3806418,\r\n\tauthor = {Bellur, Abhiram and Ullah, Mohammed Raihan and Batole, Fraol and Kansara, Mohit and Morimoto, Masaharu and Ishikawa, Kai and Chen, Haifeng and Klause, Helena and Zharov, Yaroslav and Bryksin, Timofey and Nguyen, Tien and Rajan, Hridesh and Tsantalis, Nikolaos and Dig, Danny},\r\n\ttitle = {CoRenameAgent: A Human-In-The-Loop, Multi-Agent Tool for Coordinated Rename Refactoring},\r\n\tyear = {2026},\r\n\tisbn = {9798400726361},\r\n\tpublisher = {Association for Computing Machinery},\r\n\taddress = {New York, NY, USA},\r\n\t--url = {https://doi.org/10.1145/3803437.3806418},\r\n\tdoi = {10.1145/3803437.3806418},\r\n\tabstract = {Coordinated renaming, where a single rename refactoring triggers refactorings in multiple, related identifiers, is a frequent yet challenging task. Developers must manually propagate rename refactorings across numerous files and contexts, a process that is both subjective and tedious. Deciding which names should change depends on developers' opinions about the code-base. We present CoRenameAgent, a multi-agent, interactive tool working in tandem with developers, to assist with coordinated renaming. CoRenameAgent operates alongside the developer, combining automated analysis with human oversight to ensure contextually appropriate renaming.We developed CoRenameAgent as a plugin for IntelliJ-IDEA, a leading IDE for the Java programming language, and designed it with usability and practical adoption in mind. To understand the real-world applicability of CoRenameAgent, we conducted a case study on a popular open-source project, where CoRenameAgent successfully replicated 90\\% rename operations previously performed by developers. To quantify the developer effort required to use the agent, we conducted a pilot study with 5 users. On average, reviewing CoRenameAgent's 12 suggestions required 1.5 minutes of developer time per task, demonstrating that the agent can significantly reduce manual workload while keeping developers in control. A screencast of CoRenameAgent can be found on YouTube1.},\r\n\tbooktitle = {Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering},\r\n\tpages = {192–196},\r\n\tnumpages = {5},\r\n\turl_Paper ={https://users.encs.concordia.ca/~nikolaos/publications/FSE_2026.pdf},\r\n}\r\n\r\n\n
\n\n\n
\n Coordinated renaming, where a single rename refactoring triggers refactorings in multiple, related identifiers, is a frequent yet challenging task. Developers must manually propagate rename refactorings across numerous files and contexts, a process that is both subjective and tedious. Deciding which names should change depends on developers' opinions about the code-base. We present CoRenameAgent, a multi-agent, interactive tool working in tandem with developers, to assist with coordinated renaming. CoRenameAgent operates alongside the developer, combining automated analysis with human oversight to ensure contextually appropriate renaming.We developed CoRenameAgent as a plugin for IntelliJ-IDEA, a leading IDE for the Java programming language, and designed it with usability and practical adoption in mind. To understand the real-world applicability of CoRenameAgent, we conducted a case study on a popular open-source project, where CoRenameAgent successfully replicated 90% rename operations previously performed by developers. To quantify the developer effort required to use the agent, we conducted a pilot study with 5 users. On average, reviewing CoRenameAgent's 12 suggestions required 1.5 minutes of developer time per task, demonstrating that the agent can significantly reduce manual workload while keeping developers in control. A screencast of CoRenameAgent can be found on YouTube1.\n
\n\n\n
\n\n\n\n\n\n