WC_Payment_Gateway_Stripe_CC A

Total Complexity 51
Dependencies 5
Dependents 0
Total lines 324
Lines of code 233
Logical lines of code 91
Comment lines 43
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
add_stripe_order_args()
S
61 8 10
get_element_options()
S
53 6 21
get_notice_css_selector()
S
57 5 19
get_icon()
S
57 4 17
get_form_style()
S
55 2 21
enqueue_checkout_scripts()
S
59 2 16
postal_enabled()
S
68 3 8
get_localized_params()
S
49 1 30
validate_form_type_field()
S
67 3 7
get_postal_code_regex()
S
55 1 20
get_card_custom_field_options()
S
66 2 8
is_installment_available()
S
67 2 8
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