Abstract:
This paper proposes an automated approach to refactoring object oriented programs to the aspect-oriented paradigm. The approach is based upon the application of two steps: mining and refactoring. After mining potential crosscutting concerns, the refactoring phase transforms crosscutting concerns to a new aspect. This paper presents the results of an evaluation in which about 13000 LoC program is refactored.
Key words:
crosscutting concerns,
aspect extraction,
refactoring
摘要: 提出一种将面向对象程序重构为面向方面范型的自动化方法。该方法分挖掘和重构两个阶段进行。第一阶段挖掘面向对象程序中潜在的横切关注点,第二阶段将横切关注点重构为方面。给出一个约13 000行代码的程序自动重构的评价结果。
关键词:
横切关注点,
方面抽取,
重构
CLC Number:
QU Li-ping; LIU Da-xin; YANG Jing. Automated Refactoring of Aspect-oriented Software[J]. Computer Engineering, 2008, 34(6): 43-44.
曲立平;刘大昕;杨 静. 面向方面的自动化重构方法[J]. 计算机工程, 2008, 34(6): 43-44.