RCP_Payment_Gateway_Stripe D

Total Complexity 221
Dependencies 22
Dependents 4
Total lines 1,943
Lines of code 1,051
Logical lines of code 600
Comment lines 503
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
process_webhooks()
D
19
53 204
process_signup()
D
20
44 198
process_ajax_signup()
C
32 22 93
create_subscription_for_membership()
A
40 12 57
create_off_site_subscription()
A
39 9 64
get_or_create_customer()
A
48 10 31
fields()
A
39 7 75
maybe_create_plan()
A
42 8 53
validate_fields()
A
59 10 12
init()
A
48 8 30
handle_processing_error()
S
49 7 28
plan_exists()
S
50 7 28
change_membership_subscription_price()
S
49 4 32
create_plan()
S
46 3 42
get_stripe_max_billing_cycle_anchor()
S
55 4 19
scripts()
S
56 3 20
change_next_bill_date()
S
61 2 12
get_stripe_error()
S
62 2 11
update_card_fields()
S
62 1 19
get_localized_error_message()
S
66 2 8
update_subscription()
S
64 2 9
generate_plan_id()
S
68 1 6