Forminator_Stripe D

Total Complexity 158
Dependencies 12
Dependents 1
Total lines 1,409
Lines of code 831
Logical lines of code 457
Comment lines 381
Methods 31
Properties 10

Methods 31

Method Rating Maintainability Complexity Lines of code
markup()
D
21
25 226
update_paymentIntent()
C
29 26 127
get_payment_amount()
A
43 15 45
generate_paymentIntent()
A
38 12 67
get_plan_dependent_fields()
A
56 10 19
process_to_entry_data()
S
45 6 40
get_conditions_dependent_fields()
S
57 6 16
get_payment_plan()
S
60 5 13
defaults()
S
45 2 45
is_available()
S
60 4 14
__construct()
S
61 4 12
get_layout()
S
58 3 16
get_paymentMethod()
S
56 3 16
get_paymentIntent()
S
56 3 16
payment_method()
S
61 3 13
calculate_amount()
S
61 3 12
get_secret_key()
S
63 3 11
get_publishable_key()
S
64 3 11
linkify_transaction_id()
S
63 3 9
get_error()
S
65 3 9
get_zero_decimal_currencies()
S
57 1 20
confirm_paymentIntent()
S
69 2 7
get_amount_dependent_fields_all()
S
64 2 9
get_form_setting()
S
71 2 6
get_transanction_link()
S
65 2 9
get_default_currency()
S
68 2 8
get_unsupported_payment_methods()
S
62 1 14
sanitize()
S
72 1 5
validate()
S
79 1 3
get_return_url()
S
79 1 3
get_amount_dependent_fields()
S
63 1 10