首页> 外文期刊>International journal of software engineering and knowledge engineering >Preservation of Class Invariants in Refactoring UML Models
【24h】

Preservation of Class Invariants in Refactoring UML Models

机译:重构UML模型中类不变性的保留

获取原文
获取原文并翻译 | 示例
       

摘要

In the field of software engineering, the term class invariants is known as a valuable term employed to delineate the semantic of UML class diagram elements (attributes and relationships) and must be held throughout the life-time of instances of the class. Refactoring, the activities of re-distributing classes, attributes and methods across the class hierarchy, is a powerful technique that is used to improve the quality of software systems. Performing refactoring on UML class diagrams obviously requires a special investigation of invariant-preserving on the refactored models. In this paper, we propose an approach to preserve class invariants in refactoring UML models. In order to achieve this aim, we first formalize the class diagram along with class invariants by mathematical notations. We then constitute the rules for five refactoring operations (deal with class hierarchies) in such a way to guarantee class invariants as well as proving correctness of the refactoring rules. Finally, the paper also makes provision of the proposed approach for practical applications in software re-engineering development process.
机译:在软件工程领域,术语类不变量是一个有价值的术语,用于描述UML类图元素(属性和关系)的语义,并且必须在该类实例的整个生命周期中保持不变。重构是在类层次结构中重新分配类,属性和方法的活动,是一项强大的技术,可用于提高软件系统的质量。在UML类图上执行重构显然需要对重构模型上的不变性进行特殊研究。在本文中,我们提出了一种在重构UML模型中保留类不变式的方法。为了达到这个目的,我们首先通过数学符号形式化类图和类不变式。然后,我们以保证类不变性并证明重构规则正确性的方式,为五个重构操作(与类层次结构交易)制定规则。最后,本文还为软件重组开发过程中的实际应用提供了建议的方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号