WC_Yoco_Payment_Gateway B

Total Complexity 80
Dependencies 6
Dependents 0
Total lines 621
Lines of code 398
Logical lines of code 164
Comment lines 147
Methods 30
Properties 7

Methods 30

Method Rating Maintainability Complexity Lines of code
get_order_for_payment_scripts_to_enqueue()
A
49 13 31
auto_complete_virtual_orders()
S
53 7 23
bb_verify_payment()
S
49 6 36
perform_plugin_checks()
S
55 6 19
get_merchant_keys()
S
63 6 9
ajax_bb_verify_payment()
S
53 4 22
is__payments_admin_page()
S
70 4 5
initiate_blackbird_payment()
S
52 2 28
process_failure()
S
53 2 24
yoco_admin_load_scripts()
S
57 2 18
is_payment_methods_page()
S
71 3 5
get_order_id_order_pay_yoco()
S
66 3 8
payment_fields()
S
68 3 7
admin_options()
S
63 2 13
process_success()
S
55 1 24
process_yoco_failure()
S
56 1 19
frontend_error_messages()
S
60 1 16
enqueue_common_payment_scripts()
S
61 1 15
get_title()
S
64 2 9
pay_for_order()
S
82 1 3
plugin_health_check()
S
70 1 6
__construct()
S
75 1 5
set_wc_admin_notice()
S
74 1 4
get_description_for_order()
S
64 1 10
get_payment_metadata_for_order()
S
63 1 10
enqueue_yoco_sdk_script()
S
68 1 8
format_order_total()
S
77 1 3
is_currency_valid_for_use()
S
66 1 10
get_icon()
S
74 1 4
process_payment()
S
77 1 4