WC_Stripe_Express_Checkout_Element A

Total Complexity 75
Dependencies 11
Dependents 2
Total lines 503
Lines of code 324
Logical lines of code 140
Comment lines 110
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
localize_pay_for_order_page_scripts()
A
38 9 75
init()
A
47 9 33
scripts()
A
46 8 43
add_order_meta()
A
50 9 26
filter_gateway_title()
S
53 7 24
javascript_params()
S
44 5 41
display_express_checkout_button_html()
S
54 5 23
display_express_checkout_button_separator_html()
S
63 5 11
set_session()
S
65 5 9
handle_express_checkout_redirect()
S
60 4 12
get_login_redirect_url()
S
66 3 8
filter_cart_needs_shipping_address()
S
70 3 6
__construct()
S
69 1 7
instance()
S
80 1 3
add_order_attribution_inputs()
S
82 1 3