BWFAN_Common D

Total Complexity 1,516
Dependencies 69
Dependents 107
Total lines 8,872
Lines of code 6,283
Logical lines of code 3,187
Comment lines 1,400
Methods 288
Properties 19

Methods 288

Method Rating Maintainability Complexity Lines of code
get_setting_schema()
D
7
23 879
get_global_data()
D
35 40 69
maybe_create_abandoned_contact()
D
36 33 69
get_all_automations()
C
30 30 104
send_test_email()
C
34 26 79
remove_actions()
C
43 26 43
get_all_actions_names()
B
40 22 53
is_load_admin_assets()
B
46 22 34
bwfan_remove_abandoned_cart_tags()
B
43 21 44
bwfan_bulk_action()
B
38 19 66
run_global_tools()
B
35 17 83
perform_bulk_action()
B
38 15 66
get_unsubscribers()
A
43 15 41
add_user_consent_after_terms_and_conditions()
A
41 14 54
bwf_has_action_scheduled()
A
43 14 45
parse_default_merge_tags()
A
47 13 36
display_marketing_optin_checkbox()
A
48 13 30
add_lost_cart_tags()
A
48 13 29
delete_automation_tasks_by_unique_action_ids()
A
50 13 26
filter_actions_conditions()
A
48 12 34
get_permalink_by_language()
A
44 11 44
wc_add_to_cart()
A
44 11 43
maybe_run_v2_automations()
A
45 11 39
bwfan_goal_step_updated()
A
45 11 39
get_bounce_settings_schema()
A
38 8 83
capture_async_events()
A
47 11 34
modify_step_admin_data()
A
51 11 29
update_contact_meta()
A
49 11 28
append_extra_url_arguments()
A
52 11 24
initial_parse_merge_tags()
A
52 11 24
validate_string()
A
47 10 38
extend_async_capture()
A
50 10 27
get_phone_from_order()
A
52 10 26
get_unsubscribe_link()
A
51 10 24
update_meta_automations_v2()
A
46 9 38
run_worker_tasks()
A
51 10 22
validate_action_date_before_save()
A
54 10 21
get_step_by_trail()
A
53 10 19
get_pro_license()
A
54 10 18
get_formatted_price_wc()
A
48 9 33
sort_actions()
A
56 10 17
get_automation_by_title()
A
48 9 31
plugin_dependency_nice_names()
A
51 9 29
get_difference_string()
A
53 9 24
get_link_options_for_tasks()
A
42 7 53
as_pre_init_cli_v2_cb()
A
53 9 22
as_pre_init_cli_cb()
A
53 9 22
get_site_current_language()
A
54 9 20
wc_get_cart_recovery_url()
A
53 9 19
get_connector_license()
A
55 9 18
human_interval()
A
43 7 48
bwfan_automation_step_deleted()
A
44 7 46
search_products()
A
48 8 30
update_automation_contact_fields()
A
49 8 30
remove_extra_automation_data()
A
54 8 24
add_test_utm_params()
A
52 8 24
get_v1_supported_mergetag()
A
54 8 22
validate_create_order_event_setting()
A
53 8 21
get_automations_for_contact()
A
53 8 21
bwfan_delay_step_updated()
A
47 7 35
update_generated_increment()
A
55 8 19
check_nonce()
A
54 8 19
get_latest_order_by_email()
A
49 7 33
get_global_email_settings()
A
49 7 33
get_lk_data()
S
56 8 15
get_whatsapp_services_fields()
S
42 5 58
product_search()
S
50 7 28
get_formatting_for_wc_price()
S
58 8 12
save_marketing_status_for_user()
S
52 7 25
bwfan_run_cron_test()
S
51 7 23
get_automation_actions()
S
52 7 23
get_default_event_action_names()
S
32 1 111
get_product_image()
S
53 7 20
maybe_clear_cache()
S
56 7 20
sort_automations()
S
56 7 19
delete_expired_autonami_coupons()
S
48 6 33
merge_default_actions()
S
56 7 17
woocommerce_order_status_failed()
S
56 7 17
get_default_global_settings()
S
40 4 61
save_order_meta()
S
49 6 30
remove_back_slash_from_automation()
S
58 7 14
create_contact()
S
60 7 13
end_v2_automation()
S
52 6 24
get_contact_status()
S
52 6 24
filter_tasks()
S
52 6 24
remove_aid_from_contact_field()
S
54 6 21
delete_bwfan_logs()
S
54 6 21
get_abandoned_totals()
S
53 6 21
bwfan_store_automation_active_ids()
S
47 5 35
bwfan_store_automation_completed_ids()
S
47 5 35
plugin_dependency_check()
S
56 6 17
deactivation()
S
59 6 17
get_prices_with_tax()
S
58 6 16
get_formatted_product_name()
S
56 6 15
get_autonami_notifications()
S
59 6 15
get_updated_tags_and_list()
S
58 6 15
get_updated_tags_and_list_conditions()
S
58 6 14
get_automation_contacts()
S
58 6 14
is_sandbox_mode_active()
S
60 6 13
attach_default_merge_to_events()
S
61 6 12
fetch_updated_data()
S
61 6 12
auto_apply_wc_coupon()
S
61 6 11
get_contact_columns()
S
44 3 56
fetch_merge_tags()
S
51 5 25
send_remote_call()
S
52 5 24
delete_old_abandoned_carts()
S
52 5 23
search_automation_by_title()
S
52 5 23
get_all_events_merge_tags()
S
54 5 21
get_parsed_time()
S
55 5 18
get_customer_order_count()
S
55 5 18
maybe_remove_aid_from_contact_fields()
S
57 5 17
get_lists_for_preferences()
S
58 5 17
checking_all_tables_exists()
S
56 5 17
log_l2_data()
S
57 5 17
check_for_abandoned_carts()
S
57 5 16
set_cookie()
S
63 6 9
run_as_ct_worker()
S
57 5 15
is_whatsapp_services_enabled()
S
63 6 10
get_coupon()
S
50 4 29
replace_merge_tags()
S
58 5 14
add_ordinal_number_suffix()
S
60 5 13
validate_string_multi()
S
60 5 13
as_pre_init_v2_cb()
S
60 5 12
as_pre_init_cb()
S
61 5 11
get_automations_filter_data()
S
53 4 22
get_membership_plans()
S
54 4 22
get_lists_preference_schema()
S
45 2 50
get_default_actions()
S
40 1 65
run_as_ct_v2_worker()
S
53 4 20
bulk_contact_automation_end()
S
54 4 20
delete_automations()
S
55 4 19
maybe_delete_unsubscribe_rows()
S
56 4 19
bwfan_automation_contact_bulk_action()
S
56 4 17
get_email_from_order()
S
65 5 9
get_wp_user_id_from_order()
S
65 5 9
get_entity_nice_name()
S
63 5 10
create_token()
S
58 4 15
delete_abandoned_cart_tasks()
S
59 4 14
get_schedule_task_by_email()
S
58 4 14
get_schedule_task_by_phone()
S
58 4 14
log_test_data()
S
59 4 14
get_variation_attribute()
S
60 4 13
merge_pro_events()
S
59 4 13
get_unsubscribe_page_hint_text()
S
58 4 13
get_automation_contacts_journey()
S
61 4 12
get_merge_tags_from_text()
S
62 4 11
get_subscription_pre_data()
S
62 4 11
init()
S
41 1 53
delete_expired_dynamic_coupons()
S
55 3 21
bwfan_lost_cart_triggered()
S
53 3 20
get_subscription_product()
S
55 3 19
add_plugin_endpoint()
S
46 1 47
get_default_connector()
S
47 1 46
get_automation_selected_action_slugs()
S
57 3 16
array_equal()
S
76 4 3
get_db_cache_data()
S
64 4 10
is_automation_v1_active()
S
67 4 7
bwfan_update_contact_trail()
S
58 3 15
get_sorted_automations()
S
65 4 9
make_array()
S
73 4 4
get_membership_pre_data()
S
64 4 10
is_cart_abandonment_active()
S
67 4 7
default_events()
S
47 1 45
event_cb_advanced_log_enabled()
S
65 4 9
get_carts_count()
S
62 4 10
mark_abandoned_lost_cart()
S
65 4 9
get_user_consent_message_in_site_language()
S
68 4 6
mark_automation_require_update()
S
60 3 13
maybe_get_user_country_code()
S
61 3 13
get_automation_source_name()
S
61 3 13
get_automation_event_name()
S
61 3 13
strip_merge_tags()
S
60 3 12
prepared_field_options()
S
61 3 12
get_automation_data_count()
S
51 2 27
worker_as_run()
S
63 3 11
run_autonami_cron_events()
S
62 3 11
get_all_events_rules()
S
62 3 11
get_order_cross_sells()
S
62 3 11
create_abandoned_cart()
S
47 1 35
get_default_merge_tags()
S
54 2 20
get_contact_notes_type()
S
51 1 32
decode_merge_tags()
S
58 2 16
event_advanced_logs()
S
63 3 10
get_logging_status()
S
73 3 4
get_nearest_date()
S
63 3 10
get_seconds_from_time_format()
S
65 3 8
get_provider_value()
S
68 3 7
bwfan_clean()
S
68 3 7
get_completed_contacts()
S
64 3 9
unset_db_cache_key()
S
65 3 9
is_rest()
S
70 3 6
automation_status_count()
S
67 3 7
ac_increase_max_execution_time()
S
68 3 7
is_autonami_page()
S
69 3 6
ac_increase_queue_batch_size()
S
68 3 7
is_cli()
S
71 3 6
is_cron()
S
70 3 6
modify_display_numbers()
S
66 3 9
get_automation_contact_field_value()
S
63 3 10
modify_as_filters()
S
53 1 26
set_email_cart_aborted()
S
63 2 11
make_custom_events_time()
S
56 1 19
get_tables_array()
S
58 1 17
order_status_change()
S
57 1 17
get_bwf_customer()
S
68 2 7
bwfan_get_datestring()
S
69 2 6
get_email_abandoned()
S
64 2 9
get_sidebar_menu()
S
59 1 15
set_db_cache_data()
S
67 2 8
string2hex()
S
67 2 7
maybe_convert_html_tag()
S
66 2 8
find_closest()
S
65 2 9
pc()
S
70 2 6
maybe_set_bwf_ct_worker()
S
72 2 5
array_flatten()
S
68 2 7
supports_emogrifier()
S
77 2 3
get_email_services()
S
74 2 4
get_line_subtotal()
S
77 2 3
get_line_subtotal_tax()
S
77 2 3
get_quantity()
S
77 2 3
update_contact_wp_id()
S
67 2 8
get_sms_services()
S
74 2 4
get_timezone_offset()
S
64 2 9
http()
S
71 2 6
get_human_readable_time()
S
63 2 9
color_light_or_dark()
S
78 2 3
get_whatsapp_services()
S
74 2 4
delete_order_meta()
S
64 2 10
get_callable_object()
S
67 2 7
get_automation_task_details()
S
64 2 10
bwf_check_to_skip_child_order()
S
77 2 3
add_default_merge_tags()
S
68 2 7
override_non_changeable_settings()
S
66 2 9
fetch_inner_most_tag()
S
64 2 9
is_json()
S
68 2 7
get_admin_analytics_cache_lifespan()
S
73 2 4
capture_order_status_change()
S
63 2 10
get_cookie()
S
77 2 3
clear_cookie()
S
71 2 5
access_capabilities()
S
71 2 5
is_contact_in_automation()
S
67 2 7
nocache_headers()
S
66 2 9
bwfan_update_order_user_consent()
S
73 2 4
unique()
S
68 2 8
get_shortener_services()
S
74 2 4
get_fk_site_links()
S
58 1 14
update_abandoned_rows()
S
64 1 9
get_midnight_store_time()
S
66 1 8
get_offer_data()
S
66 1 8
get_default_whatsapp_provider()
S
72 1 5
get_default_shortener_provider()
S
72 1 5
get_default_sms_provider()
S
72 1 5
get_default_email_provider()
S
72 1 5
get_store_time()
S
66 1 8
set_dynamic_string()
S
79 1 3
get_global_settings()
S
69 1 6
get_actions_filter_data()
S
80 1 3
bwfan_recipe_list_template()
S
73 1 5
ping_woofunnels_worker()
S
63 1 10
hide_free_products_cart_order_items()
S
79 1 3
get_order_trashed_statuses()
S
77 1 3
get_name()
S
80 1 3
is_variation()
S
79 1 3
string()
S
80 1 3
get_date_format()
S
77 1 3
update_integration_data()
S
65 1 9
save_integration_data()
S
64 1 9
remove_newlines()
S
78 1 3
remove_backslashes()
S
78 1 3
get_form_submit_events()
S
79 1 3
color_hex_is_light()
S
64 1 8
bwfan_correct_protocol_url()
S
66 1 8
get_dynamic_string()
S
74 1 4
price()
S
74 1 4
slugify_classname()
S
72 1 5
pr()
S
74 1 5
convert_from_gmt()
S
78 1 3
bwf_after_action_scheduler_load()
S
79 1 3
convert_to_site_time()
S
79 1 3
format_success_response()
S
69 1 7
convert_to_gmt()
S
78 1 3
disable_product_thumbnail()
S
79 1 3
delete_automation_v2_migrations()
S
71 1 6
delete_automation_v1_migrations()
S
73 1 5
hit_cron_to_run_tasks()
S
72 1 5
disable_product_link()
S
79 1 3
get_user_country()
S
73 1 5
get_funnel_data()
S
68 1 7