WC_Gateway_Checkout_Com_Cards B

Total Complexity 96
Dependencies 15
Dependents 1
Total lines 1,038
Lines of code 782
Logical lines of code 328
Comment lines 120
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
payment_fields()
C
24
11 373
callback_handler()
B
39 15 61
process_payment()
A
41 15 54
webhook_handler()
A
40 11 60
add_payment_method()
A
39 9 65
get_localisation()
A
49 9 34
admin_options()
S
48 6 34
process_admin_options()
S
57 6 17
save_token()
S
50 5 28
process_refund()
S
53 5 22
__construct()
S
54 2 21
init_form_fields()
S
64 1 10
generate_screen_button_html()
S
80 1 3