|
Arkanjo 0.2
A tool for find code duplicated functions in codebases
|
Formats clone detection results for BigCloneBench evaluation. More...
#include <big_clone_formater.hpp>
Inheritance diagram for BigCloneFormater:
Collaboration diagram for BigCloneFormater:Public Member Functions | |
| COMMAND_DESCRIPTION ("Format clone detection results into the BigCloneBench evaluation " "output format. The command converts internal similarity data into " "the standardized BigCloneEval compatible representation.") explicit BigCloneFormater(Similarity_Table *_similarity_table) | |
| Constructs formatter and processes similarity table. | |
| bool | validate (const ParsedOptions &options) override |
| Validate the arguments already analyzed. | |
| bool | run (const ParsedOptions &options) override |
| Handles BigCloneEval formatting command. | |
Public Member Functions inherited from CommandBase< BigCloneFormater > | |
| virtual void | print_help (const std::string command_name, const OptionsCollector *collector) const |
| const CliOption * | options () const final |
| bool | do_run (const std::string command_name, const ParsedOptions &options, const OptionsCollector *collector=nullptr) override |
Public Member Functions inherited from ICommand | |
| virtual | ~ICommand ()=default |
| virtual std::string_view | description () const =0 |
Formats clone detection results for BigCloneBench evaluation.
Converts internal path and similarity representations into the standardized BigCloneEval output format expected by the BigCloneBench dataset evaluation tools.
Definition at line 36 of file big_clone_formater.hpp.
| BigCloneFormater::COMMAND_DESCRIPTION | ( | "Format clone detection results into the BigCloneBench evaluation " "output format. The command converts internal similarity data into " "the standardized BigCloneEval compatible representation." | ) |
Constructs formatter and processes similarity table.
| _similarity_table | Pointer to similarity data to format |
|
overridevirtual |
Handles BigCloneEval formatting command.
Implements ICommand.
Definition at line 45 of file big_clone_formater.cpp.
|
overridevirtual |
Validate the arguments already analyzed.
Verify that all required options have been selected and that the values provided are valid.
| options | The ParsedOptions structure will be populated with the arguments. |
Implements ICommand.
Definition at line 41 of file big_clone_formater.cpp.