Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH scholarly article en Evans, William S.; Fraser, Christoph W.; Ma, Fei License
when quoting this document, please refer to the following
URN: urn:nbn:de:0030-drops-16784

; ;

Clone Detection via Structural Abstraction



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

  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 =		{},
  annote =	{Keywords: Clone Detection}

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

DROPS-Home | Fulltext Search | Imprint Published by LZI