arrow
Return

A parallel deep learning-based code clone detection model

delete2023-11-01
delete2
PRE
AI
X
Xiangping Zhang
J
Jianxun Liu *
M
Min Shi
DOI:10.1016/j.jpdc.2023.104747delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Code clone detection is a crucial task in software development and maintenance. While deep learning-based methods have been proposed to tackle this problem, most of them neglect the time and memory consumption issues which can be significant when working with limited computational resources. Given the inability of recurrent neural networks to train in a parallel manner, this paper presents a parallel code clone detection model based on temporal convolutional networks. The proposed method splits the corresponding abstract syntax tree into a set of code statement sequences, utilizes a temporal convolutional neural network to generate representations containing complexity features found in the source code, and finally measures the distance between these representations. The proposed method is evaluated on a real-world dataset for code clone detection, and the experimental results demonstrate that it performs comparably to state-of-the-art methods while requiring significantly less time and memory costs. & COPY; 2023 Elsevier Inc. All rights reserved.
Keywords:
Code clone detection
Abstract syntax tree
Code representation
Temporal convolutional network

Journal

Journal of Parallel and Distributed Computing cover
Journal of Parallel and Distributed Computing
IF:
4
Papers:
3.8K
Citations:
4.8K

Organization

H
Harvard University
Scholars:
26.5W
Papers: 22.0W
Citations: 28.7W
Cited Papers

Cited Papers

Plagiarism detection in students' programming assignments based on semantics: multimedia e-learning based smart assessment methodology
err2018-03-12
err25
PREAI
errUllah, Farhan; Wang, Junfeng; Farhan, Muhammad; Jabbar, Sohail; Wu, Zhiming; Khalid, Shehzad
errShare
errSave
Children's experiences of chronic fatigue syndrome/myalgic encephalomyelitis (CFS/ME): a systematic review and meta-ethnography of qualitative studies
err2017-01-13
err0
errOAAI
errRoxanne M Parslow; Sarah Harris; Jessica Broughton; Adla Alattas; Esther Crawley; Kirstie Haywood; Alison Shaw
errShare
errSave
Software Plagiarism Detection with Birthmarks Based on Dynamic Key Instruction Sequences
err2015-12-01
err47
errOAAI
errTian, Zhenzhou; Zheng, Qinghua; Liu, Ting; Fan, Ming; Zhuang, Eryue; Yang, Zijiang
errShare
errSave
ROSF: Leveraging Information Retrieval and Supervised Learning for Recommending Code Snippets
err2019-01-01
err54
errOAAI
errJiang, He; Nie, Liming; Sun, Zeyi; Ren, Zhilei; Kong, Weiqiang; Zhang, Tao; Luo, Xiapu
errShare
errSave
The carotid body—a quantitative assessment in children
err2007-04-03
err0
PREAI
errF. DINSDALE; J. L. EMERY; D. R. GADSDON
errShare
errSave
Deep learning application on code clone detection: A review of current knowledge
err2022-02-01
err29
PREAI
errLei, Maggie; Li, Hao; Li, Ji; Aundhkar, Namrata; Kim, Dae-Kyoo
errShare
errSave
FCCA: Hybrid Code Representation for Functional Clone Detection Using Attention Networks
err2021-03-01
err58
errOAAI
errHua, Wei; Sui, Yulei; Wan, Yao; Liu, Guangzhong; Xu, Guandong
errShare
errSave
researcher View more