Logo des Repositoriums
 
Konferenzbeitrag

Clone Detection in a Product Line Context

Lade...
Vorschaubild

Volltext URI

Dokumententyp

Text/Conference Paper

Zusatzinformation

Datum

2008

Zeitschriftentitel

ISSN der Zeitschrift

Bandtitel

Verlag

Gesellschaft für Informatik e. V.

Zusammenfassung

Software Product Lines (SPL) can be used to create and maintain different variants of software-intensive systems by explicitly managing variability. Often, SPLs are organized as an SPL core, common to all products, upon which product-specific components are built. Following the so called grow-and-prune model, SPLs may be evolved by copy&paste at large scale. New products are created from existing ones and existing products are enhanced with functionalities specific to other products by copying and pasting code between product-specific code. To regain control of this unmanaged growth, such code may be pruned, that is, identified and refactored into core components upon success. Clone detection offers effective means to identify duplicated source code. However, variablity in product lines, especially when targeting embedded devices, is often implemented using a preprocessor. This limits the applicable clone detection techniques to ones with lower precision. We describe how information about function locations can be used to improve the results of these token-based clone detectors.

Beschreibung

Mende, Thilo; Beckwermert, Felix (2008): Clone Detection in a Product Line Context. Software archeology and the handbook of software architecture. Bonn: Gesellschaft für Informatik e. V.. PISSN: 1617-5468. ISBN: 3-88579-220-8. pp. 176-180. Regular Research Papers. Bad Honnef. 5-7 May 2008

Schlagwörter

Zitierform

DOI

Tags