bug-2022: added setup instructions

This commit is contained in:
Claudio Maggioni 2023-02-15 17:23:01 +01:00
parent 0ee4bb302b
commit 5d83dd771b
2 changed files with 23 additions and 0 deletions

3
bug-2022/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
defects4j/
sources/

20
bug-2022/README.md Normal file
View file

@ -0,0 +1,20 @@
# IMA - Bug prediction project
## Setup
The following dependencies are required to run `defects4j`:
```shell
brew install git svn perl wget cpanminus
```
To install `defects4j` and checkout the required project for analysis run:
```shell
mkdir -p sources
git clone https://github.com/rjust/defects4j
cd defects4j
cpanm --installdeps .
./init.sh
./framework/bin/defects4j checkout -p Closure -v 1f -w ../sources/
```