Code Analysis: WooCommerce PayPal Pro 2.9.6

Most Complex Classes

Class Rating Complexity
WC_PP_PRO_Gateway
S
47
WC_PP_PRO_Utility
S
17
WC_Paypal_Pro_Gateway_Addon
S
14

Most Complex Functions

Function Rating Complexity
WC_PP_PRO_Gateway::payment_fields()
A
5
WC_PP_PRO_Utility::is_valid_card_number()
A
8
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::do_order_complete_tasks()
S
4
WC_PP_PRO_Gateway::handle_admin_notice_msg()
S
5
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
WC_PP_PRO_Gateway::__construct()
S
2