返回
A parallel deep learning-based code clone detection model
DOI:10.1016/j.jpdc.2023.104747.png)
摘要
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.
Keyword:
Code clone detection
Abstract syntax tree
Code representation
Temporal convolutional network
期刊
IF:
4
论文数:
3.8K
被引数:
4.8K
机构
引用论文
Children's experiences of chronic fatigue syndrome/myalgic encephalomyelitis (CFS/ME): a systematic review and meta-ethnography of qualitative studies
BMJ Open
IF0
Deep learning application on code clone detection: A review of current knowledge深度学习在代码克隆检测中的应用: 当前知识综述

