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

Most Complex Functions

Function Rating Complexity
WC_Zahls_offline_gateway_init()
C
1
WC_Zahls_Gateway::get_zahls_gateway()
C
23
WC_Zahls_Gateway::check_webhook_response()
C
24
Zahls\CommunicationAdapter\CurlCommunication::requestApi()
A
14
Zahls\Communicator::performApiRequest()
A
10
WC_Zahls_Gateway::__construct()
S
5
WC_Zahls_Gateway::process_recurring_payment()
S
6
WC_Zahls_Gateway::mutateDescription()
S
5
WC_Zahls_Gateway::get_icon()
S
6
WC_Zahls_Gateway::isSubscriptionPayment()
S
6
WC_Zahls_Gateway::admin_options()
S
1
WC_Zahls_Gateway::payment_scripts()
S
5