WC_Checkout_Braspag_Gateway B

Total Complexity 89
Dependencies 6
Dependents 1
Total lines 1,140
Lines of code 708
Logical lines of code 257
Comment lines 280
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
init_form_fields()
D
18
11 391
update_order_status()
A
43 14 45
process_payment()
A
47 8 33
enqueue_asset()
S
60 7 11
log()
S
59 5 14
wc_api_callback()
S
54 4 20
payment_fields()
S
55 4 18
update_order_from_payment()
S
58 4 14
__construct()
S
49 3 29
update_order_transaction_data()
S
52 3 24
init_payment_options()
S
50 2 30
get_frontend_payment_methods()
S
63 4 10
email_instructions()
S
60 3 13
get_payment_method_by_code()
S
67 3 8
add_notices()
S
69 3 6
is_available()
S
65 3 9
thankyou_page()
S
61 2 12
get_api_return_url()
S
80 1 3
get_payment_methods()
S
82 1 3
get_payment_method()
S
80 1 3
enqueue_admin_script()
S
79 1 3
enqueue_frontend_script()
S
75 1 4
print_bank_slip_description()
S
72 1 5