一句话:提出 Live Refactoring 环境,在编程过程中持续推荐、可视化并应用重构,以缩短构建高质量系统的时间。
重构能提升软件系统的可读性、可维护性与可扩展性,但现有重构工具大多要求开发者手动选择并执行重构操作,缺乏交互性与及时反馈,编程体验较差。本文提出将 liveness 与重构方法相结合,形成 Live Refactoring:在编程过程中持续识别应重构的代码块,并解释其被判定为有问题的原因,从而通过早期、持续的重构反馈、支持与引导,缩短构建高质量系统所需时间。论文介绍了一个基于实时重构环境的研究项目,该环境围绕一个重构工具展开,探索 Live Refactoring 概念及其三个主要组成部分——推荐、可视化与应用。
Refactoring helps to improve the design of software systems, making them more readable, maintainable, cleaner, and easy to expand. Most of the tools that already exist on this concept allow developers to select and execute the best refactoring techniques for a particular programming context. However, they aren’t interactive and prompt enough, providing a poor programming experience. In this gap, we can introduce and combine the topic of liveness with refactoring methods. Live Refactoring allows to know continuously, while programming, the blocks of code that we should refactor and why they were classified as problematic. Therefore, it shortens the time needed to create high-quality systems, due to early and continuous refactoring feedback, support, and guidance. This paper presents our research project based on a live refactoring environment. This environment is focused on a refactoring tool that aims to explore the concept of Live Refactoring and its main components --- recommendation, visualization, and application.