Arkanjo 0.1
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
Similarity_Explorer Class Reference

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.
 

Detailed Description

Duplicate function explorer and analyzer.

Enables exploration of duplicate functions with configurable filtering and sorting capabilities to identify code duplication patterns.

Definition at line 32 of file similarity_explorer.hpp.

Constructor & Destructor Documentation

◆ Similarity_Explorer()

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.

Parameters
_similarity_tableSimilarity data source
_limit_on_resultsMaximum results to show
_pattern_to_matchFilter pattern
_both_path_need_to_matchWhether both paths must match pattern
sorted_by_number_of_duplicated_codeWhether to sort by line count

Definition at line 116 of file similarity_explorer.cpp.

Member Data Documentation

◆ EMPTY_PATTERN

string Similarity_Explorer::EMPTY_PATTERN = ""

Constant for empty search pattern.

Definition at line 35 of file similarity_explorer.hpp.

◆ UNLIMITED_RESULTS

int Similarity_Explorer::UNLIMITED_RESULTS = 0

Constant for unlimited results display.

Definition at line 34 of file similarity_explorer.hpp.


The documentation for this class was generated from the following files: