Case study on software refactoring tactics

Hui Liu, Yang Liu, Guo Xue, Yuan Gao

科研成果: 期刊稿件文章同行评审

3 引用 (Scopus)

摘要

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.

源语言英语
页(从-至)1-11
页数11
期刊IET Software
8
1
DOI
出版状态已出版 - 2014

指纹

探究 'Case study on software refactoring tactics' 的科研主题。它们共同构成独一无二的指纹。

引用此