计算机科学 > 软件工程
[提交于 2022年8月26日]
标题:Generalizability of Code Clone Detection on CodeBERT
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Tim Sonnekalb[v1] 2022年8月26日 星期五 11:24:20 UTC