Code Analysis: WooCommerce PayPal Pro 3.0

Most Complex Functions

Function Rating Complexity
WC_PP_PRO_Utility::is_valid_card_number()
A
8
WC_PP_PRO_Gateway::payment_fields()
A
5
WC_PP_PRO_Gateway::verify_paypal_payment()
A
7
WC_PP_PRO_Gateway::process_payment()
S
5
WC_PP_PRO_Gateway::validate_fields()
S
5
WC_PP_PRO_Gateway::create_paypal_request()
S
3
WC_PP_PRO_Gateway_Blocks_Support::get_payment_method_script_handles()
S
4
WC_PP_PRO_Gateway::do_order_complete_tasks()
S
4
WC_PP_PRO_Utility::get_user_ip()
S
4
WC_PP_PRO_Gateway::get_additional_item_info_for_request()
S
3
WC_PP_PRO_Gateway::init_form_fields()
S
1
WC_PP_PRO_Utility::is_valid_expiry()
S
3