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

Achieving accurate clone detection results

Published: 08 May 2010 Publication History

Abstract

Many existing clone detection approaches produce substantial amounts of clones that are irrelevant to software engineers. These false positives significantly hinder adoption of clone detection in practice and can lead to inaccurate research conclusions. In this paper, we propose clone coupling as an explicit criterion for the relevance of clones and outline a method for clone detection tailoring. The results of a large industrial case study indicate that it can significantly increase clone detection accuracy.

References

[1]
L. Aversano, L. Cerulo, and M. Di Penta. How clones are maintained: An empirical study. In CSMR'07, 2007.
[2]
S. Bellon, R. Koschke, G. Antoniol, J. Krinke, and E. Merlo. Comparison and evaluation of clone detection tools. IEEE TSE, 2007.
[3]
E. Burd and J. Bailey. Evaluating clone detection tools for use during preventative maintenance. In SCAM'02, 2002.
[4]
F. Deissenboeck, B. Hummel, E. Juergens, B. Schaetz, S. Wagner, J.-F. Girard, and S. Teuchert. Clone detection in automotive model-based development. In ICSE'08, 2008.
[5]
N. Göde. Evolution of type-1 clones. In SCAM'09, 2009.
[6]
E. Juergens, F. Deissenboeck, and B. Hummel. CloneDetective -- a workbench for clone detection research. In ICSE'09, 2009.
[7]
E. Jürgens, F. Deißenböck, B. Hummel, and S. Wagner. Do code clones matter? In ICSE'09, 2009.
[8]
T. Kamiya, S. Kusumoto, and K. Inoue. CCFinder: a multilinguistic token-based code clone detection system for large scale source code. IEEE TSE, 2002.
[9]
C. Kapser and M. W. Godfrey. Aiding comprehension of cloning through categorization. In IWPSE'04, 2004.
[10]
C. J. Kapser, P. Anderson, M. Godfrey, R. Koschke, M. Rieger, F. van Rysselberghe, and P. Weisgerber. Subjectivity in clone judgment: Can we ever agree? In Duplication, Redundancy, and Similarity in Software, Dagstuhl Seminar Proceedings, 2007.
[11]
M. Kim, V. Sazawal, D. Notkin, and G. C. Murphy. An empirical study of code clone genealogies. In ESEC/FSE'05, 2005.
[12]
R. Koschke. Survey of research on software clones. In Duplication, Redundancy, and Similarity in Software. Dagstuhl Seminar Proceedings, 2007.
[13]
J. Krinke. A study of consistent and inconsistent changes to code clones. In WCRE'07, 2007.
[14]
C. K. Roy and J. R. Cordy. A survey on software clone detection research. Technical report, Queens University at Kingston, 2007.
[15]
S. Thummalapenta, L. Cerulo, L. Aversano, and M. Di Penta. An empirical study on the maintenance of source code clones. Empirical Softw. Eng., 2009.
[16]
R. Tiarks, R. Koschke, and R. Falke. An assessment of type-3 clones as detected by state-of-the-art tools. In SCAM'09, 2009.
[17]
A. Walenstein, N. Jyoti, J. Li, Y. Yang, and A. Lakhotia. Problems creating task-relevant clone detection reference data. In WCRE'03, 2003.

Cited By

View all

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. assessment
  2. clone detection
  3. software maintenance
  4. tailoring

Qualifiers

  • Research-article

Conference

ICSE '10
Sponsor:

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 07 Nov 2024

Other Metrics

Citations

Cited By

View all

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