Code Analysis: Leat CRM 0.9.71

Most Complex Functions

Function Rating Complexity
Leat\Domain\Services\GiftcardProduct::process_giftcard_order()
C
21
Leat\WebhookManager::ensure_webhooks_installed()
C
23
Leat\Domain\Services\GiftcardProduct::handle_giftcard_withdrawal_refund()
B
18
Leat\Domain\Syncing\SyncVouchers::upsert_coupon_for_promotion_rule()
B
19
Leat\Settings::get_all_settings()
B
1
Leat\Domain\Services\SpendRulesService::create_coupon_for_spend_rule()
B
15
Leat\Domain\Services\GiftcardProduct::handle_giftcard_withdrawal()
B
13
Leat\Api\Api::container()
A
12
Leat\Domain\Bootstrap::register_dependencies()
A
1
Leat\Api\Routes\V1\WCProductsSearch::get_route_post_response()
A
12
Leat\WebhookManager::sync_webhooks()
A
12
Leat\Api\Connection::ensure_custom_attributes_exist()
A
6