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

Most Complex Functions

Function Rating Complexity
WC_Zahls_offline_gateway_init()
B
1
Zahls\CommunicationAdapter\CurlCommunication::requestApi()
B
16
ZahlsPaymentGateway\Service\OrderService::handleTransactionStatus()
B
16
ZahlsPaymentGateway\Controller\PaymentController::createBasketByCart()
B
15
WC_Zahls_Gateway::process_payment()
A
13
Zahls\Communicator::performApiRequest()
A
15
ZahlsPaymentGateway\Webhook\Dispatcher::check_webhook_response()
A
12
WC_Zahls_Gateway::get_icon()
A
10
WC_Zahls_Gateway::mutateDescription()
A
7
ZahlsPaymentGateway\Service\SubscriptionService::process_recurring_payment()
S
7
WC_Zahls_Blocks_Support::get_payment_method_script_handles()
S
6
WC_Zahls_Blocks_Support::get_payment_icons()
S
6