NCS_Cart_Public D

Total Complexity 601
Dependencies 13
Dependents 1
Total lines 3,755
Lines of code 2,967
Logical lines of code 1,531
Comment lines 272
Methods 66
Properties 4

Methods 66

Method Rating Maintainability Complexity Lines of code
ga_purchase_tracking()
D
18
27 505
validate_order_form_submission()
D
25
41 164
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
27
24 141
enqueue_scripts()
C
32 25 95
create_subscription()
B
29
18 135
my_account_page_shortcode()
B
37 22 74
create_stripe_subscription()
B
33 17 99
save_order_to_db()
B
36 18 75
customer_bought_product()
B
34 14 113
get_match_tax_rate()
B
34 15 92
js_order_tracking()
B
40 15 70
get_custom_fields_from_post()
B
42 16 50
sc_product_shortcode()
A
39 13 62
sc_process_payment()
A
47 12 32
do_after_integration_functions()
A
58 13 13
sc_redirect()
A
46 11 38
do_subscription_save()
A
39 9 60
do_password_reset()
A
45 10 42
ncs_update_stripe_card()
A
49 10 30
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
53 8 23
sc_update_cart_amount()
A
44 6 46
__construct()
S
35 1 112
update_subscription_db()
S
49 6 30
check_product_purchase_limit()
S
49 6 29
update_payment_intent_amt()
S
48 5 33
sc_set_form_views()
S
53 5 23
sc_email_preview_template()
S
67 6 6
get_custom_fields_post_data()
S
58 5 15
sc_product_template()
S
59 5 13
do_order_integration_functions()
S
61 5 12
do_password_lost()
S
54 4 23
do_stripe_subscription_save()
S
49 3 33
find_stripe_webhook_order()
S
56 4 18
maybe_redirect_at_authenticate()
S
59 4 15
product_payment_plans()
S
60 4 13
update_stripe_order_status()
S
56 3 17
get_my_account_url()
S
62 3 12
show_stripe_payment_method()
S
62 3 11
sc_store_shortcode()
S
54 2 21
sc_customer_csv_export()
S
69 3 7
sc_stripe_webhook()
S
63 3 10
order_detail_shortcode()
S
69 3 6
subscription_detail_shortcode()
S
69 3 6
maybe_use_default_login_authentication()
S
70 3 5
get_template()
S
62 2 12
enqueue_styles()
S
60 1 16
sc_receipt_shortcode()
S
68 2 7
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
my_account_page_link_shortcode()
S
63 2 10
maybe_disable_welcome_email()
S
68 2 7
do_order_complete_functions()
S
76 1 4
customer_has_subscription()
S
64 1 10
sc_query_vars()
S
71 1 6
sc_webhook_rewrite_rule()
S
71 1 5
sc_api_query_vars()
S
71 1 6
set_my_account_url()
S
80 1 3