Code Analysis: WooCommerce PayPal Payments 2.0.4

Most Complex Functions

Function Rating Complexity
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice::init()
D
64
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\WCGatewayModule::register_payment_gateways()
B
18
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway::process_payment()
B
18
WooCommerce\PayPalCommerce\Onboarding\OnboardingRESTController::set_credentials()
B
19