require(kaiaulu)

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

tool <- yaml::read_yaml("../tools.yml")
conf <- yaml::read_yaml("../conf/tomcat.yml")
rminer_path <- tool[["refactoring_miner"]]
git_repo_path <- conf[["version_control"]][["log"]]
start_commit <- conf[["analysis"]][["enumeration"]][["commit"]][1]
end_commit <- conf[["analysis"]][["enumeration"]][["commit"]][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 April 17, 2024, 2:21 a.m.