Code Analysis: WooCommerce Gkash Visa 1.0.0

Function Rating Maintainability Complexity Lines of code
wcgkashvisa_gateway_load()
B
20
2 324
WC_Gkash_Visa::sanitize_email()
A
46 10 39
WC_Gkash_Visa::generate_form()
S
35 2 103
WC_Gkash_Visa::visa_returnurl()
S
45 5 39
WC_Gkash_Visa::visa_notifyurl()
S
48 5 31
WC_Gkash_Visa::__construct()
S
53 3 20
WC_Gkash_Visa::init_form_fields()
S
50 1 34
WC_Gkash_Visa::is_valid_for_use()
S
71 2 6
WC_Gkash_Visa::gkash_order_error()
S
70 1 5
WC_Gkash_Visa::merchant_id_missing_message()
S
68 1 6
WC_Gkash_Visa::process_payment()
S
69 1 7
wcgkashvisa_woocommerce_fallback_notice()
S
70 1 6
WC_Gkash_Visa::gkvisa_hash_error_msg()
S
81 1 3
WC_Gkash_Visa::admin_options()
S
68 1 9
WC_Gkash_Visa::signature_key_missing_message()
S
68 1 6
WC_Gkash_Visa::receipt_page()
S
80 1 3
wcgkashvisa_add_gateway()
S
77 1 4