License
When quoting this document, please refer to the following
URN: urn:nbn:de:0030-drops-16784
URL: http://drops.dagstuhl.de/opus/volltexte/2008/1678/
Go to the corresponding Portal


Evans, William S. ; Fraser, Christoph W. ; Ma, Fei

Clone Detection via Structural Abstraction

pdf-format:
Document 1.pdf (419 KB)


Abstract

This paper describes the design, implementation, and application of a new algorithm to detect cloned code. It operates on the abstract syntax trees formed by many compilers as an intermediate representation. It extends prior work by identifying clones even when arbitrary subtrees have been changed. On a 440,000-line code corpus, 20- 50%of the clones it detected were missed by previous methods. The method also identifies cloning in declarations, so it is somewhat more general than conventional procedural abstraction.

BibTeX - Entry

@InProceedings{evans_et_al:DSP:2008:1678,
  author =	{William S. Evans and Christoph W. Fraser and Fei Ma},
  title =	{Clone Detection via Structural Abstraction},
  booktitle =	{Structure-Based Compression of Complex Massive Data },
  year =	{2008},
  editor =	{Stefan B{\"o}ttcher and Markus Lohrey and Sebastian Maneth and Wojcieh Rytter},
  number =	{08261},
  series =	{Dagstuhl Seminar Proceedings},
  ISSN =	{1862-4405},
  publisher =	{Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik, Germany},
  address =	{Dagstuhl, Germany},
  URL =		{http://drops.dagstuhl.de/opus/volltexte/2008/1678},
  annote =	{Keywords: Clone Detection}
}

Keywords: Clone Detection
Seminar: 08261 - Structure-Based Compression of Complex Massive Data
Issue Date: 2008
Date of publication: 20.11.2008


DROPS-Home | Fulltext Search | Imprint Published by LZI