arrow
Return

CCFinder: A multilinguistic token-based code clone detection system for large scale source code

delete2002-07-01
delete1.1K
delete
OA
AI
T
T. Kamiya
S
S. Kusumoto
K
Koji Inoue
DOI:10.1109/TSE.2002.1019480delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
A code clone is a code portion in source files that is identical or similar to another. Since code clones are believed to reduce the maintainability of software, several code clone detection techniques and tools have been proposed. This paper proposes a new clone detection technique, which consists of the transformation of input source text and a token-by-token comparison. For its implementation with several useful optimization techniques, we have developed a tool, named CCFinder, which extracts code clones in C, C++, Java, COBOL, and other source files. As well, metrics for the code clones have been developed. In order to evaluate the usefulness of CCFinder and metrics, we conducted several case studies where we applied the new tool to the source code of JDK, FreeBSD, NetBSD, Linux, and many other systems. As a result, CCFinder has effectively found clones and the metrics have been able to effectively identify the characteristics of the systems. In addition, we have compared the proposed technique with other clone detection techniques.
Keywords:
code clone
duplicated code
CASE tool
metrics
maintenance
Efficient transformer with code token learner for code clone detection
err2023-03-01
err14
PREAI
errZhang, Aiping; Fang, Liming; Ge, Chunpeng; Li, Piji; Liu, Zhe
errShare
errSave
A Systematic Review on Code Clone Detection
err2019-01-01
err84
errOAAI
errUl Ain, Qurat; Butt, Wasi Haider; Anwar, Muhammad Waseem; Azam, Farooque; Maqbool, Bilal
errShare
errSave
Method and implementation for investigating code clones in a software system
err2007-09-01
err24
PREAI
errHigo, Yoshiki; Kamiya, Toshihiro; Kusumoto, Shinji; Inoue, Katsuro
errShare
errSave
Prioritisation of code clones using a genetic algorithm
err2024-06-01
err0
PREAI
errAzadi, Umberto; Walter, Bartosz; Fontana, Francesca Arcelli
errShare
errSave
Is cloned code really stable?
err2017-07-05
err28
PREAI
errMondal, Manishankar; Rahman, Md Saidur; Roy, Chanchal K.; Schneider, Kevin A.
errShare
errSave

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
3.0K
Citations:
1.3W

Organization

No organization information available
Cited Papers

Cited Papers

An Analysis of the Entrepreneurial University in the Faculties of Education in Spain: Self-perception among Deans
err
IF0
err2021-09-16
err0
errOAAI
errJessica Paños-Castro; Leire Markuerkiaga; María José Bezanilla
errShare
errSave
errShare
errSave
Kinetic Analysis of Food Systems
err
IF0
err2017-01-01
err0
PREAI
errAlejandro G. Marangoni
errShare
errSave
Hypospadias: Incidence and Effects on Psychosexual Development as Evaluated with the Minnesota Multiphasic Personality Inventory Test in a Sample of 11,649 Young Italian Men
err2002-02-14
err0
PREAI
errNicola Mondaini; Roberto Ponchietti; Massimiliano Bonafè; Stefano Biscioni; Filippo Di Loro; Paolo Agostini; Francesco Salvestrini; Michelangelo Rizzo
errShare
errSave
Pumped thermal electricity storage for active distribution network applications
err2017-06-01
err0
errOAAI
errAhmad Asrul Ibrahim; Behzad Kazemtabrizi; Chiara Bordin; Chris J. Dent; Joshua D. McTigue; Alexander J. White
errShare
errSave
no more