Code Vision - Command Line Interface (CLI)
Code Vision CLI is a powerful tool for detecting plagiarism in source code, drawing inspiration from two pivotal research papers in the field. The first paper, titled "A Clustering Approach for Detecting Plagiarism in Source Code Data sets," and the second, "A Hybrid Method for Detecting Source-code Plagiarism in Computer Programming Courses," provide the foundational methodologies for our program. This tool excels in analyzing a collection of source files, identifying instances of plagiarism, and presenting these findings through an intuitive visual format, utilizing a weighted graph clustering algorithm.
This project harnesses the capabilities of well-regarded open-source compilers and parsers, notably pycparser, which is predominantly used for research and experimental endeavors. Code Vision CLI is particularly adept with the C99 standard, ensuring broad applicability and relevance in various coding environments.
You can check our whitepaper here CodeVision
Installation
pip install code-vision-cli
Usage
python code-vision-cli -i input -o output -a lcs -t 0.8
Manual
-h, --help show this help message and exit
-i IN_DIR, --in_dir IN_DIR
Input directory must be in the project folder
-o OUT_DIR, --out_dir OUT_DIR
Output directory must be in the project folder
-a {jaccard,lcs}, --algorithm {jaccard,lcs}
Algorithm to use: "jaccard" or "lcs"
-t THRESHOLD, --threshold THRESHOLD
Threshold value between 0.00 and 1.00
Contributions
We openly welcome pull requests! If you're interested in contributing to the development of Code Vision CLI, your input and code contributions would be greatly appreciated.
License
This project is released under the MIT License. Feel free to utilize, modify, and distribute this tool in accordance with the license specifications.
Metadata
Release files for code-vision-cli 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| code-vision-cli-0.1.6.tar.gz | 10.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| code_vision_cli-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.3 kB
Release files / code-vision-cli-0.1.6.tar.gz
| Download URL | code-vision-cli-0.1.6.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87651a6bf729f13a5dc0c84f1fc955ca7d7bdd3f06c3d97db10b77e3885f136b
|
|
BLAKE2b-256 checksum How to use checksums |
82b67c9e0a6f1516344b9c72e6c326d7ee7e533f82f797066eadd00bd00f9012
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / code_vision_cli-0.1.6-py3-none-any.whl
| Download URL | code_vision_cli-0.1.6-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd55c14bb00b099c1db676363697f704382a4686cd632b5094b187937c4fea54
|
|
BLAKE2b-256 checksum How to use checksums |
e2afe7b2561382f322a10279bf4d4d32a12e14f0345d87a699f49c7d5209bd78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|