NCS_Cart_Public D

Total Complexity 528
Dependencies 12
Dependents 3
Total lines 3,108
Lines of code 2,392
Logical lines of code 1,313
Comment lines 260
Methods 57
Properties 5

Methods 57

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
ga_purchase_tracking()
C
26
14 268
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 16 86
my_account_page_shortcode()
B
39 17 63
js_order_tracking()
B
40 15 70
save_order_to_db()
B
39 15 61
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 42
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
__construct()
S
37 1 99
do_order_integration_functions()
S
55 6 20
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
sc_product_template()
S
60 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
do_order_complete_functions()
S
59 4 14
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_customer_csv_export()
S
69 3 7
sc_stripe_webhook()
S
63 3 10
maybe_use_default_login_authentication()
S
70 3 5
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
71 1 6
set_my_account_url()
S
80 1 3