Giter Club home page Giter Club logo

code-vision-cli's Introduction

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.


code-vision-cli's People

Contributors

saeedanabtawi avatar

Stargazers

 avatar

Watchers

 avatar

code-vision-cli's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.