Differences between versions of UML diagrams

Differences between versions of UML diagrams
复制标题

UML 图版本之间的差异

DOI:
--
复制
发表时间:
2003
期刊:
ESEC/FSE-11
影响因子:
--
通讯作者:
U. Kelter
U. Kelter
中科院分区:
--
文献类型:
--
作者:
Dirk Ohst;M. Welle;U. Kelter

文献摘要

被引文献

相似文献

本文讨论了如何检测和可视化的UML文档,如类或对象图的版本之间的差异的问题。我们显示两个文档之间差异的基本方法是使用一个统一的文档,其中包含两个基础文档的公共部分和特定部分;特定部分被突出显示。主要的问题是(a)如何从对布局和其他(文件类型特定的)被认为不相关的细节所做的修改中抽象出来;(B)如何处理结构变化,如将操作从一个类转移到另一个类;(c)如何减少突出显示的信息量。我们的方法是基于这样的假设,即软件文档是以细粒度的方式建模的,即它们被存储为XML文件或存储库系统中的语法树,并且版本管理系统支持细粒度的数据。我们的差异计算算法检测结构变化,并使其适当的可视化。突出显示可以根据元素的类型和修订历史来限制,例如,仅突出显示在特定编辑会话期间发生的更改。
This paper addresses the problem of how to detect and visualise differences between versions of UML documents such as class or object diagrams. Our basic approach for showing the differences between two documents is to use a unified document which contains the common and specific parts of both base documents; the specific parts are highlighted. The main problems are (a) how to abstract from modifications done to the layout and other (document type-specific) details which are considered irrelevant; (b) how to deal with structural changes such as the shifting of an operation from one class to another; (c) how to reduce the amount of highlighted information. Our approach is based on the assumption that software documents are modelled in a fine-grained way, i.e. they are stored as syntax trees in XML files or in a repository system, and that the version management system supports fine-grained data. Our difference computation algorithm detects structural changes and enables their appropriate visualisation. Highlighting can be restricted on the basis of the types of the elements and on the basis of the revision history, e.g. only changes which occurred during a particular editing session are highlighted.