class_yoco_wc_payment_gateway B

Total Complexity 80
Dependencies 7
Dependents 1
Total lines 686
Lines of code 505
Logical lines of code 190
Comment lines 93
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
payment_scripts()
B
30 19 128
__construct()
A
44 8 42
auto_complete_virtual_orders()
S
53 7 23
perform_plugin_checks()
S
55 6 19
bb_verify_payment()
S
50 5 32
init_form_fields()
S
41 1 68
ajax_bb_verify_payment()
S
53 4 22
is__payments_admin_page()
S
70 4 5
process_payment()
S
59 3 15
process_failure()
S
53 2 24
get_order_id_order_pay_yoco()
S
66 3 8
is_payment_methods_page()
S
71 3 5
admin_options()
S
63 2 13
process_success()
S
55 1 24
process_yoco_failure()
S
56 1 19
payment_fields()
S
73 2 6
yoco_admin_load_scripts()
S
63 2 10
enqueue_common_payment_scripts()
S
64 1 11
get_icon()
S
71 1 5
set_wc_admin_notice()
S
74 1 4
pay_for_order()
S
82 1 3
format_order_total()
S
77 1 3
is_currency_valid_for_use()
S
66 1 10
plugin_health_check()
S
70 1 6