RCP_Payment_Gateway_Stripe D

Total Complexity 226
Dependencies 22
Dependents 4
Total lines 2,128
Lines of code 1,221
Logical lines of code 616
Comment lines 526
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
process_webhooks()
D
14
56 305
process_signup()
D
19
44 222
process_ajax_signup()
C
30 24 110
create_subscription_for_membership()
A
38 12 67
create_off_site_subscription()
A
39 9 66
maybe_create_plan()
A
40 8 62
get_or_create_customer()
A
48 10 31
fields()
A
39 7 75
validate_fields()
A
59 10 12
init()
A
48 8 30
plan_exists()
S
49 7 30
handle_processing_error()
S
49 7 28
change_membership_subscription_price()
S
48 4 34
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
59 2 15
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