bad_clone_prediction/GlobalConstants.py

29 lines
676 B
Python
Raw Normal View History

2022-08-05 17:13:43 +08:00
SEPARATOR = "@"
2022-08-06 14:09:28 +08:00
CONFIG_PATH = "config.yml"
2022-08-14 17:07:24 +08:00
REL_TABLES = [
"blobs",
"commits",
"filepaths",
"commit_relations",
"steps",
2022-08-14 17:07:24 +08:00
"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",
2022-09-03 11:26:23 +08:00
"11": "Risk clone pair evaluation",
}