This Github repository does not contain the full replication kit and has possibly been modified to suit my needs.
The full original replication kit is available at: https://user.informatik.uni-goettingen.de/~ftrauts/replication_kit_01.tar.gz
Replication Kit for the Paper "Are there any Unit Tests? An Empirical Study on Open Source Python Projects"
Contents:
- Used version of the vcsSHARK
- located in “vcsSHARK”
- Used version of the testImpSHARK
- located in “testImpSHARK”
- Analysis implementations
- located in “testImpSHARK/testimpshark/analysis”
- Raw Data CSV Files
- located in “testImpSHARK/testimpshark/analysis/data
- Raw MongoDB
- located in “mongo_backup”
Usage:
-
Usage instructions for the vcsSHARK is given on its github homepage (http://ftrautsch.github.io/vcsSHARK/index.html) or directly in the “vcsSHARK/pyvcsshark/main.py” file
-
Usage instructions for the testImpSHARK:
- if only one revision should be analyzed use “testImpSHARK/main.py”
- if all revisions should be analyzed use “testImpSHARK/execution.py”
- in both files concrete instructions can be found
-
Each analysis file is commented. For some of them (rq1_boxplot.py and rq4.py the connection to the MongoDB must be changed). For the R files, the path to the data must be adapted. Otherwise, the files can be directly executed.
-
The MongoDB can be restored via: mongorestore --gzip --archive=smartshark040816.gz --db smartshark --host --port --username --password --authenticationDatabase <AUTHENTICATION_DATABASE>
Tests:
- The tests can be run directly via the unittest framework of python: e.g., python -m unittest tests/test_common.py