arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.08497cs.SE
收藏

代码克隆的发展与展望

The Development and Prospect of Code Clone

Xunhui Zhang, Tao Wang, Yue Yu, Yanzhi Zhang, Yan Zhong, Huaimin Wang

摘要:

代码克隆技术的应用加速了代码搜索,提高了代码重用效率,并辅助软件质量评估和代码漏洞检测。然而,代码克隆的应用也引入了软件质量问题,并增加了软件维护的成本。代码克隆作为软件工程中的一个重要研究领域,得到了研究者们的广泛探索和研究,各个子研究领域的相关研究不断涌现,包括代码克隆检测、代码克隆进化、代码克隆分析等,但缺乏对整个代码克隆领域的全面探索,以及对各个子研究领域发展趋势的分析。本文收集了近十年来有关代码克隆的研究成果。概括而言,本文的贡献主要包括:(1)对代码克隆的各个子研究领域进行了归纳和分类,并探讨了各个子研究领域的相对流行程度和相互关系;(2)分析了代码克隆的总体研究趋势和各个子研究领域的发展趋势;(3)比较分析了学术界和产业界在代码克隆研究方面的差异;(4)分析了代码克隆的发展趋势。(4)构建研究者网络,挖掘代码克隆研究领域的主要贡献者;(5)统计分析热门会议和期刊名单。未来的研究热点包括克隆可视化、克隆管理等。对于克隆检测技术,研究人员可以针对特定的克隆检测任务和环境,优化方法的可扩展性和执行效率,也可以将该技术不断应用于其他相关研究领域。

英文摘要:

The application of code clone technology accelerates code search, improves code reuse efficiency, and assists in software quality assessment and code vulnerability detection. However, the application of code clones also introduces software quality issues and increases the cost of software maintenance. As an important research field in software engineering, code clone has been extensively explored and studied by researchers, and related studies on various sub-research fields have emerged, including code clone detection, code clone evolution, code clone analysis, etc. However, there lacks a comprehensive exploration of the entire field of code clone, as well as an analysis of the trend of each sub-research field. This paper collects related work of code clones in the past ten years. In summary, the contributions of this paper mainly include: (1) summarize and classify the sub-research fields of code clone, and explore the relative popularity and relation of these sub-research fields; (2) analyze the overall research trend of code clone and each sub-research field; (3) compare and analyze the difference between academy and industry regarding code clone research; (4) construct a network of researchers, and excavate the major contributors in code clone research field; (5) The list of popular conferences and journals was statistically analyzed. The popular research directions in the future include clone visualization, clone management, etc. For the clone detection technique, researchers can optimize the scalability and execution efficiency of the method, targeting particular clone detection tasks and contextual environments, or apply the technology to other related research fields continuously.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑