Code Analysis: Morkva Monobank Extended 0.4.0

Function Rating Maintainability Complexity Lines of code
WC_Gateway_Morkva_Mono::init_form_fields()
A
32 1 149
WC_Gateway_Morkva_Mono::process_payment()
A
41 6 57
WC_Gateway_Morkva_Mono::process_refund()
S
49 5 30
WC_Gateway_Morkva_Mono::mrkv_mono_getToken()
S
60 6 14
MorkvaMonoGateway\Morkva_Mono_Payment::mrkv_mono_apiRequest()
S
51 5 25
WC_Gateway_Morkva_Mono::__construct()
S
52 5 22
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getCurrency()
S
56 5 20
WC_Gateway_Morkva_Mono::morkva_monopay_gateway_icon()
S
60 4 14
WC_Gateway_Morkva_Mono::mrkv_mono_callback_success()
S
59 3 14
WC_Gateway_Morkva_Mono::mrkv_mono_can_refund_order()
S
75 3 4
MorkvaMonoGateway\Morkva_Mono_Payment::mrkv_mono_create()
S
59 1 15
mrkv_mono_add_mono_gateway_class()
S
77 1 4
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getOrderId()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_isComplete()
S
80 1 3
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getStatus()
S
82 1 3
MorkvaMonopayMenu::__construct()
S
79 1 3
WC_Gateway_Morkva_Mono::mrkv_mono_scripts_settings()
S
79 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setId()
S
81 1 3
WC_Gateway_Morkva_Mono::return_handler()
S
82 1 3
MorkvaMonopayMenu::mrkv_mono_register_admin_menu()
S
77 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setReference()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setDestination()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setBasketOrder()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setRedirectUrl()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setWebHookUrl()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getId()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getAmount()
S
82 1 3
WC_Gateway_Morkva_Mono::mrkv_mono_style_settings()
S
79 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getReference()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getDestination()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getBasketOrder()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getRedirectUrl()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getWebHookUrl()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Payment::__construct()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setAmount()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Payment::mrkv_mono_setOrder()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setCurrency()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Payment::mrkv_mono_getStatus()
S
98 1 1
MorkvaMonoGateway\Morkva_Mono_Payment::mrkv_mono_setRefundOrder()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Payment::mrkv_mono_cancel()
S
75 1 4
mrkv_mono_true_load_plugin_textdomain()
S
74 1 4
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getStatus()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getInvoiceId()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_isComplete()
S
80 1 3
MorkvaMonoGateway\Morkva_Mono_Response::__construct()
S
73 1 5
MorkvaMonoGateway\Morkva_Mono_Response::__construct()
S
73 1 5
mrkv_mono_init_mono_gateway_class()
S
81 1 3
mrkv_mono_loadMonoLibrary()
S
74 1 5
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getOrderId()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getInvoiceId()
S
82 1 3