Title :
Use, disuse, and misuse of automated refactorings
Author :
Vakilian, Mohsen ; Chen, Nicholas ; Negara, Stas ; Rajkumar, Balaji Ambresh ; Bailey, Brian P. ; Johnson, Ralph E.
Author_Institution :
Univ. of Illinois at Urbana-Champaign, Urbana, IL, USA
Abstract :
Though refactoring tools have been available for more than a decade, research has shown that programmers underutilize such tools. However, little is known about why programmers do not take advantage of these tools. We have conducted a field study on programmers in their natural settings working on their code. As a result, we collected a set of interaction data from about 1268 hours of programming using our minimally intrusive data collectors. Our quantitative data show that programmers prefer lightweight methods of invoking refactorings, usually perform small changes using the refactoring tool, proceed with an automated refactoring even when it may change the behavior of the program, and rarely preview the automated refactorings. We also interviewed nine of our participants to provide deeper insight about the patterns that we observed in the behavioral data. We found that programmers use predictable automated refactorings even if they have rare bugs or change the behavior of the program. This paper reports some of the factors that affect the use of automated refactorings such as invocation method, awareness, naming, trust, and predictability and the major mismatches between programmers´ expectations and automated refactorings. The results of this work contribute to producing more effective tools for refactoring complex software.
Keywords :
software maintenance; software tools; awareness; behavioral data; interaction data; invocation method; lightweight methods; naming; predictability; predictable automated refactorings; refactoring tools; trust; Context; Educational institutions; Interviews; Programming; Reliability; Software; User interfaces; Human computer interaction; Human factors; Programming environments; Software engineering; Software maintenance; User interfaces;
Conference_Titel :
Software Engineering (ICSE), 2012 34th International Conference on
Conference_Location :
Zurich
Print_ISBN :
978-1-4673-1066-6
Electronic_ISBN :
0270-5257
DOI :
10.1109/ICSE.2012.6227190