首页> 中文期刊> 《计算机工程与设计》 >基于主题建模技术的克隆群映射方法

基于主题建模技术的克隆群映射方法

         

摘要

针对对源代码进行拷贝、粘贴及修改活动会导致软件中出现大量的克隆代码的问题,将主题建模技术应用于克隆代码,提出一种克隆群映射方法。运用主题建模技术将映射问题由高维的代码空间转化到低维的主题空间上,通过主题的映射间接实现映射相邻版本克隆群的目的。对4款开源软件进行方法评估,实验结果表明,使用该方法的查全率和查准率均高达0•99,其能够有效准确地实现相邻版本的克隆群映射。%The activities of the programmers including copy ,paste and modify result in lots of code clone in the software sys‐tems ,aiming at this problem ,the topic modeling techniques were applied into code clone firstly and a clone group mapping me‐thod was proposed .By using topic modeling techniques to transform the mapping problem of high‐dimensional code space into a low‐dimensional topic space ,the goal of clone group mapping was indirectly reached by mapping clone group topics .Results of experiments on four open source softwares show that the recall and precision are up to 0•99 ,thus the method can effectively and accurately reach the goal of clone group mapping .

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号