首页> 外国专利> METHOD-LEVEL CLONE ANALYSIS METHOD

METHOD-LEVEL CLONE ANALYSIS METHOD

机译:方法级别克隆分析方法

摘要

PROBLEM TO BE SOLVED: To provide a method of performing a method-level clone analysis using a code clone detection tool applied at a file level.;SOLUTION: A method-level clone analysis method includes the steps of: allocating an ID for uniquely identifying a method to each method defined in each of all source files within an analysis target folder to generate a method list while making the ID, a file path of each source file including the method, and positional information on the method in association with each other; dividing each of the source files into methods, and generating a method unit file on the basis of the method list, the method unit file being constituted by one method and having the ID as a file name, the method unit file being generated at a position of the same file path as that of the source file including the one method; and performing a clone analysis by applying a code clone detection tool applied at a file level to the generated method unit file, the steps being executed by a data processing apparatus.;COPYRIGHT: (C)2015,JPO&INPIT
机译:解决的问题:提供一种使用文件级应用的代码克隆检测工具执行方法级克隆分析的方法;解决方案:方法级克隆分析方法包括以下步骤:分配ID以唯一标识在分析目标文件夹内的所有源文件中的每个中定义的每个方法的方法,以在使ID,包括该方法的每个源文件的文件路径以及关于该方法的位置信息彼此关联的同时生成方法列表;将每个源文件划分为方法,并根据方法列表生成方法单元文件,该方法单元文件由一种方法构成,并以ID作为文件名,该方法单元文件在某个位置生成与源文件相同的文件路径,包括一种方法;通过将以文件级别应用的代码克隆检测工具应用于所生成的方法单元文件来执行克隆分析,该步骤由数据处理设备执行。版权所有:(C)2015,JPO&INPIT

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号