WC_WooMercadoPago_Payment_Abstract C

Total Complexity 113
Dependencies 11
Dependents 5
Total lines 1,223
Lines of code 523
Logical lines of code 182
Comment lines 498
Methods 45
Properties 50

Methods 45

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