BWFAN_Common D

Total Complexity 633
Dependencies 34
Dependents 58
Total lines 3,629
Lines of code 2,521
Logical lines of code 1,325
Comment lines 608
Methods 157
Properties 12

Methods 157

Method Rating Maintainability Complexity Lines of code
get_all_actions_names()
B
40 22 53
is_load_admin_assets()
B
49 20 29
create_automation_on_activation()
A
41 14 54
add_user_consent_after_terms_and_conditions()
A
42 13 52
delete_automation_tasks_by_unique_action_ids()
A
50 13 25
filter_actions_conditions()
A
48 12 34
parse_default_merge_tags()
A
48 12 33
wc_add_to_cart()
A
45 11 41
capture_async_events()
A
49 11 29
update_contact_meta()
A
50 11 27
initial_parse_merge_tags()
A
52 11 24
validate_string()
A
47 10 38
product_search()
A
47 10 35
validate_action_date_before_save()
A
54 10 21
sort_actions()
A
56 10 17
plugin_dependency_nice_names()
A
51 9 29
get_global_email_settings()
A
52 9 25
get_link_options_for_tasks()
A
42 7 53
get_permalink_by_language()
A
47 8 37
as_pre_init_cli_cb()
A
54 9 21
human_interval()
A
43 7 48
update_generated_increment()
A
55 8 18
search_products()
S
48 7 30
get_abandoned_totals()
S
49 7 28
bwfan_run_cron_test()
S
51 7 23
get_default_event_action_names()
S
32 1 112
maybe_clear_cache()
S
56 7 20
sort_automations()
S
56 7 19
merge_default_actions()
S
56 7 17
remove_back_slash_from_automation()
S
58 7 14
filter_tasks()
S
52 6 24
deactivation()
S
59 6 17
display_marketing_optin_checkbox()
S
56 6 17
plugin_dependency_check()
S
56 6 17
get_autonami_notifications()
S
59 6 15
get_formatted_product_name()
S
56 6 15
run_worker_tasks()
S
58 6 14
attach_default_merge_to_events()
S
61 6 12
auto_apply_wc_coupon()
S
61 6 11
send_remote_call()
S
52 5 24
delete_old_abandoned_carts()
S
52 5 23
get_all_events_merge_tags()
S
55 5 20
get_parsed_time()
S
55 5 18
set_cookie()
S
63 6 9
get_coupon()
S
50 4 29
add_ordinal_number_suffix()
S
60 5 13
delete_expired_autonami_coupons()
S
51 4 28
check_nonce()
S
60 5 12
worker_as_run()
S
60 5 12
get_automations_filter_data()
S
53 4 22
get_membership_plans()
S
54 4 22
get_latest_order_by_email()
S
54 4 21
get_default_actions()
S
40 1 65
default_events()
S
43 1 64
create_token()
S
58 4 15
as_pre_init_cb()
S
62 5 10
get_entity_nice_name()
S
63 5 10
get_sync_records_count()
S
59 4 14
delete_abandoned_cart_tasks()
S
59 4 14
merge_pro_events()
S
59 4 13
get_schedule_task_by_email()
S
59 4 13
get_schedule_task_by_phone()
S
59 4 13
get_variation_attribute()
S
60 4 13
get_nearest_date()
S
51 3 27
get_subscription_pre_data()
S
62 4 11
get_merge_tags_from_text()
S
62 4 11
validate_string_multi()
S
63 4 11
get_subscription_product()
S
55 3 19
get_default_global_settings()
S
48 2 33
get_default_connector()
S
47 1 46
get_automation_selected_action_slugs()
S
57 3 16
wc_get_cart_recovery_url()
S
58 3 16
array_equal()
S
76 4 3
get_membership_pre_data()
S
64 4 10
get_sorted_automations()
S
65 4 9
get_product_image()
S
59 3 14
mark_automation_require_update()
S
60 3 13
check_for_abandoned_carts()
S
61 3 12
get_all_events_rules()
S
62 3 11
get_order_cross_sells()
S
62 3 11
add_plugin_endpoint()
S
49 1 37
create_abandoned_cart()
S
47 1 36
init()
S
47 1 35
get_default_merge_tags()
S
54 2 20
get_seconds_from_time_format()
S
65 3 8
run_autonami_cron_events()
S
63 3 10
modify_display_numbers()
S
66 3 9
ac_increase_queue_batch_size()
S
68 3 7
ac_increase_max_execution_time()
S
68 3 7
is_cron()
S
70 3 6
bwfan_clean()
S
68 3 7
is_autonami_page()
S
69 3 6
is_rest()
S
70 3 6
get_logging_status()
S
73 3 4
is_cli()
S
71 3 6
decode_merge_tags()
S
62 2 12
strip_merge_tags()
S
62 2 11
get_customer_order_count()
S
61 2 11
make_custom_events_time()
S
54 1 23
modify_as_filters()
S
56 1 22
set_email_cart_aborted()
S
64 2 10
bwfan_update_order_user_consent()
S
73 2 4
add_default_merge_tags()
S
68 2 7
get_email_abandoned()
S
64 2 9
color_light_or_dark()
S
78 2 3
supports_emogrifier()
S
77 2 3
string2hex()
S
67 2 7
http()
S
71 2 6
find_closest()
S
65 2 9
get_timezone_offset()
S
64 2 9
maybe_set_bwf_ct_worker()
S
72 2 5
array_flatten()
S
68 2 7
pc()
S
70 2 6
maybe_convert_html_tag()
S
66 2 8
get_sidebar_menu()
S
59 1 15
save_marketing_status_for_user()
S
66 2 8
get_cookie()
S
77 2 3
get_bwf_customer()
S
68 2 7
get_line_subtotal()
S
77 2 3
get_line_subtotal_tax()
S
77 2 3
get_quantity()
S
77 2 3
clear_cookie()
S
71 2 5
get_callable_object()
S
67 2 7
bwfan_get_datestring()
S
68 2 6
get_human_readable_time()
S
63 2 9
get_global_settings()
S
71 1 5
color_hex_is_light()
S
64 1 8
convert_to_gmt()
S
78 1 3
price()
S
80 1 3
hide_free_products_cart_order_items()
S
79 1 3
disable_product_thumbnail()
S
79 1 3
bwf_after_action_scheduler_load()
S
78 1 3
convert_to_site_time()
S
79 1 3
convert_from_gmt()
S
78 1 3
disable_product_link()
S
79 1 3
pr()
S
74 1 5
slugify_classname()
S
72 1 5
get_offer_data()
S
66 1 8
bwfan_recipe_list_template()
S
73 1 5
get_name()
S
80 1 3
get_funnel_data()
S
68 1 7
get_order_trashed_statuses()
S
77 1 3
bwfan_correct_protocol_url()
S
68 1 7
mark_abandoned_lost_cart()
S
63 1 10
delete_order_meta()
S
73 1 5
string()
S
80 1 3
update_integration_data()
S
65 1 9
save_integration_data()
S
64 1 9
update_abandoned_rows()
S
64 1 9
remove_newlines()
S
78 1 3
remove_backslashes()
S
78 1 3
is_variation()
S
78 1 3
is_json()
S
75 1 4
run_as_ct_worker()
S
64 1 9
get_date_format()
S
77 1 3
hit_cron_to_run_tasks()
S
72 1 5
get_actions_filter_data()
S
80 1 3