WC_Checkout_Braspag_Gateway B

Total Complexity 90
Dependencies 6
Dependents 4
Total lines 1,198
Lines of code 713
Logical lines of code 260
Comment lines 317
Methods 24
Properties 9

Methods 24

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 34
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
57 4 15
__construct()
S
49 3 29
update_order_transaction_data()
S
52 3 24
get_frontend_payment_methods()
S
63 4 10
init_payment_options()
S
50 2 30
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
is_processing_payment()
S
80 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