NCS_Cart_Public D

Total Complexity 507
Dependencies 12
Dependents 3
Total lines 2,790
Lines of code 2,110
Logical lines of code 1,224
Comment lines 250
Methods 56
Properties 5

Methods 56

Method Rating Maintainability Complexity Lines of code
validate_order_form_submission()
D
26
40 152
do_stripe_order_save()
D
30 43 103
conditional_order_confirmations()
D
30 36 109
do_order_save()
D
28
31 124
create_payment_intent()
C
29
24 125
enqueue_scripts()
C
33 25 94
create_subscription()
C
30 21 121
get_match_tax_rate()
B
33 17 103
create_stripe_subscription()
B
35 15 86
sc_js_fb_events()
B
39 15 77
save_order_to_db()
B
39 15 61
my_account_page_shortcode()
A
42 14 53
sc_product_shortcode()
A
39 13 62
sc_process_payment()
A
47 12 32
sc_redirect()
A
46 11 37
do_subscription_save()
A
39 9 60
do_password_reset()
A
45 10 41
get_custom_fields_from_post()
A
47 10 31
test_conditions()
A
52 9 24
redirect_to_custom_password_reset()
A
52 9 24
sc_check_vat_applicable()
A
55 9 18
maybe_change_thank_you_page()
A
52 8 24
public_product_name()
A
54 8 22
update_subscription_db()
S
49 6 30
check_product_purchase_limit()
S
51 6 27
do_order_integration_functions()
S
55 6 20
__construct()
S
38 1 92
update_payment_intent_amt()
S
50 5 30
sc_set_form_views()
S
53 5 23
ncs_update_stripe_card()
S
56 5 18
sc_email_preview_template()
S
67 6 6
get_custom_fields_post_data()
S
58 5 15
do_password_lost()
S
54 4 23
do_stripe_subscription_save()
S
49 3 33
find_stripe_webhook_order()
S
56 4 18
do_order_complete_functions()
S
59 4 14
maybe_redirect_at_authenticate()
S
59 4 14
sc_product_template()
S
63 4 11
update_stripe_order_status()
S
56 3 17
get_my_account_url()
S
62 3 12
sc_customer_csv_export()
S
69 3 7
sc_subscription_renew_reminder()
S
69 3 7
sc_stripe_webhook()
S
63 3 10
get_template()
S
62 2 12
sc_receipt_shortcode()
S
63 2 11
enqueue_styles()
S
60 1 16
is_stripe_order_complete()
S
71 2 6
maybe_do_order_complete()
S
67 2 8
custom_bump_summary_text()
S
70 2 6
add_lost_password_link()
S
70 2 6
maybe_disable_welcome_email()
S
68 2 7
sc_query_vars()
S
71 1 6
sc_webhook_rewrite_rule()
S
71 1 5
sc_api_query_vars()
S
69 1 7
set_my_account_url()
S
80 1 3
show_stripe_payment_method()
S
68 1 7