摘要
针对目前遗产系统中普遍存在的关注点分离而导致系统可理解性降低、维护成本提高的问题,提出一种将扇入分析与克隆探测方法结合的方面挖掘方法,对系统中存在的横切关注点进行识别并重构出新的系统结构,将传统系统向面向方面系统迁移。实例分析结果证明,该方法能够提高挖掘的精确度和速度,并降低克隆探测所需的时间。
In order to solve the problem of the separation of the concems in legacy systems, which makes the system hard to understand and raises the cost of maintenance, this paper mines the aspect using an approach combining the fan-in analysis and clone detection. It identifies the hiding crosscutting concerns and refactors a new system structure, which migrates the legacy system to an aspect-oriented system. It verifies that this approach improves the preciseness and the speed of aspect mining, and needs less time in clone detection.
出处
《计算机工程》
CAS
CSCD
北大核心
2010年第3期66-68,共3页
Computer Engineering
基金
浙江省自然科学基金资助项目"基于最小信息集的程序信息抽取模型研究"(Y1080189)
关键词
方面挖掘
扇入分析
克隆探测
程序理解
aspect mining
fan-in analysis
clone detection
program comprehension