Despite the conventional wisdom concerning the risks related to the use of source code cloning as a software development strategy, several studies appeared in literature indicated that this is not true. In most cases clones are properly maintained and, when this does not happen, is because cloned code evolves independently. Stemming from previous works, this paper combines clone detection and co - change analysis to investigate how clones are maintained when an evolution activity or a bug fixing impact a source code fragment belonging to a clone class. The two case studies reported confirm that, either for bugfixing or for evolution purposes, most of the cloned code is consistently maintained during the same co - change or during temporally close co - changes. © 2007 IEEE

How Clones are Maintained: An Empirical Study

LERINA AVERSANO;LUIGI CERULO;DI PENTA M
2007-01-01

Abstract

Despite the conventional wisdom concerning the risks related to the use of source code cloning as a software development strategy, several studies appeared in literature indicated that this is not true. In most cases clones are properly maintained and, when this does not happen, is because cloned code evolves independently. Stemming from previous works, this paper combines clone detection and co - change analysis to investigate how clones are maintained when an evolution activity or a bug fixing impact a source code fragment belonging to a clone class. The two case studies reported confirm that, either for bugfixing or for evolution purposes, most of the cloned code is consistently maintained during the same co - change or during temporally close co - changes. © 2007 IEEE
2007
0-7695-2802-3
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.12070/12049
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 162
  • ???jsp.display-item.citation.isi??? 107
social impact