Code Analysis: Multibanco, MB WAY, Credit card and Payshop (IfthenPay) for WooCommerce 6.4.0

Function Rating Maintainability Complexity Lines of code
WC_IfthenPay_Webdados::multibanco_order_metabox_html()
D
13
59 351
WC_IfthenPay_Webdados::multibanco_get_ref()
D
20
50 201
WC_MBWAY_IfThen_Webdados::callback()
D
23
37 176
WC_Payshop_IfThen_Webdados::callback()
D
27
31 143
WC_Multibanco_IfThen_Webdados::callback()
D
27
31 135
WC_IfthenPay_Webdados::multibanco_maybe_value_changed()
D
28
27 160
WC_Multibanco_IfThen_Webdados::admin_options()
C
28
19 168
WC_CreditCard_IfThen_Webdados::callback()
C
32 23 103
WC_Multibanco_IfThen_Webdados::email_instructions()
C
38 24 65
WC_Multibanco_IfThen_Webdados::init_form_fields()
B
23
12 239
WC_Multibanco_IfThen_Webdados::process_payment()
B
38 18 63
WC_IfthenPay_Webdados::multibanco_woocommerce_cancel_unpaid_orders()
B
40 18 56
WC_Payshop_IfThen_Webdados::email_instructions()
B
43 18 48
WC_MBWAY_IfThen_Webdados::email_instructions()
B
43 18 48
WC_CreditCard_IfThen_Webdados::email_instructions()
B
44 17 45
WC_IfthenPay_Webdados::multibanco_woocommerce_order_data_store_cpt_get_orders_query()
B
39 14 84
WC_IfthenPay_Webdados::disable_only_above_or_bellow()
B
46 17 39
WC_Payshop_IfThen_Webdados::init_form_fields()
A
29
8 163
WC_Payshop_IfThen_Webdados::admin_options()
A
32 10 128
WC_MBWAY_IfThen_Webdados::admin_options()
A
32 10 128
WC_Payshop_IfThen_Webdados::webservice_set_pedido()
A
38 13 68
WC_MBWAY_IfThen_Webdados::init_form_fields()
A
31 8 141
WC_Multibanco_IfThen_Webdados::__construct()
A
35 12 80
WC_MBWAY_IfThen_Webdados::__construct()
A
36 12 78
WC_MBWAY_IfThen_Webdados::webservice_set_pedido()
A
36 12 78
WC_Multibanco_IfThen_Webdados::admin_notices()
A
45 14 45
WC_IfthenPay_Webdados::admin_notices()
A
39 12 73
WC_MBWAY_IfThen_Webdados::thankyou()
A
43 13 42
WC_MBWAY_IfThen_Webdados::admin_notices()
A
41 11 70
WC_Payshop_IfThen_Webdados::admin_notices()
A
41 11 70
WC_IfthenPay_Webdados::__construct()
A
42 12 51
WC_Payshop_IfThen_Webdados::__construct()
A
37 10 70
WC_CreditCard_IfThen_Webdados::api_init_payment()
A
39 10 61
WC_IfthenPay_Webdados::admin_scripts()
A
49 12 25
WC_CreditCard_IfThen_Webdados::__construct()
A
41 9 53
WC_CreditCard_IfThen_Webdados::init_form_fields()
A
35 6 97
WC_Multibanco_IfThen_Webdados::send_callback_email()
A
43 9 50
WC_Multibanco_IfThen_Webdados::disable_if_settings_missing()
A
51 10 29
WC_Multibanco_IfThen_Webdados::upgrade()
A
46 9 37
WC_IfthenPay_Webdados::woocommerce_my_account_my_orders_actions()
A
56 10 18
WC_Payshop_IfThen_Webdados::send_callback_email()
A
45 8 41
WC_MBWAY_IfThen_Webdados::send_callback_email()
A
45 8 41
WC_CreditCard_IfThen_Webdados::admin_options()
A
40 6 70
WC_Payshop_IfThen_Webdados::thankyou()
A
52 9 22
WC_IfthenPay_Webdados::multibanco_create_ref()
A
43 7 45
WC_CreditCard_IfThen_Webdados::callback_helper_get_pending_order()
A
45 7 45
WC_IfthenPay_Webdados::admin_right_bar()
A
36 3 102
WC_IfthenPay_Webdados::payshop_get_ref()
A
47 7 38
WC_IfthenPay_Webdados::multibanco_wcs_renewal_order_created()
A
53 8 22
WC_MBWAY_IfThen_Webdados::thankyou_instructions_table_html()
A
44 6 47
WC_IfthenPay_Webdados::wp_ajax_mbway_ifthen_request_payment_again()
A
49 7 31
WC_MBWAY_IfThen_Webdados::email_instructions_table_html()
A
44 6 46
WC_Payshop_IfThen_Webdados::process_payment()
S
51 7 25
WC_CreditCard_IfThen_Webdados::thankyou()
S
58 7 15
WC_Multibanco_IfThen_Webdados::thankyou_instructions_table_html()
S
45 5 44
WC_Multibanco_IfThen_Webdados::email_instructions_table_html()
S
45 5 43
WC_IfthenPay_Webdados::payshop_sms_instructions()
S
50 6 28
WC_Payshop_IfThen_Webdados::thankyou_instructions_table_html()
S
46 5 42
WC_Payshop_IfThen_Webdados::email_instructions_table_html()
S
46 5 41
WC_MBWAY_IfThen_Webdados::process_payment()
S
51 6 26
WC_IfthenPay_Webdados::init_hooks()
S
45 5 40
WC_Multibanco_IfThen_Webdados::thankyou()
S
53 6 24
WC_IfthenPay_Webdados::woocommerce_payment_complete_reduce_order_stock()
S
54 6 24
WC_IfthenPay_Webdados::multibanco_wcs_filter_meta()
S
56 6 18
WC_MBWAY_IfThen_Webdados::validate_fields()
S
57 6 14
WC_CreditCard_IfThen_Webdados::admin_notices()
S
48 4 43
WC_IfthenPay_Webdados::callback_webservice()
S
46 4 39
WC_IfthenPay_Webdados::get_payshop_order_details()
S
53 5 22
WC_IfthenPay_Webdados::get_creditcard_order_details()
S
53 5 22
WC_CreditCard_IfThen_Webdados::process_payment()
S
54 5 21
mbifthen_init()
S
57 5 15
WC_Payshop_IfThen_Webdados::upgrade()
S
58 5 15
WC_IfthenPay_Webdados::disable_unless_portugal()
S
68 6 6
WC_IfthenPay_Webdados::get_multibanco_incremental_expire_next_seed()
S
59 5 14
WC_IfthenPay_Webdados::multibanco_sms_instructions()
S
50 4 29
WC_IfthenPay_Webdados::get_order_total_to_pay()
S
60 5 13
Automattic\WooCommerce\Blocks\Payments\Integrations\MultibancoIfthenPay::get_payment_method_data()
S
61 5 11
WC_IfthenPay_Webdados::multibanco_set_order_mb_details()
S
54 4 19
WC_IfthenPay_Webdados::get_mbway_order_details()
S
56 4 18
WC_IfthenPay_Webdados::get_multibanco_order_details()
S
57 4 16
WC_IfthenPay_Webdados::wpml_ajax_fix_locale()
S
65 5 9
WC_MBWAY_IfThen_Webdados::thankyou_instructions_table_html_expired()
S
50 3 30
WC_IfthenPay_Webdados::woocommerce_new_customer_note_fix_wpml()
S
63 4 12
WC_IfthenPay_Webdados::should_fix_woocommerce_420()
S
62 4 12
WC_MBWAY_IfThen_Webdados::thankyou_instructions_table_html_css()
S
51 1 53
WC_Payshop_IfThen_Webdados::thankyou_instructions_table_html_css()
S
52 1 48
WC_Multibanco_IfThen_Webdados::debug_log()
S
70 4 5
WC_Multibanco_IfThen_Webdados::debug_log_extra()
S
70 4 5
WC_IfthenPay_Webdados::wpml_ajax_fix_locale_do_it()
S
65 4 9
WC_CreditCard_IfThen_Webdados::debug_log()
S
70 4 5
WC_Payshop_IfThen_Webdados::debug_log()
S
70 4 5
WC_CreditCard_IfThen_Webdados::debug_log_extra()
S
70 4 5
WC_MBWAY_IfThen_Webdados::debug_log()
S
70 4 5
WC_IfthenPay_Webdados::woocommerce_add_payment_gateways_woocommerce_blocks()
S
66 4 7
WC_Multibanco_IfThen_Webdados::thankyou_instructions_table_html_css()
S
53 1 45
WC_IfthenPay_Webdados::cancel_expired_orders()
S
58 3 15
WC_IfthenPay_Webdados::mbway_ajax_order_status()
S
59 3 14
WC_CreditCard_IfThen_Webdados::thankyou_instructions_table_html_css()
S
53 1 44
WC_IfthenPay_Webdados::debug_log()
S
63 3 11
WC_Payshop_IfThen_Webdados::thankyou_instructions_table_html_expired()
S
52 2 25
my_multibanco_ifthen_email_instructions_table_html()
S
58 2 17
WC_IfthenPay_Webdados::woocommerce_new_customer_note_fix_wpml_do_it()
S
62 3 10
WC_IfthenPay_Webdados::set_locale_for_emails()
S
71 3 6
WC_CreditCard_IfThen_Webdados::disable_if_settings_missing()
S
64 3 10
WC_Payshop_IfThen_Webdados::disable_if_settings_missing()
S
64 3 10
WC_IfthenPay_Webdados::disable_if_currency_not_euro()
S
70 3 6
WC_IfthenPay_Webdados::order_needs_payment()
S
78 3 3
WC_MBWAY_IfThen_Webdados::upgrade()
S
63 3 10
WC_MBWAY_IfThen_Webdados::disable_if_settings_missing()
S
64 3 10
WC_IfthenPay_Webdados()
S
66 3 8
WC_CreditCard_IfThen_Webdados::upgrade()
S
63 3 10
WC_Payshop_IfThen_Webdados::email_instructions_payment_received()
S
59 2 14
WC_Multibanco_IfThen_Webdados::email_instructions_payment_received()
S
59 2 14
WC_CreditCard_IfThen_Webdados::email_instructions_payment_received()
S
59 2 14
WC_MBWAY_IfThen_Webdados::email_instructions_payment_received()
S
59 2 14
WC_IfthenPay_Webdados::add_settings_link()
S
58 2 14
my_mbway_ifthen_email_instructions_table_html()
S
61 2 13
WC_IfthenPay_Webdados::is_valid_order_type()
S
63 2 12
WC_IfthenPay_Webdados::change_email_language()
S
62 2 11
WC_IfthenPay_Webdados::multibanco_set_order_payshop_details()
S
61 2 11
my_multibanco_ifthen_thankyou_instructions_table_html()
S
60 1 17
WC_Payshop_IfThen_Webdados::order_details_after_order_table()
S
75 2 5
WC_IfthenPay_Webdados::woocommerce_send_queued_transactional_email()
S
71 2 6
WC_CreditCard_IfThen_Webdados::instance()
S
72 2 6
WC_IfthenPay_Webdados::multibanco_format_expiration()
S
66 2 7
my_woocommerce_gateway_icon_mb()
S
71 2 6
WC_MBWAY_IfThen_Webdados::order_details_after_order_table()
S
75 2 5
WC_IfthenPay_Webdados::mbway_format_expiration()
S
63 2 9
WC_IfthenPay_Webdados::instance()
S
71 2 6
WC_Multibanco_IfThen_Webdados::sms_instructions_yith()
S
70 2 6
WC_IfthenPay_Webdados::woocommerce_add_payment_gateways()
S
65 2 9
WC_MBWAY_IfThen_Webdados::get_icon()
S
70 2 5
WC_IfthenPay_Webdados::multibanco_woocommerce_checkout_update_order_meta()
S
65 2 8
WC_Payshop_IfThen_Webdados::sms_instructions_yith()
S
70 2 6
WC_Payshop_IfThen_Webdados::get_icon()
S
70 2 5
Automattic\WooCommerce\Blocks\Payments\Integrations\MultibancoIfthenPay::is_active()
S
77 2 3
WC_Multibanco_IfThen_Webdados::instance()
S
72 2 6
WC_MBWAY_IfThen_Webdados::woocommerce_payment_complete_reduce_order_stock()
S
66 2 8
my_woocommerce_gateway_icon_mbway()
S
71 2 6
WC_IfthenPay_Webdados::woocommerce_valid_order_statuses_for_payment()
S
69 2 6
WC_MBWAY_IfThen_Webdados::instance()
S
72 2 6
WC_Payshop_IfThen_Webdados::register_wpml_strings()
S
67 2 8
WC_IfthenPay_Webdados::get_multibanco_ref_seed()
S
67 2 8
testing_multibanco_ifthen_base_ent_subent()
S
68 2 8
WC_IfthenPay_Webdados::debug_log_extra()
S
70 2 5
WC_Multibanco_IfThen_Webdados::order_details_after_order_table()
S
75 2 5
mbifthen_format_ref()
S
79 2 3
WC_CreditCard_IfThen_Webdados::order_details_after_order_table()
S
75 2 5
my_multibanco_ifthen_created_reference()
S
75 2 3
WC_Payshop_IfThen_Webdados::woocommerce_payment_complete_reduce_order_stock()
S
66 2 8
WC_Multibanco_IfThen_Webdados::get_icon()
S
70 2 5
WC_IfthenPay_Webdados::multibanco_get_ref_deposit()
S
78 2 3
WC_Multibanco_IfThen_Webdados::register_wpml_strings()
S
67 2 8
WC_MBWAY_IfThen_Webdados::register_wpml_strings()
S
67 2 8
WC_IfthenPay_Webdados::payshop_format_expiration()
S
64 2 9
WC_CreditCard_IfThen_Webdados::get_icon()
S
70 2 5
testing_multibanco_ifthen_base_mbwaykey()
S
71 2 7
WC_CreditCard_IfThen_Webdados::register_wpml_strings()
S
68 2 7
WC_Multibanco_IfThen_Webdados::woocommerce_payment_complete_reduce_order_stock()
S
66 2 8
WC_Payshop_IfThen_Webdados::instance()
S
72 2 6
WC_CreditCard_IfThen_Webdados::payment_complete()
S
68 2 8
WC_IfthenPay_Webdados::set_images()
S
59 1 14
my_mbway_ifthen_thankyou_instructions_table_html()
S
64 1 13
WC_MBWAY_IfThen_Webdados::payment_fields()
S
64 1 12
WC_IfthenPay_Webdados::multibanco_set_order_creditcard_details()
S
61 1 11
WC_Multibanco_IfThen_Webdados::disable_unless_portugal()
S
80 1 3
my_multibanco_ifthen_email_instructions_pending_send()
S
83 1 3
WC_MBWAY_IfThen_Webdados::disable_unless_portugal()
S
80 1 3
WC_MBWAY_IfThen_Webdados::email_instructions_1()
S
79 1 3
my_mbway_ifthen_cancel_unpaid_orders_restore_stock()
S
83 1 3
my_multibanco_ifthen_cancel_unpaid_orders_restore_stock()
S
83 1 3
my_mbway_ifthen_enable_check_order_status_thankyou()
S
83 1 3
my_payshop_ifthen_cancel_unpaid_orders_restore_stock()
S
83 1 3
Automattic\WooCommerce\Blocks\Payments\Integrations\MultibancoIfthenPay::get_payment_method_script_handles()
S
74 1 4
WC_IfthenPay_Webdados::get_reference_expiration_days()
S
67 1 7
WC_IfthenPay_Webdados::format_payshop_ref()
S
77 1 3
my_multibanco_ifthen_sms_instructions()
S
78 1 3
WC_Multibanco_IfThen_Webdados::payment_complete()
S
77 1 4
WC_MBWAY_IfThen_Webdados::disable_if_currency_not_euro()
S
80 1 3
WC_Payshop_IfThen_Webdados::email_instructions_1()
S
79 1 3
WC_IfthenPay_Webdados::get_mbway_expiration()
S
71 1 5
my_mbway_ifthen_email_instructions_payment_received()
S
69 1 9
WC_IfthenPay_Webdados::payshop_apg_sms_message()
S
73 1 4
WC_IfthenPay_Webdados::multibanco_apg_sms_message()
S
73 1 4
WC_Multibanco_IfThen_Webdados::disable_only_above_or_bellow()
S
78 1 3
WC_MBWAY_IfThen_Webdados::disable_only_above_or_bellow()
S
78 1 3
WC_IfthenPay_Webdados::multibanco_set_order_mbway_details()
S
62 1 10
my_multibanco_ifthen_email_instructions_payment_received_send()
S
83 1 3
WC_Payshop_IfThen_Webdados::sms_instructions_twilio()
S
74 1 4
my_multibanco_ifthen_set_on_hold()
S
83 1 3
WC_CreditCard_IfThen_Webdados::disable_if_currency_not_euro()
S
80 1 3
Automattic\WooCommerce\Blocks\Payments\Integrations\MultibancoIfthenPay::__construct()
S
91 1 2
my_mbway_ifthen_created_reference()
S
77 1 3
WC_IfthenPay_Webdados::get_multibanco_ref_mode()
S
79 1 3
my_mbway_ifthen_email_instructions_pending_send()
S
83 1 3
WC_Payshop_IfThen_Webdados::disable_only_above_or_bellow()
S
78 1 3
my_multibanco_ifthen_unpaid_order_cancelled()
S
78 1 3
Automattic\WooCommerce\Blocks\Payments\Integrations\MultibancoIfthenPay::initialize()
S
80 1 3
WC_IfthenPay_Webdados::multibanco_clear_order_mb_details()
S
65 1 9
WC_CreditCard_IfThen_Webdados::disable_unless_portugal()
S
80 1 3
my_multibanco_ifthen_format_ref()
S
79 1 3
WC_MBWAY_IfThen_Webdados::webservice_filter_descricao()
S
66 1 8
my_mbway_ifthen_webservice_desc()
S
81 1 3
my_multibanco_ifthen_mbway_settings_fields()
S
69 1 7
WC_Multibanco_IfThen_Webdados::disable_if_currency_not_euro()
S
80 1 3
WC_IfthenPay_Webdados::get_customer_billing_country()
S
80 1 3
WC_IfthenPay_Webdados::multibanco_shop_order_search()
S
75 1 4
my_multibanco_ifthen_multibanco_settings_fields()
S
69 1 7
WC_IfthenPay_Webdados::get_version()
S
82 1 3
WC_MBWAY_IfThen_Webdados::payment_complete()
S
77 1 4
WC_IfthenPay_Webdados::format_multibanco_ref()
S
77 1 3
WC_IfthenPay_Webdados::multibanco_cancel_expired_orders()
S
81 1 3
my_mbway_ifthen_callback_payment_failed()
S
77 1 3
WC_Multibanco_IfThen_Webdados::email_instructions_1()
S
79 1 3
mbifthen_woocommerce_not_active_admin_notices()
S
72 1 7
my_payshop_ifthen_unpaid_order_cancelled()
S
78 1 3
my_multibanco_ifthen_callback_payment_complete()
S
78 1 3
my_payshop_ifthen_callback_payment_failed()
S
77 1 3
WC_Payshop_IfThen_Webdados::disable_if_currency_not_euro()
S
80 1 3
WC_IfthenPay_Webdados::get_customer_shipping_country()
S
80 1 3
WC_CreditCard_IfThen_Webdados::email_instructions_1()
S
79 1 3
WC_IfthenPay_Webdados::payshop_shop_order_search()
S
75 1 4
my_multibanco_ifthen_callback_payment_failed()
S
77 1 3
my_mbway_ifthen_email_instructions_payment_received_send()
S
83 1 3
my_multibanco_ifthen_email_instructions_payment_received()
S
69 1 9
WC_IfthenPay_Webdados::multibanco_order_metabox()
S
66 1 10
WC_Payshop_IfThen_Webdados::disable_unless_portugal()
S
80 1 3
WC_IfthenPay_Webdados::multibanco_create_ref_no_check_digit()
S
69 1 6
my_mbway_ifthen_callback_payment_complete()
S
78 1 3
WC_Payshop_IfThen_Webdados::payment_complete()
S
77 1 4
WC_IfthenPay_Webdados::mb_webservice_filter_descricao()
S
66 1 8
WC_CreditCard_IfThen_Webdados::disable_only_above_or_bellow()
S
78 1 3
my_mbway_ifthen_unpaid_order_cancelled()
S
78 1 3
WC_Multibanco_IfThen_Webdados::sms_instructions_twilio()
S
74 1 4