Computer Engineering and Applications ›› 2006, Vol. 42 ›› Issue (28): 14-.

• 博士论坛 • Previous Articles     Next Articles

Method Call Tree-Based Automatic Aspect Mining Method


  1. 哈尔滨工程大学计算机学院
  • Received:2006-07-10 Revised:1900-01-01 Online:2006-10-01 Published:2006-10-01




  1. 哈尔滨工程大学计算机学院
  • 通讯作者: 曲立平 quliping0915

Abstract: Aspect mining tries to identify crosscutting concerns in existing systems and thus supports the adaptation to an aspect-oriented design. An automatic Aspect mining method is proposed based on the method call tree, the definitions of the method call trace and the method call relations are presented, and the uniform constraint and the crosscutting constraint are given at the same time. Through the practical examples, it is proved that the method has the equal precision with the Aspect mining using event traces, and the higher recall than it.

Key words: method call relation, Aspect-Oriented Programming, Aspect mining, method call tree

摘要: Aspect挖掘的目标是识别遗产系统中的横切关注点,为遗产系统的面向方面改造提供支持。基于方法调用树提出一种自动化Aspect挖掘方法,给出方法调用轨迹和方法调用关系的定义,同时给出一致性约束和横切约束。通过实例说明该方法具有与使用动态轨迹的Aspect挖掘方法同样的查准率,同时比其具有更高的查全率。

关键词: 方法调用关系, 面向方面编程, Aspect挖掘, 方法调用树