WC_Conpay_Gateway C

Total Complexity 106
Dependencies 3
Dependents 0
Total lines 839
Lines of code 552
Logical lines of code 216
Comment lines 100
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
process_payment()
B
28
18 149
update_order_status()
B
44 20 41
save_payment_meta_data()
A
45 11 42
callback_handler()
S
51 6 27
init_form_fields()
S
39 1 80
validateCreditCardFields()
S
57 4 17
do_request()
S
58 4 15
validateBoletoFields()
S
60 4 13
checkout_scripts()
S
65 4 8
thankyou_page()
S
58 3 15
payment_fields()
S
56 2 18
ecommerce_doPayment()
S
64 3 9
is_available()
S
73 3 4
get_log_view()
S
67 3 6
boleto_register()
S
64 3 9
admin_options()
S
69 3 5
__construct()
S
50 1 26
sanitizeFields()
S
54 1 23
handle_custom_query_var()
S
65 2 9
get_payment_name_by_type()
S
67 2 7
getBoletoRegisterUrl()
S
80 1 3
get_username()
S
82 1 3
getAuthUrl()
S
80 1 3
process_callback()
S
80 1 3
obtain_access_token()
S
66 1 8
get_token()
S
82 1 3
get_password()
S
82 1 3
getEcommercePaymentUrl()
S
80 1 3