Arkanjo 0.1
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
orchestrator.hpp
Go to the documentation of this file.
1
13#include <bits/stdc++.h>
14
15#include "base/path.hpp"
16#include "base/function.hpp"
17#include "base/utils.hpp"
26#include "pre/preprocessor.hpp"
27using namespace std;
28
37 private:
41 void help_command();
42
48 void check_update_similarity(vector<string> parameters, Similarity_Table *similarity_table);
49
55 bool check_force_preprocess(vector<string> parameters);
56
61 void call_preprocess(vector<string> parameters);
62
68 void exploration_command(vector<string> parameters, Similarity_Table *similarity_table);
69
75 void random_command(vector<string> parameters, Similarity_Table *similarity_table);
76
82 void duplication_command(vector<string> parameters, Similarity_Table *similarity_table);
83
89 void big_clone_formater_command(vector<string> parameters, Similarity_Table *similarity_table);
90
96 void big_clone_tailor_evaluator_command(vector<string> parameters, Similarity_Table *similarity_table);
97
103 void similar_function_finder_command(vector<string> parameters, Similarity_Table *similarity_table);
104
105 public:
111 Orchestrator(string command, vector<string> parameters);
112};
BigCloneEval format conversion interface.
BigCloneBench evaluation interface * Provides evaluation metrics compatible with BigCloneBench datase...
Main command orchestrator.
Orchestrator(string command, vector< string > parameters)
Constructs orchestrator and executes requested command.
Manages and analyzes function similarity relationships.
Code duplication reporting system.
Trie-based code duplication counter.
Function abstraction for temporary codebase.
Definition json.hpp:5678
Path abstraction for temporary codebase.
Codebase preprocessing interface.
Random selection of similar code pairs.
Similar function locator interface.
Duplicate function exploration interface.
Similarity relationships storage and analysis.
Defines utility functions used across all files.