DocumentCode
73115
Title
Case study on software refactoring tactics
Author
Hui Liu ; Yang Liu ; Guo Xue ; Yuan Gao
Author_Institution
Sch. of Comput. Sci. & Technol., Beijing Inst. of Technol., Beijing, China
Volume
8
Issue
1
fYear
2014
fDate
Feb-14
Firstpage
1
Lastpage
11
Abstract
Refactorings might be done using two different tactics: root canal refactoring and floss refactoring. Root canal refactoring is to set aside an extended period specially for refactoring. Floss refactoring is to interleave refactorings with other programming tasks. However, no large-scale case study on refactoring tactics is available. To this end, the authors carry out a case study to investigate the following research questions. (i) How often are root canal refactoring and floss refactoring employed, respectively? (ii) Are some kinds of refactorings more likely than others to be applied as floss refactorings or root canal refactorings? (iii) Do engineers employing both tactics have obvious bias to or against either of the tactics? They analyse the usage data information collected by Eclipse usage data collector. Results suggest that about 14% of refactorings are root canal refactorings. These findings reconfirm the hypothesis that, in general, floss refactoring is more common than root canal refactoring. The relative popularity of root canal refactoring, however, is much higher than expected. They also find that some kinds of refactorings are more likely than others to be performed as root canal refactorings. Results also suggest that engineers who have explored both tactics obviously tended towards root canal refactoring.
Keywords
software maintenance; software process improvement; software quality; Eclipse UDC; Eclipse usage data collector; extract method; floss refactoring; refactoring density; rename method; root canal refactoring; software external behaviour preservation; software quality improvement; software refactoring tactics; usage data information;
fLanguage
English
Journal_Title
Software, IET
Publisher
iet
ISSN
1751-8806
Type
jour
DOI
10.1049/iet-sen.2012.0121
Filename
6720045
Link To Document