|
Arkanjo 0.1
A tool for find code duplicated functions in codebases
|
Duplicate function explorer and analyzer. More...
#include <similarity_explorer.hpp>
Public Member Functions | |
| Similarity_Explorer (Similarity_Table *_similarity_table, int _limit_on_results, string _pattern_to_match, bool _both_path_need_to_match, bool sorted_by_number_of_duplicated_code=false) | |
| Constructs explorer with configuration. | |
Public Attributes | |
| int | UNLIMITED_RESULTS = 0 |
| Constant for unlimited results display. | |
| string | EMPTY_PATTERN = "" |
| Constant for empty search pattern. | |
Duplicate function explorer and analyzer.
Enables exploration of duplicate functions with configurable filtering and sorting capabilities to identify code duplication patterns.
Definition at line 30 of file similarity_explorer.hpp.
| Similarity_Explorer::Similarity_Explorer | ( | Similarity_Table * | _similarity_table, |
| int | _limit_on_results, | ||
| string | _pattern_to_match, | ||
| bool | _both_path_need_to_match, | ||
| bool | sorted_by_number_of_duplicated_code = false ) |
Constructs explorer with configuration.
| _similarity_table | Similarity data source |
| _limit_on_results | Maximum results to show |
| _pattern_to_match | Filter pattern |
| _both_path_need_to_match | Whether both paths must match pattern |
| sorted_by_number_of_duplicated_code | Whether to sort by line count |
Definition at line 112 of file similarity_explorer.cpp.
| string Similarity_Explorer::EMPTY_PATTERN = "" |
Constant for empty search pattern.
Definition at line 33 of file similarity_explorer.hpp.
| int Similarity_Explorer::UNLIMITED_RESULTS = 0 |
Constant for unlimited results display.
Definition at line 32 of file similarity_explorer.hpp.