Code Analysis: MONEI Payments for WooCommerce 6.1.2

Function Rating Maintainability Complexity Lines of code
WC_Monei_Payment_Gateway_Hosted::process_payment()
C
31 28 103
WC_Monei_Payment_Gateway_Component::create_payload()
C
34 29 75
WC_Gateway_Monei_CC::__construct()
C
37 29 56
WC_Gateway_Monei_Paypal::__construct()
A
45 15 33
WC_Monei_Redirect_Hooks::save_payment_token()
A
41 13 52
WC_Gateway_Monei_Bizum::__construct()
A
45 12 34
MoneiMBWay::__construct()
A
46 12 33
MoneiMultibanco::__construct()
A
46 12 33
WC_Monei_Payment_Gateway_Component::process_payment()
A
41 10 59
WC_Gateway_Monei_Cofidis::__construct()
A
45 10 38
WC_Monei_IPN::handle_valid_ipn()
A
42 9 50
monei_get_option_key_from_order()
A
54 9 23
WC_Gateway_Monei_CC::payment_fields()
A
51 8 32
WC_Monei_Addons_Redirect_Hooks::subscriptions_save_sequence_id_on_payment_method_change()
S
49 7 29
WC_Monei_Addons_Redirect_Hooks::subscriptions_save_sequence_id()
S
49 7 29
WC_Gateway_Monei_CC_Blocks::get_payment_method_data()
S
45 6 38
WC_Gateway_Monei_CC::monei_scripts()
S
48 6 32
WC_Monei_Payment_Gateway::process_refund()
S
52 6 22
WC_Monei_Addons_Apple_Pay_Verification::apple_domain_register()
S
54 6 19
WC_Gateway_Monei_Bizum::bizum_scripts()
S
49 5 31
woocommerce_gateway_monei_get_template()
S
57 6 14
WC_Gateway_Monei_Cofidis::cofidis_scripts()
S
52 5 23
WC_Monei_IPN::check_ipn_request()
S
53 5 21
MoneiSettings::enqueue_admin_scripts()
S
56 5 18
Woocommerce_Gateway_Monei::is_request()
S
64 6 10
Woocommerce_Gateway_Monei::copyKeysToCentralSettings()
S
60 5 13
WC_Monei_Payment_Gateway::determineTheTotalAmountToBePassed()
S
60 5 13
WC_Monei_Addons_Apple_Pay_Verification::expose_on_domain_association_request()
S
60 5 12
MoneiBizumBlocksSupport::get_payment_method_data()
S
54 4 19
MoneiMultibancoBlocksSupport::get_payment_method_data()
S
54 4 19
MoneiMBWayBlocksSupport::get_payment_method_data()
S
54 4 19
WC_Monei_Logger::log()
S
56 4 18
MoneiAppleGoogleGateway::__construct()
S
54 4 18
woocommerce_gateway_monei_locate_template()
S
58 4 18
MoneiMBWay::is_available()
S
66 5 7
MoneiMultibanco::is_available()
S
66 5 7
Woocommerce_Gateway_Monei::get_setting_with_default()
S
60 4 14
WC_Monei_IPN::get_all_headers()
S
59 4 13
WC_Monei_Pre_Auth::is_pre_auth_order()
S
61 4 13
WC_Monei_Redirect_Hooks::add_notice_monei_order_cancelled()
S
59 4 12
WC_Gateway_Monei_CC::add_payment_method()
S
51 3 27
WC_Monei_Payment_Gateway::checks_before_save()
S
62 4 11
MoneiAppleGoogleGateway::isBlockCheckout()
S
62 4 11
WC_Monei_Payment_Gateway::admin_options()
S
63 4 11
WC_Gateway_Monei_CC::create_zero_eur_payload()
S
51 3 25
Woocommerce_Gateway_Monei::includes()
S
55 3 22
MoneiSettings::get_settings()
S
44 1 52
WC_Monei_Pre_Auth::capture_payment_when_pre_auth()
S
56 3 17
WC_Monei_Pre_Auth::cancel_payment_when_pre_auth()
S
57 3 16
Woocommerce_Gateway_Monei::admin_new_install_notice()
S
64 4 9
WC_Monei_Payment_Gateway::is_valid_for_use()
S
63 4 10
Woocommerce_Gateway_Monei::continue_init()
S
61 3 13
WC_Gateway_Monei_CC_Blocks::get_payment_method_script_handles()
S
54 2 24
MoneiBizumBlocksSupport::get_payment_method_script_handles()
S
56 2 21
MoneiMBWayBlocksSupport::get_payment_method_script_handles()
S
56 2 21
MoneiMultibancoBlocksSupport::get_payment_method_script_handles()
S
56 2 21
Woocommerce_Gateway_Monei::block_compatiblity()
S
56 2 20
MoneiBizumBlocksSupport::is_active()
S
66 3 8
WC_Gateway_Monei_Paypal::needs_setup()
S
71 3 6
MoneiMultibancoBlocksSupport::is_active()
S
66 3 8
WC_Monei_IPN::log_ipn_request()
S
66 3 7
WC_Monei_Payment_Gateway::getAccountId()
S
68 3 7
WC_Monei_Payment_Gateway::getTestmode()
S
68 3 7
WC_Monei_Redirect_Hooks::add_notice_monei_order_failed()
S
63 3 10
MoneiMBWay::needs_setup()
S
71 3 6
WC_Monei_Payment_Gateway::log()
S
72 3 5
MoneiMultibanco::needs_setup()
S
71 3 6
MoneiMBWayBlocksSupport::is_active()
S
66 3 8
monei_token_exits()
S
65 3 9
WC_Gateway_Monei_CC::needs_setup()
S
71 3 6
WC_Gateway_Monei_CC_Blocks::is_active()
S
66 3 8
WC_Monei_Payment_Gateway_Hosted::get_frontend_generated_bizum_token()
S
69 3 6
WC_Monei_Payment_Gateway::getApiKey()
S
68 3 7
WC_Gateway_Monei_Bizum::needs_setup()
S
71 3 6
monei_get_settings()
S
68 3 7
WC_Gateway_Monei_Cofidis::needs_setup()
S
71 3 6
WC_Gateway_Monei_CC::render_monei_form()
S
57 1 29
MoneiSettings::output()
S
60 2 13
Woocommerce_Gateway_Monei::add_gateways()
S
62 2 12
Woocommerce_Gateway_Monei::init()
S
53 1 25
Woocommerce_Gateway_Monei::define()
S
75 2 5
WC_Monei_Payment_Gateway::add_cart_total_fragments()
S
68 2 7
WC_Monei_Payment_Gateway_Component::get_frontend_generated_monei_apple_google_token()
S
77 2 3
WC_Monei_Payment_Gateway::get_frontend_generated_monei_token()
S
77 2 3
WC_Monei_API::set_order()
S
75 2 4
WC_Monei_Payment_Gateway_Component::get_frontend_generated_monei_token()
S
77 2 3
WC_Monei_Payment_Gateway::get_payment_token_id_if_selected()
S
76 2 3
Woocommerce_Gateway_Monei::check_dependencies()
S
71 2 6
WC_Monei_Payment_Gateway::isBlockCheckout()
S
76 2 3
WC_Monei_Payment_Gateway_Component::isBlockCheckout()
S
76 2 3
WC_Monei_Payment_Gateway_Component::get_frontend_generated_monei_cardholder()
S
74 2 4
Woocommerce_Gateway_Monei::monei_settings_by_default()
S
67 2 7
WC_Monei_API::get_client()
S
63 2 10
WC_Monei_API::get_api_key()
S
69 2 7
Woocommerce_Gateway_Monei::initalize_plugin()
S
64 2 9
WC_Monei_Payment_Gateway::get_icon()
S
74 2 4
WC_Gateway_Monei_Cofidis::payment_fields()
S
68 2 8
Woocommerce_Gateway_Monei::instance()
S
70 2 7
WC_Gateway_Monei_CC_Blocks::filter_saved_payment_methods_list()
S
71 2 6
WC_Monei_IPN::verify_signature_get_payload()
S
68 2 7
MoneiAppleGoogleGateway::payment_fields()
S
68 2 8
Woocommerce_Gateway_Monei::include_payment_methods()
S
63 1 12
Woocommerce_Gateway_Monei::define_constants()
S
65 1 9
WC_Monei_API::cancel_payment()
S
74 1 4
WC_Monei_API::create_payment()
S
75 1 4
WC_Gateway_Monei_CC::init_form_fields()
S
79 1 3
MoneiMBWayBlocksSupport::initialize()
S
75 1 4
Woocommerce_Gateway_Monei::init_hooks()
S
75 1 4
WC_Monei_API::capture_payment()
S
74 1 4
WC_Monei_API::verify_signature()
S
75 1 4
WC_Monei()
S
82 1 3
MoneiMultibanco::process_payment()
S
79 1 3
WC_Gateway_Monei_Paypal::init_form_fields()
S
79 1 3
Woocommerce_Gateway_Monei::ajax_url()
S
79 1 3
Woocommerce_Gateway_Monei::get_installed_version()
S
80 1 3
WC_Gateway_Monei_Paypal::process_payment()
S
79 1 3
WC_Monei_API::refund_payment()
S
64 1 10
MoneiSettings::__construct()
S
70 1 6
WC_Monei_Payment_Gateway::save_payment_method_checkbox()
S
65 1 10
WC_Monei_IPN::__construct()
S
75 1 4
MoneiMBWay::process_payment()
S
79 1 3
WC_Gateway_Monei_Bizum::init_form_fields()
S
79 1 3
WC_Gateway_Monei_Cofidis::render_cofidis_widget()
S
83 1 5
AppleGoogleBlocksSupport::get_payment_method_script_handles()
S
91 1 2
WC_Monei_Addons_Apple_Pay_Verification::__construct()
S
74 1 4
locale_iso_639_1_code()
S
73 1 5
WC_Gateway_Monei_Bizum::payment_fields()
S
72 1 9
Woocommerce_Gateway_Monei::plugin_url()
S
79 1 3
MoneiBizumBlocksSupport::initialize()
S
75 1 4
AppleGoogleBlocksSupport::get_payment_method_data()
S
91 1 2
WC_Gateway_Monei_CC_Blocks::initialize()
S
71 1 5
Woocommerce_Gateway_Monei::plugins_loaded()
S
76 1 4
monei_price_format()
S
77 1 3
WC_Monei_API::recurring_payment()
S
75 1 4
WC_Gateway_Monei_CC::process_payment()
S
79 1 3
AppleGoogleBlocksSupport::is_active()
S
91 1 2
WC_Monei_Redirect_Hooks::__construct()
S
72 1 5
WC_Gateway_Monei_Bizum::process_payment()
S
79 1 3
WC_Monei_API::register_apple_domain()
S
74 1 4
MoneiSettings::save()
S
77 1 4
WC_Monei_Payment_Gateway::get_save_payment_card_checkbox()
S
78 1 3
MoneiAppleGoogleGateway::render_google_pay_form()
S
69 1 10
MoneiMultibanco::init_form_fields()
S
79 1 3
MoneiMultibancoBlocksSupport::initialize()
S
75 1 4
Woocommerce_Gateway_Monei::image_url()
S
79 1 3
WC_Monei_API::get_payment()
S
75 1 4
WC_Gateway_Monei_Cofidis::init_form_fields()
S
79 1 3
Woocommerce_Gateway_Monei::plugin_path()
S
80 1 3
woocommerce_gateway_monei_get_template_html()
S
73 1 5
Woocommerce_Gateway_Monei::template_path()
S
79 1 3
MoneiAppleGoogleGateway::hideAppleGoogleInCheckout()
S
82 1 3
WC_Gateway_Monei_Cofidis::process_payment()
S
79 1 3
WC_Monei_Addons_Redirect_Hooks::__construct()
S
75 1 4
WC_Monei_Pre_Auth::__construct()
S
70 1 6
Woocommerce_Gateway_Monei::get_ipn_url()
S
80 1 3
Woocommerce_Gateway_Monei::dependency_notice()
S
81 1 3
MoneiMBWay::init_form_fields()
S
79 1 3
MoneiAppleGoogleGateway::process_payment()
S
79 1 3
AppleGoogleBlocksSupport::initialize()
S
91 1 2
WC_Monei_API::confirm_payment()
S
75 1 4