WC_WooMercadoPago_Payment_Abstract D

Total Complexity 130
Dependencies 13
Dependents 5
Total lines 1,406
Lines of code 622
Logical lines of code 208
Comment lines 566
Methods 51
Properties 55

Methods 51

Method Rating Maintainability Complexity Lines of code
get_form_mp_fields()
A
49 12 28
normalize_common_admin_fields()
A
54 9 19
disable_all_payments_methods_mp()
A
56 9 16
is_available()
A
55 8 19
__construct()
S
47 5 31
get_application_id()
S
58 6 16
field_checkout_card_validate()
S
50 4 28
validate_section()
S
62 5 11
update_option()
S
57 4 16
get_country_link_mp_terms()
S
46 1 48
get_sdk_instance()
S
62 4 10
is_manage_section()
S
67 4 7
get_option_mp()
S
63 3 11
sort_form_fields()
S
62 3 11
load_custom_credentials_js()
S
63 3 10
admin_url()
S
68 3 6
get_activable_value()
S
68 3 7
get_suffix()
S
78 3 3
get_mp_devsite_link()
S
60 2 13
mercadopago_after_form()
S
53 1 27
field_checkout_card_homolog()
S
56 1 18
get_common_config()
S
57 1 17
is_test_user()
S
72 2 6
set_order_to_pending_on_retry()
S
71 2 6
get_mp_instance()
S
69 2 7
generate_mp_activable_input_html()
S
59 1 15
field_commission()
S
59 1 15
field_gateway_discount()
S
59 1 15
get_valid_installments()
S
70 2 7
get_mp_options()
S
71 2 6
get_access_token()
S
72 2 6
get_public_key()
S
72 2 6
field_currency_conversion()
S
60 1 13
field_binary_mode()
S
62 1 12
generate_mp_toggle_switch_html()
S
62 1 12
field_enabled()
S
62 1 12
field_title()
S
61 1 12
field_coupon_mode()
S
62 1 12
get_country_domain_by_meli_acronym()
S
61 1 12
field_checkout_payments_subtitle()
S
69 1 7
is_production_mode()
S
78 1 3
mp_define_terms_and_conditions()
S
68 1 7
get_id()
S
81 1 3
get_mp_icon()
S
78 1 3
is_currency_convertable()
S
82 1 3
field_checkout_payments_advanced_description()
S
69 1 7
get_common_configs()
S
81 1 3
field_description()
S
64 1 10
generate_mp_card_info_html()
S
66 1 10
load_custom_js_for_checkbox()
S
64 1 10
generate_mp_checkbox_list_html()
S
66 1 10