We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 months ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
PMD 是查找代码重复的好工具。这是该网站的链接。
PMD is a good tool to find code duplication. Here is a link to the site.
请参阅我们的 CloneDR 工具。它在大型软件系统中查找重复代码,使用编译器精确的解析来查找由语言语法引导的匹配(AST 匹配),忽略空格和换行符的变化。它将找到精确的重复项和几乎未命中的重复项。对于近似重复项,其将近似失误的差异报告为参数;它几乎告诉您如何为克隆编写替换子例程。
CloneDR 可在多种语言上运行:C、C++、C#、COBOL、EGL、Java、JavaScript、PHP、Python 等等。
可以在链接中找到每种检测报告的示例。
See our CloneDR tool. It finds duplicate code across large software systems, using compiler-accurate parsing to find matches guided by the language syntax (AST matching), ignoring changes in whitespace and linebreaks. It will find exact duplicates, and near-miss duplicates. For near-duplicates, its reports the differences in the near-misses as parameters; it almost tells you how to code a replacement subroutine for the clones.
CloneDR operates on a variety of languages: C, C++, C#, COBOL, EGL, Java, JavaScript, PHP, Python and many more.
Example detection reports for each of these can be found at the link.
我非常喜欢CCFinderX,但它是废弃软件。
I like CCFinderX a lot, but it is abandonware.