Code Analysis: PayTR Virtual POS WooCommerce - iFrame API 2.0.2

Function Rating Maintainability Complexity Lines of code
WC_Gateway_PayTRCheckout::generate_paytrcheckout_form()
C
27
20 143
WC_Gateway_PayTRCheckout::process_refund()
B
35 14 81
PaytrCheckoutCallbackIframe::callback_iframe()
A
38 9 68
WC_Gateway_PayTRCheckout::init_form_fields()
A
32 4 134
WC_Gateway_PayTRCheckout::category_parser_clear()
A
51 10 24
PaytrCheckoutCallbackEft::callback_eft()
A
41 6 53
WC_Gateway_PayTRCheckout::cat_search_prod()
S
55 7 21
WC_Gateway_PayTRCheckout::sanitize_form_fields()
S
57 7 20
woocommerce_paytrcheckout_init()
S
41 4 60
WC_Gateway_PayTRCheckout::paytrcheckout_response()
S
57 5 17
WC_Gateway_PayTRCheckout::category_parser()
S
58 4 15
WC_Gateway_PayTRCheckout::validate_paytr_merchant_key_field()
S
60 4 13
WC_Gateway_PayTRCheckout::validate_paytr_merchant_salt_field()
S
60 4 13
PaytrCheckoutActivation::active()
S
53 2 27
WC_Gateway_PayTRCheckout::__construct()
S
51 2 26
WC_Gateway_PayTRCheckout::validate_paytr_merchant_id_field()
S
62 3 11
PaytrCheckoutCallbackEft::callback_eft_interim()
S
53 2 20
WC_Gateway_PayTRCheckout::parent_category_parser()
S
66 3 8
WC_Gateway_PayTRCheckout::GetIP()
S
64 3 10
WC_PaytrCheckout::init_plugin()
S
59 2 13
WC_PaytrCheckout::get_instance()
S
71 2 6
WC_PaytrCheckout::plugin_row_meta()
S
63 2 9
WC_Gateway_PayTRCheckout::category_parser_prod()
S
68 2 7
notice_paytrspi_wc_not_supported()
S
77 1 3
WC_Gateway_PayTRCheckout::is_valid_for_use()
S
83 1 3
WC_PaytrCheckout::plugin_action_links()
S
74 1 4
WC_PaytrCheckout::__construct()
S
82 1 3
WC_Gateway_PayTRCheckout::process_payment()
S
68 1 7
notice_paytrspi_wc_missing()
S
78 1 3
WC_Gateway_PayTRCheckout::receipt_page()
S
80 1 3
WC_Gateway_PayTRCheckout::admin_options()
S
82 1 3
active_paytrspi_plugin()
S
77 1 4
PaytrCheckoutDeactivation::deactivate()
S
69 1 6
deactivate_paytrspi_plugin()
S
77 1 4
WC_PaytrCheckout::add_paytr_payment_style()
S
75 1 4
WC_PaytrCheckout::add_paytr_payment_gateway()
S
77 1 4