WC_Stripe_Blocks_Support A

Total Complexity 56
Dependencies 6
Dependents 1
Total lines 410
Lines of code 246
Logical lines of code 87
Comment lines 127
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
should_show_payment_request_button()
A
52 11 26
register_upe_payment_method_script_handles()
S
50 6 31
register_legacy_payment_method_script_handles()
S
52 6 25
add_stripe_intents()
S
51 5 27
add_payment_request_order_meta()
S
58 4 16
add_order_meta()
S
62 4 12
get_icons()
S
50 2 31
get_payment_method_script_handles()
S
60 2 15
get_gateway_javascript_params()
S
63 2 11
get_payment_method_data()
S
58 1 17
__construct()
S
70 2 5
get_supported_features()
S
66 2 8
get_title()
S
77 2 3
get_show_saved_cards()
S
77 2 3
is_active()
S
77 2 3
get_show_save_option()
S
75 1 4
initialize()
S
79 1 3
get_payment_request_javascript_params()
S
73 1 6