orphanblack:用于软件克隆检测的静态分析

时间:2021-05-14 14:06:07
【文件属性】:
文件名称:orphanblack:用于软件克隆检测的静态分析
文件大小:2.12MB
文件格式:ZIP
更新时间:2021-05-14 14:06:07
Java orphanblack :用于软件克隆检测的静态分析 目前仅适用于Python,并计划扩展到C ++,Java等! 安装 我认为事情是通过PyPI设置的, $ pip install orphanblack 应该管用。 因为该软件是早期版本,并且这是我的第一个python软件包,所以如果有一些麻烦请原谅。 用法 orphanblack是一个复杂的工具,在引擎盖下有很多设置,可以进行处理和显示。 尽可能使用明智的默认值。 首先,下面将分析单个python模块的克隆。 $ cd path/to/your/code $ orphanblack scan *.py ... $ orphanblack report --verbose Found 11 clones ... 也可以将结果输出为网页。 扫描代码后,只需运行 $ orphanblack html -o results.html
【文件预览】:
orphanblack-master
----MANIFEST.in(243B)
----LICENSE.txt(32KB)
----orphanblack()
--------js_antlr.py(3KB)
--------default_manifests()
--------report.py(4KB)
--------lua_antlr.py(3KB)
--------java_antlr.py(3KB)
--------parameters.py(370B)
--------html_writer.py(1KB)
--------__init__.py(18B)
--------python_compiler.py(8KB)
--------java_antlr()
--------cli.py(8KB)
--------abstract_syntax_tree.py(11KB)
--------clone_detection_algorithm.py(15KB)
--------manifest.py(12KB)
--------templates()
--------anti_unification.py(6KB)
--------api.py(258B)
--------antlr_runtime()
--------lua_antlr()
--------ast_suppliers.py(1KB)
--------js_antlr()
--------suffix_tree.py(5KB)
----test-register.sh(298B)
----mkdocs.yml(523B)
----setup.cfg(39B)
----setup.py(1KB)
----README.md(5KB)
----docs()
--------index.md(3KB)
--------api.md(1KB)
--------quickstart.md(486B)
--------cli.md(1KB)
--------configuration.md(2KB)
--------faq.md(3KB)
--------manifests.md(4KB)
--------changelog.md(2KB)
----.gitignore(114B)

网友评论