- Danny Dig
- Michael Hilton
- Hoan Anh Nguyen (Project Lead)
- Son Nguyen
- Tien N. Nguyen
- Hieu Tran
- Graph-based Mining of In-the-Wild, Fine-grained, Semantic Code Change Patterns (The 41st ACM/IEEE International Conference on Software Engineering (ICSE 2019) - Technical Track)
AtomicASTChangeMining: extracts change graphs from commits.
SemanticChangeGraphMiner: mines change templates from change graphs.
arguments:
-i input_repos_root_path: each sub folder is a git repo
-o output_path: where the graphs are stored
reposPath = input_repos_root_path: a sub folder is a git repo
changesPath = change_graph_path: output_path of the extraction step
file list.csv under reposPath: a text file containing the names of repos to be processed, one repo name on each line. ls reposPath > list.csv to create this file if you want to process all repos
output: in a directory patterns/input_repos_root_path-hybrid under the working directory
note: the directory https://github.com/nguyenhoan/CPatMiner/tree/master/SemanticChangeGraphMiner/src/resources has to be in a directory named src under the working directory.
All software provided in this repository is subject to the Apache License Version 2.0.