重构代码
计算机科学
Java
编码(集合论)
程序设计语言
源代码
可视化
软件工程
软件进化
软件
软件系统
人工智能
软件建设
集合(抽象数据类型)
作者
Sara Fernandes,Ademar Aguiar,André Restivo
标识
DOI:10.1145/3551349.3559532
摘要
Refactoring software can be hard and time-consuming. Several refactoring tools assist developers in reaching more readable and maintainable code. However, most of them are characterized by long feedback loops that impoverish their refactoring experience. We believe that we can reduce this problem by focusing on the concept of Live Refactoring and its main principles: the live recommendation and continuous visualization of refactoring candidates, and the immediate visualization of results from applying a refactoring to the code. Therefore, we implemented a Live Refactoring Environment that identifies, suggests, and applies Extract Method refactorings. To evaluate our approach, we carried out an empirical experiment. Early results showed us that our refactoring environment improves several code quality aspects, being well received, understood, and used by the experiment participants. The source code of our tool is available on: https://github.com/saracouto1318/LiveRef. Its demonstration video can be found at: https://youtu.be/_jxx21ZiQ0o.
科研通智能强力驱动
Strongly Powered by AbleSci AI