DocumentCode
1884830
Title
Clone Smells in Software Evolution
Author
Bakota, Tibor ; Ferenc, Rudolf ; Gyimóthy, Tibor
Author_Institution
Univ. of Szeged, Szeged
fYear
2007
fDate
2-5 Oct. 2007
Firstpage
24
Lastpage
33
Abstract
Although source code cloning (copy&paste programming) represents a significant threat to the maintainability of a software system, problems usually start to arise only when the system evolves. Most of the related research papers tackle the question of finding code clones in one particular version of the software only, leaving the dynamic behavior of the clones out of consideration. Eliminating these clones in large software systems often seems absolutely hopeless, as there might exist several thousands of them. Alternatively, tracking the evolution of individual clones can be used to identify those occurrences that could really cause problems in the future versions. In this paper we present an approach for mapping clones from one particular version of the software to another one, based on a similarity measure. This mapping is used to define conditions under which clones become suspicious (or "smelly") compared to their other occurrences. Accordingly, these conditions introduce the notion of dynamic clone smells. The usefulness of these smells is validated on the Mozilla Firefox internet browser, where the approach was able to find specific bugs that resulted from neglecting earlier copy&paste activities.
Keywords
Internet; software maintenance; software prototyping; Mozilla Firefox Internet browser; software evolution; software maintenance; source code cloning; Cloning; Computer bugs; Genetic programming; Internet; Particle measurements; Programming profession; Software engineering; Software maintenance; Software measurement; Software systems;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance, 2007. ICSM 2007. IEEE International Conference on
Conference_Location
Paris
ISSN
1063-6773
Print_ISBN
978-1-4244-1256-3
Electronic_ISBN
1063-6773
Type
conf
DOI
10.1109/ICSM.2007.4362615
Filename
4362615
Link To Document