copy the configuration template and rename it using commandcp ./config.template.yml ./config.yml
set the section of the config with the hints in the template
Java
To run the clone detector NIL, jdk 1.8+ is needed.
run the project
Start collecting data for repositories by running the following commands:
git clone https://gitlink.org.cn/MillerEvan/bad_clone_prediction.git
cp repos.example repos # You need to add your own repositories in the repos file
conda activate bad_clone
python RCDMain.py
Delete the data for specific repositories:
cp delete_repos.example delete_repos # You need to add your own repositories in the delete_repos file
python deleteProject.py
RCD: Risky Clone Detection
This is a project for finding factors related to bad clones.
Install environments:
conda create -n bad_clone python=3.7.11
.conda activate bad_clone
pip install -r requirements.txt
cp ./config.template.yml ./config.yml
run the project
Start collecting data for repositories by running the following commands:
Delete the data for specific repositories: