WC_WooMercadoPago_Hook_Abstract C

Total Complexity 106
Dependencies 7
Dependents 1
Total lines 575
Lines of code 322
Logical lines of code 189
Comment lines 174
Methods 24
Properties 6

Methods 24

Method Rating Maintainability Complexity Lines of code
validate_access_token()
C
38 26 63
get_payment_method_title()
A
48 16 28
validate_public_key()
A
51 11 28
add_discount_abst()
A
49 10 29
custom_process_admin_options()
A
48 8 33
handle_mp_components()
S
57 6 17
add_mp_settings_script()
S
57 6 15
load_hooks()
S
58 3 15
validate_credentials()
S
66 3 9
separate_checkboxes()
S
68 2 7
separate_checkboxes_list()
S
69 2 7
sort_by_checkout_mode_first()
S
63 1 12
notice_blank_public_key_prod()
S
72 1 5
notice_invalid_test_credentials()
S
72 1 5
notice_blank_test_credentials()
S
72 1 5
notice_blank_public_key_test()
S
72 1 5
enable_payment_notice()
S
72 1 5
__construct()
S
65 1 9
notice_invalid_prod_credentials()
S
72 1 5
notice_invalid_public_key_test()
S
72 1 5
notice_invalid_public_key_prod()
S
72 1 5
build_woocommerce_settings_key()
S
80 1 3
update_mp_settings_script()
S
91 1 2
notice_blank_prod_credentials()
S
72 1 5