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

Main function extraction processor. More...

#include <function_breaker.hpp>

Public Member Functions

 FunctionBreaker (string folder_path)
 Constructs function breaker and processes directory.
 

Detailed Description

Main function extraction processor.

Analyzes source code directories (C/C++/Java) and extracts each function into individual files within a temporary repository. Handles file organization and delegates language-specific parsing to appropriate handlers.

Note
Current limitations:
  • May not work correctly with malformed bracket sequences
  • May fail on brackets within comments
  • Example behavior: For file example.c with functions a and b, creates example/a.c and example/b.c in tmp/ directory

Definition at line 44 of file function_breaker.hpp.

Constructor & Destructor Documentation

◆ FunctionBreaker()

FunctionBreaker::FunctionBreaker ( string folder_path)

Constructs function breaker and processes directory.

Parameters
folder_pathDirectory containing source files to process

Definition at line 66 of file function_breaker.cpp.


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