DocumentCode
3231759
Title
Identifying composite refactorings with a scripting language
Author
Huang, Jin ; Carminati, Federico ; Betev, Latchezar ; Luzzi, Cinzia ; Lu, Yansheng ; Zhou, Daicui
Author_Institution
Huazhong Univ. of Sci. & Technol., Wuhan, China
fYear
2011
fDate
27-29 May 2011
Firstpage
267
Lastpage
271
Abstract
Automatic refactoring techniques guarantee the correctness and effectiveness for the transformation of legacy software systems. Our experience of identifying composite refactorings shows that existing techniques can not easily be used to identify them because of the complexity of their composition and the behavior preservation requirement. Inspired by the HTN model which is adopted to formalize the behaviors of composite refactorings, we design a scripting language FLAT, which expresses users´ solution for refactoring identification. It provides expressive and understandable representation for composite refactorings. To perform this language, we implement its interpreter EXTRACTOR, an extensible framework with template mechanism. Refactoring compositions are identified by EXTRACTOR constructor, while low-level logic operations on program´s intermediate representation are provided by logic query engine. We evaluate EXTRACTOR through various cases and prove its effectiveness of identifying composite refactorings even for aspect-oriented programs.
Keywords
aspect-oriented programming; authoring languages; software maintenance; EXTRACTOR; FLAT; HTN model; aspect-oriented programs; automatic refactoring technique; behavior preservation requirement; composite refactorings; legacy software systems; logic query engine; low-level logic operations; refactoring identification; scripting language; template mechanism; Software; logic transformation; scripting language; software analysis; software refactoring;
fLanguage
English
Publisher
ieee
Conference_Titel
Communication Software and Networks (ICCSN), 2011 IEEE 3rd International Conference on
Conference_Location
Xi´an
Print_ISBN
978-1-61284-485-5
Type
conf
DOI
10.1109/ICCSN.2011.6014267
Filename
6014267
Link To Document