Code Analysis: WooCommerce PayPal Payments 1.9.2

Most Complex Functions

Function Rating Complexity
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice::init()
D
41
WooCommerce\PayPalCommerce\Compat\PPEC\SettingsImporter::get_settings_translated()
D
43
WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::run()
C
22
WooCommerce\PayPalCommerce\WcGateway\Settings\SettingsRenderer::render()
C
28
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::message_values()
C
28
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::url()
C
29
WooCommerce\PayPalCommerce\WcGateway\Gateway\CreditCardGateway::process_payment()
C
24
WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved::handle_request()
B
18
WooCommerce\PayPalCommerce\Button\Endpoint\CreateOrderEndpoint::handle_request()
B
21
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::render_button_wrapper_registrar()
B
21
WooCommerce\PayPalCommerce\Button\Assets\SmartButton::render_wrapper()
B
19
WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway::process_payment()
B
18