Code Analysis: Payment Gateway for PayPal on WooCommerce 5.0.5

Most Complex Functions

Function Rating Complexity
Woo_PayPal_Gateway_PayPal_Pro_API_Handler::wpg_update_payment_status_by_paypal_responce()
D
40
Woo_PayPal_Gateway_PayPal_Checkout_API_Handler_Rest::wpg_create_order_request()
D
38
Woo_Paypal_Gateway_Express_Checkout_API_Handler_NVP::wpg_update_payment_status_by_paypal_responce()
D
38
Braintree\Transaction::_initialize()
D
32
Woo_PayPal_Gateway_PayPal_Checkout_API_Handler_Rest::wpg_update_order()
D
34
Woo_Paypal_Gateway_Calculations::cart_calculation()
D
30
Woo_Paypal_Gateway_PayPal_Pro_Payflow_API_Handler::_get_post_data()
C
31
Woo_Paypal_Gateway_PayPal_Advanced_API_Handler::_get_post_data()
C
31
Woo_Paypal_Gateway_Calculations::order_calculation()
C
27
Braintree\WebhookTestingGateway::_sampleXml()
C
26
Woo_Paypal_Gateway_Express_Checkout_API_Handler_NVP::wpg_response_handler()
C
25
Braintree\Customer::_initialize()
C
24