[1]侯 敏,张丽萍.克隆代码检测技术研究[J].计算机技术与发展,2019,29(08):86-91.[doi:10. 3969 / j. issn. 1673-629X. 2019. 08. 017]
 HOU Min,ZHANG Li-ping.Research on Software Clone Detection Technology[J].,2019,29(08):86-91.[doi:10. 3969 / j. issn. 1673-629X. 2019. 08. 017]
点击复制

克隆代码检测技术研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
29
期数:
2019年08期
页码:
86-91
栏目:
智能、算法、系统工程
出版日期:
2019-08-10

文章信息/Info

Title:
Research on Software Clone Detection Technology
文章编号:
1673-629X(2019)08-0086-06
作者:
侯 敏张丽萍
内蒙古师范大学 计算机与信息工程学院,内蒙古 呼和浩特 010022
Author(s):
HOU MinZHANG Li-ping
School of Computer and Information Engineering,Inner Mongolia Normal University,Hohhot 010022,China
关键词:
软件维护克隆代码克隆检测克隆管理
Keywords:
software maintenanceclone codeclone detectionclone management
分类号:
TP311.5
DOI:
10. 3969 / j. issn. 1673-629X. 2019. 08. 017
摘要:
在软件项目开发中复制代码片断是一个常见的现象,然后通过粘贴或修改之后再利用,这种重复使用的代码叫做克隆代码(clone code)。 长期研究发现克隆代码可能会影响软件系统的质量,特别是对软件的维护和阅读理解,所以经常需要对其进行寻找定位。在寻找克隆代码的研究过程中,许多克隆检测技术和检测工具相继被提出,而如何能够更好地利用这些检测技术和工具将是非常重要的。通过对克隆代码相关领域的大量研究,文中阐述了克隆代码的定义、克隆相关术语及克隆类型;描述了克隆代码检测的一般过程;介绍了不同克隆代码检测方法及相关技术,以及对应各种技术开发的检测工具,并对各种方法进行了总结分析;分析了克隆检测技术在各领域的具体应用,并对其发展方向进行了展望。
Abstract:
It is a common phenomenon to copy a code fragment then reuse it after pasting or modifying in software project development.The reusable code is called clone code. Long-term studies have found that cloning code may affect the quality of software system,especially the maintenance and reading comprehension of software,so it is often necessary to locate it. In the process of searching for clone code,many clone detection techniques and detection tools have been proposed one after another,and how to make better use of them will be very important. We elaborate the definition and related terms and types of clone codes through a lot of research in the related fields of clone codes, describe the process of clone code detection, introduce different clone code detection methods and related technologies,as well as detection tools developed corresponding to various technologies,and summarize and analyze various methods.Finally,the application of clone detection technology in various fields is analyzed and the development direction is prospected.

相似文献/References:

[1]严秀 李龙澍.软件逆向工程技术研究[J].计算机技术与发展,2009,(04):20.
 YAN Xiu,LI Long-shu.Research of Technology in Software Reverse Engineering[J].,2009,(08):20.
[2]阚红星 马溪骏 桂宏新.基于COCOMOⅡ的自动测试维护代价实例研究[J].计算机技术与发展,2008,(11):47.
 KAN Hong-xing,ma Xi-jun,GUI Hong-xin.A Case Study on Maintenance Cost for Regression Test Automation Based on COCOMO Ⅱ[J].,2008,(08):47.
[3]丁剑洁 鱼滨 侯红.软件维护中程序理解的应用与研究[J].计算机技术与发展,2007,(04):218.
 DING Jian-Jie,YU Bin,HOU Hong.Research and Application of Program Understanding in the Software Maintenance[J].,2007,(08):218.
[4]陈永郑 李龙澍.基于程序切片技术的回归测试方法研究[J].计算机技术与发展,2007,(12):113.
 CHEN Yong-zheng,LI Long-shu.Regression Testing Based on Program Slicing[J].,2007,(08):113.
[5]姜文,刘立康. 现代应用软件的维护与技术支持[J].计算机技术与发展,2015,25(04):116.
 JIANG Wen,LIU Li-kang. Maintenance and Technical Support of Modern Application Software[J].,2015,25(08):116.
[6]贾 清,杨 抒.基于 Word2vec 的克隆代码检测方法研究[J].计算机技术与发展,2020,30(08):124.[doi:10. 3969 / j. issn. 1673-629X. 2020. 08. 021]
 JIA Qing,YANG Shu.Research on Clone Code Detection Method Based on Word2vec[J].,2020,30(08):124.[doi:10. 3969 / j. issn. 1673-629X. 2020. 08. 021]

更新日期/Last Update: 2019-08-10