Arkanjo
0.2
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
duplication_finder_tool.hpp
Go to the documentation of this file.
1
14
#pragma once
15
16
#include "
parser.hpp
"
17
#include <
arkanjo/base/config.hpp
>
18
#include <iostream>
19
#include <string>
20
#include <filesystem>
21
namespace
fs = std::filesystem;
22
30
class
DuplicationFinderTool
{
31
private
:
32
std::string SAVING_MESSAGE =
"Saving results..."
;
33
34
fs::path base_path;
35
double
similarity;
36
37
public
:
43
DuplicationFinderTool
(
const
fs::path& base_path_,
double
similarity_);
44
51
void
execute
();
52
};
DuplicationFinderTool
Main code duplication detection tool.
Definition
duplication_finder_tool.hpp:30
DuplicationFinderTool::execute
void execute()
Executes the full duplication analysis pipeline.
Definition
duplication_finder_tool.cpp:11
DuplicationFinderTool::DuplicationFinderTool
DuplicationFinderTool(const fs::path &base_path_, double similarity_)
Constructs the duplication finder tool.
Definition
duplication_finder_tool.cpp:6
config.hpp
Configuration management interface.
parser.hpp
Code duplication results parser.
src
commands
pre
build
duplication_finder_tool.hpp
Generated by
1.12.0