phpcpd:适用于PHP代码的CopyPaste Detector(CPD)

时间:2021-04-01 00:51:43
【文件属性】:
文件名称:phpcpd:适用于PHP代码的CopyPaste Detector(CPD)
文件大小:20KB
文件格式:ZIP
更新时间:2021-04-01 00:51:43
PHP PHP复制/粘贴检测器(PHPCPD) phpcpd是用于PHP代码的复制/粘贴检测器(CPD)。 安装 该工具作为分发: $ wget https://phar.phpunit.de/phpcpd.phar $ php phpcpd.phar --version 建议使用管理项目的工具依赖项: $ phive install phpcpd $ ./tools/phpcpd --version 使用范例 $ php phpcpd.phar --fuzzy wordpress-5.5 phpcpd 6.0.0 by Sebastian Bergmann. Found 121 clones with 8137 duplicated lines in 69 files: - /home/sb/wordpress-5.5/wp-includes/sodium_compat/src/Co
【文件预览】:
phpcpd-master
----.psalm()
--------config.xml(456B)
--------baseline.xml(2KB)
----.gitignore(97B)
----src()
--------Exceptions()
--------Log()
--------Detector()
--------CLI()
--------CodeClone.php(2KB)
--------CodeCloneMapIterator.php(1KB)
--------CodeCloneMap.php(3KB)
--------CodeCloneFile.php(953B)
----LICENSE(2KB)
----composer.json(1KB)
----README.md(1KB)
----phpcpd(1KB)
----.gitattributes(279B)
----ChangeLog.md(3KB)

网友评论