BWFAN_Common D

Total Complexity 838
Dependencies 47
Dependents 69
Total lines 5,411
Lines of code 4,011
Logical lines of code 1,785
Comment lines 753
Methods 187
Properties 12

Methods 187

Method Rating Maintainability Complexity Lines of code
get_setting_schema()
D
12
10 685
get_all_automations()
D
30 31 104
maybe_create_abandoned_contact()
B
40 24 51
run_global_tools()
B
33 20 99
get_all_actions_names()
B
40 22 53
is_load_admin_assets()
B
46 22 34
get_default_global_settings()
A
36 13 78
get_unsubscribers()
A
43 15 41
create_automation_on_activation()
A
41 14 54
add_user_consent_after_terms_and_conditions()
A
42 13 52
capture_async_events()
A
46 14 36
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
get_bounce_settings_schema()
A
38 8 78
update_contact_meta()
A
50 11 27
initial_parse_merge_tags()
A
52 11 24
validate_string()
A
47 10 38
bwfan_remove_abandoned_cart_tags()
A
49 10 30
display_marketing_optin_checkbox()
A
51 10 25
validate_action_date_before_save()
A
54 10 21
sort_actions()
A
56 10 17
plugin_dependency_nice_names()
A
51 9 29
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
product_search()
A
49 8 31
update_generated_increment()
A
55 8 18
get_whatsapp_services_fields()
S
42 5 58
get_abandoned_totals()
S
49 7 28
is_whatsapp_services_enabled()
S
61 8 12
bwfan_run_cron_test()
S
51 7 23
get_automation_actions()
S
52 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
search_products()
S
51 6 23
get_connector_license()
S
56 6 17
plugin_dependency_check()
S
56 6 17
get_pro_license()
S
56 6 17
deactivation()
S
59 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
worker_as_run()
S
60 5 12
check_nonce()
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
checking_all_tables_exists()
S
56 4 17
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
get_lists_for_preferences()
S
60 4 14
delete_abandoned_cart_tasks()
S
59 4 14
get_variation_attribute()
S
60 4 13
get_schedule_task_by_phone()
S
59 4 13
get_unsubscribe_page_hint_text()
S
58 4 13
merge_pro_events()
S
59 4 13
get_schedule_task_by_email()
S
59 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_global_email_settings()
S
53 3 25
get_lists_preference_schema()
S
49 2 35
get_subscription_product()
S
55 3 19
wc_get_cart_recovery_url()
S
58 3 16
get_default_connector()
S
47 1 46
get_automation_selected_action_slugs()
S
57 3 16
get_membership_pre_data()
S
64 4 10
array_equal()
S
76 4 3
get_sorted_automations()
S
65 4 9
get_product_image()
S
59 3 14
get_automation_source_name()
S
61 3 13
mark_automation_require_update()
S
60 3 13
get_automation_event_name()
S
61 3 13
check_for_abandoned_carts()
S
61 3 12
save_marketing_status_for_user()
S
61 3 12
strip_merge_tags()
S
60 3 12
get_order_cross_sells()
S
62 3 11
get_default_email_provider()
S
63 3 11
get_default_sms_provider()
S
63 3 11
get_all_events_rules()
S
62 3 11
add_plugin_endpoint()
S
49 1 37
create_abandoned_cart()
S
47 1 36
init()
S
46 1 36
get_default_merge_tags()
S
54 2 20
get_seconds_from_time_format()
S
65 3 8
ac_increase_max_execution_time()
S
68 3 7
bwfan_clean()
S
68 3 7
ac_increase_queue_batch_size()
S
68 3 7
is_autonami_page()
S
69 3 6
is_cron()
S
70 3 6
is_rest()
S
70 3 6
is_cli()
S
71 3 6
modify_display_numbers()
S
66 3 9
bwf_check_to_skip_child_order()
S
68 3 7
run_autonami_cron_events()
S
63 3 10
get_logging_status()
S
73 3 4
decode_merge_tags()
S
61 2 12
get_customer_order_count()
S
61 2 11
modify_as_filters()
S
56 1 22
make_custom_events_time()
S
56 1 19
get_automation_data_count()
S
56 1 18
get_tables_array()
S
57 1 18
maybe_set_bwf_ct_worker()
S
72 2 5
supports_emogrifier()
S
77 2 3
color_light_or_dark()
S
78 2 3
add_default_merge_tags()
S
68 2 7
bwfan_update_order_user_consent()
S
73 2 4
http()
S
71 2 6
get_sidebar_menu()
S
59 1 15
get_automation_task_details()
S
64 2 10
string2hex()
S
67 2 7
maybe_convert_html_tag()
S
66 2 8
pc()
S
70 2 6
get_email_services()
S
74 2 4
get_sms_services()
S
74 2 4
array_flatten()
S
68 2 7
get_timezone_offset()
S
64 2 9
get_callable_object()
S
67 2 7
override_non_changeable_settings()
S
66 2 9
set_email_cart_aborted()
S
64 2 10
get_quantity()
S
77 2 3
get_line_subtotal_tax()
S
77 2 3
get_bwf_customer()
S
68 2 7
bwfan_get_datestring()
S
69 2 6
get_line_subtotal()
S
77 2 3
clear_cookie()
S
71 2 5
get_cookie()
S
77 2 3
get_email_abandoned()
S
64 2 9
get_human_readable_time()
S
63 2 9
find_closest()
S
65 2 9
pr()
S
74 1 5
price()
S
74 1 4
get_carts_count()
S
63 1 10
slugify_classname()
S
72 1 5
disable_product_link()
S
79 1 3
convert_to_site_time()
S
79 1 3
disable_product_thumbnail()
S
79 1 3
convert_from_gmt()
S
78 1 3
bwfan_correct_protocol_url()
S
68 1 7
convert_to_gmt()
S
78 1 3
get_actions_filter_data()
S
80 1 3
update_abandoned_rows()
S
64 1 9
format_success_response()
S
69 1 7
mark_abandoned_lost_cart()
S
63 1 10
get_name()
S
80 1 3
get_date_format()
S
77 1 3
hide_free_products_cart_order_items()
S
79 1 3
is_variation()
S
79 1 3
delete_order_meta()
S
73 1 5
get_offer_data()
S
66 1 8
get_funnel_data()
S
68 1 7
is_json()
S
75 1 4
bwf_after_action_scheduler_load()
S
79 1 3
hit_cron_to_run_tasks()
S
72 1 5
get_global_settings()
S
69 1 6
bwfan_recipe_list_template()
S
73 1 5
run_as_ct_worker()
S
64 1 9
color_hex_is_light()
S
64 1 8
string()
S
80 1 3
update_integration_data()
S
65 1 9
save_integration_data()
S
64 1 9
get_form_submit_events()
S
79 1 3
remove_newlines()
S
78 1 3
remove_backslashes()
S
78 1 3
get_order_trashed_statuses()
S
77 1 3