Empirical Evaluation of a Live Environment for Extract Method Refactoring

07/20/2023
by   Sara Fernandes, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/16/2020

Results from a replicated experiment on the affective reactions of novice developers when applying test-driven development

Test-driven Development (TDD) is an incremental approach to software dev...
research
09/02/2022

How Developers Extract Functions: An Experiment

Creating functions is at the center of writing computer programs. But th...
research
09/05/2023

How do Developers Improve Code Readability? An Empirical Study of Pull Requests

Readability models and tools have been proposed to measure the effort to...
research
10/02/2021

Recommending Code Understandability Improvements based on Code Reviews

Developers spend 70 read can save time, while hard-to-read code can lead...
research
06/15/2023

Live Exploration of AI-Generated Programs

AI-powered programming assistants are increasingly gaining popularity, w...
research
02/14/2020

Foundations of a live data exploration environment

Context: A growing amount of code is written to explore and analyze data...
research
07/19/2022

Visual Notations in Container Orchestrations: An Empirical Study with Docker Compose

Context: Container orchestration tools supporting infrastructure-as-code...

Please sign up or login with your details

Forgot password? Click here to reset