WC_WooMercadoPago_Custom_Gateway C

Total Complexity 104
Dependencies 12
Dependents 0
Total lines 659
Lines of code 460
Logical lines of code 218
Comment lines 141
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
process_custom_checkout_flow()
B
37 19 76
get_order_status()
B
45 18 40
get_form_mp_fields()
A
44 15 40
payment_fields()
A
39 12 58
process_discount_and_commission()
S
50 7 26
create_preference_wallet_button()
S
52 5 22
create_preference()
S
53 5 21
process_payment()
S
51 4 28
is_available()
S
60 5 12
__construct()
S
54 2 21
get_wallet_button_example_uri()
S
66 3 7
get_fields_sequence()
S
56 1 21
field_checkout_custom_header()
S
58 1 19
field_checkout_custom_wallet_button_title()
S
61 1 13
field_enabled()
S
62 1 12
wallet_button_preview()
S
64 1 11
process_custom_checkout_wallet_button_flow()
S
64 1 11
process_result_fail()
S
63 1 11
field_checkout_custom_payments_advanced_title()
S
67 1 8
get_id()
S
80 1 3