Code Analysis: WooCommerce PayPal Payments 2.0.3

Most Complex Functions

Function Rating Complexity
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice::init()
D
62
WooCommerce\PayPalCommerce\Compat\PPEC\SettingsImporter::get_settings_translated()
D
43
WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::run()
D
27
WooCommerce\PayPalCommerce\WcGateway\Settings\SettingsRenderer::render()
C
30
WooCommerce\PayPalCommerce\Button\Endpoint\CreateOrderEndpoint::handle_request()
C
27
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::url_params()
C
29
WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved::handle_request()
B
18
WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\OXXO::init()
B
20
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::render_wrapper()
B
19
WooCommerce\PayPalCommerce\WcGateway\Settings\SettingsListener::listen()
B
20
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway::process_payment()
B
18
WooCommerce\PayPalCommerce\Onboarding\OnboardingRESTController::set_credentials()
B
19