IDEALS Home University of Illinois at Urbana-Champaign logo The Alma Mater The Main Quad

A Compositional Paradigm of Automating Refactorings

Show full item record

Bookmark or cite this item: http://hdl.handle.net/2142/30851

Files in this item

File Description Format
PDF VakilianETAL2012Compositional.pdf (465KB) Final Version PDF
Title: A Compositional Paradigm of Automating Refactorings
Author(s): Vakilian, Mohsen; Chen, Nicholas; Zilouchian Moghaddam, Roshanak; Negara, Stas; Johnson, Ralph E.
Subject(s): Refactoring Restructuring Composition Empirical
Abstract: Though modern IDEs have supported refactorings for more than a decade, recent studies suggest that programmers greatly underuse such tools, especially for complex refactorings. Complex refactorings affect several methods or classes and 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 levels of 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.
Issue Date: 2012-05
Genre: Technical Report
Type: Text
Language: English
URI: http://hdl.handle.net/2142/30851
Publication Status: unpublished
Peer Reviewed: not peer reviewed
Sponsor: NSF CCF 11-17960; DOE DE-F02-06ER25752
Date Available in IDEALS: 2012-05-16
 

This item appears in the following Collection(s)

Show full item record

Item Statistics

  • Total Downloads: 274
  • Downloads this Month: 9
  • Downloads Today: 0

Browse

My Account

Information

Access Key