WC_Payment_Gateway_Stripe_CC A

Total Complexity 58
Dependencies 7
Dependents 0
Total lines 336
Lines of code 245
Logical lines of code 104
Comment lines 44
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
show_save_source()
A
54 10 21
validate_form_type_field()
S
59 6 13
get_notice_css_selector()
S
57 5 19
get_element_options()
S
62 4 11
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
get_active_card_form_type()
S
65 3 10
get_icon()
S
59 2 15
get_postal_code_regex()
S
55 1 20
get_confirmation_method()
S
79 2 3
is_installment_available()
S
67 2 8
get_form_fields()
S
68 2 7
get_card_custom_field_options()
S
66 2 8
enqueue_checkout_scripts()
S
64 1 11
cvv_enabled()
S
80 1 3
get_custom_form_template()
S
75 1 4
has_enqueued_scripts()
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
__construct()
S
63 1 10