Code Analysis: Morkva Plata by Mono Extended 0.7.5

Function Rating Maintainability Complexity Lines of code
MorkvaMonopayOrders::mrkv_monopay_add_plugin_meta_box()
D
25
30 210
MrkvMonoCheckoutCallback::mrkv_mono_checkout_callback_success()
C
30 27 115
MorkvaMonopayOrders::mrkv_mono_checkout_status_check_func()
C
33 23 94
MorkvaMonopayWidget::mrkv_monopay_cart_func()
B
32 17 103
WC_Gateway_Morkva_Mono::mrkv_mono_callback_success()
B
36 17 86
MorkvaMonopayWidget::__construct()
A
43 14 50
WC_Gateway_Morkva_Mono::init_form_fields()
A
28
1 207
MorkvaMonopayOrders::mrkv_monopay_add_meta_boxes()
A
48 10 32
MorkvaMonopayWidget::mrkv_monopay_product_func()
A
39 7 65
MorkvaMonopayWidget::mrkv_monopay_create_params()
A
44 7 45
WC_Gateway_Morkva_Mono::process_payment()
A
41 6 57
WC_Gateway_Morkva_Mono::morkva_monopay_gateway_icon()
S
51 6 27
MorkvaMonopayWidget::mrkv_monopay_create_checkout()
S
47 5 38
WC_Gateway_Morkva_Mono_Payparts::__construct()
S
53 6 20
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_Payparts::init_form_fields()
S
41 1 66
mrkv_mono_style_settings_checkout()
S
70 5 5
mrkv_mono_session_start()
S
72 3 6
WC_Gateway_Morkva_Mono::mrkv_mono_can_refund_order()
S
75 3 4
WC_Gateway_Morkva_Mono::get_mrkv_checkout_button_height()
S
66 2 10
MorkvaMonoGateway\Morkva_Mono_Payment::mrkv_mono_create()
S
59 1 15
WC_Gateway_Morkva_Mono::get_mrkv_checkout_button_width()
S
66 2 10
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setWebHookUrl()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setRedirectUrl()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setBasketOrder()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setDestination()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setReference()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setCurrency()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setAmount()
S
81 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_setId()
S
81 1 3
WC_Gateway_Morkva_Mono_Payparts::mrkv_mono_scripts_settings()
S
79 1 3
WC_Gateway_Morkva_Mono_Payparts::mrkv_mono_style_settings()
S
79 1 3
WC_Gateway_Morkva_Mono_Payparts::get_mrkv_mono_get_secret_key()
S
82 1 3
WC_Gateway_Morkva_Mono_Payparts::mrkv_mono_get_store_id()
S
82 1 3
WC_Gateway_Morkva_Mono_Payparts::mrkv_mono_callback_success()
S
91 1 2
WC_Gateway_Morkva_Mono_Payparts::morkva_monopay_gateway_icon()
S
100 1 2
WC_Gateway_Morkva_Mono_Payparts::process_payment()
S
91 1 2
MorkvaMonopayShortcodes::__construct()
S
70 1 6
MorkvaMonopayWidget::mrkv_mono_register_scripts_styles_func()
S
70 1 5
WC_Gateway_Morkva_Mono::mrkv_mono_scripts_settings()
S
79 1 3
WC_Gateway_Morkva_Mono::mrkv_mono_style_settings()
S
79 1 3
MorkvaMonopayWidget::mrkv_add_mono_button_cart_func_white()
S
79 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getWebHookUrl()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Payment::mrkv_mono_cancel()
S
75 1 4
MorkvaMonopayMenu::__construct()
S
79 1 3
MorkvaMonopayWidget::mrkv_add_mono_button_product_func_white()
S
79 1 3
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_isComplete()
S
80 1 3
WC_Gateway_Morkva_Mono::return_handler()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getOrderId()
S
82 1 3
MorkvaMonopayShortcodes::mrkv_add_mono_button_product_func()
S
80 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getBasketOrder()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Payment::mrkv_mono_setOrder()
S
81 1 3
mrkv_mono_true_load_plugin_textdomain()
S
74 1 4
MorkvaMonoGateway\Morkva_Mono_Payment::__construct()
S
81 1 3
mrkv_mono_add_mono_gateway_class()
S
74 1 5
MorkvaMonopayShortcodes::mrkv_add_mono_button_product_func_white()
S
80 1 3
mrkv_mono_include_checkout()
S
65 1 10
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getReference()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getStatus()
S
82 1 3
MorkvaMonopayOrders::__construct()
S
73 1 5
mrkv_mono_init_mono_gateway_class()
S
77 1 4
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getInvoiceId()
S
82 1 3
MrkvMonoCheckoutCallback::__construct()
S
79 1 3
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getInvoiceId()
S
82 1 3
mrkv_mono_loadMonoLibrary()
S
74 1 5
MorkvaMonopayWidget::mrkv_add_mono_button_product_func()
S
79 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getRedirectUrl()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Payment::mrkv_mono_getStatus()
S
98 1 1
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getOrderId()
S
82 1 3
MorkvaMonopayWidget::mrkv_add_mono_button_cart_func()
S
79 1 3
MorkvaMonoGateway\Morkva_Mono_Response::__construct()
S
73 1 5
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getDestination()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_isComplete()
S
80 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getAmount()
S
82 1 3
MorkvaMonopayMenu::mrkv_mono_register_admin_menu()
S
70 1 5
MorkvaMonoGateway\Morkva_Mono_Response::__construct()
S
73 1 5
MorkvaMonoGateway\Morkva_Mono_Response::mrkv_mono_getStatus()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Order::mrkv_mono_getId()
S
82 1 3
MorkvaMonoGateway\Morkva_Mono_Payment::mrkv_mono_setRefundOrder()
S
81 1 3