Published October 20, 2020 | Version 0.1
Software Open

Exploring Design Smells for Smell-Based Defect Prediction

  • 1. Ben-Gurion University of the Negev, Beer-Sheva, Israe
  • 2. Software and Information Systems Engineering, BGU
  • 3. Faculty of Engineering of University of Porto, Portugal

Description

The archived file code.zip includes the software developed for the study in the article Exploring Design Smells for Smell-Based Defect Prediction.

After extracting the archived file, you will find several python files. To reproduce the results obtained in this study, you have to do the following steps. We assume the reader is using macos or linux, and has python3, pip, and make installed.

  1. Edit the file config.ini
    1. Set the path of RepoDir to a directory where the program will install the 97 projects. (expect ~20GB)
  2. Run, "make"

If there is an error equivalent to "may have been in progress in another thread when fork() was called".

Add the following line to your .bashrc:

export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES

For any other issues reproducing the code, contact us at mail@brunosottomayor.com.

Files

code.zip

Files (146.4 MB)

Name Size Download all
md5:f1baabc0cbe47cd207d01a0f976c7388
146.4 MB Preview Download