RefactoringScript: A Script and Its Processor for Composite Refactoring, accepted at SEKE 2014 (CORE Rank B).

Linchao Yang, Tomoyuki Kamiya, Kazunori Sakamoto, Hironori Washizaki and Yoshiaki Fukazawa, “RefactoringScript: A Script and Its Processor for Composite Refactoring,” Proceedings of the 26th International Conference on Software Engineering and Knowledge Engineering (SEKE 2014), pp.XX-YY, Vancouver, Canada, July 1-3, 2014. (to appear) (seke2014_submission_191.pdf)

Abstract—Refactoring is widely recognized as a method to improve the internal qualities of source code. However, manual refactoring is time-consuming and error prone. Consequently, many tools to support automated refactoring have been suggested, but most support only unit and simple refactoring, making it difficult to perform composite refactoring (e.g., introducing a design pattern) where a refactoring set is applied at one position or the same refactoring operation is applied at multiple positions. In this paper, we propose a novel script language and its processor to describe how and where to refactor by a model expressing source code*1. Evaluations indicate that our language and processor allow refactoring steps to be described as scripts, which can be easily replayed and reused for multiple projects.