Code Analysis: WooCommerce Gkash Mastercard 1.0.0

Function Rating Maintainability Complexity Lines of code
wcgkashmaster_gateway_load()
B
20
2 334
WC_Gkash_Master::sanitize_email()
A
46 10 39
WC_Gkash_Master::generate_form()
S
35 2 102
WC_Gkash_Master::master_returnurl()
S
44 5 42
WC_Gkash_Master::master_notifyurl()
S
48 5 31
WC_Gkash_Master::__construct()
S
52 3 22
WC_Gkash_Master::init_form_fields()
S
50 1 34
WC_Gkash_Master::check_gk_response()
S
66 2 9
WC_Gkash_Master::is_valid_for_use()
S
71 2 6
WC_Gkash_Master::signature_key_missing_message()
S
68 1 6
WC_Gkash_Master::gkash_order_error()
S
70 1 5
wcgkashmaster_woocommerce_fallback_notice()
S
70 1 6
WC_Gkash_Master::merchant_id_missing_message()
S
68 1 6
WC_Gkash_Master::admin_options()
S
68 1 9
wcgkashmaster_add_gateway()
S
77 1 4
WC_Gkash_Master::receipt_page()
S
80 1 3
WC_Gkash_Master::process_payment()
S
69 1 7