WC_Payment_Gateway_Stripe_CC S

Total Complexity 42
Dependencies 4
Dependents 0
Total lines 303
Lines of code 213
Logical lines of code 80
Comment lines 43
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
get_notice_css_selector()
S
57 5 19
get_element_options()
S
59 4 13
add_stripe_order_args()
S
70 4 5
get_form_style()
S
55 2 21
postal_enabled()
S
68 3 8
get_localized_params()
S
49 1 30
validate_form_type_field()
S
67 3 7
get_icon()
S
59 2 15
get_postal_code_regex()
S
55 1 20
get_card_custom_field_options()
S
66 2 8
is_installment_available()
S
67 2 8
enqueue_checkout_scripts()
S
64 1 11
is_deferred_intent_creation()
S
81 1 3
get_active_card_form_type()
S
80 1 3
show_save_source()
S
81 1 3
__construct()
S
63 1 10
has_enqueued_scripts()
S
80 1 3
cvv_enabled()
S
80 1 3
get_custom_form_template()
S
75 1 4
is_payment_element_active()
S
79 1 3
is_custom_form_active()
S
79 1 3
get_custom_form()
S
79 1 3
get_card_form_options()
S
67 1 7
get_save_payment_method_label()
S
79 1 3