BWFAN_Common D

Total Complexity 1,270
Dependencies 64
Dependents 98
Total lines 7,595
Lines of code 5,538
Logical lines of code 2,746
Comment lines 1,037
Methods 253
Properties 13

Methods 253

Method Rating Maintainability Complexity Lines of code
get_setting_schema()
D
10
13 815
get_global_data()
D
36 38 66
maybe_create_abandoned_contact()
D
36 33 69
send_test_email()
C
35 29 70
get_all_automations()
C
33 25 91
remove_actions()
C
43 26 43
run_global_tools()
B
33 20 99
get_all_actions_names()
B
40 22 53
is_load_admin_assets()
B
46 22 34
bwfan_bulk_action()
B
39 17 63
bwfan_remove_abandoned_cart_tags()
B
43 18 44
get_unsubscribers()
A
43 15 41
perform_bulk_action()
A
40 13 59
add_user_consent_after_terms_and_conditions()
A
42 13 52
bwf_has_action_scheduled()
A
44 13 44
parse_default_merge_tags()
A
47 13 36
add_lost_cart_tags()
A
48 13 32
display_marketing_optin_checkbox()
A
48 13 30
delete_automation_tasks_by_unique_action_ids()
A
50 13 25
filter_actions_conditions()
A
48 12 34
capture_async_events()
A
47 12 34
get_permalink_by_language()
A
44 11 44
bwfan_goal_step_updated()
A
44 11 41
wc_add_to_cart()
A
45 11 41
get_bounce_settings_schema()
A
38 8 83
maybe_run_v2_automations()
A
46 11 37
update_contact_meta()
A
50 11 27
initial_parse_merge_tags()
A
52 11 24
append_extra_url_arguments()
A
52 11 24
validate_string()
A
47 10 38
validate_action_date_before_save()
A
54 10 21
get_step_by_trail()
A
53 10 19
sort_actions()
A
56 10 17
plugin_dependency_nice_names()
A
51 9 29
get_link_options_for_tasks()
A
42 7 53
as_pre_init_cli_v2_cb()
A
54 9 21
as_pre_init_cli_cb()
A
54 9 21
human_interval()
A
43 7 48
bwfan_automation_step_deleted()
A
44 7 46
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_automation_by_title()
A
51 8 23
get_v1_supported_mergetag()
A
54 8 22
get_automations_for_contact()
A
53 8 21
get_pro_license()
A
53 8 21
get_connector_license()
A
53 8 21
bwfan_delay_step_updated()
A
47 7 35
get_product_image()
A
53 8 20
update_generated_increment()
A
55 8 18
product_search()
S
50 7 28
get_whatsapp_services_fields()
S
42 5 58
is_whatsapp_services_enabled()
S
60 8 13
get_automation_actions()
S
52 7 23
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
extend_async_capture()
S
55 7 18
merge_default_actions()
S
56 7 17
get_default_global_settings()
S
40 4 60
remove_back_slash_from_automation()
S
58 7 14
save_marketing_status_for_user()
S
50 6 28
filter_tasks()
S
52 6 24
search_products()
S
51 6 23
get_abandoned_totals()
S
53 6 21
remove_aid_from_contact_field()
S
54 6 21
bwfan_store_automation_completed_ids()
S
47 5 35
bwfan_store_automation_active_ids()
S
47 5 35
deactivation()
S
59 6 17
delete_expired_autonami_coupons()
S
49 5 32
plugin_dependency_check()
S
56 6 17
get_formatted_product_name()
S
56 6 15
get_autonami_notifications()
S
59 6 15
run_worker_tasks()
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
check_nonce()
S
59 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
54 5 21
end_v2_automation()
S
54 5 20
get_parsed_time()
S
55 5 18
log_l2_data()
S
57 5 17
set_cookie()
S
63 6 9
get_coupon()
S
50 4 29
replace_merge_tags()
S
58 5 14
validate_string_multi()
S
60 5 13
add_ordinal_number_suffix()
S
60 5 13
get_lists_preference_schema()
S
45 2 53
bwfan_lost_cart_triggered()
S
53 4 23
get_membership_plans()
S
54 4 22
bulk_contact_automation_end()
S
53 4 22
get_automations_filter_data()
S
53 4 22
get_latest_order_by_email()
S
54 4 21
mark_abandoned_lost_cart()
S
53 4 21
get_default_actions()
S
40 1 65
default_events()
S
43 1 64
maybe_delete_unsubscribe_rows()
S
56 4 18
checking_all_tables_exists()
S
56 4 17
check_for_abandoned_carts()
S
58 4 16
get_entity_nice_name()
S
63 5 10
create_token()
S
58 4 15
as_pre_init_v2_cb()
S
62 5 10
as_pre_init_cb()
S
62 5 10
delete_abandoned_cart_tasks()
S
59 4 14
get_sync_records_count()
S
59 4 14
get_lists_for_preferences()
S
60 4 14
maybe_remove_aid_from_contact_fields()
S
59 4 14
get_unsubscribe_page_hint_text()
S
58 4 13
merge_pro_events()
S
59 4 13
get_variation_attribute()
S
60 4 13
get_schedule_task_by_phone()
S
59 4 13
log_test_data()
S
61 4 13
get_schedule_task_by_email()
S
59 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
get_global_email_settings()
S
53 3 25
delete_expired_dynamic_coupons()
S
55 3 21
init()
S
42 1 51
get_subscription_product()
S
55 3 19
get_default_connector()
S
47 1 46
wc_get_cart_recovery_url()
S
57 3 16
get_automation_selected_action_slugs()
S
57 3 16
delete_automations()
S
57 3 16
get_membership_pre_data()
S
64 4 10
run_as_ct_worker()
S
58 3 15
array_equal()
S
76 4 3
get_sorted_automations()
S
65 4 9
is_cart_abandonment_active()
S
67 4 7
is_automation_v1_active()
S
67 4 7
get_carts_count()
S
62 4 10
bulk_contact_automation_delete()
S
59 3 15
create_contact()
S
65 4 9
get_automation_source_name()
S
61 3 13
maybe_get_user_country_code()
S
61 3 13
get_automation_event_name()
S
61 3 13
mark_automation_require_update()
S
60 3 13
add_plugin_endpoint()
S
48 1 42
prepared_field_options()
S
61 3 12
strip_merge_tags()
S
60 3 12
get_automation_data_count()
S
51 2 27
get_order_cross_sells()
S
62 3 11
get_all_events_rules()
S
62 3 11
get_default_email_provider()
S
63 3 11
worker_as_run()
S
63 3 11
get_default_sms_provider()
S
63 3 11
create_abandoned_cart()
S
47 1 36
get_default_merge_tags()
S
54 2 20
get_contact_notes_type()
S
51 1 32
decode_merge_tags()
S
58 2 16
search_automation_by_title()
S
61 3 10
is_autonami_page()
S
69 3 6
is_cli()
S
71 3 6
bwf_check_to_skip_child_order()
S
68 3 7
automation_status_count()
S
67 3 7
get_logging_status()
S
73 3 4
is_cron()
S
70 3 6
run_autonami_cron_events()
S
63 3 10
get_completed_contacts()
S
64 3 9
get_automation_contact_field_value()
S
63 3 10
modify_display_numbers()
S
66 3 9
ac_increase_queue_batch_size()
S
68 3 7
get_provider_value()
S
68 3 7
ac_increase_max_execution_time()
S
68 3 7
is_rest()
S
70 3 6
get_nearest_date()
S
63 3 10
get_seconds_from_time_format()
S
65 3 8
bwfan_clean()
S
68 3 7
fetch_merge_tags()
S
59 2 14
run_as_ct_v2_worker()
S
61 2 12
set_email_cart_aborted()
S
63 2 11
get_customer_order_count()
S
61 2 11
modify_as_filters()
S
56 1 22
make_custom_events_time()
S
56 1 19
get_tables_array()
S
57 1 18
get_callable_object()
S
67 2 7
bwfan_get_datestring()
S
69 2 6
access_capabilities()
S
71 2 5
string2hex()
S
67 2 7
maybe_convert_html_tag()
S
66 2 8
get_line_subtotal()
S
77 2 3
get_quantity()
S
77 2 3
delete_active_automation_transient()
S
66 2 8
pc()
S
70 2 6
array_flatten()
S
68 2 7
get_timezone_offset()
S
64 2 9
get_email_abandoned()
S
64 2 9
get_bwf_customer()
S
68 2 7
get_shortener_services()
S
74 2 4
clear_cookie()
S
71 2 5
bulk_contact_automation_paused()
S
64 2 10
bulk_contact_automation_unpaused()
S
64 2 10
bulk_contact_automation_run_now()
S
64 2 10
bulk_contact_automation_retry()
S
64 2 10
get_default_shortener_provider()
S
67 2 8
update_automation_status()
S
70 2 6
get_sms_services()
S
74 2 4
find_closest()
S
65 2 9
get_email_services()
S
74 2 4
get_human_readable_time()
S
63 2 9
override_non_changeable_settings()
S
66 2 9
get_sidebar_menu()
S
59 1 15
get_line_subtotal_tax()
S
77 2 3
http()
S
71 2 6
supports_emogrifier()
S
77 2 3
is_json()
S
68 2 7
add_default_merge_tags()
S
68 2 7
bwfan_update_order_user_consent()
S
73 2 4
get_cookie()
S
77 2 3
color_light_or_dark()
S
78 2 3
get_admin_analytics_cache_lifespan()
S
73 2 4
get_automation_task_details()
S
64 2 10
maybe_set_bwf_ct_worker()
S
72 2 5
update_abandoned_rows()
S
64 1 9
string()
S
80 1 3
hit_cron_to_run_tasks()
S
72 1 5
format_success_response()
S
69 1 7
fetch_inner_most_tag()
S
69 1 6
is_variation()
S
79 1 3
get_form_submit_events()
S
79 1 3
get_funnel_data()
S
68 1 7
get_order_trashed_statuses()
S
77 1 3
bwf_after_action_scheduler_load()
S
79 1 3
get_offer_data()
S
66 1 8
delete_automation_v2_migrations()
S
71 1 6
delete_automation_v1_migrations()
S
71 1 6
get_name()
S
80 1 3
get_date_format()
S
77 1 3
get_global_settings()
S
69 1 6
get_actions_filter_data()
S
80 1 3
remove_backslashes()
S
78 1 3
delete_order_meta()
S
73 1 5
get_dynamic_string()
S
74 1 4
bwfan_correct_protocol_url()
S
68 1 7
hide_free_products_cart_order_items()
S
79 1 3
slugify_classname()
S
72 1 5
pr()
S
74 1 5
remove_newlines()
S
78 1 3
convert_from_gmt()
S
78 1 3
convert_to_site_time()
S
79 1 3
update_integration_data()
S
65 1 9
color_hex_is_light()
S
64 1 8
convert_to_gmt()
S
78 1 3
disable_product_thumbnail()
S
79 1 3
disable_product_link()
S
79 1 3
bwfan_recipe_list_template()
S
73 1 5
price()
S
74 1 4
save_integration_data()
S
64 1 9
get_user_country()
S
73 1 5