Code Analysis: zahls.ch Credit Cards, PostFinance and TWINT for WooCommerce 1.2.2

Most Complex Functions

Function Rating Complexity
WC_Zahls_offline_gateway_init()
B
1
ZahlsPaymentGateway\Service\OrderService::handleTransactionStatus()
B
16
ZahlsPaymentGateway\Controller\PaymentController::createBasketByCart()
B
15
WC_Zahls_Gateway::process_payment()
A
13
Zahls\CommunicationAdapter\CurlCommunication::requestApi()
A
14
Zahls\Communicator::performApiRequest()
A
12
ZahlsPaymentGateway\Webhook\Dispatcher::check_webhook_response()
A
11
WC_Zahls_Gateway::get_icon()
A
9
WC_Zahls_Gateway::mutateDescription()
A
7
ZahlsPaymentGateway\Service\SubscriptionService::process_recurring_payment()
S
6
ZahlsPaymentGateway\Util\StatusUtil::determineNewOrderStatus()
S
7
ZahlsPaymentGateway\Util\CartUtil::isSubscription()
S
6