wcal_common B

Total Complexity 87
Dependencies 0
Dependents 9
Total lines 1,012
Lines of code 579
Logical lines of code 339
Comment lines 288
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
wcal_get_cart_details()
A
39 12 66
wcal_get_billing_details()
A
42 12 57
wcal_get_abandoned_order_count()
A
42 5 62
wcal_get_abandoned_amount()
S
55 7 20
wcal_get_last_email_template()
S
49 6 31
ts_add_plugin_tracking_data()
S
52 4 23
wcal_ts_get_email_templates_data()
S
52 4 22
wcal_get_user_role()
S
55 4 19
wcal_gdpr_refused()
S
55 4 19
wcal_get_price()
S
67 4 7
wcal_ts_get_abandoned_order_total_amount()
S
55 1 20
wcal_ts_get_logged_in_users_abandoned_cart_total_amount()
S
55 1 20
wcal_ts_get_guest_users_abandoned_cart_total_amount()
S
55 1 20
wcal_ts_get_abandoned_order_counts()
S
56 1 19
wcal_ts_get_logged_in_users_abandoned_cart_total_count()
S
56 1 19
wcal_ts_get_guest_users_abandoned_cart_total_count()
S
56 1 19
wcal_ts_get_logged_in_users_recovered_cart_total_amount()
S
58 1 16
wcal_ts_get_recovered_order_total_amount()
S
58 1 16
wcal_ts_get_guest_users_recovered_cart_total_amount()
S
58 1 16
wcal_get_cart_session()
S
71 2 6
wcal_ts_get_recovered_order_counts()
S
59 1 15
wcal_get_version()
S
63 2 10
wcal_get_recovered_amount()
S
66 2 8
wcal_ts_get_sent_emails_total_count()
S
70 1 6
wcal_unset_cart_session()
S
80 1 3
wcal_ts_get_all_plugin_options_values()
S
69 1 7
wcal_set_cart_session()
S
79 1 3
show_update_failure()
S
70 1 8
show_update_success()
S
70 1 8
update_templates_table()
S
72 1 5
wcal_get_plugin_url()
S
79 1 3
ts_get_data_for_opt_out()
S
70 1 6