一句话:围绕跨语言代码克隆检测,指出缺乏共同底层表示,并归纳静态分析与动态分析两类解决路径。
论文关注跨语言代码克隆检测。成功的检测可帮助构建语言迁移工具、促进在掌握一门语言后学习其他语言,并推动代码片段在更广代码库中的复用。然而,任意语言之间缺少共同的底层表示,使克隆检测面临特殊挑战。摘要指出,要检测跨语言克隆,通常需要两类方案之一:其一是在每种目标语言上复制一套静态分析框架,并通过注解匹配各语言特性;其二是采用动态分析框架,根据运行时行为检测克隆。给定摘要未报告具体系统实现与实验评估结果。
Successful cross-language clone detection could enable researchers and developers to create robust language migration tools, facilitate learning additional programming languages once one is mastered, and promote reuse of code snippets over a broader codebase. However, identifying cross-language clones presents special challenges to the clone detection problem. A lack of common underlying representation between arbitrary languages means detecting clones requires one of the following solutions: 1) a static analysis framework replicated across each targeted language with annotations matching language features across all languages, or 2) a dynamic analysis framework that detects clones based on runtime behavior.