Skip to Main content Skip to Navigation
Conference papers

Representing Clones in a Localized Manner

Robert Tairas 1 Ferosh Jacob 2 Jeff Gray 2 
1 ATLANMOD - Modeling Technologies for Software Production, Operation, and Evolution
LINA - Laboratoire d'Informatique de Nantes Atlantique, Département informatique - EMN, Inria Rennes – Bretagne Atlantique
Abstract : Code clones (i.e., duplicate sections of code) can be scattered throughout the source files of a program. Manually evaluating a group of such clones requires observing each clone in its original location (i.e., opening each file and finding the source location of each clone), which can be a time-consuming process. As an alternative, this paper introduces a technique that localizes the representation of code clones to provide a summary of the properties of two or more clones in one location. In our approach, the results of a clone detection tool are analyzed in an automated manner to determine the properties (i.e., similarities and differences) of the clones. These properties are visualized directly within the source editor. The localized representation is realized as part of the features of an Eclipse plug-in called CeDAR.
Document type :
Conference papers
Complete list of metadata
Contributor : Robert Tairas Connect in order to contact the contributor
Submitted on : Thursday, July 7, 2011 - 1:40:35 PM
Last modification on : Wednesday, April 27, 2022 - 4:10:30 AM

Links full text



Robert Tairas, Ferosh Jacob, Jeff Gray. Representing Clones in a Localized Manner. International Workshop on Software Clones, May 2011, Waikiki, United States. ⟨10.1145/1985404.1985414⟩. ⟨inria-00606911⟩



Record views