A compositional paradigm of automating refactorings

23Citations
Citations of this article
22Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Recent studies suggest that programmers greatly underuse refactoring tools, especially for complex refactorings. Complex refactorings tend to be tedious and error-prone to perform by hand. To promote the use of refactoring tools for complex changes, we propose a new paradigm for automating refactorings called compositional refactoring. The key idea is to perform small, predictable changes using a tool and manually compose them into complex changes. This paradigm trades off some level of automation by higher predictability and control. We show that this paradigm is natural, because our analysis of programmers' use of the Eclipse refactoring tool in the wild shows that they frequently batch and compose automated refactorings. We then show that programmers are receptive to this new paradigm through a survey of 100 respondents. Finally, we show that the compositional paradigm is effective through a controlled study of 13 professional programmers, comparing this paradigm to the existing wizard-based one. © 2013 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Vakilian, M., Chen, N., Zilouchian Moghaddam, R., Negara, S., & Johnson, R. E. (2013). A compositional paradigm of automating refactorings. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7920 LNCS, pp. 527–551). Springer Verlag. https://doi.org/10.1007/978-3-642-39038-8_22

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free