WC_WooMercadoPago_Module A

Total Complexity 51
Dependencies 4
Dependents 6
Total lines 501
Lines of code 386
Logical lines of code 122
Comment lines 62
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
get_country_config()
A
33 9 130
filter_payment_method_by_shipping()
S
56 6 18
get_conversion_rate()
S
56 4 18
__construct()
S
51 3 28
is_subscription()
S
61 4 12
get_categories()
S
54 3 22
woomercadopago_settings_link()
S
49 1 32
woocommerce_instance()
S
68 2 8
get_client_id()
S
68 2 7
init_mercado_pago_gateway_class()
S
72 2 6
load_plugin_textdomain()
S
61 1 13
get_common_settings()
S
63 1 11
build_currency_not_converted_msg()
S
63 1 10
build_valid_credentials_msg()
S
64 1 9
build_invalid_credentials_msg()
S
70 1 6
workaround_ampersand_bug()
S
77 1 3
build_currency_converted_msg()
S
64 1 9
get_templates_path()
S
79 1 3
build_currency_conversion_err_msg()
S
64 1 9
get_module_version()
S
81 1 3
notify_woocommerce_miss()
S
67 1 9
add_shipping()
S
73 1 5
add_gateway()
S
69 1 7
admin_includes()
S
79 1 3
utf8_ansi()
S
71 1 5