Code Analysis: Gkash Payment 1.2.14

Function Rating Maintainability Complexity Lines of code
wcgkash_gateway_load()
B
23
2 265
WC_Gkash_Gateway::generate_form()
A
37 7 78
WC_Gkash_Gateway::notify_url()
S
45 6 40
WC_Gkash_Gateway::return_url()
S
55 4 20
WC_Gkash_Gateway::__construct()
S
54 3 19
WC_Gkash_Gateway::GetProductDetails()
S
64 4 9
WC_Gkash_Gateway::init_form_fields()
S
46 1 44
WC_Gkash_Gateway::is_valid_for_use()
S
71 2 6
WC_Gkash_Gateway::CheckStagingEnv()
S
69 2 7
WC_Gkash_Gateway::gkash_order_error()
S
73 1 4
wcgkash_add_gateway()
S
77 1 4
WC_Gkash_Gateway::process_payment()
S
65 1 9
wcgkash_woocommerce_fallback_notice()
S
78 1 3
WC_Gkash_Gateway::user_id_missing_message()
S
76 1 3
WC_Gkash_Gateway::receipt_page()
S
80 1 3
WC_Gkash_Gateway::setup_properties()
S
67 1 7
WC_Gkash_Gateway::signature_key_missing_message()
S
76 1 3