On the Relationship Between Coupling and Refactoring: An Empirical Viewpoint
Steve Counsell, Mahir Arzoky, Giuseppe Destefanis, Davide Taibi

TL;DR
This study investigates how class coupling levels influence refactoring patterns in open-source software, revealing that developers do not significantly differentiate refactoring strategies based on coupling metrics.
Contribution
It provides an empirical analysis of refactoring behaviors across different coupling levels using two specific coupling metrics, highlighting developer indifference to coupling levels during refactoring.
Findings
No significant difference in refactoring types across coupling quartiles
Refactorings aimed at reducing coupling are more common in lower coupling classes
Lack of inheritance-related refactorings across systems
Abstract
[Background] Refactoring has matured over the past twenty years to become part of a developer's toolkit. However, many fundamental research questions still remain largely unexplored. [Aim] The goal of this paper is to investigate the highest and lowest quartile of refactoring-based data using two coupling metrics - the Coupling between Objects metric and the more recent Conceptual Coupling between Classes metric to answer this question. Can refactoring trends and patterns be identified based on the level of class coupling? [Method] In this paper, we analyze over six thousand refactoring operations drawn from releases of three open-source systems to address one such question. [Results] Results showed no meaningful difference in the types of refactoring applied across either lower or upper quartile of coupling for both metrics; refactorings usually associated with coupling removal were…
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.
