Java – Code / text detection for copy and paste?

I have a bunch of legacy JavaScript files that look very similar I want to implement a copy / paste code detection tool, but I can't find the description of the algorithm

Is there a "standard" algorithm for this problem? Is there any library to perform this analysis (Python or Java...)?

thank you.

Solution

You can look at clonedigger, which is designed to detect clones in Python or Java code, but the algorithm is described here

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>