Code Analysis: WooCommerce PayPal Payments 1.6.1

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\Webhooks\Handler\CheckoutOrderApproved::handle_request()
B
17
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::url()
B
21
WooCommerce\PayPalCommerce\WcGateway\Settings\SettingsListener::retrieve_settings_from_raw_data()
B
20
WooCommerce\PayPalCommerce\Onboarding\Onboarding_REST_Controller::set_credentials()
B
18
WooCommerce\PayPalCommerce\ApiClient\Entity\PurchaseUnit::ditch_items_when_mismatch()
B
18
WooCommerce\PayPalCommerce\Compat\PPEC\SubscriptionsHandler::should_mock_ppec_gateway()
B
18
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::render_wrapper()
B
16
WooCommerce\PayPalCommerce\Button\Endpoint\ApproveOrderEndpoint::handle_request()
B
15
WooCommerce\PayPalCommerce\WcGateway\Checkout\CheckoutPayPalAddressPreset::read_preset_for_field()
A
16