In this paper, we present an approach for transferring an optimal lower size threshold for clone detection from one language to another by analyzing their clone distributions. We showcase this method by transferring the threshold from regular Python scripts to Jupyter notebooks for using in two JetBrains IDEs, Datalore and DataSpell.
翻译:本文提出了一种方法,通过分析不同语言的克隆分布,将克隆检测的最优大小下界阈值从一种语言迁移至另一种语言。我们通过将该阈值从常规Python脚本迁移至Jupyter笔记本,并在两个JetBrains IDE(Datalore和DataSpell)中应用,展示了该方法的有效性。