WC_Yoco_Payment_Gateway B

Total Complexity 92
Dependencies 6
Dependents 0
Total lines 711
Lines of code 454
Logical lines of code 192
Comment lines 171
Methods 34
Properties 7

Methods 34

Method Rating Maintainability Complexity Lines of code
get_order_for_payment_scripts_to_enqueue()
A
49 13 31
bb_verify_payment()
A
48 8 36
auto_complete_virtual_orders()
S
53 7 23
perform_plugin_checks()
S
55 6 19
ajax_bb_verify_payment()
S
48 5 34
get_merchant_keys()
S
63 6 9
validate_cart_hash()
S
57 4 18
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
payment_fields()
S
68 3 7
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
54 1 25
process_yoco_failure()
S
55 1 20
frontend_error_messages()
S
60 1 16
handle_custom_query_var()
S
64 2 9
get_yoco_payment_id_from_order()
S
71 2 5
get_title()
S
64 2 9
enqueue_common_payment_scripts()
S
61 1 15
__construct()
S
62 1 12
pay_for_order()
S
82 1 3
set_wc_admin_notice()
S
74 1 4
get_description_for_order()
S
64 1 10
enqueue_yoco_sdk_script()
S
68 1 8
plugin_health_check()
S
70 1 6
format_order_total()
S
77 1 3
is_currency_valid_for_use()
S
66 1 10
process_payment()
S
77 1 4
maybe_save_payment_id_to_order()
S
79 1 3
get_icon()
S
74 1 4
get_payment_metadata_for_order()
S
63 1 10