Write a Blog >>
MSR 2019
Sun 26 - Mon 27 May 2019 Montreal, QC, Canada
co-located with ICSE 2019
Mon 27 May 2019 12:10 - 12:25 at Centre-Ville - Session VIII: Software Quality (part 2) Chair(s): Yasutaka Kamei

Clone detection across programs written in the same programming language has been studied extensively in the literature. On the contrary, the task of detecting clones across multiple programming languages has not been studied as much, and approaches based on comparison cannot be directly applied. In this paper, we present a clone detection method based on semi-supervised machine learning designed to detect clones across programming languages with similar syntax. Our method uses an unsupervised learning approach to learn token-level vector representations and an LSTM-based neural network to predict whether two code fragments are clones. To train our network, we present a cross-language code clone dataset - which is to the best of our knowledge the first of its kind - containing around 45,000 code fragments written in Java and Python. We evaluate our approach on the dataset we created and show that our method gives promising results when detecting similarities between code fragments written in Java and Python.

Mon 27 May

msr-2019-Paper-Presentations
11:55 - 12:30: MSR 2019 Paper Presentations - Session VIII: Software Quality (part 2) at Centre-Ville
Chair(s): Yasutaka KameiKyushu University
msr-2019-papers11:55 - 12:10
Full-paper
Pre-print
msr-2019-papers12:10 - 12:25
Full-paper
Daniel PerezImperial College London, Shigeru ChibaUniversity of Tokyo, Japan
Pre-print
msr-2019-Data-Showcase12:25 - 12:31
Talk
Marius Kamp, Patrick Kreutzer, Michael PhilippsenFriedrich-Alexander University Erlangen-Nürnberg (FAU)