WC_Payment_Gateway_Stripe_GooglePay S

Total Complexity 30
Dependencies 1
Dependents 1
Total lines 229
Lines of code 174
Logical lines of code 62
Comment lines 24
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
get_formatted_shipping_label()
S
59 6 13
get_localized_params()
S
55 4 18
get_display_item_for_cart()
S
59 2 15
get_display_item_for_order()
S
59 2 15
get_formatted_shipping_methods()
S
63 2 11
get_shipping_method_label()
S
71 2 5
get_mini_cart_dependencies()
S
71 2 6
enqueue_checkout_scripts()
S
62 1 13
enqueue_product_scripts()
S
62 1 13
enqueue_cart_scripts()
S
62 1 13
enqueue_admin_scripts()
S
62 1 13
__construct()
S
61 1 11
add_to_cart_response()
S
75 1 4
get_display_item_for_product()
S
68 1 7
get_formatted_shipping_method()
S
68 1 7
init_supports()
S
69 1 7
has_enqueued_scripts()
S
80 1 3