An open infrastructure for refactoring aspects.
Published: 2006
Language: eng
Number of pages: 139
ISBN-13: 9780494160954
Description: We evaluate CRAFT by using it to automate the aspect-oriented refactoring of two sizable database systems---Prevayler and HSQL. As a proof of concept, we have implemented 19 common refactoring scenarios as extension units to CRAFT, which automatically refactor, in minutes, approximately 50% of the crosscutting logic in Prevayler and 48% in HSQL. Previously, the manual refactoring effort took us about two months. In addition, we show that the development of refactoring extensions to CRAFT can be obtained with a small effort based on the CRAFT refactoring library. We also prove experimentally that CRAFT does not introduce significant overhead into the refactored system.Automating aspect-oriented refactoring is a challenging problem. Unlike object-oriented refactoring, the syntactic traits representing aspects are difficult to characterize homogeneously, heavily depend on context information, and can often be represented in a variety of ways with aspect idioms. To address these challenges and demonstrate how aspect-oriented refactoring can be automated, we develop CRAFT, an open and extensible infrastructure to support the encoding of AO refactorings. CRAFT is built on insights discovered from manual experiences of refactoring two database applications.CRAFT consists of a language to describe syntactic traits of concerns, capabilities to search them, means to define instance-specific refactoring steps, mechanisms to extract aspects from code, and a refactoring library to support important housekeeping tasks.
Notes: Source: Masters Abstracts International, Volume: 44-06, page: 2840.

Thesis (M.Sc.)--University of Toronto, 2006.

Electronic version licensed for access by U. of T. users.

ROBARTS MICROTEXT copy on microfiche.