Code Analysis: AI-Powered Product Description Generator - AI Product Tools for WooCommerce 2.0.0

Most Complex Classes

Class Rating Complexity
AIPT\Api\RestEndpoints
S
39
AIPT\Core\Init
S
17
AIPT\Api\OpenAI\OpenAIClient
S
12
AIPT\Core\Deactivator
S
11
AIPT\Core\Activator
S
6

Most Complex Functions

Function Rating Complexity
AIPT\Api\RestEndpoints::get_product_info()
B
18
AIPT\Api\RestEndpoints::generate_description()
A
7
AIPT\Api\OpenAI\OpenAIClient::generate_description()
A
7
AIPT\Core\Init::enqueue_admin_assets()
A
6
AIPT\Core\Activator::activate()
A
6
AIPT\Api\RestEndpoints::register_routes()
S
1
AIPT\Core\Deactivator::deactivate()
S
5
AIPT\Core\Deactivator::remove_directory()
S
6
AIPT\Api\RestEndpoints::update_settings()
S
5
AIPT\Api\OpenAI\OpenAIClient::validate_api_key()
S
4
AIPT\Api\RestEndpoints::apply_description()
S
3
aipt_fs()
S
2