计算机科学 ›› 2010, Vol. 37 ›› Issue (9): 141-146.

• 软件工程 • 上一篇    下一篇

一种基于横切特征分析的软件体系结构自动重构方法

黎丙祥,沈立炜,彭鑫,赵文耘   

  1. (复旦大学计算机科学技术学院 上海200433)
  • 出版日期:2018-12-01 发布日期:2018-12-01
  • 基金资助:
    本文受国家自然科学基金( No. 60703092)以及国家863计划(No. 2007AA01Z125, No. 2009AA010307)资助。

Crosscutting Feature Analysis-based Automatic Software Architecture Refactoring Method

LI Bing-xiang,SHEN Li-wei,PENG Xin,ZHAO Wen-yun   

  • Online:2018-12-01 Published:2018-12-01

摘要: 软件体系结构中的横切关注点增加了软件体系结构的复杂性,从而加剧了体系结构演化与维护的困难。这种设计问题可以通过体系结构层面的重构来进行改善。在已有的横切特征分析方法基础上,提出了一种面向横切特征分析的体系结构自动重构方法。该方法首先基于特征与构件之间的追踪关系分析横切特征,然后将与横切特征有直接追踪关系的构件从初始体系结构中提取出来,实现方面构件,完成体系结构重构。在面向方面体系结构描述语言AO-ADL基础上开发了相应的体系结构重构工具,并针对一个业务系统进行了体系结构重构实验。实验结果表明,该方法能有效地实现体系结构横切特征的自动化重构。

关键词: 特征,横切,行为,方面绑定,方面构件,体系结构,重构

Abstract: Crosscutting concerns in software architecture increase the complexity of software architecture and the difficulty for evolution and maintenance. This design problem can be improved by refactoring on architectural level. This paper offered an automatic software architecture refactoring method based on the existing analysis of crosscutting feature.At first, this method analyzes crosscutting features based on traceability between features and components. hhen those components which are direct trace relation to these crosscutting features are extracted from initial architecture as aspectual components,finishing architecture refactoring. We developed a architecture refactoring tool based on Aspect Oriented Architecture Description Language AC}ADI.Experiments on architecture refactoring were taken on a business system. The result shows this method can refactor crosscutting concerns in software architecture effectively and automatically.

Key words: Feature, Crosscutting, Behaviour, Aspectual binding, Aspectual component, Architecture, Refactoring

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!