Model clone detection based on tree comparison

  • Rattan D
  • Bhatia R
  • Singh M
  • 1


    Mendeley users who have this article in their library.
  • N/A


    Citations of this article.


Model driven development has become a key industry practice. With higher levels of abstraction and advent of domain specific languages, models find their presence in every field. Latest software engineering practices lead to large models which are really hard to design and manage. Significant overlaps in large models are really a matter of concern. Anecdotal evidences suggest that clones in models poses similar threats as in code. The paper introduces an approach to detect clones in UML models. The technique is based on finding similarities between two object oriented diagrams. Firstly, UML models are encoded as XMI files. Subtree comparison is applied after the XMI file is filtered and represented as a tree. Similarity between two diagram elements in a model is determined and reported as a clone.

Author-supplied keywords

  • Cloning
  • Computational modeling
  • Mathematical model
  • Object oriented modeling
  • Software
  • UML models
  • Unified Modeling Language
  • XMI file
  • XMI files
  • anecdotal evidences
  • domain specific languages
  • key industry practice
  • model clone detection
  • model clones
  • software clones
  • software engineering
  • software engineering practices
  • tree codes
  • tree comparison

Get free article suggestions today

Mendeley saves you time finding and organizing research

Sign up here
Already have an account ?Sign in

Find this document


  • D Rattan

  • R Bhatia

  • M Singh

Cite this document

Choose a citation style from the tabs below

Save time finding and organizing research with Mendeley

Sign up for free