diff --git a/bug-2022/.gitignore b/bug-2022/.gitignore new file mode 100644 index 0000000..d8d5cbf --- /dev/null +++ b/bug-2022/.gitignore @@ -0,0 +1,3 @@ +defects4j/ +sources/ + diff --git a/bug-2022/README.md b/bug-2022/README.md new file mode 100644 index 0000000..008095b --- /dev/null +++ b/bug-2022/README.md @@ -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/ +``` \ No newline at end of file