计算机工程 ›› 2008, Vol. 34 ›› Issue (24): 43-45.doi: 10.3969/j.issn.1000-3428.2008.24.015

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

一种自动的软件体系结构规约重写方法

钟林辉,叶茂盛,郑 燚   

  1. (江西师范大学计算机信息工程学院,南昌 330022)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-12-20 发布日期:2008-12-20

Automatic Specification Rewrite Method for Software Architecture

ZHONG Lin-hui, YE Mao-sheng, ZHENG Yi   

  1. (School of Computer and Information Engineering, Jiangxi Normal University, Nanchang 330022)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-12-20 Published:2008-12-20

摘要: 在软件较高的抽象层次如软件体系结构,实施重构更有助于提高软件的易维护性,从而降低软件的维护成本。大量复杂的重构操作需要(半)自动化的支持。该文提出一种体系结构规约重写方法,将体系结构重构转换为接口重构和实现体重构2方面的规约重写,并给出规约重写基本操作规则。分析了实现体规约的重构操作,提出子构件提升操作、同级构件合并操作、跨级构件合并和构件分离合并操作4种基本操作。

关键词: 软件体系结构, 规约重写, 软件重构

Abstract: Software refactoring at software architecture level can improve software maintainability and decease the cost for maintenance. In order to automate the software architecture refactoring, this paper proposes a way for software architecture refactoring, which consists of interface specification rewrite operators and implementation rewrite operators.

Key words: software architecture, specification rewrite, software refactoring

中图分类号: