Code Analysis: WooCommerce PayPal Payments 2.4.0

Most Complex Functions

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