Title
On the impact of Continuous Integration on refactoring practice: An exploratory study on TravisTorrent
Abstract
Context: The ultimate goal of Continuous Integration (CI) is to support developers in integrating changes into production constantly and quickly through automated build process. While CI provides developers with prompt feedback on several quality dimensions after each change, such frequent and quick changes may in turn compromise software quality without Refactoring. Indeed, recent work emphasized the potential of CI in changing the way developers perceive and apply refactoring. However, we still lack empirical evidence to confirm or refute this assumption. Objective: We aim to explore and understand the evolution of refactoring practices, in terms of frequency, size and involved developers, after the switch to CI in order to emphasize the role of this process in changing the way Refactoring is applied. Method: We collect a corpus of 99,545 commits and 89,926 refactoring operations extracted from 39 opensource GitHub projects that adopt Travis CI and analyze the changes using Multiple Regression Analysis (MRA). Results: Our study delivers several important findings. We found that the adoption of CI is associated with a drop in the refactoring size as recommended, while refactoring frequency as well as the number (and its related rate) of developers that perform refactoring are estimated to decrease after the shift to CI, indicating that refactoring is less likely to be applied in CI context. Conclusion: Our study uncovers insights about CI theory and practice and adds evidence to existing knowledge about CI practices related especially to quality assurance. Software developers need more customized refactoring tool support in the context of CI to better maintain and evolve their software systems.
Year
DOI
Venue
2021
10.1016/j.infsof.2021.106618
Information and Software Technology
Keywords
DocType
Volume
Continuous integration,Refactoring,Exploratory study,Mining software repositories,Multiple Regression Analysis
Journal
138
ISSN
Citations 
PageRank 
0950-5849
0
0.34
References 
Authors
0
4
Name
Order
Citations
PageRank
Islem Saidani143.09
Ali Ouni 0001221015.67
Mohamed Wiem Mkaouer322828.58
Fabio Palomba4102754.58