WC_Stripe_Blocks_Support B

Total Complexity 86
Dependencies 11
Dependents 1
Total lines 544
Lines of code 323
Logical lines of code 129
Comment lines 162
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
add_payment_request_order_meta()
A
48 12 29
should_show_payment_request_button()
A
53 10 26
should_show_express_checkout_button()
A
55 9 24
register_upe_payment_method_script_handles()
S
50 6 31
is_active()
S
58 7 15
register_legacy_payment_method_script_handles()
S
52 6 25
add_stripe_intents()
S
51 5 27
is_upe_method_available()
S
61 4 12
add_order_meta()
S
62 4 12
get_icons()
S
50 2 31
get_gateway_javascript_params()
S
61 3 13
get_supported_features()
S
62 3 11
get_payment_method_data()
S
55 2 21
__construct()
S
68 3 6
get_payment_method_script_handles()
S
60 2 15
get_title()
S
77 2 3
get_show_saved_cards()
S
77 2 3
get_show_save_option()
S
75 1 4
get_express_checkout_javascript_params()
S
73 1 6
initialize()
S
80 1 3
get_payment_request_javascript_params()
S
73 1 6