Code Analysis: WooCommerce PayPal Payments 2.4.3

Most Complex Functions

Function Rating Complexity
WooCommerce\PayPalCommerce\PayPalSubscriptions\PayPalSubscriptionsModule::run()
D
76
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice::init()
D
69
WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::run()
D
32
WooCommerce\PayPalCommerce\Compat\PPEC\SettingsImporter::get_settings_translated()
D
43
WooCommerce\PayPalCommerce\SavePaymentMethods\SavePaymentMethodsModule::run()
D
26
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::url_params()
D
33
WooCommerce\PayPalCommerce\Button\Endpoint\CreateOrderEndpoint::handle_request()
D
31
WooCommerce\PayPalCommerce\WcGateway\Settings\SettingsRenderer::render()
C
30
WooCommerce\PayPalCommerce\Vaulting\VaultingModule::run()
C
22
WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\OXXO::init()
C
22
WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved::handle_request()
C
21
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway::process_payment()
B
20