WC_Stripe_Express_Checkout_Element C

Total Complexity 103
Dependencies 16
Dependents 2
Total lines 767
Lines of code 475
Logical lines of code 216
Comment lines 193
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
localize_pay_for_order_page_scripts()
A
37 10 78
get_custom_checkout_fields()
A
46 9 40
init()
A
47 9 34
add_order_meta()
A
50 9 26
filter_gateway_title()
S
53 7 24
javascript_params()
S
43 5 45
get_custom_checkout_data_from_request()
S
53 6 23
get_asset_data()
S
56 6 18
display_express_checkout_button_html()
S
54 5 23
scripts()
S
53 4 27
display_express_checkout_button_separator_html()
S
63 5 11
set_session()
S
65 5 9
handle_express_checkout_redirect()
S
60 4 12
process_custom_checkout_data()
S
60 3 13
filter_cart_needs_shipping_address()
S
70 3 6
get_login_redirect_url()
S
66 3 8
get_sanitized_value()
S
67 3 8
get_standard_checkout_fields()
S
56 1 21
setup_custom_checkout_data()
S
59 1 16
register_express_checkout_script()
S
62 1 11
instance()
S
80 1 3
get_custom_checkout_data_schema()
S
67 1 9
add_order_attribution_inputs()
S
82 1 3
__construct()
S
69 1 7