Code Analysis: WooCommerce PayPal Payments 2.2.0

Most Complex Functions

Function Rating Complexity
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice::init()
D
64
WooCommerce\PayPalCommerce\Subscription\SubscriptionModule::subscriptions_api_integration()
D
57
WooCommerce\PayPalCommerce\Compat\PPEC\SettingsImporter::get_settings_translated()
D
43
WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::run()
D
30
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::url_params()
D
32
WooCommerce\PayPalCommerce\Button\Endpoint\CreateOrderEndpoint::handle_request()
C
30
WooCommerce\PayPalCommerce\WcGateway\Settings\SettingsRenderer::render()
C
30
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway::process_payment()
C
22
WooCommerce\PayPalCommerce\Vaulting\VaultingModule::run()
C
21
WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\OXXO::init()
B
20
WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::register_payment_gateways()
B
18
WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved::handle_request()
B
18