29 lines
676 B
Python
29 lines
676 B
Python
SEPARATOR = "@"
|
|
CONFIG_PATH = "config.yml"
|
|
|
|
REL_TABLES = [
|
|
"blobs",
|
|
"commits",
|
|
"filepaths",
|
|
"commit_relations",
|
|
"steps",
|
|
"blob_commit_relations",
|
|
"blob_methods",
|
|
"clone_relations_function",
|
|
"method_function_relations",
|
|
]
|
|
|
|
STEPS = {
|
|
"1": "blob extraction",
|
|
"2": "commit extraction",
|
|
"3": "commit relation extraction",
|
|
"4": "blob commit relation extraction",
|
|
"5": "blob target folder extraction",
|
|
"6": "clone detection",
|
|
"7": "blob method extraction",
|
|
"8": "method function extraction",
|
|
"9": "updating function id",
|
|
"10": "function clone relation extraction",
|
|
"11": "Risk clone pair evaluation",
|
|
}
|