Code Analysis: Payment Gateway Plugin for PayPal WooCommerce 1.5.9

Function Rating Maintainability Complexity Lines of code
Eh_PayPal_Express_Payment::perform_api_request_paypal()
D
6
93 399
Eh_PE_Request_Built::make_request_params()
D
16
54 254
Eh_PayPal_Express_Payment::set_address_to_order()
D
41 43 34
Eh_PE_Request_Built::order_item_params()
B
31 15 126
Eh_PayPal_Express_Payment::fill_checkout_fields_on_review()
B
43 18 47
Eh_Paypal_Express_Hooks::eh_express_credit_button_enabled()
B
56 19 15
Eh_PayPal_Express_Payment::shipping_parse()
A
48 17 27
Eh_PayPal_Express_Payment::__construct()
A
37 13 69
Eh_Paypal_Express_Hooks::eh_express_button_enabled()
A
57 15 15
deactivate_scripts()
A
35 3 167
Eh_PayPal_Express_Payment::fill_billing_details_on_review()
A
38 7 92
Eh_PayPal_Express_Payment::is_available()
A
56 11 18
Eh_PayPal_Express_Payment::hide_checkout_fields_on_review()
A
56 11 16
Eh_PayPal_Express_Payment::process_admin_options()
A
57 9 17
Eh_PayPal_Express_Payment::create_account()
A
44 7 44
Eh_PayPal_Express_Payment::process_express_checkout()
A
50 8 26
Eh_PayPal_Express_Payment::generate_image_html()
A
40 5 70
Paypal_Express_Review_Request::check_condition()
S
55 7 19
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
56 6 21
send_uninstall_reason()
S
47 5 34
Paypal_Express_Review_Request::process_user_action()
S
56 6 18
Eh_Paypal_Express_Hooks::unset_express()
S
57 6 17
Eh_PayPal_Express_Payment::process_payment()
S
49 5 30
Eh_Paypal_Express_Hooks::checkout_button_include()
S
50 5 26
Eh_Paypal_Express_Hooks::__construct()
S
60 5 13
Eh_PE_Request_Built::query_params()
S
60 5 13
Eh_Paypal_Express_Hooks::eh_payment_scripts()
S
60 5 11
Eh_PayPal_Express_Payment::file_size()
S
49 3 34
Eh_Paypal_Express_Hooks::unset_expres_cart_empty()
S
63 4 12
Eh_PE_Request_Built::finish_request_params()
S
52 3 25
get_uninstall_reasons()
S
45 1 53
eh_paypal_express_wc_admin_notices()
S
56 3 20
Eh_PayPal_Log::log_update()
S
55 3 18
Eh_PayPal_Express_Payment::admin_options()
S
53 1 47
Paypal_Express_Review_Request::add_banner_scripts()
S
50 1 46
Eh_PayPal_Express_Payment::store_locale()
S
51 2 31
get_order_processed()
S
64 4 9
Eh_PayPal_Express_Payment::gateways_hide_on_review()
S
64 4 10
Eh_PayPal_Express_Payment::add_policy_notes()
S
61 3 14
Eh_PE_Process_Response::process_response()
S
62 3 13
Eh_PE_Request_Built::make_paypal_amount()
S
63 3 11
Eh_PayPal_Express_Payment::cancel_order()
S
63 3 11
eh_paypal_check()
S
52 2 24
Paypal_Express_Review_Request::show_banner()
S
56 2 24
Eh_PayPal_Express_Payment::add_cancel_order_elements()
S
59 2 15
Eh_PayPal_Express_Payment::make_redirect_url()
S
60 2 15
eh_paypal_express_init_log()
S
59 2 15
Eh_Paypal_Express_Hooks::express_run()
S
70 3 6
eh_express_checkout_paypal_payment_gateway_for_woocommerce_update_message()
S
60 2 14
Paypal_Express_Review_Request::__construct()
S
58 2 14
eh_paypal_express_plugin_action_links()
S
59 2 13
Eh_PE_Request_Built::add_payment_params()
S
72 2 5
Eh_PE_Request_Built::add_line_items()
S
72 2 5
Eh_PE_Request_Built::get_params()
S
59 1 15
Eh_PE_Request_Built::wt_skip_line_items()
S
78 2 3
Eh_PE_Request_Built::make_params()
S
73 2 5
Eh_Paypal_Express_Handlers::check_dependencies()
S
69 2 6
Eh_PE_Request_Built::make_capture_params()
S
59 1 15
Eh_PayPal_Express_Payment::payment_scripts()
S
64 2 9
Eh_Paypal_Express_Hooks::eh_express_checkout_hook()
S
69 2 7
Paypal_Express_Review_Request::set_vars()
S
64 2 9
Eh_PE_Request_Built::make_refund_params()
S
59 1 15
eh_paypal_express_run()
S
66 2 9
Eh_PE_Process_Response::parse_response()
S
66 2 9
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
Paypal_Express_Review_Request::reset_start_date()
S
80 1 3
Paypal_Express_Review_Request::on_activate()
S
82 1 3
Eh_PE_Request_Built::make_param()
S
80 1 3
load_ehpypl_plugin_textdomain()
S
75 1 4
Paypal_Express_Review_Request::update_banner_state()
S
80 1 3
Eh_Paypal_Express_Handlers::add_payment_gateway()
S
77 1 4
Eh_PE_Request_Built::get_checkout_details()
S
73 1 5
Eh_Paypal_Express_Handlers::run_dependencies_hook()
S
67 1 8
Eh_Paypal_Express_Hooks::make_express_url()
S
78 1 3
Eh_PayPal_Express_Payment::admin_scripts()
S
70 1 6
Eh_PayPal_Log::remove_data()
S
69 1 7
Eh_PayPal_Express_Payment::get_icon()
S
71 1 5
eh_paypal_express_hook_init()
S
77 1 4
Eh_PayPal_Express_Payment::new_request()
S
79 1 3
Eh_Paypal_Express_Handlers::express_run()
S
74 1 4
Eh_PayPal_Express_Payment::init_form_fields()
S
80 1 3
Eh_PE_Process_Request::process_request()
S
72 1 5
Eh_PayPal_Log::init_log()
S
75 1 4
Paypal_Express_Review_Request::on_deactivate()
S
81 1 3
Eh_PE_Request_Built::__construct()
S
64 1 10