Build CLI Application to Detect Plagiarism in Source Code Files

A CLI Application to detect plagiarism in Source Code Files.

Prerequisites

Installation

  • Clone this repository.
  • Run the following in the terminal.
cd <path_to_repository>
python setup.py install

This will install the package on your local system.

Commands

  • Check the version of Plag.
plag --version
  • Comparing Source Code Files for similarity.
plag compare ../data/file1.cpp ../data --filetype cpp 
  • Extracting features of a Source Code file.
plag extract ../data/file1.cpp
  • Handling user preferences
    • Show current preferences
    • Set a preference
    • Reset all preferences

Issues

  • In case of permission errors, try running the terminal as administrator.
     

Download Details: 
 

Author: DivyanshFalodiya

Official Website: https://github.com/DivyanshFalodiya/plagiarism-detector 

 

4.05 GEEK