gui.RunWithPullRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of refactoring-miner Show documentation
Show all versions of refactoring-miner Show documentation
RefactoringMiner is a library/API written in Java that can detect refactorings applied in the history of a Java project.
package gui;
import gui.webdiff.WebDiff;
import org.refactoringminer.astDiff.models.ProjectASTDiff;
import org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl;
public class RunWithPullRequest {
public static void main(String[] args) throws Exception {
String repo = "https://github.com/JabRef/jabref.git";
//https://github.com/koppor/jabref/pull/687
//https://github.com/tsantalis/RefactoringMiner/pull/713
//https://github.com/tsantalis/RefactoringMiner/pull/745
//repo = "https://github.com/tsantalis/RefactoringMiner.git";
//repo = "https://github.com/koppor/jabref.git";
//https://github.com/JabRef/jabref/pull/11542
int PR = 10847;
PR = 11542;
//PR = 10957;
//PR = 11180;
//PR = 11207;
//PR = 8934;
//PR = 11245;
//PR = 719;
//PR = 745;
//PR = 687;
//https://github.com/JabRef/jabref/pull/11282
//PR = 11282;
//PR = 11399;
//https://github.com/JabRef/jabref/pull/11476
//PR = 11476;
//https://github.com/JabRef/jabref/pull/11430
//PR = 11430;
//https://github.com/openjdk/jfx/pull/1442/commits/974bf468c8261c61f8087aa6132824993ae89afd
//repo = "https://github.com/openjdk/jfx.git";
//PR = 1442;
//https://github.com/langchain4j/langchain4j/pull/1433
//repo = "https://github.com/langchain4j/langchain4j.git";
//PR = 1433;
ProjectASTDiff projectASTDiff = new GitHistoryRefactoringMinerImpl().diffAtPullRequest(repo, PR, 10000000);
new WebDiff(projectASTDiff).run();
}
}