Woo_Paypal_Gateway_Express_Checkout_Helper_NVP C

Total Complexity 105
Dependencies 4
Dependents 2
Total lines 325
Lines of code 276
Logical lines of code 164
Comment lines 0
Methods 20
Properties 10

Methods 20

Method Rating Maintainability Complexity Lines of code
wpg_product_add_to_cart()
A
47 12 32
__construct()
A
48 9 27
wpg_ec_get_wpml_locale()
S
57 7 17
wpg_woocommerce_page_title()
S
62 8 10
wpg_checkout_button_on_product_details_page()
S
59 7 15
ec_enqueue_scripts_product_page()
S
48 6 29
get_button_locale_code()
S
53 5 21
wpg_express_checkout_auto_fillup_shipping_address()
S
58 5 15
buy_now_button()
S
59 5 14
wpg_checkout_page_disable_gateways()
S
61 5 13
wpg_add_body_class()
S
61 5 12
wpg_is_express_checkout_enable()
S
58 4 16
wpg_checkout_on_bottom_cart_page()
S
71 5 5
wpg_checkout_on_top_cart_page()
S
71 5 5
wpg_get_create_payment_url()
S
62 4 11
wpg_display_button_on_checkout_page()
S
65 4 8
wpg_get_merchant_id()
S
64 3 10
wpg_redirect_to_checkout_page()
S
71 3 6
wpg_maybe_clear_session_data()
S
72 2 6
wpg_add_header_meta()
S
78 1 4