Code Analysis: WooCommerce PayPal Payments 2.0.0

Most Complex Functions

Function Rating Complexity
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice::init()
D
56
WooCommerce\PayPalCommerce\Compat\PPEC\SettingsImporter::get_settings_translated()
D
43
WooCommerce\PayPalCommerce\WcGateway\Settings\SettingsRenderer::render()
C
30
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::url()
C
30
WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::run()
C
18
WooCommerce\PayPalCommerce\Button\Endpoint\CreateOrderEndpoint::handle_request()
C
25
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::render_button_wrapper_registrar()
B
22
WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved::handle_request()
B
18
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::render_wrapper()
B
19
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway::process_payment()
B
18
WooCommerce\PayPalCommerce\Onboarding\OnboardingRESTController::set_credentials()
B
19
WooCommerce\PayPalCommerce\Vaulting\PaymentTokenChecker::check_and_update()
B
19