Open access
Jurnal
SINTA 1
Enhancing code clone detection using control flow graphs
International Journal of Electrical and Computer Engineering (IJECE) · Vol. 9 No. 5 (2019)
ISSN 2722-2578, 2088-8708
Published 2019-10-01
Publisher Institute of Advanced Engineering and Science
Abstract
Code clones are syntactically or semantically equivalent code fragments of source code. Copy-and-paste programming allows software developers to improve development productivity, but it could produce code clones that can introduce non-trivial difficulties in software maintenance. In this paper, a code clone detection framework is presented with a feature extractor and a clone classifier using deep learning. The clone classifier is trained with true and false clones and then is tested with a test dataset to evaluate the performance of the proposed approach to clone detection. In particular, the proposed approach to clone detection uses Control Flow Graphs (CFGs) to extract features of a given code snippet. The selected features are used to compute similarity scores for comparing two code fragments. The clone classifier is trained and tested with similarity scores that quantify the degree of how similar two code fragments are. The experimental results demonstrate that using CFG features is a viable methodology in terms of the effectiveness of clone detection for both syntactic and semantic clones.
Collaboration network of the authors
No co-authors found in Melola yet.
This record comes from Crossref (what the publisher deposited), because the journal's own OAI-PMH endpoint could not be harvested.
Metadata source: Crossref API (cadangan, berdasarkan ISSN) https://api.crossref.org/journals/2088-8708/works,
first harvested 27 Okt 2026,
last seen 27 Okt 2026.
Metadata as oai_dc, converted from Crossref
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"><dc:title>Enhancing code clone detection using control flow graphs</dc:title><dc:creator>Kim, Dong Kwan</dc:creator><dc:description><jats:p>Code clones are syntactically or semantically equivalent code fragments of source code. Copy-and-paste programming allows software developers to improve development productivity, but it could produce code clones that can introduce non-trivial difficulties in software maintenance. In this paper, a code clone detection framework is presented with a feature extractor and a clone classifier using deep learning. The clone classifier is trained with true and false clones and then is tested with a test dataset to evaluate the performance of the proposed approach to clone detection. In particular, the proposed approach to clone detection uses Control Flow Graphs (CFGs) to extract features of a given code snippet. The selected features are used to compute similarity scores for comparing two code fragments. The clone classifier is trained and tested with similarity scores that quantify the degree of how similar two code fragments are. The experimental results demonstrate that using CFG features is a viable methodology in terms of the effectiveness of clone detection for both syntactic and semantic clones.</jats:p></dc:description><dc:publisher>Institute of Advanced Engineering and Science</dc:publisher><dc:date>2019-10-01</dc:date><dc:type>info:eu-repo/semantics/article</dc:type><dc:format>application/pdf</dc:format><dc:identifier>https://doi.org/10.11591/ijece.v9i5.pp3804-3812</dc:identifier><dc:identifier>10.11591/ijece.v9i5.pp3804-3812</dc:identifier><dc:source>International Journal of Electrical and Computer Engineering (IJECE); Vol 9 No 5 (2019); 3804</dc:source><dc:source>2722-2578</dc:source><dc:source>2088-8708</dc:source><dc:relation>http://ijece.iaescore.com/index.php/IJECE/article/viewFile/18650/12978</dc:relation><dc:rights>http://creativecommons.org/licenses/by-sa/4.0</dc:rights></oai_dc:dc>
Citations and indexing
OpenAlex
Indexed
via DOI
9 citations
Crossref
Not checked
Counts as reported by each index on 28 Okt 2026; indexes count citations differently.
OpenAlex also lists this work in: crossref.
Cite this article
APA 7
Kim, D. K. (2019). Enhancing code clone detection using control flow graphs. International Journal of Electrical and Computer Engineering (IJECE), 9(5). https://doi.org/10.11591/ijece.v9i5.pp3804-3812
Copy
IEEE
D. K. Kim, “Enhancing code clone detection using control flow graphs,” International Journal of Electrical and Computer Engineering (IJECE), vol. 9, no. 5, 2019, doi: 10.11591/ijece.v9i5.pp3804-3812.
Copy
Generated from the journal's metadata; check author names before use.