WC_Gateway_WizardPay C

Total Complexity 105
Dependencies 4
Dependents 1
Total lines 1,191
Lines of code 810
Logical lines of code 390
Comment lines 156
Methods 25
Properties 5

Methods 25

Method Rating Maintainability Complexity Lines of code
handle_checkout_redirecturl_response()
D
20
40 226
process_admin_options()
A
42 13 55
process_cancel()
A
49 8 29
init_form_fields()
A
34 1 126
process_refund()
S
46 5 36
payment_fields()
S
41 1 93
wc_order_add_capture_buttons_callback()
S
44 2 72
process_payment()
S
47 4 35
check_wz_order_status()
S
57 5 16
get_order_status_failed_error_notice()
S
63 4 11
__construct()
S
46 2 36
redirect_to_success_url()
S
69 3 7
redirect_to_fail_url()
S
69 3 7
wizardpay_admin_notice()
S
68 2 10
getInstance()
S
72 2 6
admin_options()
S
63 1 12
send_alert_email_to_admin()
S
66 1 7
payment_scripts()
S
71 1 5
get_capture_setting()
S
82 1 3
set_wz_api_key()
S
81 1 3
get_wz_api_key()
S
82 1 3
get_wizardpay_api_url()
S
82 1 3
get_statement_descriptor()
S
82 1 3
autoload()
S
89 1 2
is_currency_supported()
S
75 1 4