摘要
互联网中的开源项目及代码示例存在许多克隆代码。克隆代码的存在使得程序员需要花费很多的时间从代码搜索返回的结果中获取有用代码。通过使用克隆代码检测技术对代码搜索引擎返回的结果进行分类可有效解决这个问题。实验测试结果展示克隆代码检测将给用户搜索带来便利,搜索准确度以及搜索界面更加友好,同时验证了其搜索时间没有显著影响到搜索效率。
There are many cloning code for open source projects and code examples in the Internet.The presence of clone code allows the programmer to spend a lot of time retrieving useful code from the results returned by the code search.The use of clone code detection technology to code search engine to return the results of the classification can effectively solve this problem.Experimental test results show that clone code detection will facilitate user search,search accuracy and search interface is more friendly,and verify that the search time did not significantly affect the search efficiency.
作者
黄丽韶
Huang Lishao(School of Electronics and Information Engineering,Hunan University of Science and Engineering,Yongzhou Hunan 425199,China)
出处
《信息与电脑》
2017年第13期18-19,23,共3页
Information & Computer
基金
永州市科技局指导性科技计划项目(永科发[2015]9号
项目编号:16)
湖南科技学院一般科学研究项目(项目编号:16XKY052)