License: Creative Commons Attribution 4.0 International license (CC BY 4.0)
When quoting this document, please refer to the following
DOI: 10.4230/DagSemProc.06301.8
URN: urn:nbn:de:0030-drops-9608
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2007/960/
Go to the corresponding Portal


Giesecke, Simon

Generic modelling of code clones

pdf-format:
06301.GieseckeSimon.Paper.960.pdf (0.4 MB)


Abstract

Code clones, i.e. instances of duplicated code, can be found in many software systems. They adversely affect the software systems’ quality, in particular their maintainability and comprehensibility. Thus, this aspect is particularly important to consider in software maintenance and reengineering. Many different algorithms detecting code clones have been developed. For various reasons, it is difficult to compare the results of different algorithms. Most notable among these reasons is that there is no conceptual model allowing description of code clones determined by different algorithms. Much more, each algorithm uses its specific concept of code clones, which is rarely made explicit.
To overcome these problems, we have developed a generic model for describing clones. The model is generic in that it is independent of the programming language examined and of the clone detection algorithm used. It is flexible enough to facilitate various granularities of artifacts employed for selection and comparison, including inexact clones. The model allows separation of concerns between clone detection, description and management, which reduces the effort for the implementation of tools supporting these activities. On the basis of the model, we have implemented a prototype tool supporting these activities, tightly integrated into the Eclipse environment.

BibTeX - Entry

@InProceedings{giesecke:DagSemProc.06301.8,
  author =	{Giesecke, Simon},
  title =	{{Generic modelling of code clones}},
  booktitle =	{Duplication, Redundancy, and Similarity in Software},
  pages =	{1--23},
  series =	{Dagstuhl Seminar Proceedings (DagSemProc)},
  ISSN =	{1862-4405},
  year =	{2007},
  volume =	{6301},
  editor =	{Rainer Koschke and Ettore Merlo and Andrew Walenstein},
  publisher =	{Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{https://drops.dagstuhl.de/opus/volltexte/2007/960},
  URN =		{urn:nbn:de:0030-drops-9608},
  doi =		{10.4230/DagSemProc.06301.8},
  annote =	{Keywords: Code clones, clone detection, reference model}
}

Keywords: Code clones, clone detection, reference model
Collection: 06301 - Duplication, Redundancy, and Similarity in Software
Issue Date: 2007
Date of publication: 19.04.2007


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI