Representing Clones in a Localized Manner - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2011

Representing Clones in a Localized Manner

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.

Dates and versions

inria-00606911 , version 1 (07-07-2011)

Identifiers

Cite

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⟩
73 View
0 Download

Altmetric

Share

Gmail Facebook X LinkedIn More