WC_Payment_Gateway_Stripe_CC S

Total Complexity 50
Dependencies 7
Dependents 0
Total lines 316
Lines of code 227
Logical lines of code 92
Comment lines 43
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
show_save_source()
A
54 10 21
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
get_localized_params()
S
49 1 30
validate_form_type_field()
S
68 3 7
get_icon()
S
59 2 15
postal_enabled()
S
68 3 8
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
__construct()
S
63 1 10
get_active_card_form_type()
S
80 1 3
get_custom_form_template()
S
75 1 4
has_enqueued_scripts()
S
80 1 3
cvv_enabled()
S
80 1 3
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
70 1 6
is_deferred_intent_creation()
S
81 1 3