Code Analysis: iyzico WooCommerce 3.5.5

Function Rating Maintainability Complexity Lines of code
Iyzico\IyzipayWoocommerce\Common\Helpers\AdminHelper::getOrders()
A
45 10 39
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::processWebhook()
A
49 10 29
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::updateOrder()
A
54 9 20
Iyzico\IyzipayWoocommerce\Common\Helpers\DataFactory::createAddress()
A
54 8 19
Iyzico\IyzipayWoocommerce\Checkout\CheckoutSettings::__construct()
A
35 2 108
Iyzico\IyzipayWoocommerce\Common\Helpers\AdminHelper::getSettingsDashboardWidgets()
S
43 4 51
Iyzico\IyzipayWoocommerce\Common\Helpers\AdminHelper::getSettingsDashboardCharts()
S
46 4 41
Iyzico\IyzipayWoocommerce\Common\Helpers\PriceHelper::subTotalPriceCalc()
S
53 5 23
Iyzico\IyzipayWoocommerce\Common\Helpers\PriceHelper::priceParser()
S
56 5 18
Iyzico\IyzipayWoocommerce\Common\Helpers\RefundProcessor::refund()
S
51 4 26
Iyzico\IyzipayWoocommerce\Database\DatabaseManager::generateCreateTableSQL()
S
56 4 18
Iyzico\IyzipayWoocommerce\Common\Helpers\DataFactory::createBasket()
S
55 4 18
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::checkInstallment()
S
56 4 17
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::admin_overlay_script()
S
56 4 17
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::saveUserCard()
S
63 4 11
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::display_errors()
S
62 4 11
Iyzico\IyzipayWoocommerce\Common\Helpers\AdminHelper::getTopProductsData()
S
53 3 26
Iyzico\IyzipayWoocommerce\Common\Helpers\AdminHelper::getTopCategoriesData()
S
54 3 24
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::create_payment()
S
46 2 36
Iyzico\IyzipayWoocommerce\Pwi\Pwi::create_payment()
S
47 2 35
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::process_payment()
S
55 3 19
Iyzico\IyzipayWoocommerce\Pwi\BlocksPwiMethod::get_payment_method_data()
S
57 3 17
Iyzico\IyzipayWoocommerce\Common\Abstracts\Config::getDefaultSettings()
S
49 2 32
Iyzico\IyzipayWoocommerce\Database\DatabaseManager::ensureInitialized()
S
65 4 9
Iyzico\IyzipayWoocommerce\Common\Abstracts\Config::getSettings()
S
63 4 10
Iyzico\IyzipayWoocommerce\Common\Helpers\WebhookHelper::verifyWebhook()
S
64 4 9
Iyzico\IyzipayWoocommerce\Database\DatabaseManager::createTables()
S
59 3 14
Iyzico\IyzipayWoocommerce\Database\DatabaseManager::getTableDefinitions()
S
59 3 14
Iyzico\IyzipayWoocommerce\Database\DatabaseManager::dropTables()
S
60 3 13
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::redirectToOrderReceived()
S
60 3 12
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::retrieveCheckoutForm()
S
61 3 11
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::retrieveCheckoutFormV2()
S
61 3 11
Iyzico\IyzipayWoocommerce\Common\Helpers\TlsVerifier::verifyAndGetVersion()
S
64 3 11
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::__construct()
S
47 1 38
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::processCallback()
S
54 2 22
Iyzico\IyzipayWoocommerce\Pwi\Pwi::__construct()
S
47 1 37
Iyzico\IyzipayWoocommerce\Admin\SettingsPage::enqueueAdminScript()
S
56 2 20
Iyzico\IyzipayWoocommerce\Rest\RestAPI::addRestRoutes()
S
55 2 19
Iyzico\IyzipayWoocommerce\Pwi\BlocksPwiMethod::get_payment_method_script_handles()
S
57 2 18
Iyzico\IyzipayWoocommerce\Checkout\BlocksCheckoutMethod::get_payment_method_script_handles()
S
57 2 18
Iyzico\IyzipayWoocommerce\Admin\SettingsPage::enqueueAdminStyle()
S
57 2 18
Iyzico\IyzipayWoocommerce\Checkout\CheckoutView::renderCheckoutForm()
S
58 2 17
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::saveCardFamily()
S
72 3 5
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::saveCardAssociation()
S
72 3 5
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::saveCardType()
S
72 3 5
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::saveLastFourDigits()
S
72 3 5
Iyzico\IyzipayWoocommerce\Common\Helpers\CookieManager::findWooCommerceCookieKey()
S
65 3 9
Iyzico\IyzipayWoocommerce\Common\Helpers\CookieManager::setCookieSameSite()
S
58 2 15
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::handle_api_request()
S
70 3 6
Iyzico\IyzipayWoocommerce\Pwi\PwiSettings::__construct()
S
59 2 14
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::saveOrder()
S
61 2 14
Iyzico\IyzipayWoocommerce\Common\Helpers\CookieManager::setWooCommerceSessionCookie()
S
61 2 14
Iyzico\IyzipayWoocommerce\Common\Helpers\BlocksSupport::woocommerce_blocks_support()
S
63 2 12
Iyzico\IyzipayWoocommerce\Common\Helpers\WebhookHelper::addRoute()
S
60 2 12
Iyzico\IyzipayWoocommerce\Rest\RestAPI::getLocalizationsMethod()
S
62 2 11
Iyzico\IyzipayWoocommerce\Pwi\Pwi::process_payment()
S
62 2 11
Iyzico\IyzipayWoocommerce\Common\Helpers\RefundProcessor::isCancellationAvailable()
S
62 2 11
Iyzico\IyzipayWoocommerce\Common\Helpers\WebhookHelper::__construct()
S
58 1 18
Iyzico\IyzipayWoocommerce\Common\Helpers\DataFactory::createBuyer()
S
56 1 17
Iyzico\IyzipayWoocommerce\Common\Helpers\AdminHelper::saveSettings()
S
58 1 16
Iyzico\IyzipayWoocommerce\Core\Plugin::loadDependencies()
S
60 1 15
Iyzico\IyzipayWoocommerce\Admin\SettingsPage::enqueueAdminAssets()
S
70 2 7
Iyzico\IyzipayWoocommerce\Common\Helpers\PriceHelper::realPrice()
S
72 2 6
Iyzico\IyzipayWoocommerce\Checkout\BlocksCheckoutMethod::is_active()
S
77 2 3
Iyzico\IyzipayWoocommerce\Common\Helpers\TlsVerifier::updateTlsVersionOption()
S
69 2 7
Iyzico\IyzipayWoocommerce\Common\Helpers\VersionChecker::checkPhpVersion()
S
71 2 6
Iyzico\IyzipayWoocommerce\Common\Helpers\VersionChecker::checkTlsVersion()
S
67 2 8
Iyzico\IyzipayWoocommerce\Common\Helpers\BlocksSupport::woocommerce_blocks_compatibility()
S
67 2 9
Iyzico\IyzipayWoocommerce\Common\Helpers\WebhookHelper::validateSignature()
S
63 2 10
Iyzico\IyzipayWoocommerce\Common\Helpers\WebhookHelper::processWebhook()
S
65 2 9
Iyzico\IyzipayWoocommerce\Core\HighPerformanceOrderStorageSupport::woocommerce_hpos_compatibility()
S
72 2 5
Iyzico\IyzipayWoocommerce\Common\Helpers\BuyerProtection::getOverlayScript()
S
64 2 10
Iyzico\IyzipayWoocommerce\Admin\SettingsPage::renderAdminOptions()
S
62 1 15
Iyzico\IyzipayWoocommerce\Core\Plugin::defineAdminHooks()
S
64 2 10
Iyzico\IyzipayWoocommerce\Core\Plugin::generateWebhookKey()
S
67 2 7
Iyzico\IyzipayWoocommerce\Common\Abstracts\AbstractLogger::__construct()
S
75 2 4
Iyzico\IyzipayWoocommerce\Rest\RestAPI::localizeScript()
S
59 1 15
Iyzico\IyzipayWoocommerce\Common\Abstracts\AbstractLogger::ensureLogDirectoryExists()
S
71 2 6
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::addOrderComment()
S
66 2 8
Iyzico\IyzipayWoocommerce\Pwi\BlocksPwiMethod::is_active()
S
77 2 3
Iyzico\IyzipayWoocommerce\Common\Abstracts\Config::setSettings()
S
68 2 7
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::validateToken()
S
72 2 5
Iyzico\IyzipayWoocommerce\Common\Abstracts\Config::findByKey()
S
74 2 4
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::getOrder()
S
68 2 7
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::ensurePaymentMethod()
S
74 2 5
Iyzico\IyzipayWoocommerce\Database\DatabaseManager::createOrder()
S
60 1 14
Iyzico\IyzipayWoocommerce\Common\Helpers\BuyerProtection::iyzicoOverlayScriptMobileCss()
S
67 1 13
Iyzico\IyzipayWoocommerce\Database\DatabaseManager::findUserCardKey()
S
61 1 12
Iyzico\IyzipayWoocommerce\Database\DatabaseManager::saveUserCardKey()
S
62 1 12
Iyzico\IyzipayWoocommerce\Common\Hooks\AdminHooks::register()
S
62 1 12
Iyzico\IyzipayWoocommerce\Admin\SettingsPage::addAdminMenu()
S
64 1 11
Iyzico\IyzipayWoocommerce\Database\DatabaseManager::findOrderByOrderId()
S
63 1 11
Iyzico\IyzipayWoocommerce\Core\Plugin::deactivate()
S
63 1 11
Iyzico\IyzipayWoocommerce\Core\Plugin::run()
S
66 1 10
Iyzico\IyzipayWoocommerce\Common\Hooks\PublicHooks::__construct()
S
76 1 4
Iyzico\IyzipayWoocommerce\Common\Helpers\RefundProcessor::__construct()
S
71 1 6
Iyzico\IyzipayWoocommerce\Common\Hooks\AdminHooks::__construct()
S
71 1 6
Iyzico\IyzipayWoocommerce\Core\Plugin::setLocale()
S
79 1 3
Iyzico\IyzipayWoocommerce\Checkout\CheckoutView::renderLoadingHtml()
S
73 1 8
Iyzico\IyzipayWoocommerce\Common\Helpers\Logger::warn()
S
79 1 3
Iyzico\IyzipayWoocommerce\Common\Helpers\BuyerProtection::__construct()
S
80 1 3
Iyzico\IyzipayWoocommerce\Core\HighPerformanceOrderStorageSupport::init()
S
78 1 3
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::handleException()
S
70 1 6
Iyzico\IyzipayWoocommerce\Common\Helpers\DataFactory::prepareCheckoutData()
S
66 1 8
Iyzico\IyzipayWoocommerce\Common\Helpers\AdminHelper::getSettings()
S
63 1 10
Iyzico\IyzipayWoocommerce\Common\Abstracts\AbstractLogger::createHtaccess()
S
75 1 4
Iyzico\IyzipayWoocommerce\Checkout\CheckoutView::__construct()
S
81 1 3
Iyzico\IyzipayWoocommerce\Common\Helpers\WebhookHelper::get_rest_url()
S
78 1 3
Iyzico\IyzipayWoocommerce\Core\Plugin::initPaymentGateway()
S
79 1 3
Iyzico\IyzipayWoocommerce\Checkout\BlocksCheckoutMethod::initialize()
S
80 1 3
Iyzico\IyzipayWoocommerce\Rest\RestAPI::getSettingsDashboardChartsMethod()
S
80 1 3
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::create_options()
S
68 1 7
Iyzico\IyzipayWoocommerce\Common\Hooks\RestHooks::__construct()
S
76 1 4
Iyzico\IyzipayWoocommerce\Common\Helpers\VersionChecker::__construct()
S
81 1 3
Iyzico\IyzipayWoocommerce\Pwi\Pwi::create_options()
S
68 1 7
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::redirect_to_iyzico()
S
72 1 6
Iyzico\IyzipayWoocommerce\Core\Plugin::activate()
S
81 1 3
Iyzico\IyzipayWoocommerce\Rest\RestAPI::get_rest_url()
S
78 1 3
Iyzico\IyzipayWoocommerce\Common\Helpers\Logger::info()
S
79 1 3
Iyzico\IyzipayWoocommerce\Checkout\CheckoutSettings::getFormFields()
S
82 1 3
Iyzico\IyzipayWoocommerce\Common\Abstracts\AbstractLogger::error()
S
100 1 0
Iyzico\IyzipayWoocommerce\Checkout\BlocksCheckoutMethod::get_payment_method_data()
S
64 1 10
Iyzico\IyzipayWoocommerce\Common\Helpers\VersionChecker::check()
S
78 1 4
Iyzico\IyzipayWoocommerce\Common\Helpers\RefundProcessor::create_options()
S
68 1 7
Iyzico\IyzipayWoocommerce\Common\Helpers\WebhookHelper::handleSuccessfulPayment()
S
80 1 3
Iyzico\IyzipayWoocommerce\Pwi\PwiSettings::getFormFields()
S
82 1 3
Iyzico\IyzipayWoocommerce\Core\Plugin::addGateways()
S
74 1 5
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::checkout_form()
S
76 1 4
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::process_refund()
S
79 1 3
Iyzico\IyzipayWoocommerce\Admin\SettingsPage::renderPage()
S
80 1 3
Iyzico\IyzipayWoocommerce\Common\Helpers\DataFactory::__construct()
S
77 1 4
Iyzico\IyzipayWoocommerce\Common\Hooks\PublicHooks::register()
S
66 1 8
Iyzico\IyzipayWoocommerce\Rest\RestAPI::__construct()
S
80 1 3
Iyzico\IyzipayWoocommerce\Core\Plugin::actionLinks()
S
66 1 7
Iyzico\IyzipayWoocommerce\Common\Helpers\WebhookHelper::handleFailedPayment()
S
74 1 4
Iyzico\IyzipayWoocommerce\Pwi\BlocksPwiMethod::initialize()
S
80 1 3
Iyzico\IyzipayWoocommerce\Rest\RestAPI::getOrdersMethod()
S
80 1 3
Iyzico\IyzipayWoocommerce\Checkout\BlocksCheckoutMethod::__construct()
S
80 1 3
Iyzico\IyzipayWoocommerce\Admin\SettingsPage::__construct()
S
73 1 5
Iyzico\IyzipayWoocommerce\Core\Plugin::definePublicHooks()
S
71 1 6
Iyzico\IyzipayWoocommerce\Common\Helpers\Logger::error()
S
79 1 3
Iyzico\IyzipayWoocommerce\Pwi\Pwi::redirect_to_iyzico()
S
72 1 6
Iyzico\IyzipayWoocommerce\Common\Hooks\RestHooks::register()
S
75 1 4
Iyzico\IyzipayWoocommerce\Common\Helpers\RefundProcessor::getOrderByOrderId()
S
80 1 3
Iyzico\IyzipayWoocommerce\Database\DatabaseManager::init()
S
76 1 4
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::__construct()
S
65 1 9
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::admin_options()
S
82 1 3
Iyzico\IyzipayWoocommerce\Common\Helpers\BlocksSupport::init()
S
68 1 7
Iyzico\IyzipayWoocommerce\Common\Abstracts\AbstractLogger::log()
S
68 1 6
Iyzico\IyzipayWoocommerce\Common\Abstracts\AbstractLogger::info()
S
100 1 0
Iyzico\IyzipayWoocommerce\Rest\RestAPI::saveSettingsMethod()
S
80 1 3
Iyzico\IyzipayWoocommerce\Common\Helpers\TlsVerifier::verifyTLS()
S
64 1 10
Iyzico\IyzipayWoocommerce\Rest\RestAPI::getSettingsMethod()
S
80 1 3
Iyzico\IyzipayWoocommerce\Common\Abstracts\AbstractLogger::warn()
S
100 1 0
Iyzico\IyzipayWoocommerce\Pwi\Pwi::process_refund()
S
79 1 3
Iyzico\IyzipayWoocommerce\Rest\RestAPI::getSettingsDashboardWidgetsMethod()
S
80 1 3
Iyzico\IyzipayWoocommerce\Common\Helpers\PaymentProcessor::createOptions()
S
68 1 7
Iyzico\IyzipayWoocommerce\Pwi\BlocksPwiMethod::__construct()
S
76 1 4
Iyzico\IyzipayWoocommerce\Checkout\CheckoutForm::load_form()
S
75 1 4