This Python 3 script creates a test bank for use with Python code clone detection tools to verify their accuracy.
- Type 1: exact copies
- Type 2: copies with renamed elements (ex. variables)
- Type 3: copies that have been slightly modified
- Type 4: "semantic" copies (code that is not copied, but does the same thing)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software
- Python 3.7+ (Download Link)
- pip 19+ (typically already installed with Python)
- Git (Download Link)
- Clone the repository
git clone github.com/calebdehaan/PycloneTestBankCreator.git
- Enter the repository directory
cd PycloneTestBankCreator
- Install dependencies
pip3 install -r requirements.txt
- Run the program
python3 creator.py
Python packages required for the tool to run
- None
- Python 3.7.x - The Python version used