Code Analysis: WooPayments 9.3.0

Most Complex Functions

Function Rating Complexity
WC_Payments_Account::maybe_handle_onboarding()
D
104
WC_Payment_Gateway_WCPay::process_payment_for_order()
D
74
WC_Payments_Onboarding_Service::get_source()
D
34
WC_Payments_Status::render_status_report_section()
D
29
WC_Payments::init()
D
14
WC_Payments_Admin::add_payments_menu()
D
22
WC_Payment_Gateway_WCPay::update_order_status()
D
29
WC_Payments_Express_Checkout_Button_Helper::should_show_express_checkout_button()
C
32
WC_Payments_Admin::enqueue_payments_scripts()
C
25
WC_Payment_Gateway_WCPay::process_payment()
C
24
WC_Payments_WooPay_Button_Handler::should_show_woopay_button()
C
27
wcpay_init_subscriptions_core()
C
26