A tool that calculate the differences between source code and patch, a sort of validating a patch to rank it.
#STATIC
- Put your desired source code in src/main/java.
- Compile the codes with "mvn compile".
- Create a new environment variable "iPatchValidator" and set the path to target ( where your project is located PATH TO ~HOME\iPatchValidator)
- Run the tool then you will get the output in a log file and terminal.
#DYNAMIC
- run "mvn clean install"
- run "mvn test" to ensure that you generate compiled tests
- run main first time to generate classes
- run again main to generate dynamic CFG
Implement a Dynamic Analysis for testing a (Passing/Failing) test cases using patches as input:
- Input can be a manually inserted patches.
The expected output: calculate the patches (to find the changes) for below:
- ControlFlow
- Variables
Every dependency is already mentioned in the pom, mainly this project is based on Sootup 1.1.2 Version
JAVA 17 Apache Maven 3.9.1
V1.0