WC_Stripe_Express_Checkout_Element A

Total Complexity 74
Dependencies 10
Dependents 2
Total lines 466
Lines of code 292
Logical lines of code 131
Comment lines 105
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
localize_pay_for_order_page_scripts()
A
41 9 59
init()
A
47 9 33
scripts()
A
46 8 43
add_order_meta()
A
52 8 22
filter_gateway_title()
A
56 8 18
javascript_params()
S
45 5 38
display_express_checkout_button_html()
S
54 5 23
display_express_checkout_button_separator_html()
S
63 5 11
handle_express_checkout_redirect()
S
60 4 12
set_session()
S
70 4 6
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