ES_Common D

Total Complexity 403
Dependencies 8
Dependents 92
Total lines 3,209
Lines of code 1,835
Logical lines of code 941
Comment lines 871
Methods 119
Properties 0

Methods 119

Method Rating Maintainability Complexity Lines of code
migrate_widgets()
D
31 40 98
handle_link_in_email_content()
B
40 16 62
render_feedback_widget()
A
42 15 49
prepare_main_header_navigation()
A
48 12 31
prepare_categories_html()
A
45 10 38
upsell_description_message_box()
A
41 7 72
get_template_fallbacks()
A
48 9 33
callback_replace_keywords()
A
50 9 28
is_domain_blocked()
A
50 9 28
prepare_list_dropdown_options()
A
52 8 23
get_engagement_score_html()
A
54 8 21
get_campaign_status_icon()
A
48 6 46
get_utm_tracking_url()
A
57 8 16
get_captcha_setting()
S
55 7 20
get_post_type_categories()
S
51 6 28
prepare_information_box()
S
48 5 38
prepare_templates_dropdown_options()
S
50 5 27
prepare_custom_post_type_checkbox()
S
51 5 25
get_useful_articles()
S
45 3 50
replace_single_posts_block()
S
54 5 20
get_registered_image_sizes()
S
50 4 30
prepare_list_name_by_ids()
S
59 5 14
get_custom_field_col_datatype()
S
62 5 13
prepare_datefilter_dropdown_options()
S
52 4 23
prepare_statuses_dropdown_options()
S
56 4 17
prepare_form_dropdown_options()
S
57 4 16
ig_es_get_accessible_sub_menus()
S
51 3 30
update_total_email_sent_count()
S
59 4 14
prepare_campaign_report_statuses_dropdown_options()
S
59 4 13
get_templates()
S
51 3 28
get_restricted_settings()
S
44 1 56
get_campaign_types()
S
62 4 11
replace_keywords_with_fallback()
S
63 4 11
download_image_from_url()
S
52 3 24
prepare_fieldtype_dropdown_options()
S
53 3 21
prepare_first_name_last_name()
S
56 3 19
generate_test_mailbox_user()
S
55 3 18
handle_emoji_characters()
S
58 3 18
wrap_post_keywords_between_campaign_posts_keyword()
S
56 3 17
get_post_categories()
S
59 3 16
is_valid_json()
S
76 4 3
count_sent_emails()
S
63 4 10
prepare_status_dropdown_options()
S
58 3 15
get_post_types_name()
S
60 3 13
ig_es_can_access()
S
62 3 12
prepare_campaign_type_dropdown_options()
S
60 3 12
prepare_campaign_statuses_dropdown_options()
S
60 3 12
convert_categories_string_to_array()
S
61 3 12
get_railway_hrs_timings()
S
60 3 12
decode_entities()
S
61 3 11
es_process_template_body()
S
52 2 24
show_message()
S
63 3 10
get_tooltip_html()
S
61 2 15
onboarding_convert_category_value_to_string()
S
65 3 8
convert_categories_array_to_string()
S
66 3 8
handle_oembed_content()
S
62 3 10
get_campaign_statuses_key_name_map()
S
59 2 14
get_statuses_key_name_map()
S
61 2 12
get_popular_domains()
S
47 1 26
is_popular_domain()
S
62 2 11
get_post_notification_tags()
S
58 1 18
decode_html_quotes()
S
58 1 16
replace_posts_blocks()
S
70 2 6
get_gmt_timestamp_from_day_and_time()
S
64 2 10
get_current_request_url()
S
69 2 7
add_mce_external_plugins()
S
68 2 7
get_in_between_content()
S
66 2 8
is_positive_number()
S
79 2 3
is_rest_api_supported()
S
69 2 7
get_list_status_from_optin_type()
S
65 2 9
get_email_verify_test_email()
S
65 2 9
get_email_verify_mailbox_user()
S
68 2 7
get_domain_from_url()
S
71 2 5
get_test_email()
S
66 2 8
get_optimization_details()
S
69 2 7
convert_timestamp_to_date()
S
66 2 8
generate_hash()
S
73 2 4
get_ig_option()
S
68 2 7
set_ig_option()
S
68 2 7
update_coupon_data()
S
64 2 9
delete_ig_option()
S
69 2 7
convert_id_to_name()
S
68 2 7
convert_name_to_id()
S
66 2 8
prepare_category_string()
S
68 2 7
prepare_custom_post_type_string()
S
68 2 7
generate_guid()
S
64 2 9
get_campaign_type_key_name_map()
S
69 2 7
can_show_coupon()
S
69 2 7
run_summary_cron_on()
S
61 1 12
get_default_post_types()
S
63 1 11
get_campaign_status_code_map()
S
63 1 11
is_optimizer_enabled()
S
74 1 4
generate_random_string()
S
74 1 4
get_optimization_method()
S
75 1 4
get_campaign_tags()
S
68 1 7
get_tags()
S
64 1 10
get_subscriber_tags()
S
66 1 9
un_quote()
S
75 1 4
contains_posts_block()
S
78 1 3
replace_post_digest_keyword_with_posts_keyword()
S
65 1 9
get_custom_post_types()
S
66 1 9
get_campaign_default_data()
S
66 1 8
get_site_tags()
S
68 1 8
get_ig_es_mailbox_domain()
S
76 1 4
get_plugin_installation_date()
S
76 1 4
get_post_type_name()
S
73 1 5
get_optin_types()
S
68 1 7
prepare_categories_migration_string()
S
69 1 6
prepare_name_from_first_name_last_name()
S
72 1 5
get_name_from_email()
S
74 1 4
temp_filter_category()
S
79 1 3
get_slug_without_prefix()
S
69 1 6
get_admin_email()
S
71 1 5
convert_date_to_wp_date()
S
71 1 5
get_next_local_midnight_time()
S
63 1 10
override_tinymce_formatting_options()
S
65 1 9
get_utc_time_for_local_midnight_time()
S
70 1 6
get_timezone_offset_in_seconds()
S
72 1 5
convert_es_templates()
S
72 1 5