arXiv · 2307.11010
Empirical Evaluation of a Live Environment for Extract Method Refactoring
Abstract
Complex software can be hard to read, adapt, and maintain. Refactoring it can create cleaner and self-explanatory code. Refactoring tools try to guide developers towards better code, with more quality. However, most of them take too long to provide feedback, support, and guidance on how developers should improve their software. To reduce this problem, we explored the concept of Live Refactoring, focusing on visually suggesting and applying refactorings, in real-time. With this in mind, we developed a Live Refactoring Environment that visually identifies, recommends, and applies Extract Method refactorings. To validate it, we conducted an empirical experiment. Early results showed that our approach improved several code quality metrics. Besides, we also concluded that our results were significantly different and better than the ones from refactoring the code manually without further help.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Sara Fernandes, Ademar Aguiar, André Restivo. 2023-07-20. Empirical Evaluation of a Live Environment for Extract Method Refactoring. https://arxiv.org/abs/2307.11010
Cite the original work for its findings. Save a collection to share your selection of sources.