From 5d83dd771b16d9fa99c1fff8f55c62fe1120fae1 Mon Sep 17 00:00:00 2001 From: Claudio Maggioni Date: Wed, 15 Feb 2023 17:23:01 +0100 Subject: [PATCH] bug-2022: added setup instructions --- bug-2022/.gitignore | 3 +++ bug-2022/README.md | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 bug-2022/.gitignore create mode 100644 bug-2022/README.md 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