WC_Gateway_Checkout_Com_Cards D

Total Complexity 131
Dependencies 16
Dependents 0
Total lines 1,024
Lines of code 651
Logical lines of code 407
Comment lines 199
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
process_payment()
B
36 23 75
callback_handler()
B
35 20 82
webhook_handler()
B
36 16 78
add_payment_method()
A
39 7 66
payment_fields()
A
46 8 42
payment_scripts()
A
49 9 27
get_localisation()
A
50 8 30
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