12#ifndef SIMILAR_FUNCTION_FINDER_HPP
13#define SIMILAR_FUNCTION_FINDER_HPP
31 string EMPTY_PATH_MESSAGE_1 =
"There is no functions that resembles the name: ";
32 string EMPTY_PATH_MESSAGE_2 =
"Value incorrected passed or there is no duplication code with this function";
33 string REFERENCE_PATH_MESSAGE =
"The following function was found:";
34 string COUNT_MESSAGE_1 =
"The total number of functions that are similar to the found one is ";
35 string COUNT_MESSAGE_2 =
". More info about them are listed below.";
38 string function_pattern;
44 void find_path_that_meets_pattern();
49 void print_empty_path_message();
55 void print_function(
Path path);
60 void print_reference_path();
66 void print_similar_functions(vector<Path> similar_paths);
71 void print_similar_functions();
Path manipulation class for tool-specific directory structure.
Similar function locator and reporter.
Similar_Function_Finder(string _function_pattern, Similarity_Table *_similarity_table)
Constructs finder and initiates search.
Manages and analyzes function similarity relationships.
Function abstraction for temporary codebase.
Path abstraction for temporary codebase.
Similarity relationships storage and analysis.
Defines utility functions used across all files.