Publication:
Code Clone Detection with Convolutional Neural Networks

Loading...
Thumbnail Image

Institution Authors

Advisor

Department

Journal Title

Journal ISSN

Volume Title

Publisher

International Journal of Informatics Technologies

Research Projects

Organizational Units

Journal Issue

Abstract

Similar or identical code portions which are generated by copying and reusing code portions within the source code are named as code clones. While so many works have been conducted to detect these clones, they generally use string comparison techniques and very few of them take advantage of popular learning based approaches, such as deep learning. This paper proposes a new approach based on a popular and successful image classification technique named as convolutional neural network. It simply tokenizes each candidate clone pair in order to generate image files. Then, convolutional neural network is used to classify these image data with labels “clone” and “not clone”.  In order to train and test the network, clone and not clone pairs are chosen from a public database including six million methods. As a result, the approach gives 99% accuracy, effectively detects clones and not clones with 2-5% false alarms rates at method granularity.

Description

Journal or Series

Bilişim Teknolojileri Dergisi

ISSN

1307-9697

ISBN

Rights

OPEN

Keywords

Computer Software, kod klon tespiti, derin öğrenme, konvolüsyonel sinir ağı, Bilgisayar Yazılımı, code clone detection, deep learning, convolutional neural network

Citation

Collections

Endorsement

Review

Supplemented By

Referenced By

Related Patent

Related Goal

8
Görüntülenme
0
İndirme
Altmetric
Dimensions
PlumX Metrikleri
BIP! Indicators
Google Scholar
Scholar'da Ara ↗