Code Analysis: Payment Gateway Plugin for PayPal WooCommerce 1.9.2

Function Rating Maintainability Complexity Lines of code
Eh_PayPal_Express_Payment::perform_api_request_paypal()
D
0
264 1,100
Eh_PE_Request_Built::make_request_params()
D
15
75 231
Eh_Rest_Request_Built::make_request_params()
D
17
57 228
Eh_PayPal_Express_Payment::shipping_parse()
D
33 55 62
Eh_PayPal_Express_Payment::set_address_to_order()
D
40 44 35
Eh_Rest_Request_Built::get_address_details()
C
43 28 33
Eh_Paypal_Express_Hooks::eh_express_button_enabled()
C
46 28 32
Eh_PayPal_Express_Payment::fill_checkout_fields_on_review()
C
41 25 54
Eh_PayPal_Express_Payment::__construct()
B
32 21 89
Eh_PE_Request_Built::order_item_params()
B
31 19 118
Eh_Paypal_Express_Hooks::eh_express_credit_button_enabled()
B
53 23 18
Eh_Paypal_Express_Hooks::eh_payment_scripts()
B
33 17 98
Eh_PE_Request_Built::add_payment_params()
B
57 22 12
Eh_Rest_Request_Built::order_item_params()
B
32 14 123
Eh_PayPal_Express_Payment::process_admin_options()
A
44 15 44
Eh_PayPal_Express_Payment::is_available()
A
50 16 28
Eh_Paypal_Express_Hooks::checkout_button_include()
A
41 14 50
Eh_PayPal_Express_Payment::wt_paypal_order_db_operations()
A
45 13 44
Eh_PayPal_Express_Payment::fill_billing_details_on_review()
A
37 8 96
Eh_PayPal_Express_Payment::create_wc_order()
A
42 10 53
Wteh_Bfcm_Twenty_Twenty_Four::is_show_banner()
A
48 11 32
Eh_PayPal_Express_Payment::hide_checkout_fields_on_review()
A
55 12 16
Eh_PayPal_Express_Payment::process_payment()
A
41 9 59
Eh_PayPal_Express_Payment::admin_options()
A
41 1 169
Eh_PayPal_Express_Payment::process_express_checkout()
A
46 9 39
Eh_Paypal_Express_Hooks::__construct()
A
54 9 20
Eh_PayPal_Express_Payment::create_account()
A
43 7 50
Eh_PayPal_Express_Payment::generate_image_html()
A
40 5 70
Eh_PayPal_Express_Payment::eh_error_msg_processing()
A
55 8 18
Eh_Rest_Request_Built::alter_query_params()
A
49 7 33
Eh_Rest_Request_Built::get_token()
A
54 8 17
Eh_PayPal_Express_Payment::get_access_token()
S
51 7 26
Eh_PayPal_Express_Payment::finish_rest_request()
S
48 6 30
Eh_PayPal_Log::log_update()
S
49 6 30
Eh_PayPal_Express_Payment::is_registration_needed()
S
59 7 14
Eh_PayPal_Express_Payment::wc_get_state_code()
S
60 7 13
Eh_Paypal_Express_Hooks::check_express()
S
57 6 19
Eh_PayPal_Express_Payment::wt_order_contain_virtual_products()
S
56 6 18
Eh_PE_Process_Response::parse_response()
S
57 6 16
Eh_Rest_Request_Built::add_shipping_details()
S
58 6 15
Eh_Paypal_Express_Hooks::unset_express()
S
58 6 15
Eh_Rest_Request_Built::query_params()
S
60 6 14
Eh_Rest_Request_Built::make_refund_params()
S
49 4 32
Eh_PE_Request_Built::query_params()
S
61 5 11
Eh_PayPal_Express_Payment::file_size()
S
49 3 34
Eh_Paypal_Express_Hooks::unset_expres_cart_empty()
S
64 4 11
eh_paypal_express_wc_admin_notices()
S
54 3 24
Eh_PE_Request_Built::finish_request_params()
S
53 3 22
Eh_PayPal_Express_Payment::add_cancel_order_elements()
S
55 3 19
Eh_PayPal_Express_Payment::store_locale()
S
51 2 31
Eh_Paypal_Express_Hooks::get_locale()
S
51 2 31
get_order_processed()
S
64 4 9
Eh_Rest_Request_Built::make_params()
S
68 4 7
Eh_PayPal_Express_Payment::gateways_hide_on_review()
S
64 4 10
Wteh_Bfcm_Twenty_Twenty_Four::show_banner()
S
53 2 29
Eh_PayPal_Express_Payment::add_policy_notes()
S
62 3 12
Eh_PayPal_Express_Payment::cancel_order()
S
63 3 11
eh_paypal_check()
S
52 2 23
Eh_Rest_Request_Built::update_order()
S
56 2 16
Eh_PE_Request_Built::make_paypal_amount()
S
66 3 8
Eh_PayPal_Log::remove_data()
S
59 2 15
Wteh_Bfcm_Twenty_Twenty_Four::update_banner_state()
S
63 3 10
Eh_Paypal_Express_Hooks::express_run()
S
72 3 5
Eh_PayPal_Express_Payment::make_redirect_url()
S
60 2 15
Eh_PE_Process_Response::process_response()
S
64 3 10
Eh_PayPal_Express_Payment::wt_paypal_is_HPOS_compatibile()
S
68 3 7
Wteh_Bfcm_Twenty_Twenty_Four::is_bfcm_season()
S
64 3 9
Eh_Rest_Request_Built::make_paypal_amount()
S
66 3 8
eh_express_checkout_paypal_payment_gateway_for_woocommerce_update_message()
S
60 2 13
eh_paypal_express_plugin_action_links()
S
59 2 13
eh_paypal_express_init_log()
S
61 2 12
Eh_Rest_Request_Built::get_params()
S
58 1 16
Wteh_Bfcm_Twenty_Twenty_Four::enqueue_styles_and_scripts()
S
57 1 16
Eh_PE_Request_Built::get_params()
S
58 1 16
Eh_Paypal_Express_Hooks::eh_express_checkout_hook()
S
69 2 7
Eh_Paypal_Express_Handlers::check_dependencies()
S
69 2 6
Eh_Rest_Request_Built::wt_skip_line_items()
S
78 2 3
Eh_PE_Request_Built::make_params()
S
73 2 5
Wteh_Bfcm_Twenty_Twenty_Four::__construct()
S
65 2 8
Eh_PayPal_Express_Payment::payment_scripts()
S
64 2 9
Eh_PE_Request_Built::add_line_items()
S
72 2 5
eh_paypal_express_run()
S
67 2 8
Eh_PE_Request_Built::wt_skip_line_items()
S
78 2 3
Eh_Paypal_Express_Handlers::paypal_express_init()
S
71 2 6
eh_express_checkout_paypal_payment_gateway_for_woocommerce_plugin_screen_update_js()
S
100 1 13
Eh_PE_Request_Built::make_capture_params()
S
60 1 13
Eh_PE_Request_Built::make_refund_params()
S
60 1 13
Eh_PE_Request_Built::__construct()
S
62 1 12
Eh_PayPal_Express_Payment::admin_scripts()
S
70 1 6
Eh_Paypal_Express_Handlers::run_dependencies_hook()
S
66 1 9
Eh_PayPal_Express_Payment::get_icon()
S
71 1 5
load_ehpypl_plugin_textdomain()
S
75 1 4
Eh_Rest_Request_Built::authorize_order()
S
65 1 8
Eh_PayPal_Log::init_log()
S
75 1 4
Eh_Paypal_Express_Handlers::add_payment_gateway()
S
77 1 4
Eh_PE_Request_Built::make_param()
S
80 1 3
Eh_PayPal_Express_Payment::new_request()
S
79 1 3
Eh_Rest_Request_Built::add_amount_breakdown()
S
79 1 3
Eh_Rest_Request_Built::add_line_items()
S
78 1 3
Eh_Rest_Request_Built::capture_order()
S
65 1 8
Eh_PE_Process_Request::process_request()
S
72 1 5
Eh_PE_Request_Built::get_paypal_details()
S
75 1 4
Eh_Rest_Request_Built::get_order_details()
S
65 1 8
eh_paypal_express_hook_init()
S
77 1 4
Eh_Paypal_Express_Handlers::express_run()
S
74 1 4
Eh_PayPal_Express_Payment::init_form_fields()
S
80 1 3
Eh_PE_Request_Built::get_checkout_details()
S
70 1 6
Eh_PayPal_Express_Payment::wt_paypal_load_media()
S
82 1 3
Eh_Rest_Request_Built::__construct()
S
65 1 10
Eh_Paypal_Express_Hooks::make_express_url()
S
78 1 3
Eh_PayPal_Express_Payment::new_rest_request()
S
79 1 3