WC_WooMercadoPago_Module C

Total Complexity 108
Dependencies 9
Dependents 21
Total lines 907
Lines of code 496
Logical lines of code 238
Comment lines 308
Methods 43
Properties 8

Methods 43

Method Rating Maintainability Complexity Lines of code
update_credential_production()
A
51 12 24
get_country_name()
A
54 9 21
get_mp_instance()
A
50 8 27
__construct()
S
45 5 42
get_mp_instance_singleton()
S
57 6 17
is_subscription()
S
59 6 13
get_common_error_messages()
S
58 5 15
define_link_country()
S
43 2 57
load_admin_css()
S
57 4 17
load_admin_scripts()
S
52 3 25
get_map()
S
51 2 26
load_buyer_scripts()
S
53 2 24
get_site_data()
S
65 3 8
is_mobile()
S
65 3 8
get_suffix()
S
78 3 3
get_woocommerce_default_country()
S
67 3 7
woocommerce_instance()
S
68 2 8
load_before_thankyou_scripts()
S
66 2 8
is_wc_new_version()
S
69 2 7
mp_plugin_row_meta()
S
65 2 9
init_mercado_pago_class()
S
71 2 6
get_common_settings()
S
63 1 11
load_preferences()
S
66 1 9
woomercadopago_settings_link()
S
64 1 8
enable_payment_notice()
S
72 1 5
load_before_woocommerce_pay_scripts()
S
80 1 3
load_pay_order_scripts()
S
80 1 3
load_before_checkout_scripts()
S
80 1 3
filter_payment_method_by_shipping()
S
82 1 3
load_notifications()
S
73 1 5
load_payments()
S
66 1 8
load_global_css()
S
66 1 9
get_notification_type()
S
68 1 7
load_hooks()
S
69 1 7
load_configs()
S
70 1 7
load_helpers()
S
70 1 6
get_templates_path()
S
79 1 3
fix_url_ampersand()
S
77 1 3
get_sponsor_id()
S
75 1 4
get_conversion_rate()
S
72 1 5
load_stock_manager()
S
79 1 3
mp_define_terms_and_conditions()
S
64 1 9
load_log()
S
79 1 3