节点文献

面向方面的软件开发辅助平台

Aspect-Oriented Software Development Assistant Kit

【作者】 张秋锐

【导师】 黄战; 何明昕;

【作者基本信息】 暨南大学 , 计算机应用技术, 2008, 硕士

【摘要】 本文介绍了软件设计过程中类间协作的特点以及非法类间协作引发的问题,并通过开发面向方面的软件开发辅助平台来捕获代码中的非法类间协作。通过讨论面向对象软件开发方式的不足,引入面向方面开发思想的优点,提出了一种可能的由面向对象软件开发方法向面向方面软件开发方法的过渡手段,即通过分析代码的非法协作来发现系统关注点的相互叠加。通过分析面向对象开发方法中某段代码是否涉及了多个关注点,从而可以使用面向方面语言把这些次要关注点从外部进行织入,并在此思想的推动下开发出来的一个软件开发辅助工具,在一定程度上帮助开发人员分析手中的代码。本文描述了该辅助工具的开发过程,其中分析了代码中的类间协作,提出了合法协作和非法协作的观点,并开发出相应功能将非法协作识别出来。最后引入面向方面的分析技术,作为前瞻性技术的一个介绍和展望。

【Abstract】 In this paper, characteristics of collaborations among classes in software design process and problems brought by the illegal collaborations among classes are discussed, and an aided software tool is designed for capturing these illegal collaborations among classes in the source code. By investigating the weak points of the object-oriented paradigm and advantages of the aspect-oriented paradigm, a possible transition way from object-oriented to aspect-oriented is proposed, which can discover the superposition of concerns by analyzing the illegal collaborations among classes. By analyzing whether more than one concerns are involved in one unit of codes, subordinate concerns can then be weaved from outside of an aspect. Based on this idea, a software development assistant kit is developed to help the developer analyze their codes. Emphasis of this paper is put on the development process of the kit. By investigating collaborations between two classes, we put forward the concepts of "legal collaboration" and "illegal collaboration" and then develop the relevant function for identifying the illegal collaborations. At the end of the paper, prospects of the aspect-oriented analysis technology are presented.

  • 【网络出版投稿人】 暨南大学
  • 【网络出版年期】2009年 03期
  • 【分类号】TP311.52
  • 【下载频次】42
节点文献中: 

本文链接的文献网络图示:

本文的引文网络