Towards proving preservation of behaviour of refactoring of UML models
Towards proving preservation of behaviour of refactoring of UML models
复制标题
证明 UML 模型重构行为的保留
DOI:
--
复制
发表时间:
2005
期刊:
影响因子:
--
通讯作者:
A. Boake
中科院分区:
文献类型:
--
作者:
M. V. Kempen;M. Chaudron;D. Kourie;A. Boake
Refactoring of a design before updating and modifying software has become an accepted practice in order to prepare the design for the upcoming changes. This paper describes a refactoring of the design of a particular application to illustrate a suggested approach. In this approach, we represent the design using UML, more specifically the structure using class diagrams, and the behaviour of each class using statecharts.Examining metrics of the specific design, we suggest a refactoring that changes a centralized control structure into one that employs more delegation, showing the refactored class and statechart diagrams. As preserving behaviour is one of the defining attributes of a refactoring, we use a csp-based formalism to describe the refactoring, and show that the refactoring indeed preserves behaviour.