WC_WooMercadoPagoCustom_Gateway D

Total Complexity 303
Dependencies 10
Dependents 0
Total lines 1,932
Lines of code 1,576
Logical lines of code 599
Comment lines 189
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
build_payment_preference()
D
20
39 228
successful_request()
C
29 23 141
process_payment()
C
31 23 120
process_refund()
C
34 22 95
init_form_fields()
B
25
12 213
__construct()
B
31 14 117
get_order_status()
B
45 18 40
check_ipn_request_is_valid()
A
40 15 60
payment_fields()
A
31 9 115
validate_credentials()
A
41 13 53
add_discount_custom()
A
47 14 32
custom_process_admin_options()
A
44 13 41
check_and_save_customer_card()
A
45 12 40
create_url()
A
43 11 51
process_cancel_order_meta_box_actions()
A
45 11 40
is_available()
A
53 10 21
get_payment_method_title_custom()
A
54 10 19
process_http_request()
A
44 8 48
add_checkout_script()
S
50 7 30
update_checkout_status()
S
54 5 22
custom_checkout_scripts()
S
61 4 13
check_ssl_absence()
S
61 4 12
admin_url()
S
64 3 10
credentials_missing_message()
S
69 1 7
is_supported_currency()
S
79 1 3
build_log_path_string()
S
70 1 5