Software Open Access

Exploring Design Smells for Smell-Based Defect Prediction

Sotto-Mayor, Bruno; Elmishali, Amir; Kalech, Meir; Abreu, Rui

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 (146.4 MB)
Name Size
code.zip
md5:f1baabc0cbe47cd207d01a0f976c7388
146.4 MB Download
109
16
views
downloads
All versions This version
Views 10982
Downloads 1612
Data volume 2.5 GB1.8 GB
Unique views 8769
Unique downloads 1511

Share

Cite as