Code Analysis: Wizpay Gateway for WooCommerce 1.3.4

Function Rating Maintainability Complexity Lines of code
WC_Gateway_WizardPay::handle_checkout_redirecturl_response()
D
19
42 267
wizardpay_hook_class::register_hooks()
B
39 21 69
WC_Gateway_WizardPay::process_admin_options()
B
34 19 95
wz_limits_api_hook_function()
B
36 17 81
WizardPay_API::prepare_api_input()
B
30 11 141
Woocommerce_WizardPay_Init::merchant_autherised_to_capture_amount_manually()
A
37 12 76
wizardpay_hook_class::remove_hooks()
A
46 12 43
WizardPay_API::handle_partial_payment_capture_error()
A
46 12 37
WC_Gateway_WizardPay::init_form_fields()
A
28
1 201
WizardPay_API::handle_immediate_payment_capture_error()
A
47 11 37
process_and_print_wizpay_paragraph()
A
42 9 53
WC_Gateway_WizardPay::remove_action_for_prod_cart_prodCat()
A
62 11 10
WizardPay_API::handle_order_payment_status_api_error()
A
51 9 24
WizardPay_API::call_limit_api()
A
47 8 36
WizardPay_API::order_voided_api()
A
46 7 39
filter_woocommerce_no_available_payment_methods_message()
A
47 7 38
WizardPay_API::handle_order_refund_api_error()
A
53 8 22
payment_gateway_disable_country()
A
55 8 21
WizardPay_API::order_refund_api()
S
49 7 30
WizardPay_API::get_order_payment_status_api()
S
49 7 30
WizardPay_API::immediate_payment_capture()
S
49 7 30
WizardPay_API::order_partial_capture_api()
S
49 7 30
wizardpay_unset_gateway_by_price()
S
52 7 24
wizardpay_hook_class::wizardpay_print_info_for_cart_page()
S
54 7 20
WC_Gateway_WizardPay::process_refund()
S
44 5 44
WC_Gateway_WizardPay::process_payment()
S
42 4 57
WizardPay_API::call_checkouts_redirect_api()
S
51 6 25
wizardpay_hook_class::wizardpay_print_info_for_product_detail_page()
S
55 6 18
WC_Gateway_WizardPay::__construct()
S
41 3 61
wizardpay_hook_class::wizardpay_print_info_for_product_cat_page()
S
57 6 15
WC_Gateway_WizardPay::generate_wysiwyg_html()
S
57 6 14
WC_Gateway_WizardPay::wc_order_add_capture_buttons_callback()
S
44 2 73
Woocommerce_WizardPay_Init::get_pending_capture_amount()
S
47 4 37
Woocommerce_WizardPay_Init::plugins_loaded()
S
54 5 22
WC_Gateway_WizardPay::check_wz_order_status()
S
55 5 20
WC_Gateway_WizardPay::process_cancel()
S
48 4 34
WizardPay_API::handle_order_voided_api_error()
S
57 5 16
WizardPay_API::parse_api_response()
S
53 4 23
wizardpay_hook_class::display_plugin_rating_admin_notices()
S
55 4 21
wizardpay_hook_class::load_required_css_js_file()
S
56 4 16
display_price_html()
S
63 3 11
WC_Gateway_WizardPay::payment_fields()
S
55 2 21
wizardpay_register_merchant_class::post_to_api()
S
57 2 18
WizardPay_API::post_wizardpay_api()
S
57 2 17
cron_schedule_error()
S
60 2 16
WC_Gateway_WizardPay::redirect_to_success_url()
S
67 3 8
WC_Gateway_WizardPay::redirect_to_fail_url()
S
67 3 8
WizardPay_API::get_wizardpay_api()
S
59 2 15
Woocommerce_WizardPay_Init::__construct()
S
53 1 30
wizardpay_register_merchant_class::call_register_merchant_plugin()
S
49 1 29
get_product_from_the_post()
S
63 2 12
WizardPay_API::call_configur_merchant_plugin()
S
60 2 12
WC_Gateway_WizardPay::wizardpay_admin_notice()
S
67 2 11
WC_Gateway_WizardPay::admin_options()
S
56 1 24
wizardpay_hook_class::initialize()
S
72 2 6
WizardPay_API::create_wc_log()
S
62 2 9
WizardPay_API::get_response_headers()
S
64 2 10
Woocommerce_WizardPay_Init::initialize()
S
70 2 7
cron_schedule_check_limits()
S
71 2 6
WC_Gateway_WizardPay::get_order_status_failed_error_notice()
S
73 2 5
WC_Gateway_WizardPay::getInstance()
S
70 2 7
get_popup_window()
S
67 1 11
WC_Gateway_WizardPay::get_statement_descriptor()
S
82 1 3
wizardpay_activation()
S
74 1 5
WizardPay_API::__construct()
S
67 1 8
WC_Gateway_WizardPay::set_wz_api_key()
S
81 1 3
wizardpay_hook_class::__construct()
S
66 1 10
WC_Gateway_WizardPay::payment_scripts()
S
82 1 3
Woocommerce_WizardPay_Init::wc_wizardpay_register_plugin_scripts()
S
78 1 3
wizardpay_uninstall()
S
74 1 5
WizardPay_API::get_api_error()
S
80 1 3
wz_info_popup_window()
S
82 1 3
WC_Gateway_WizardPay::init_admin_assets()
S
77 1 4
wizardpay_deactivation()
S
74 1 5
WC_Gateway_WizardPay::get_wizardpay_api_url()
S
82 1 3
Woocommerce_WizardPay_Init::wc_wizardpay_log()
S
74 1 4
Woocommerce_WizardPay_Init::add_wizardpay_gateway()
S
76 1 4
WC_Gateway_WizardPay::send_alert_email_to_admin()
S
64 1 9
WC_Gateway_WizardPay::autoload()
S
89 1 2
Woocommerce_WizardPay_Init::plugin_links()
S
67 1 7
WizardPay_API::save_api_error()
S
79 1 3
WizardPay_API::remove_api_error()
S
80 1 3
WC_Gateway_WizardPay::is_currency_supported()
S
75 1 4
WC_Gateway_WizardPay::get_capture_setting()
S
82 1 3
cron_schedule_limit_api_schedule()
S
68 1 7
wizardpay_hook_class::wizpay_plugin_rating_did_callback()
S
79 1 3
wizardpay_hook_class::remove_info_for_product_cat_page()
S
89 1 2
WizardPay_API::set_api_key()
S
81 1 3
wizardpay_hook_class::remove_info_for_product_detail_page()
S
89 1 2
WC_Gateway_WizardPay::get_wz_api_key()
S
82 1 3