Clone Digger的目的是在Python和Java程序中检测类似的代码。
clonedigger的Python项目详细描述
可在http://clonedigger.sourceforge.net
克隆挖掘是寻找软件克隆的工具。 目前只支持python语言,java支持很快就会增加。 详情见网站。
用法
运行clone digger的最简单方法是:
clonedigger source_file_1 source_file_2 ...
或:
clonedigger --recursive path_to_source_tree
不要忘记从源树中删除自动生成的源、测试和第三方库。
有关更复杂的参数,请参见http://clonedigger.sourceforge.net/documentation.html。
可用的参数也可以使用“-help”获得。