利用扇入分析识别横切关注点
Identifying Crosscutting Concerns Using Fan-in Analysis
摘要:
方面挖掘是一个逆向工程过程,旨在发现现有系统中的横切关注点。本文提出了一种方面挖掘方法的基础上,确定方法,从许多不同的地方调用,因此有一个高的扇入,这可以看作是横切功能的症状。该方法是半自动的,由三个步骤组成:度量计算,方法过滤和调用站点分析。执行这些步骤是一个交互式过程,由名为FINT的Eclipse插件支持。扇入分析已经应用于三个开源Java系统,总计约20万行代码。最有趣的关注点,确定详细讨论,其中包括几个关注点,以前没有讨论过的面向方面的文献。结果表明,大量的横切关注点可以识别使用扇入分析,和三个步骤中的每一个都可以支持的工具。
英文摘要:
Aspect mining is a reverse engineering process that aims at finding crosscutting concerns in existing systems. This paper proposes an aspect mining approach based on determining methods that are called from many different places, and hence have a high fan-in, which can be seen as a symptom of crosscutting functionality. The approach is semi-automatic, and consists of three steps: metric calculation, method filtering, and call site analysis. Carrying out these steps is an interactive process supported by an Eclipse plug-in called FINT. Fan-in analysis has been applied to three open source Java systems, totaling around 200,000 lines of code. The most interesting concerns identified are discussed in detail, which includes several concerns not previously discussed in the aspect-oriented literature. The results show that a significant number of crosscutting concerns can be recognized using fan-in analysis, and each of the three steps can be supported by tools.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。