WC_WooMercadoPago_Basic_Gateway B

Total Complexity 81
Dependencies 11
Dependents 1
Total lines 584
Lines of code 427
Logical lines of code 168
Comment lines 110
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
get_form_mp_fields()
A
43 15 44
process_payment()
A
45 10 40
payment_fields()
A
42 9 48
is_available()
A
55 9 20
field_ex_payments()
A
43 6 53
create_preference()
S
51 6 24
get_ex_payments()
S
60 4 13
field_success_url()
S
58 3 14
field_pending_url()
S
58 3 14
field_failure_url()
S
58 3 14
__construct()
S
50 2 28
field_method()
S
61 2 12
get_fields_sequence()
S
55 1 23
field_installments()
S
54 1 21
field_checkout_header()
S
58 1 18
get_client_id()
S
69 2 7
field_enabled()
S
62 1 12
field_auto_return()
S
62 1 12
field_checkout_payments_advanced_title()
S
69 1 7
get_id()
S
80 1 3