Code Analysis: Leat 2.4.8

Function Rating Maintainability Complexity Lines of code
Leat\Application\Services\GiftcardProductService::process_giftcard_order()
D
25
29 195
Leat\Infrastructure\Constants\SettingsDefinitions::get_definitions()
D
14
1 614
Leat\Admin\DebugToolbar::render_gift_cards_info()
D
29 30 159
Leat\Infrastructure\Services\WebhookManager::ensure_webhooks_installed()
D
29
29 136
Leat\Admin\DebugToolbar::get_toolbar_styles()
C
34 1 486
Leat\Admin\LogsPage::render_logs_page()
B
29 17 162
Leat\Application\Services\GiftcardManager::handle_refund()
B
32 20 114
Leat\Admin\DebugToolbar::render_prepaid_info()
B
34 20 107
Leat\Infrastructure\Services\WooCommerceCouponManager::upsert_coupon_for_promotion_rule()
B
33 20 102
Leat\Infrastructure\Blocks\PointsDisplayIntegration::render_block()
B
36 21 78
Leat\Application\Services\PrepaidProductService::process_prepaid_order()
B
31 18 116
Leat\Domain\Services\ProductService::batch_sync_products()
B
30 15 156
Leat\Application\Services\ReturnHandler::handle_order_refunded()
B
28
13 172
Leat\Infrastructure\Blocks\ReferralBlock::render_block()
B
38 20 60
Leat\Rest\CouponsEndpoint::apply_coupon()
B
36 18 77
Leat\Application\Services\GiftcardManager::handle_ajax_refund()
B
35 17 87
Leat\Application\Services\PrepaidProductService::handle_prepaid_withdrawal_refund()
B
33 14 115
Leat\Rest\EarnRulesEndpoint::register_routes()
B
28
9 180
Leat\Application\Services\ReturnHandler::handle_order_partially_refunded()
B
32 12 131
Leat\Infrastructure\Services\WooCommerceCouponManager::create_coupon_for_spend_rule()
B
37 15 79
Leat\Application\Services\GiftcardManager::get_all_gift_cards_from_order()
B
41 16 58
Leat\Application\Services\NewCustomerService::create_or_update_contact()
A
33 10 130
Leat\Application\Services\GiftcardManager::check_gift_card_balance()
A
43 15 46
Leat\Application\Services\GiftcardManager::display_total_in_admin_order_totals()
A
34 10 111
Leat\Application\Services\OrderReturnService::transform_partial_return()
A
32 8 140
Leat\Application\Services\GiftcardManager::process_gift_cards_immediately()
A
36 11 92
Leat\Application\Services\GiftcardManager::revalidate_gift_card_balances()
A
44 14 45
Leat\Application\Services\GiftcardProductService::handle_giftcard_withdrawal_refund()
A
41 13 58
Leat\Rest\WCProductsSearchEndpoint::search_products()
A
40 13 56
Leat\Admin\DebugToolbar::get_current_order()
A
51 15 25
Leat\Rest\SpendRulesEndpoint::register_routes()
A
30 6 159
Leat\Rest\SpendRulesEndpoint::claim_spend_rule()
A
40 12 63
Leat\Infrastructure\Repositories\LeatPrepaidRepository::reverse_transaction()
A
38 11 77
Leat\Infrastructure\Repositories\LeatContactRepository::get_by_wp_id()
A
41 12 58
Leat\Application\Services\OrderProcessor::process_checkout_contact()
A
42 12 56
Leat\Infrastructure\Blocks\ReferralBlock::render_editor_preview()
A
42 12 48
Leat\Infrastructure\StoreApi\PointsExtension::get_cart_data()
A
42 11 59
Leat\Infrastructure\Repositories\LeatContactRepository::find_or_create()
A
40 10 65
Leat\Application\Services\OrderProcessor::process_order_in_leat()
A
43 11 48
Leat\Application\Services\OrderProcessor::create_order_in_leat()
A
44 11 45
Leat\Application\Services\OrderReturnService::process_partial_return()
A
36 7 103
Leat\Infrastructure\Services\WebhookManager::cleanup_duplicate_webhooks()
A
44 11 42
Leat\Application\Services\GiftcardManager::add_gift_card_to_session_from_data()
A
36 8 87
Leat\Admin\DebugToolbar::render_reward_logs()
A
40 9 70
Leat\Rest\SettingsEndpoint::update_settings()
A
51 12 24
Leat\Rest\GiftcardSessionEndpoint::add_gift_card()
A
39 9 68
Leat\Application\Services\GiftcardManager::ajax_add_gift_card_to_session()
A
42 10 52
Leat\Rest\SyncEndpoint::start_service_sync()
A
43 10 52
Leat\Application\Services\GiftcardProductService::handle_giftcard_withdrawal()
A
43 10 50
Leat\Admin\ProductActions::display_admin_notices()
A
45 10 47
Leat\Admin\OrderMetaDisplay::display_loyalty_status()
A
41 9 59
Leat\Infrastructure\Services\WebhookManager::sync_webhooks()
A
45 10 41
Leat\Infrastructure\Formatters\WPSpendRuleFormatter::format()
A
29
1 176
Leat\Cli\CategoryCommand::delete_all_category_uuids()
A
42 9 55
Leat\Application\Services\OrderReturnService::process_return()
A
40 8 66
Leat\Infrastructure\Repositories\LeatContactRepository::get_wc_order_data()
A
43 9 50
Leat\Rest\ContactEndpoint::join_program()
A
40 8 65
Leat\Application\Services\PrepaidProductService::handle_prepaid_withdrawal()
A
47 10 34
Leat\Rest\PromotionRulesEndpoint::create_or_update_promotion_rule()
A
43 9 47
Leat\Application\Services\ReturnHandler::find_matching_order_item()
A
41 8 60
Leat\Infrastructure\Repositories\LeatContactRepository::find_or_create_wp_user_by_uuid()
A
45 9 44
Leat\Application\Services\OrderReturnService::store_line_item_uuids()
A
43 8 56
Leat\Cli\ProductCommand::delete_all_product_uuids()
A
42 8 56
Leat\Utils\BackgroundProcess::handle()
A
46 9 41
Leat\Rest\WCCategoriesSearchEndpoint::search_categories()
A
45 9 40
Leat\Application\Services\GiftcardProductService::save_giftcard_recipient_email()
A
46 9 39
Leat\Application\Services\GiftcardManager::render_gift_cards_content()
A
43 8 52
Leat\Infrastructure\Services\WooCommerceAccountTab::check_endpoint_status()
A
45 8 47
Leat\Utils\CreditDisplay::get_formatted_credits()
A
49 9 31
Leat\Application\Services\Syncing\AbstractSync::start_sync()
A
43 8 46
Leat\Infrastructure\Services\WebhookManager::extract_action_data()
A
58 10 15
Leat\Utils\Users::create_woocommerce_user_from_email()
A
44 8 45
Leat\Infrastructure\Formatters\WPEarnRuleFormatter::get_svg()
A
51 9 30
Leat\Application\Services\PrepaidProductService::mark_prepaid_products_on_creation()
A
45 8 44
Leat\Application\Services\GiftcardManager::handle_cart_extension_update()
A
51 9 26
Leat\Application\Services\GiftcardManager::display_gift_cards_in_refund_overview()
A
46 8 41
Leat\Infrastructure\Repositories\LeatCategoryRepository::create()
A
51 9 26
Leat\Infrastructure\Repositories\LeatCategoryRepository::update()
A
51 9 26
Leat\Infrastructure\Repositories\LeatCategoryRepository::get()
A
51 9 26
Leat\Application\Services\OrderReturnService::transform_full_return()
A
40 6 70
Leat\Application\Services\GiftcardProductService::add_giftcard_recipient_field()
A
42 7 54
Leat\Infrastructure\Formatters\ContactFormatter::format()
A
46 8 39
Leat\Infrastructure\Repositories\LeatContactRepository::format_contact()
A
46 8 39
Leat\Utils\TranslatedText::get_text()
A
54 9 22
Leat\Rest\EnrollmentEndpoint::enroll_user()
A
44 7 50
Leat\Infrastructure\Formatters\WPPromotionRuleFormatter::format()
A
32 1 138
Leat\Infrastructure\Repositories\LeatGiftcardRepository::send_giftcard_email()
A
48 8 32
Leat\Admin\DebugToolbar::get_toolbar_script()
A
46 1 136
Leat\Logger::get_logs()
A
49 8 30
Leat\Application\Services\OrderProcessor::handle_order_result()
A
49 8 30
Leat\Infrastructure\Blocks\PointsDisplayIntegration::add_inline_script_data()
A
50 8 29
Leat\Utils\Vite::load_production_asset()
A
49 8 29
Leat\Infrastructure\Repositories\LeatCreditReceptionRepository::apply_credits()
A
50 8 29
Leat\Application\Services\CheckoutOptInService::save_opt_in_preference()
A
50 8 28
Leat\Admin\DebugToolbar::handle_reset_settings()
A
50 8 27
Leat\Infrastructure\Repositories\WPEarnRuleRepository::create_or_update()
A
45 7 41
Leat\Admin\DebugToolbar::render_toolbar()
A
48 7 41
Leat\Application\Services\OrderProcessor::handle_checkout_order_processed()
A
51 8 26
Leat\Application\Services\OrderProcessor::handle_blocks_checkout_order_processed()
A
51 8 26
Leat\Infrastructure\Repositories\LeatOrderReturnRepository::create_and_process()
A
51 8 26
Leat\Shortcodes\ReferralShortcode::enqueue_inline_scripts()
A
46 7 40
Leat\Utils\Coupons::is_coupon_valid()
A
52 8 25
Leat\Infrastructure\Repositories\LeatOrderRepository::process()
A
52 8 25
Leat\Infrastructure\Repositories\LeatOrderRepository::calculate()
A
52 8 25
Leat\Infrastructure\Repositories\LeatOrderRepository::create_and_process()
A
52 8 25
Leat\Infrastructure\Repositories\LeatOrderRepository::create()
A
52 8 25
Leat\Infrastructure\Repositories\LeatOrderReturnRepository::create()
A
52 8 25
Leat\Infrastructure\Repositories\LeatOrderReturnRepository::process()
A
52 8 25
Leat\Rest\EarnRulesEndpoint::earn_reward()
A
46 7 39
Leat\Rest\PointsCalculationEndpoint::calculate_points()
A
43 6 54
Leat\Admin\OrderMetaDisplay::display_status_summary()
A
52 8 24
Leat\Rest\SettingsEndpoint::get_settings()
A
53 8 23
Leat\Domain\Services\CategoryService::create_category()
A
44 6 51
Leat\Application\Services\ReturnHandler::handle_order_status_change()
A
47 7 36
Leat\Application\Services\GiftcardProductService::send_giftcard_email()
A
44 6 50
Leat\Infrastructure\Repositories\LeatContactRepository::get_wc_guest_data()
A
43 6 50
Leat\Rest\PromotionRulesEndpoint::register_routes()
A
39 4 79
Leat\Application\Services\GiftcardProductService::validate_giftcard_recipient_email()
A
54 8 19
Leat\Admin\DebugToolbar::render_points_info()
A
52 7 33
Leat\Admin\DebugToolbar::get_current_user()
A
55 8 18
Leat\Utils\BackgroundProcess::get_batches()
A
44 6 48
Leat\Admin\ProductActions::handle_single_product_sync()
A
46 6 46
Leat\Infrastructure\Repositories\WPSpendRuleRepository::create_or_update()
S
44 6 45
Leat\Rest\ContactEndpoint::get_contact()
S
45 6 45
Leat\Infrastructure\Repositories\LeatContactRepository::get_purchased_categories()
S
50 7 30
Leat\Rest\SpendRulesEndpoint::get_rules_for_contact()
S
51 7 29
Leat\Rest\SpendRulesEndpoint::upsert_spend_rule()
S
45 6 44
Leat\Infrastructure\Blocks\AbstractWooCommerceBlockIntegration::should_load_assets()
S
59 8 14
Leat\Infrastructure\Formatters\WPEarnRuleFormatter::format()
S
35 2 104
Leat\Utils\Vite::get_manifest()
S
49 7 29
Leat\Application\Services\GiftcardManager::display_gift_cards_in_order_totals()
S
50 7 27
Leat\Application\Services\GiftcardManager::render_gift_card_form()
S
46 6 42
Leat\Infrastructure\Formatters\WPEarnRuleFormatter::get_label_default()
S
52 7 26
Leat\Infrastructure\Repositories\LeatContactRepository::update_with_basic_attributes_from_order()
S
45 6 41
Leat\Infrastructure\Repositories\LeatContactRepository::get_required_attributes()
S
36 1 115
Leat\Rest\EarnRulesEndpoint::create_or_update_earn_rule()
S
46 6 40
Leat\Infrastructure\Repositories\WPPromotionRuleRepository::create_or_update()
S
47 6 38
Leat\Infrastructure\Services\WebhookManager::handle_webhook()
S
54 7 23
Leat\Application\Services\GiftcardManager::calculate_order_totals()
S
54 7 22
Leat\Rest\PromotionRulesEndpoint::get_promotion_rule_args()
S
39 3 81
Leat\Logger::get_instance()
S
48 6 35
Leat\Logger::parse_log_line()
S
48 6 35
Leat\Domain\Services\OrderService::transform_discounts()
S
47 6 35
Leat\Cli\CategoryCommand::delete_uuid()
S
55 7 19
Leat\Cli\ProductCommand::delete_uuid()
S
55 7 19
Leat\Utils\BackgroundProcess::__construct()
S
54 7 19
Leat\Infrastructure\Repositories\LeatContactRepository::get_uuid_by_wp_id()
S
54 7 19
Leat\Utils\Common::get_current_language()
S
56 7 18
Leat\Infrastructure\Formatters\WPEarnRuleFormatter::get_label_description()
S
56 7 18
Leat\Utils\Telemetry::get_sensitive_data()
S
43 5 47
Leat\Admin\DebugToolbar::render_user_info()
S
44 4 62
Leat\Rest\EarnRulesEndpoint::get_earn_rules_admin()
S
49 6 31
Leat\Admin\DebugToolbar::render_leat_metadata()
S
49 5 46
Leat\Rest\PromotionRulesEndpoint::get_promotion_rules_admin()
S
49 6 31
Leat\Rest\SpendRulesEndpoint::get_spend_rules_admin()
S
49 6 31
Leat\Shortcodes\ReferralShortcode::enqueue_referral_assets()
S
49 6 31
Leat\Application\Services\PrepaidProductService::calculate_prepaid_amount()
S
46 5 45
Leat\Infrastructure\Repositories\LeatContactRepository::create()
S
50 6 30
Leat\Application\Services\GiftcardManager::register_store_api_update_callback()
S
50 6 29
Leat\Rest\WCCategoriesSearchEndpoint::get_categories_by_ids()
S
50 6 28
Leat\Admin\ProductActions::handle_bulk_action()
S
46 5 43
Leat\Infrastructure\Blocks\GiftcardCouponIntegration::enqueue_block_assets()
S
61 7 12
Leat\Application\Services\ReturnHandler::handle_return_result()
S
51 6 27
Leat\Admin\DebugToolbar::render_all_metadata()
S
48 5 41
Leat\Infrastructure\Formatters\OrderResultFormatter::format()
S
52 6 26
Leat\Application\Services\GiftcardProductService::create_giftcard()
S
52 6 25
Leat\Infrastructure\Repositories\WPPromotionRuleRepository::get_coupons_by_user_id()
S
53 6 24
Leat\Infrastructure\Repositories\WPSpendRuleRepository::get_coupons_by_user_id()
S
53 6 24
Leat\Application\Services\GiftcardManager::display_gift_card_column()
S
53 6 23
Leat\Application\Services\GiftcardProductService::add_refund_field_script()
S
54 6 23
Leat\Domain\Services\OrderService::create_order()
S
48 5 37
Leat\Infrastructure\Repositories\LeatContactRepository::ensure_custom_attributes_exist()
S
53 6 22
Leat\Application\Services\Syncing\VouchersSync::queue_vouchers_for_promotion()
S
44 4 51
Leat\Logger::get_log_level()
S
54 6 21
Leat\Cli\LeatCommand::list_all_uuids()
S
44 4 51
Leat\Infrastructure\Services\ReferralTrackingService::track_referral_code()
S
54 6 21
Leat\Application\Services\CheckoutOptInService::save_opt_in_preference_blocks()
S
54 6 21
Leat\Infrastructure\Services\WooCommerceCouponManager::handle_voucher_created_webhook()
S
49 5 35
Leat\Rest\CouponsEndpoint::register_routes()
S
44 4 50
Leat\Domain\Services\ProductService::create_product()
S
45 4 50
Leat\Infrastructure\Repositories\WPEarnRuleRepository::get_applicable_place_order_rule()
S
56 6 19
Leat\Rest\CouponsEndpoint::get_coupons()
S
48 5 34
Leat\Utils\Common::get_languages()
S
55 6 19
Leat\Application\Services\CheckoutOptInService::add_opt_in_checkbox()
S
54 6 19
Leat\Application\Services\Syncing\AbstractSync::handle_duplicates()
S
47 5 34
Leat\Infrastructure\Services\WooCommerceCouponManager::handle_voucher_redeemed_webhook()
S
49 5 32
Leat\Plugin::do_activation_redirect()
S
58 6 17
Leat\Shortcodes\CustomerDashboardShortcode::add_localization_data()
S
45 4 47
Leat\Rest\SpendRulesEndpoint::get_spend_rules_for_user()
S
49 5 31
Leat\Utils\BackgroundProcess::get_chain_id()
S
58 6 16
Leat\Admin\OrderMetaDisplay::get_status_text()
S
57 6 16
Leat\Infrastructure\Repositories\WPSpendRuleRepository::get_rules_by_type()
S
50 5 30
Leat\Rest\GiftcardsEndpoint::get_giftcard()
S
50 5 30
Leat\Application\Services\Syncing\AbstractSync::process_batch()
S
49 5 30
Leat\Domain\Services\OrderService::calculate_order_result()
S
51 5 29
Leat\Settings::update_settings()
S
59 6 14
Leat\Utils\Vite::inject_react_refresh_preamble_script()
S
51 5 28
Leat\Rest\PromotionRulesEndpoint::get_coupons_by_user_id()
S
51 5 27
Leat\Utils\Telemetry::get_usage_statistics()
S
46 4 42
Leat\Application\Services\PrepaidProductService::init()
S
50 5 27
Leat\Settings::get_setting_with_value()
S
60 6 12
Leat\Settings::get_all_translatable_languages()
S
51 5 27
Leat\Application\Services\GiftcardManager::render_applied_gift_cards()
S
52 5 25
Leat\Rest\ShopsEndpoint::get_shops()
S
52 5 25
Leat\Rest\WCProductsSearchEndpoint::register_routes()
S
41 2 70
Leat\Rest\WCProductsSearchEndpoint::get_products_by_ids()
S
52 5 25
Leat\Admin\ProductActions::get_inline_script()
S
42 1 85
Leat\Utils\BackgroundProcess::get_process_status()
S
53 5 24
Leat\Application\Services\PrepaidProductService::reverse_prepaid_transaction()
S
48 4 39
Leat\Application\Services\GiftcardManager::calculate_gift_card_on_totals()
S
52 5 23
Leat\Application\Services\GiftcardManager::store_gift_card_info_in_order()
S
48 4 38
Leat\Rest\GiftcardSessionEndpoint::remove_gift_card()
S
47 4 38
Leat\Shortcodes\ReferralShortcode::shortcode_output()
S
53 5 23
Leat\Infrastructure\Repositories\LeatCreditReceptionRepository::calculate_credits()
S
53 5 23
Leat\Utils\BackgroundProcess::maybe_handle()
S
56 5 22
Leat\Infrastructure\Repositories\LeatContactRepository::update_with_user_attributes()
S
53 5 22
Leat\Infrastructure\Repositories\LeatContactRepository::update_with_guest_attributes()
S
53 5 22
Leat\Domain\Services\ProductService::transform_product()
S
54 5 21
Leat\Infrastructure\Repositories\LeatContactRepository::update()
S
54 5 21
Leat\Admin\DebugToolbar::render_user_orders()
S
46 3 50
Leat\Domain\Services\OrderService::transform_charges()
S
49 4 34
Leat\Application\Services\GiftcardManager::update_gift_card_balance_in_session()
S
55 5 19
Leat\Rest\SyncEndpoint::get_service_status()
S
57 5 19
Leat\Infrastructure\Repositories\LeatProductRepository::batch_create()
S
55 5 19
Leat\Cli\CategoryCommand::delete_single_category_uuid()
S
56 5 18
Leat\Rest\ContactEndpoint::register_routes()
S
46 3 48
Leat\Utils\OrderNotes::add()
S
56 5 18
Leat\Utils\Vite::set_script_type_attribute()
S
56 5 18
Leat\Settings::reset_settings_except_key()
S
55 5 18
Leat\Rest\WCCategoriesSearchEndpoint::register_routes()
S
42 2 62
Leat\Infrastructure\Repositories\LeatShopRepository::get_by_id()
S
57 5 17
Leat\Infrastructure\Repositories\WPPrepaidRepository::get_buyer_contact_uuid()
S
58 5 16
Leat\Infrastructure\Repositories\WPSpendRuleRepository::get_applicable_rule()
S
58 5 16
Leat\Infrastructure\Repositories\LeatProductRepository::create()
S
57 5 16
Leat\Logger::get_retention_days()
S
67 6 6
Leat\Application\Services\Syncing\VouchersSync::format_voucher_webhook()
S
58 5 15
Leat\Infrastructure\Services\WooCommerceCouponManager::format_voucher_webhook()
S
58 5 15
Leat\Utils\Vite::register_asset()
S
58 5 15
Leat\Infrastructure\Repositories\LeatProductRepository::update()
S
58 5 15
Leat\Infrastructure\Repositories\WPPromotionRuleRepository::handle_duplicates()
S
50 4 29
Leat\Infrastructure\Services\PostTypeRegistrar::register_earn_rules_post_type()
S
43 3 44
Leat\Infrastructure\Services\PostTypeRegistrar::register_spend_rules_post_type()
S
43 3 44
Leat\Infrastructure\Services\PostTypeRegistrar::register_promotion_rules_post_type()
S
43 3 44
Leat\Plugin::has_core_dependencies()
S
52 4 29
Leat\Domain\Services\ProductService::sync_order_products()
S
51 4 29
Leat\Rest\SyncEndpoint::start_sync()
S
50 4 29
Leat\Application\Services\GiftcardProductService::save_giftcard_program_settings()
S
59 5 14
Leat\Rest\WebhooksEndpoint::sync_webhooks()
S
51 4 29
Leat\Application\Services\Syncing\VouchersSync::start_sync()
S
50 4 28
Leat\Shortcodes\CustomerDashboardShortcode::maybe_enqueue_assets()
S
61 5 13
Leat\Infrastructure\Services\WordPressReferralCodeProvider::get_referral_code_string()
S
61 5 12
Leat\Plugin::handle_activation_redirect()
S
61 5 12
Leat\Admin\DebugToolbar::render_settings_actions()
S
56 4 27
Leat\Rest\WebhooksEndpoint::handle_webhook()
S
51 4 27
Leat\Cli\LeatCommand::delete_all_uuids()
S
52 4 27
Leat\Infrastructure\Services\ReferralTrackingService::get_referral_code()
S
61 5 12
Leat\Application\Services\GiftcardProductService::add_giftcard_program_settings()
S
51 4 26
Leat\Application\Services\NewCustomerService::create_contact()
S
54 4 24
Leat\Application\Services\GiftcardManager::init()
S
46 3 38
Leat\Application\Services\Syncing\VouchersSync::task()
S
48 3 38
Leat\Application\Services\GiftcardManager::add_gift_cards_meta_box()
S
54 4 23
Leat\Rest\PromotionRulesEndpoint::get_promotion_rule()
S
53 4 23
Leat\Infrastructure\Services\WooCommerceCouponManager::handle_voucher_updated_webhook()
S
54 4 22
Leat\Application\Services\GiftcardProductService::init()
S
52 4 22
Leat\Infrastructure\Services\WebhookManager::get_webhooks()
S
54 4 21
Leat\Rest\EarnRulesEndpoint::get_earn_rules()
S
54 4 21
Leat\Domain\Services\ProductService::update_product()
S
49 3 36
Leat\Infrastructure\Blocks\BlocksManager::add_block_category()
S
55 4 21
Leat\Logger::log_api_response()
S
54 4 21
Leat\Application\Services\OrderReturnService::track_returned_items()
S
55 4 21
Leat\Utils\Coupons::get_coupons_for_user()
S
54 4 20
Leat\Cli\ProductCommand::delete_single_product_uuid()
S
56 4 19
Leat\Infrastructure\Blocks\ReferralBlock::enqueue_frontend_assets()
S
56 4 19
Leat\Application\Services\PrepaidProductService::add_variation_prepaid_settings()
S
55 4 18
Leat\Utils\Vite::enqueue_asset()
S
57 4 17
Leat\Infrastructure\Repositories\LeatContactRepository::get_by_email()
S
58 4 16
Leat\Domain\Services\ProductService::fallback_to_individual_sync()
S
50 3 31
Leat\Infrastructure\Repositories\LeatContactRepository::get_by_uuid()
S
58 4 16
Leat\Application\Services\CustomerAttributeSync::sync_on_logout()
S
58 4 16
Leat\Infrastructure\Repositories\LeatShopRepository::list()
S
57 4 16
Leat\Admin\Admin::maybe_disable_admin_notices()
S
53 3 30
Leat\Infrastructure\Repositories\LeatCategoryRepository::delete()
S
58 4 15
Leat\Infrastructure\Repositories\LeatTierRepository::get_by_contact_uuid()
S
59 4 15
Leat\Infrastructure\Services\ReferralTrackingService::clear_referral_code()
S
59 4 15
Leat\Rest\PromotionRulesEndpoint::get_promotion_rules()
S
57 4 15
Leat\Infrastructure\Repositories\LeatTierRepository::list()
S
58 4 15
Leat\Rest\Middleware::is_valid_user()
S
59 4 14
Leat\Infrastructure\Blocks\BlockRegistry::initialize()
S
59 4 14
Leat\FeatureFlags::get_all()
S
59 4 14
Leat\Application\Services\ReturnHandler::init()
S
58 4 14
Leat\Settings::reset_all_settings()
S
59 4 14
Leat\Application\Services\GiftcardManager::remove_gift_card_from_session()
S
59 4 14
Leat\Rest\GiftcardSessionEndpoint::register_routes()
S
45 1 59
Leat\Shortcodes\ReferralShortcode::get_user_referral_stats()
S
60 4 13
Leat\Domain\Services\CategoryService::sync_product_categories()
S
61 4 13
Leat\Application\Services\GiftcardManager::initialize_original_cart_total()
S
61 4 12
Leat\Logger::clear_logs()
S
61 4 12
Leat\Infrastructure\Formatters\WPEarnRuleFormatter::get_social_network_label()
S
62 4 12
Leat\Application\Services\CheckoutOptInService::register_checkout_field_for_blocks()
S
51 3 27
Leat\Container::bootstrap_services()
S
62 4 12
Leat\Infrastructure\Formatters\WPEarnRuleFormatter::get_social_network_description()
S
62 4 12
Leat\Rest\GiftcardSessionEndpoint::maybe_init_session()
S
62 4 12
Leat\Infrastructure\Repositories\LeatPrepaidRepository::create_transaction()
S
52 3 27
Leat\Utils\BackgroundProcess::get_memory_limit()
S
62 4 11
Leat\Utils\BackgroundProcess::get_chain_id_arg_name()
S
63 4 11
Leat\Utils\Vite::check_imports()
S
62 4 11
Leat\Infrastructure\Blocks\PointsDisplayIntegration::enqueue_editor_assets()
S
54 3 25
Leat\Infrastructure\Blocks\ReferralBlock::enqueue_editor_assets()
S
54 3 25
Leat\Domain\Services\OrderService::transform_order()
S
51 3 24
Leat\Application\Services\GiftcardManager::enqueue_scripts()
S
47 2 39
Leat\Admin\DebugToolbar::render_opt_in_info()
S
57 3 23
Leat\Rest\SyncEndpoint::get_sync_status()
S
53 3 23
Leat\Admin\Admin::enqueue_assets()
S
47 2 38
Leat\Rest\TiersEndpoint::get_tiers()
S
54 3 23
Leat\Domain\Services\OrderService::transform_line_items()
S
53 3 23
Leat\Infrastructure\Repositories\WPSpendRuleRepository::create_or_update_from_reward()
S
54 3 22
Leat\Infrastructure\Repositories\WPEarnRuleRepository::get_earn_rules_by_type()
S
55 3 21
Leat\Utils\Telemetry::get_non_sensitive_data()
S
54 3 21
Leat\Admin\DebugToolbar::render_admin_page_info()
S
52 2 36
Leat\Utils\Coupons::find_coupons_by_email()
S
49 2 36
Leat\Application\Services\CustomerAttributeSync::sync_on_login()
S
55 3 20
Leat\Infrastructure\Repositories\WPSpendRuleRepository::get_by_uuid()
S
55 3 19
Leat\Infrastructure\StoreApi\PointsExtension::register_store_api_extension()
S
56 3 19
Leat\Domain\Services\OrderService::process_existing_order()
S
57 3 19
Leat\Infrastructure\Repositories\LeatContactRepository::get_user_attributes()
S
54 3 19
Leat\Infrastructure\Repositories\LeatRewardRepository::create_reward_reception()
S
56 3 19
Leat\Settings::delete_all_posts_of_type()
S
57 3 18
Leat\Application\Services\CustomerAttributeSync::sync_on_profile_update()
S
57 3 18
Leat\Rest\WCProductsSearchEndpoint::format_product_response()
S
56 3 18
Leat\Application\Services\GiftcardManager::ajax_get_applied_gift_cards()
S
56 3 17
Leat\Infrastructure\Services\WooCommerceCouponManager::handle_voucher_deleted_webhook()
S
57 3 17
Leat\Infrastructure\Repositories\WPPromotionRuleRepository::get_rules()
S
57 3 16
Leat\Infrastructure\Repositories\WPPromotionRuleRepository::get_active_rules()
S
57 3 16
Leat\Rest\WebhooksEndpoint::verify_webhook_signature()
S
58 3 16
Leat\Logger::add_wordpress_context()
S
57 3 16
Leat\Infrastructure\Repositories\WPSpendRuleRepository::get_rules()
S
57 3 16
Leat\Utils\BackgroundProcess::lock_process()
S
58 3 16
Leat\Application\Services\ReturnHandler::mark_refund_as_processed()
S
59 3 15
Leat\Application\Services\PrepaidProductService::save_variation_prepaid_settings()
S
65 4 8
Leat\Application\Services\GiftcardManager::update_amount_used_per_gift_card_for_order_total()
S
58 3 15
Leat\Rest\GiftcardSessionEndpoint::check_permission()
S
68 4 6
Leat\Rest\PointsCalculationEndpoint::check_permission()
S
68 4 6
Leat\Rest\SyncEndpoint::register_routes()
S
46 1 45
Leat\Utils\BackgroundProcess::get_cron_interval()
S
65 4 8
Leat\Utils\BackgroundProcess::maybe_unserialize()
S
63 4 10
Leat\Admin\ProductActions::enqueue_admin_scripts()
S
64 4 10
Leat\Utils\BackgroundProcess::should_continue()
S
68 4 7
Leat\Infrastructure\Blocks\BlockRegistry::fallback_initialize_integrations()
S
65 4 10
Leat\Plugin::init_wordpress_hooks()
S
63 4 10
Leat\Utils\BackgroundProcess::is_active()
S
78 4 3
Leat\Infrastructure\Constants\SettingsDefinitions::get_woocommerce_order_statuses_options()
S
59 3 14
Leat\Rest\Middleware::is_authorized()
S
59 3 14
Leat\Rest\Middleware::is_logged_in()
S
59 3 14
Leat\Utils\Telemetry::get_telemetry_data()
S
61 3 13
Leat\Infrastructure\Repositories\LeatGiftcardRepository::list_giftcard_programs()
S
60 3 13
Leat\Logger::protect_log_directory()
S
60 3 13
Leat\Infrastructure\Repositories\LeatPromotionRepository::get_promotions()
S
60 3 13
Leat\Infrastructure\Repositories\LeatRewardRepository::get_rewards()
S
61 3 13
Leat\Infrastructure\Repositories\LeatGiftcardRepository::find_by_hash()
S
61 3 12
Leat\Domain\Services\ProductService::ensure_product_exists()
S
52 2 27
Leat\DatabaseSetup::tables_exist()
S
61 3 12
Leat\Application\Services\GiftcardManager::ajax_remove_gift_card_from_session()
S
60 3 12
Leat\Utils\Coupons::find_or_create_coupon_by_code()
S
62 3 12
Leat\Infrastructure\Repositories\LeatProductRepository::delete()
S
61 3 12
Leat\Container::build()
S
61 3 12
Leat\Infrastructure\Services\WordPressReferralCodeProvider::get_referral_code()
S
63 3 11
Leat\Infrastructure\Services\WooCommerceAccountTab::add_leat_dashboard_endpoint()
S
63 3 11
Leat\FeatureFlags::is_enabled()
S
62 3 11
Leat\Application\Services\CheckoutOptInService::has_customer_opted_in()
S
63 3 11
Leat\Utils\BackgroundProcess::dispatch()
S
63 3 11
Leat\Infrastructure\Repositories\LeatRewardRepository::get_rewards_for_contact()
S
63 3 11
Leat\Infrastructure\Repositories\WPPromotionRuleRepository::delete_with_empty_uuid()
S
53 2 24
Leat\Cli\CategoryCommand::list_with_uuid()
S
54 2 22
Leat\Cli\ProductCommand::list_with_uuid()
S
55 2 21
Leat\Utils\BackgroundProcess::get_status()
S
56 2 20
Leat\Rest\WebhooksEndpoint::list_webhooks()
S
56 2 19
Leat\Infrastructure\Services\WebhookManager::handle_voucher_updated()
S
58 2 19
Leat\Infrastructure\Services\WebhookManager::handle_voucher_created()
S
58 2 19
Leat\Infrastructure\Services\WebhookManager::handle_voucher_deleted()
S
58 2 19
Leat\Admin\DebugToolbar::render_order_info()
S
51 1 34
Leat\Utils\Vite::load_development_asset()
S
55 2 19
Leat\Infrastructure\Services\WebhookManager::handle_voucher_redeemed()
S
58 2 19
Leat\Infrastructure\Repositories\WPPromotionRuleRepository::get_by_uuid()
S
57 2 18
Leat\Infrastructure\Services\WebhookManager::handle_giftcard_transaction_created()
S
58 2 18
Leat\Domain\Services\CategoryService::ensure_category_exists()
S
57 2 18
Leat\Infrastructure\Repositories\WPEarnRuleRepository::has_user_claimed_rule()
S
56 2 18
Leat\Rest\SettingsEndpoint::register_routes()
S
51 1 32
Leat\Infrastructure\Repositories\WPSpendRuleRepository::delete_by_uuid()
S
57 2 17
Leat\Rest\GiftcardSessionEndpoint::check_balance()
S
58 2 17
Leat\Infrastructure\Repositories\WPPromotionRuleRepository::delete()
S
58 2 17
Leat\Infrastructure\Repositories\LeatContactRepository::get_product_categories_options()
S
59 2 16
Leat\Infrastructure\Formatters\RewardFormatter::format()
S
58 2 16
Leat\Infrastructure\Repositories\LeatGiftcardRepository::create_transaction()
S
58 2 16
Leat\Infrastructure\Repositories\WPPromotionRuleRepository::get_by_id()
S
68 3 7
Leat\Utils\Vite::register_stylesheets()
S
63 3 9
Leat\Plugin::init_components()
S
66 3 10
Leat\Rest\SettingsEndpoint::mask_api_key()
S
66 3 9
Leat\Cli\CliRegistry::init()
S
66 3 8
Leat\Shortcodes\ReferralShortcode::maybe_enqueue_assets()
S
65 3 10
Leat\Infrastructure\Blocks\BlockRegistry::register_wc_integrations()
S
66 3 9
Leat\Infrastructure\Repositories\WPPrepaidRepository::get_transaction_uuid_for_item()
S
70 3 5
Leat\Infrastructure\Repositories\WPSpendRuleRepository::get_by_id()
S
68 3 7
Leat\Infrastructure\Services\WebhookManager::acquire_sync_lock()
S
65 3 9
Leat\Application\Services\CheckoutOptInService::get_translatable_setting()
S
67 3 8
Leat\Infrastructure\Repositories\WPEarnRuleRepository::get_by_id()
S
68 3 7
Leat\Domain\Services\OrderService::map_payment_status()
S
65 3 9
Leat\Shortcodes\ReferralShortcode::get_user_referral_code()
S
68 3 7
Leat\Infrastructure\Formatters\WPEarnRuleFormatter::get_credits_value()
S
67 3 7
Leat\Utils::is_local_site()
S
69 3 6
Leat\Infrastructure\Repositories\LeatGiftcardRepository::create_giftcard()
S
60 2 14
Leat\Settings::get_all_settings_as_object()
S
61 2 14
Leat\Infrastructure\Repositories\LeatGiftcardRepository::get_transactions()
S
61 2 13
Leat\Infrastructure\Repositories\WPEarnRuleRepository::get_rules()
S
61 2 13
Leat\Settings::get_setting_by_id()
S
61 2 13
Leat\Rest\GiftcardSessionEndpoint::get_cart_totals()
S
61 2 13
Leat\Plugin::create_leat_support_role()
S
60 2 13
Leat\Settings::delete_all_leat_posts()
S
62 2 13
Leat\Rest\GiftcardSessionEndpoint::format_gift_card()
S
60 2 13
Leat\Rest\GiftcardSessionEndpoint::get_applied_gift_cards()
S
60 2 13
Leat\Settings::get_all_settings()
S
62 2 12
Leat\Infrastructure\Blocks\PointsDisplayIntegration::register_block()
S
63 2 12
Leat\Application\Services\Syncing\AbstractSync::delete_all_posts()
S
61 2 12
Leat\Application\Services\PrepaidProductService::add_simple_product_prepaid_settings()
S
61 2 12
Leat\Infrastructure\Blocks\ReferralBlock::register_block()
S
63 2 12
Leat\Utils\Vite::prepare_asset_url()
S
61 2 11
Leat\Application\Services\OrderProcessor::init()
S
61 2 11
Leat\Application\Services\NewCustomerService::init()
S
61 2 11
Leat\Infrastructure\Repositories\WPPrepaidRepository::get_product_id_from_item()
S
71 2 6
Leat\Utils\Common::is_not_empty_array()
S
78 2 3
Leat\Admin\LogsPage::handle_clear_logs()
S
65 2 9
Leat\Infrastructure\Repositories\WPPrepaidRepository::add_order_note()
S
68 2 7
Leat\Rest\GiftcardSessionEndpoint::is_store_api_request()
S
70 2 7
Leat\Application\Services\NewCustomerService::sync_basic_from_order()
S
67 2 8
Leat\Infrastructure\Repositories\WPPrepaidRepository::save_is_prepaid_product()
S
78 2 3
Leat\Application\Services\OrderProcessor::get_order_uuid()
S
68 2 7
Leat\Application\Services\NewCustomerService::sync_guest_from_order()
S
67 2 8
Leat\Plugin::hide_reports_for_leat_support()
S
74 2 5
Leat\Infrastructure\Repositories\WPPrepaidRepository::get_order_items()
S
69 2 7
Leat\Application\Services\NewCustomerService::handle_woocommerce_customer_creation()
S
66 2 8
Leat\Application\Services\OrderReturnService::get_returned_items()
S
79 2 3
Leat\Infrastructure\Repositories\WPPrepaidRepository::save_transaction_uuid_for_item()
S
66 2 8
Leat\Application\Services\CheckoutOptInService::init()
S
64 2 9
Leat\Infrastructure\Blocks\PointsDisplayIntegration::is_user_enrolled()
S
67 2 8
Leat\Application\Services\ReturnHandler::is_refund_already_processed()
S
74 2 4
Leat\Utils\Common::replace_placeholders()
S
67 2 7
Leat\Admin\ProductActions::add_row_actions()
S
64 2 10
Leat\Infrastructure\Formatters\WPEarnRuleFormatter::get_post_meta_data()
S
74 2 4
Leat\Infrastructure\Blocks\BlockRegistry::register_block()
S
68 2 7
Leat\Infrastructure\Repositories\LeatGiftcardRepository::reverse_transaction()
S
65 2 9
Leat\Application\Services\NewCustomerService::handle_user_registration()
S
66 2 8
Leat\Infrastructure\Repositories\WPEarnRuleRepository::is_rule_claimable_once()
S
65 2 8
Leat\Application\Services\Syncing\VouchersSync::sync_vouchers_to_woocommerce()
S
70 2 6
Leat\Infrastructure\Blocks\BlockRegistry::init()
S
72 2 6
Leat\Utils\Common::glob_wp_options()
S
70 2 6
leat()
S
70 2 7
Leat\Rest\SettingsEndpoint::create_masked_value()
S
65 2 9
Leat\Application\Services\OrderProcessor::get_order()
S
68 2 7
Leat\Logger::log_product_processing()
S
62 1 13
Leat\Infrastructure\Services\ReferralTrackingService::set_referral_cookie()
S
62 1 13
Leat\Domain\Services\OrderService::map_order_status()
S
62 1 12
Leat\Infrastructure\Blocks\PointsDisplayIntegration::get_script_data()
S
61 1 12
Leat\Application\Services\Syncing\AbstractSync::get_sync_status()
S
62 1 12
Leat\Application\Services\OrderProcessor::__construct()
S
62 1 11
Leat\Infrastructure\Services\WooCommerceCouponManager::__construct()
S
71 1 6
Leat\Application\Services\Syncing\AbstractSync::init()
S
100 1 0
Leat\Infrastructure\Repositories\LeatOrderReturnRepository::__construct()
S
81 1 3
Leat\Rest\PromotionRulesEndpoint::__construct()
S
74 1 5
Leat\Infrastructure\Repositories\WPPrepaidRepository::get_order()
S
80 1 3
Leat\Infrastructure\Services\ReferralTrackingService::has_referral_code()
S
80 1 3
Leat\Admin\LogsPage::add_logs_submenu_page()
S
66 1 10
Leat\Application\Services\Syncing\AbstractSync::format_data()
S
100 1 0
Leat\Rest\SpendRulesEndpoint::__construct()
S
69 1 7
Leat\Admin\OrderMetaDisplay::init()
S
78 1 3
Leat\Domain\Services\OrderService::__construct()
S
71 1 6
Leat\Application\Services\Syncing\VouchersSync::init()
S
79 1 3
Leat\Infrastructure\Blocks\BlockRegistry::has_block()
S
79 1 3
Leat\Plugin::load_text_domain()
S
69 1 7
Leat\Infrastructure\Blocks\ReferralBlock::init()
S
72 1 5
Leat\Application\Services\Syncing\VouchersSync::completed()
S
77 1 4
Leat\Application\Services\Syncing\AbstractSync::get_action_name()
S
100 1 0
Leat\Application\Services\Syncing\AbstractSync::get_post_type()
S
100 1 0
Leat\Rest\EarnRulesEndpoint::__construct()
S
69 1 7
Leat\Infrastructure\Repositories\WPSpendRuleRepository::__construct()
S
77 1 4
Leat\Application\Services\NewCustomerService::handle_easy_login_user_created()
S
75 1 4
Leat\Infrastructure\Repositories\WPEarnRuleRepository::__construct()
S
77 1 4
Leat\Infrastructure\Services\ReferralTrackingService::init()
S
76 1 4
Leat\Infrastructure\Blocks\ReferralBlock::__construct()
S
76 1 4
Leat\Shortcodes\ReferralShortcode::init_hooks()
S
79 1 3
Leat\Rest\CouponsEndpoint::__construct()
S
68 1 7
Leat\Infrastructure\Repositories\WPPromotionRuleRepository::__construct()
S
77 1 4
Leat\Rest\SettingsEndpoint::init()
S
79 1 3
Leat\Rest\SpendRulesEndpoint::init()
S
79 1 3
Leat\Infrastructure\Blocks\PointsDisplayIntegration::get_block_name()
S
82 1 3
Leat\Infrastructure\Services\ReferralTrackingService::__construct()
S
81 1 3
Leat\Infrastructure\Blocks\BlockRegistry::get_block()
S
79 1 3
Leat\Application\Services\Syncing\VouchersSync::__construct()
S
69 1 7
Leat\Infrastructure\Blocks\ReferralBlock::get_block_name()
S
82 1 3
Leat\Infrastructure\Blocks\PointsDisplayIntegration::register_assets()
S
91 1 2
Leat\Shortcodes\ReferralShortcode::__construct()
S
81 1 3
Leat\Infrastructure\Repositories\WPPrepaidRepository::is_prepaid_product()
S
78 1 3
Leat\Shortcodes\ReferralShortcode::get_shortcode_type_attributes()
S
69 1 7
Leat\Rest\SyncEndpoint::init()
S
79 1 3
Leat\Infrastructure\Repositories\LeatGiftcardRepository::__construct()
S
77 1 4
Leat\Application\Services\OrderReturnService::__construct()
S
74 1 5
Leat\Application\Services\ReturnHandler::__construct()
S
73 1 5
Leat\Utils\Common::array_to_object()
S
79 1 3
Leat\Infrastructure\Blocks\BlockRegistry::get_wc_integrations()
S
82 1 3
Leat\Application\Services\CheckoutOptInService::__construct()
S
70 1 6
Leat\Admin\ProductActions::__construct()
S
77 1 4
Leat\Admin\LogsPage::init()
S
75 1 4
Leat\Domain\Services\ProductService::__construct()
S
74 1 5
Leat\Infrastructure\Repositories\LeatCategoryRepository::__construct()
S
81 1 3
Leat\Infrastructure\Blocks\PointsDisplayIntegration::init()
S
69 1 6
Leat\Rest\SettingsEndpoint::__construct()
S
71 1 6
Leat\Admin\OrderMetaDisplay::__construct()
S
77 1 4
Leat\Application\Services\Syncing\AbstractSync::__construct()
S
81 1 3
Leat\Infrastructure\Blocks\BlockRegistry::get_blocks()
S
82 1 3
Leat\Application\Services\NewCustomerService::handle_easy_login_after_register()
S
66 1 10
Leat\Rest\WCProductsSearchEndpoint::init()
S
79 1 3
Leat\Infrastructure\Repositories\LeatProductRepository::__construct()
S
81 1 3
Leat\Infrastructure\Blocks\ReferralBlock::register_assets()
S
91 1 2
Leat\Utils\Common::is_woocommerce_product()
S
79 1 3
Leat\Application\Services\NewCustomerService::__construct()
S
77 1 4
Leat\Admin\ProductActions::init()
S
65 1 8
Leat\Plugin::init()
S
65 1 9
Leat\Rest\WCProductsSearchEndpoint::__construct()
S
81 1 3
Leat\Infrastructure\Blocks\BlockRegistry::__construct()
S
71 1 7
Leat\Infrastructure\Repositories\LeatOrderRepository::__construct()
S
81 1 3
Leat\Plugin::handle_migrations()
S
91 1 2
Leat\Infrastructure\Repositories\WPPrepaidRepository::were_prepaid_transactions_created()
S
78 1 3
Leat\Rest\EarnRulesEndpoint::init()
S
79 1 3
Leat\Admin\ProductActions::add_bulk_actions()
S
69 1 6
Leat\Rest\CouponsEndpoint::init()
S
79 1 3
Leat\Rest\PromotionRulesEndpoint::init()
S
79 1 3
Leat\Rest\SyncEndpoint::__construct()
S
69 1 7

336 more item(s) not shown.