EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

CLCD-I: Cross-Language Clone Detection by Using Deep Learning with InferCode

Mohammad A. Yahya, Dae-Kyoo Kim

Computers · 04.01.2023 · 12 (1) · 12

DOI: 10.3390/computers12010012 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Computers, online erschienen am 04.01.2023. Verfasst von Mohammad A. Yahya und 1 weiteren Autor:innen. Die Arbeit wurde bisher 45-mal zitiert (Crossref) und nennt 46 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Source code clones are common in software development as part of reuse practice. However, they are also often a source of errors compromising software maintainability. The existing work on code clone detection mainly focuses on clones in a single programming language. However, nowadays software is increasingly developed on a multilanguage platform on which code is reused across different programming languages. Detecting code clones in such a platform is challenging and has not been studied much. In this paper, we present CLCD-I, a deep neural network-based approach for detecting cross-language code clones by using InferCode which is an embedding technique for source code. The design of our model is twofold: (a) taking as input InferCode embeddings of source code in two different programming languages and (b) forwarding them to a Siamese architecture for comparative processing. We compare the performance of CLCD-I with LSTM autoencoders and the existing approaches on cross-language code clone detection. The evaluation shows the CLCD-I outperforms LSTM autoencoders by 30% on average and the existing approaches by 15% on average.

Zitieren

APA

Yahya, M. A., & Kim, D. (2023). CLCD-I: Cross-Language Clone Detection by Using Deep Learning with InferCode. Computers, 12(1), 12. https://doi.org/10.3390/computers12010012

Vancouver

Yahya MA, Kim D. CLCD-I: Cross-Language Clone Detection by Using Deep Learning with InferCode. Computers. 2023;12(1):12. doi:10.3390/computers12010012

BibTeX
@article{Yahya2023,
  author = {Yahya, Mohammad A. and Kim, Dae-Kyoo},
  title = {CLCD-I: Cross-Language Clone Detection by Using Deep Learning with InferCode},
  journal = {Computers},
  year = {2023},
  volume = {12},
  number = {1},
  pages = {12},
  doi = {10.3390/computers12010012}
}
Kostenlos starten →