Forminator_Stripe D

Total Complexity 129
Dependencies 11
Dependents 1
Total lines 1,089
Lines of code 627
Logical lines of code 351
Comment lines 292
Methods 25
Properties 10

Methods 25

Method Rating Maintainability Complexity Lines of code
update_paymentIntent()
B
34 20 95
markup()
B
29 13 121
get_payment_amount()
A
43 15 45
get_amount_dependent_fields()
A
48 15 33
generate_paymentIntent()
A
41 10 54
process_to_entry_data()
S
45 6 40
get_payment_plan()
S
60 5 13
defaults()
S
45 2 45
is_available()
S
60 4 14
__construct()
S
61 4 12
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_publishable_key()
S
64 3 11
get_secret_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
get_default_currency()
S
68 2 8
confirm_paymentIntent()
S
70 2 7
get_form_setting()
S
71 2 6
get_transanction_link()
S
65 2 9
sanitize()
S
72 1 5
validate()
S
79 1 3