Skip to content

DZimo/iPatchValidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iPatchValidator

A tool that calculate the differences between source code and patch, a sort of validating a patch to rank it.

How to run ?

#STATIC

  1. Put your desired source code in src/main/java.
  2. Compile the codes with "mvn compile".
  3. Create a new environment variable "iPatchValidator" and set the path to target ( where your project is located PATH TO ~HOME\iPatchValidator)
  4. Run the tool then you will get the output in a log file and terminal.

#DYNAMIC

  1. run "mvn clean install"
  2. run "mvn test" to ensure that you generate compiled tests
  3. run main first time to generate classes
  4. run again main to generate dynamic CFG

Project Description:

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

Dependencies

Every dependency is already mentioned in the pom, mainly this project is based on Sootup 1.1.2 Version

REQUIREMENTS:

JAVA 17 Apache Maven 3.9.1

VERSION:

V1.0

About

A tool that calculate the differences between source code and patch, a sort of validating a patch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages