WC_Gateway_Checkout_Com_Cards D

Total Complexity 142
Dependencies 16
Dependents 0
Total lines 1,100
Lines of code 706
Logical lines of code 429
Comment lines 211
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
process_payment()
C
34 28 84
callback_handler()
B
34 21 82
webhook_handler()
B
35 18 82
payment_scripts()
A
45 11 39
get_localisation()
A
44 9 43
add_payment_method()
A
39 7 66
payment_fields()
A
46 8 42
admin_options()
A
47 7 38
save_token()
S
48 6 32
save_preferred_card_scheme()
S
56 6 18
process_admin_options()
S
57 6 17
process_refund()
S
54 5 21
element_form()
S
45 2 59
__construct()
S
48 2 33
element_form_save_card()
S
67 2 12
init_form_fields()
S
62 1 13
add_payment_meta_field()
S
63 1 12
generate_screen_button_html()
S
80 1 3
element_form_cvv()
S
66 1 10