计算机工程 ›› 2010, Vol. 36 ›› Issue (3): 66-68.doi: 10.3969/j.issn.1000-3428.2010.03.022

• 软件技术与数据库 • 上一篇    下一篇

结合扇入分析与克隆探测的方面挖掘方法

古 辉,刘思聪,阳继旭   

  1. (浙江工业大学计算机科学与技术学院,杭州 310023)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-02-05 发布日期:2010-02-05

Approach of Aspect Mining Combining Fan-in Analysis and Clone Detection

GU Hui, LIU Si-cong, YANG Ji-xu   

  1. (College of Computer Science & Technology, Zhejiang University of Technology, Hangzhou 310023)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-02-05 Published:2010-02-05

摘要: 针对目前遗产系统中普遍存在的关注点分离而导致系统可理解性降低、维护成本提高的问题,提出一种将扇入分析与克隆探测方法结合的方面挖掘方法,对系统中存在的横切关注点进行识别并重构出新的系统结构,将传统系统向面向方面系统迁移。实例分析结果证明,该方法能够提高挖掘的精确度和速度,并降低克隆探测所需的时间。

关键词: 方面挖掘, 扇入分析, 克隆探测, 程序理解

Abstract: In order to solve the problem of the separation of the concerns 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.

Key words: aspect mining, fan-in analysis, clone detection, program comprehension

中图分类号: