require(kaiaulu)

This is a wrapper for Refactoring Miner. See README.md for setup details.

tool <- parse_config("../tools.yml")
conf <- parse_config("../conf/tomcat.yml")
rminer_path <- get_tool_project("refactoring_miner", tool)
git_repo_path <- get_git_repo_path(conf)
start_commit <- get_enumeration_commits(conf)[1]
end_commit <- get_enumeration_commits(conf)[2]

A sample of parsed refactorings is shown below in json format:

refactorings <- parse_java_code_refactoring_json(rminer_path,git_repo_path,start_commit,end_commit)

str(refactorings$commits[16])


sailuh/kaiaulu documentation built on Dec. 10, 2024, 3:14 a.m.