Code Analysis: WooCommerce PayPal Payments 1.6.5

Most Complex Functions

Function Rating Complexity
WooCommerce\PayPalCommerce\Compat\PPEC\SettingsImporter::get_settings_translated()
D
43
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::message_values()
C
28
WooCommerce\PayPalCommerce\WcGateway\Settings\SettingsRenderer::render()
C
25
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::url()
B
23
WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved::handle_request()
B
16
WooCommerce\PayPalCommerce\Onboarding\OnboardingRESTController::set_credentials()
B
18
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::render_wrapper()
B
18
WooCommerce\PayPalCommerce\WcGateway\Settings\SettingsListener::retrieve_settings_from_raw_data()
B
19
WooCommerce\PayPalCommerce\ApiClient\Endpoint\OrderEndpoint::create()
B
15
WooCommerce\PayPalCommerce\Compat\PPEC\SubscriptionsHandler::should_mock_ppec_gateway()
B
18
WooCommerce\PayPalCommerce\Button\Endpoint\CreateOrderEndpoint::handle_request()
A
15
WooCommerce\PayPalCommerce\Button\Endpoint\ApproveOrderEndpoint::handle_request()
A
14