class_yoco_wc_payment_gateway A

Total Complexity 72
Dependencies 6
Dependents 0
Total lines 669
Lines of code 469
Logical lines of code 177
Comment lines 103
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
payment_scripts()
A
37 12 77
auto_complete_virtual_orders()
S
53 7 23
__construct()
S
46 6 37
perform_plugin_checks()
S
55 6 19
attempt_yoco_token_charge()
S
51 5 31
sendtoYoco()
S
50 4 27
charge_yoco_token()
S
53 4 22
request_token_charge()
S
57 4 18
init_form_fields()
S
43 1 61
is__payments_admin_page()
S
70 4 5
process_failure()
S
53 2 24
get_order_id_order_pay_yoco()
S
66 3 8
admin_options()
S
63 2 13
process_success()
S
55 1 24
process_yoco_failure()
S
56 1 19
yoco_admin_load_scripts()
S
63 2 10
is_response_code_final()
S
68 1 9
process_test()
S
64 1 9
set_wc_admin_notice()
S
74 1 4
pay_for_order()
S
82 1 3
process_payment()
S
69 1 7
formatOrderTotal()
S
78 1 3
is_currency_valid_for_use()
S
66 1 10
plugin_health_check()
S
70 1 6