Code Analysis: WooCommerce imoje 3.3.0

Function Rating Maintainability Complexity Lines of code
WC_Gateway_ImojePbl::receipt_page()
C
30 27 120
create_transaction_ajax()
C
35 25 87
get_error_message()
C
38 24 68
Helper::check_notification()
B
36 14 82
WC_Gateway_ImojeBlik::receipt_page()
A
35 13 88
Helper::get_invoice()
A
41 13 54
Helper::get_cart()
A
37 11 77
Imoje\Payment\Paywall::prepareData()
A
46 12 42
debit_alias()
A
48 12 34
Imoje\Payment\Api::call()
A
44 11 44
Imoje\Payment\Api::prepareData()
A
46 9 39
WC_Gateway_ImojePaylater::check_imoje_paylater_available_payment_gateways()
A
55 10 19
deactivate_alias()
A
53 9 25
Helper::get_lease_now()
A
46 8 40
WC_Gateway_Imoje::check_imoje_available_payment_gateways()
A
55 9 18
WC_Gateway_ImojeCards::check_imoje_cards_available_payment_gateways()
A
55 9 18
WC_Gateway_ImojeBlik::check_imoje_blik_available_payment_gateways()
A
55 9 18
WC_Gateway_ImojePbl::check_imoje_pbl_available_payment_gateways()
A
55 9 18
Imoje\Payment\Notification::formatResponse()
A
50 8 31
Imoje\Payment\Notification::checkRequest()
A
49 8 30
Imoje\Payment\Util::createOrderForm()
A
52 8 24
Imoje\Payment\Invoice::get()
A
48 7 34
WC_Gateway_ImojePaylater::receipt_page()
S
43 5 51
WC_Gateway_Imoje::init_form_fields()
S
37 2 94
prepare_success_response()
S
56 7 18
Imoje\Payment\Api::parseStringToArray()
S
57 7 17
check_transaction_ajax()
S
58 7 16
WC_Gateway_ImojePaylater::init_form_fields()
S
38 2 88
WC_Gateway_ImojePbl::init_form_fields()
S
38 2 88
WC_Gateway_ImojeCards::init_form_fields()
S
38 2 88
get_api_instance()
S
57 6 18
Helper::process_refund()
S
46 4 44
WC_Gateway_ImojeBlik::init_form_fields()
S
38 1 88
Imoje\Payment\LeaseNow::addItem()
S
52 5 26
Imoje\Payment\CartData::prepareCartDataArray()
S
54 5 22
Helper::leasenow_get_product_category()
S
55 5 19
WC_Gateway_ImojePbl::__construct()
S
50 4 29
WC_Gateway_ImojeCards::__construct()
S
50 4 29
WC_Gateway_ImojePaylater::__construct()
S
50 4 29
WC_Gateway_Imoje::__construct()
S
50 4 29
Imoje\Payment\Util::calculateAmountToRefund()
S
61 5 11
Imoje\Payment\Invoice::setBuyer()
S
54 4 22
WC_Gateway_ImojePaylater::process_refund()
S
56 4 19
WC_Gateway_ImojeBlik::process_refund()
S
56 4 19
WC_Gateway_ImojePbl::process_refund()
S
56 4 19
WC_Gateway_ImojeCards::process_refund()
S
56 4 19
WC_Gateway_Imoje::process_refund()
S
57 4 17
Imoje\Payment\CartData::addItem()
S
50 3 31
Imoje\Payment\Paywall::createSignature()
S
59 4 13
WC_Gateway_ImojeBlik::__construct()
S
52 3 26
Imoje\Payment\Validate::notification()
S
46 1 50
Imoje\Payment\Api::prepareBlikOneclickData()
S
56 3 18
Helper::getRefundError()
S
68 4 6
Imoje\Payment\Validate::validate()
S
58 3 15
WC_Gateway_Imoje::generate_imoje_form()
S
52 2 28
Imoje\Payment\Api::createTransaction()
S
62 3 13
WC_Gateway_ImojeCards::generate_imoje_form()
S
53 2 26
WC_Gateway_ImojePaylater::get_address_data()
S
52 2 26
WC_Gateway_ImojeCards::receipt_page()
S
54 2 21
WC_Gateway_Imoje::receipt_page()
S
54 2 21
Imoje\Payment\Api::getProfileBlikUrl()
S
57 2 20
Imoje\Payment\Api::buildOrderForm()
S
57 2 17
init_woocommerce_gateway_imoje()
S
58 2 16
Imoje\Payment\Api::getRefundCreateUrl()
S
60 2 16
Imoje\Payment\Api::getDebitBlikProfileUrl()
S
60 2 16
Imoje\Payment\Api::getServiceInfoUrl()
S
61 2 15
Imoje\Payment\Api::getTransactionUrl()
S
61 2 15
Imoje\Payment\Api::getDeactivateBlikProfileUrl()
S
61 2 14
Imoje\Payment\Invoice::addItem()
S
59 2 14
Imoje\Payment\Api::prepareAddressData()
S
60 2 14
Imoje\Payment\Api::getTransactionCreateUrl()
S
62 2 13
Imoje\Payment\Api::check_retype_code()
S
53 1 26
Imoje\Payment\Paywall::getTransactionCreateUrl()
S
69 2 7
Imoje\Payment\CartData::addPrevious()
S
71 2 6
Imoje\Payment\CartData::preparePrevious()
S
69 2 7
Imoje\Payment\Invoice::setCompanyBuyer()
S
66 2 9
Imoje\Payment\Util::getPaymentMethodCode()
S
70 2 6
Imoje\Payment\Notification::checkRequestAmount()
S
77 2 3
Imoje\Payment\Paywall::getServiceUrl()
S
70 2 6
Imoje\Payment\Util::getPaymentMethod()
S
70 2 6
Imoje\Payment\Util::getPaymentMethodCodeLogo()
S
70 2 6
Imoje\Payment\Api::getServiceUrl()
S
71 2 6
Imoje\Payment\Util::getHashMethod()
S
70 2 6
Imoje\Payment\Api::__construct()
S
69 2 7
Imoje\Payment\Invoice::prepare()
S
65 2 9
Imoje\Payment\Paywall::buildOrderForm()
S
65 1 10
Imoje\Payment\Util::convertAmountToMain()
S
78 1 3
WC_Gateway_ImojePbl::imoje_pbl_notification()
S
68 1 8
WC_Gateway_ImojeBlik::get_api_url()
S
78 1 3
Imoje\Payment\Paywall::prepareOrderData()
S
69 1 6
Imoje\Payment\CartData::setShipping()
S
69 1 7
WC_Gateway_Imoje::imoje_notification()
S
68 1 8
Imoje\Payment\CartData::setDiscount()
S
69 1 7
Imoje\Payment\Api::createRefund()
S
70 1 7
Imoje\Payment\LeaseNow::prepare()
S
70 1 6
Imoje\Payment\Util::doResponseJson()
S
74 1 5
Imoje\Payment\CartData::setAmount()
S
81 1 3
WC_Gateway_ImojePaylater::setup_properties()
S
64 1 10
WC_Gateway_ImojePbl::process_payment()
S
68 1 7
Imoje\Payment\Api::check_new_param_alias()
S
68 1 8
get_options()
S
79 1 3
Imoje\Payment\Api::getServiceInfo()
S
73 1 6
WC_Gateway_ImojeBlik::setup_properties()
S
64 1 10
Imoje\Payment\CartData::prepareCartData()
S
75 1 4
Imoje\Payment\Util::convertAmountToFractional()
S
77 1 3
Imoje\Payment\Util::isJson()
S
75 1 4
WC_Gateway_ImojeBlik::imoje_blik_api()
S
68 1 8
WC_Gateway_ImojePbl::setup_properties()
S
64 1 10
Imoje\Payment\Notification::__construct()
S
74 1 5
Imoje\Payment\Paywall::__construct()
S
70 1 6
Imoje\Payment\Util::getSupportedCurrencies()
S
80 1 3
Imoje\Payment\Api::getBlikProfileList()
S
72 1 6
WC_Gateway_ImojeCards::imoje_cards_notification()
S
68 1 8
WC_Gateway_ImojePaylater::get_api_url()
S
78 1 3
WC_Gateway_ImojeBlik::process_payment()
S
68 1 7
Imoje\Payment\Util::getTransactionStatuses()
S
80 1 3
add_imoje_gateways()
S
68 1 8
Imoje\Payment\Api::prepareRefundData()
S
69 1 7
WC_Gateway_Imoje::process_payment()
S
68 1 7
Imoje\Payment\CartData::setCreatedAt()
S
81 1 3
Helper::get_version()
S
73 1 4
Imoje\Payment\Api::getTransaction()
S
72 1 6
Imoje\Payment\CartData::setAddressBilling()
S
64 1 10
Imoje\Payment\Util::getCid()
S
79 1 3
Helper::check_is_config_value_selected()
S
80 1 3
Imoje\Payment\Util::multiplyValues()
S
78 1 3
WC_Gateway_ImojePaylater::process_payment()
S
68 1 7
Imoje\Payment\Util::canUseForCurrency()
S
78 1 3
Imoje\Payment\Util::hashSignature()
S
78 1 3
WC_Gateway_ImojeCards::process_payment()
S
68 1 7
WC_Gateway_Imoje::setup_properties()
S
64 1 10
WC_Gateway_ImojePaylater::imoje_paylater_notification()
S
68 1 8
WC_Gateway_ImojeCards::setup_properties()
S
64 1 10
Imoje\Payment\CartData::setAddressDelivery()
S
64 1 10