In Search of Metrics to Guide Developer-Based Refactoring Recommendations
Mikel Robredo, Matteo Esposito, Fabio Palomba, Rafael Pe\~naloza,, Valentina Lenarduzzi

TL;DR
This paper investigates how product and process metrics can be used to develop developer-centered refactoring recommendations, aiming to make refactoring more relevant and easier to prioritize for developers.
Contribution
It proposes an empirical study to identify metrics that align with developers' motivations for refactoring, enhancing recommender systems.
Findings
Quantifies the value of product and process metrics in understanding developer motivations
Provides a catalog of metrics for developer-based refactoring recommenders
Supports making refactoring more relevant and easier to prioritize
Abstract
Context. Source code refactoring is a well-established approach to improving source code quality without compromising its external behavior. Motivation. The literature described the benefits of refactoring, yet its application in practice is threatened by the high cost of time, resource allocation, and effort required to perform it continuously. Providing refactoring recommendations closer to what developers perceive as relevant may support the broader application of refactoring in practice and drive prioritization efforts. Aim. In this paper, we aim to foster the design of a developer-based refactoring recommender, proposing an empirical study into the metrics that study the developer's willingness to apply refactoring operations. We build upon previous work describing the developer's motivations for refactoring and investigate how product and process metrics may grasp those…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Techniques and Practices · Business Process Modeling and Analysis · Manufacturing Process and Optimization
