skip to main content
10.1145/1808901.1808910acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Tracking clones' imprint

Published: 08 May 2010 Publication History

Abstract

Cloning imprint is the lasting effect of cloning on applications. This paper aims to analyze the clone imprint over time, in terms of the extension of cloning, the persistence of clones in methods, and the stability of cloned methods. Such level of detail requires an improvement in the clone tracking algorithms previously proposed, which is also presented.
We found that cloned methods are cloned most of their lifetime, cloned methods have a higher density of changes, and that changes in cloned methods tend to be customizations to the clone environment.

References

[1]
L. Aversano, L. Cerulo, and M. D. Penta. How clones are maintained: An empirical study. In Proc. of the European Conf. on Software Maintenance and Reengineering (CSMR'07), pages 81--90. 2007.
[2]
A. Chou, J. Yang, B. Chelf, S. Hallem, and D. Engler. An empirical study of operating systems errors. In Proc. of the eighteenth ACM symp. on Operating systems principles '01, pages 73--88. 2001.
[3]
S. Ducasse, M. Rieger, and S. Demeyer. A language independent approach for detecting duplicated code. In Proc. Int'l Conf. on Software Maintenance (ICSM'99), pages 109--118. 1999.
[4]
R. Geiger, B. Fluri, H. C. Gall, and M. Pinzger. Relation of code clones and change couplings. In Proc. of the Int'l Conf. of Fundamental Approaches to Software Engineering (FASE'06), pages 411--425. 2006.
[5]
J. Harder and N. GŽde. Modeling clone evolution. In Proc. Int'l Workshop on Software Clones (IWSC'09).
[6]
E. Juergens, F. Deissenboeck, B. Hummel, and S. Wagner. Do code clones matter? In Proc. of the Int'l Conference on Software Engineering (ICSE'09), pages 485--495. 2009.
[7]
T. Kamiya, S. Kusumoto, and K. Inoue. Ccfinder: a multilinguistic token-based code clone detection system for large scale source code. IEEE Trans. Softw. Eng., 28(7):654--670, 2002.
[8]
M. Kim, V. Sazawal, D. Notkin, and G. Murphy. An empirical study of code clone genealogies. In Proc. of the European Softw. Eng. Conf. and symp. on Foundations of Softw. Eng. (ESEC-FSE'05), pages 187--196. 2005.
[9]
J. Krinke. A study of consistent and inconsistent changes to code clones. In Proc. Working Conf. on Reverse Engineering (WCRE'07). 2007.
[10]
J. Krinke. Is cloned code more stable than non-cloned code? In Proc. of the int'l workshop on Source Code Analysis and Manipulation (SCAM'08), pages 57--66. 2008.
[11]
B. Lague, D. Proulx, J. Mayrand, E. M. Merlo, and J. Hudepohl. Assessing the benefits of incorporating function clone detection in a development process. In Proc. Int'l Conf. on Software Maintenance (ICSM'97), pages 314--321.
[12]
Z. Li, S. Lu, S. Myagmar, and Y. Zhou. Cp-miner: Finding copy-paste and related bugs in large-scale software code. IEEE Trans. Softw. Eng., 32(3):176--192, 2006.
[13]
A. Lozano and M. Wermelinger. Assessing the effect of clones on changeability. In Proc. Int'l Conf. on Software Maintenance (ICSM'08), pages 227--236. 2008.
[14]
A. Lozano, M. Wermelinger, and B. Nuseibeh. Evaluating the relation between changeability decay and the characteristics of clones and methods. In Proc. Int'l Workshop on Software Evolution (Evol'08), pages 100--109.
[15]
A. Lozano, M. Wermelinger, and B. Nuseibeh. Evaluating the harmfulness of cloning: a change based experiment. In Proc. of the int'l workshop on Mining Software Repositories (MSR'07), pages 18--21. 2007.
[16]
A. Monden, D. Nakae, T. Kamiya, S.-i. Sato, and K.-i. Matsumoto. Software quality analysis by code clones in industrial legacy software. In Proc. int'l symp. on Software Metrics (METRICS'02), pages 87--94. 2002.

Cited By

View all
  • (2023)Exploring the Impact of Code Clones on Deep Learning SoftwareACM Transactions on Software Engineering and Methodology10.1145/360718132:6(1-34)Online publication date: 3-Jul-2023
  • (2022)Predicting Buggy Code Clones through Machine LearningProceedings of the 32nd Annual International Conference on Computer Science and Software Engineering10.5555/3566055.3566070(130-139)Online publication date: 15-Nov-2022
  • (2022)Clones in deep learning code: what, where, and why?Empirical Software Engineering10.1007/s10664-021-10099-x27:4Online publication date: 1-Jul-2022
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
IWSC '10: Proceedings of the 4th International Workshop on Software Clones
May 2010
105 pages
ISBN:9781605589800
DOI:10.1145/1808901
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 08 May 2010

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. changeability
  2. clones
  3. cloning
  4. empirical software engineering
  5. extension
  6. impact
  7. maintenance
  8. mining software repositories
  9. persistence
  10. stability

Qualifiers

  • Research-article

Conference

ICSE '10
Sponsor:

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 15 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2023)Exploring the Impact of Code Clones on Deep Learning SoftwareACM Transactions on Software Engineering and Methodology10.1145/360718132:6(1-34)Online publication date: 3-Jul-2023
  • (2022)Predicting Buggy Code Clones through Machine LearningProceedings of the 32nd Annual International Conference on Computer Science and Software Engineering10.5555/3566055.3566070(130-139)Online publication date: 15-Nov-2022
  • (2022)Clones in deep learning code: what, where, and why?Empirical Software Engineering10.1007/s10664-021-10099-x27:4Online publication date: 1-Jul-2022
  • (2021)ID-correspondence: a measure for detecting evolutionary couplingEmpirical Software Engineering10.1007/s10664-020-09921-926:1Online publication date: 12-Jan-2021
  • (2021)A Summary on the Stability of Code Clones and Current Research TrendsCode Clone Analysis10.1007/978-981-16-1927-4_12(169-180)Online publication date: 4-Aug-2021
  • (2020)Investigating Near-Miss Micro-Clones in Evolving SoftwareProceedings of the 28th International Conference on Program Comprehension10.1145/3387904.3389262(208-218)Online publication date: 13-Jul-2020
  • (2020)Associating Code Clones with Association Rules for Change Impact Analysis2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER)10.1109/SANER48275.2020.9054846(93-103)Online publication date: Feb-2020
  • (2019)Research on the Tools of Clone Code RefactoringProceedings of the 2019 3rd International Conference on Management Engineering, Software Engineering and Service Sciences10.1145/3312662.3312693(27-31)Online publication date: 12-Jan-2019
  • (2019)A Comparative Study of Software Bugs in Micro-clones and Regular Code Clones2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER)10.1109/SANER.2019.8667993(73-83)Online publication date: Feb-2019
  • (2019)Comparing bug replication in regular and micro code clonesProceedings of the 27th International Conference on Program Comprehension10.1109/ICPC.2019.00022(81-92)Online publication date: 25-May-2019
  • Show More Cited By

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media