Generalizability of Code Clone Detection on CodeBERT

15Citations
Citations of this article
12Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Transformer networks such as CodeBERT already achieve outstanding results for code clone detection in benchmark datasets, so one could assume that this task has already been solved. However, code clone detection is not a trivial task. Semantic code clones, in particular, are challenging to detect. We show that the generalizability of CodeBERT decreases by evaluating two different subsets of Java code clones from BigCloneBench. We observe a significant drop in F1 score when we evaluate different code snippets and functionality IDs than those used for model building.

Cite

CITATION STYLE

APA

Sonnekalb, T., Gruner, B., Brust, C. A., & Mäder, P. (2022). Generalizability of Code Clone Detection on CodeBERT. In ACM International Conference Proceeding Series. Association for Computing Machinery. https://doi.org/10.1145/3551349.3561165

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free