WC_Gateway_Checkout_Com_Cards D

Total Complexity 130
Dependencies 16
Dependents 0
Total lines 1,017
Lines of code 645
Logical lines of code 404
Comment lines 199
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
process_payment()
B
36 23 73
callback_handler()
B
34 21 82
webhook_handler()
B
36 15 75
add_payment_method()
A
39 7 66
payment_fields()
A
46 8 42
get_localisation()
A
50 8 30
payment_scripts()
A
50 8 26
admin_options()
A
47 7 38
save_token()
S
48 6 32
save_preferred_card_scheme()
S
57 7 16
process_admin_options()
S
57 6 17
process_refund()
S
54 5 20
element_form()
S
46 2 58
__construct()
S
49 2 32
element_form_save_card()
S
67 2 12
init_form_fields()
S
62 1 13
element_form_cvv()
S
66 1 10
generate_screen_button_html()
S
80 1 3