Kaizen_Coders\Url_Shortify\Helper D

Total Complexity 294
Dependencies 10
Dependents 39
Total lines 2,273
Lines of code 1,124
Logical lines of code 527
Comment lines 787
Methods 84
Properties 0

Methods 84

Method Rating Maintainability Complexity Lines of code
can_show_promotion()
B
42 16 50
is_ip_in_range()
A
44 12 41
is_us_link()
A
49 12 26
get_action_url()
A
48 10 31
get_blog_url()
A
52 10 23
get_data()
A
51 9 26
prepare_os_dropdown_options()
A
51 9 25
prepare_browser_dropdown_options()
A
51 9 25
prepare_device_dropdown_options()
A
51 9 25
prepare_country_dropdown_options()
A
51 9 25
allowed_html_tags_in_esc()
A
33 1 133
prepare_group_dropdown_options()
A
52 8 23
prepare_domains_dropdown_options()
A
53 8 21
request()
A
54 8 21
generate_short_link()
A
48 7 35
get_current_action()
S
61 7 12
get_ip()
S
53 5 23
get_upgrade_banner()
S
47 3 50
get_gmt_offset()
S
56 5 17
get_group_str_from_ids()
S
58 5 16
is_plugin_admin_screen()
S
59 4 15
is_forechable()
S
63 4 12
get_cpt_info()
S
47 2 41
regenerate_json_links()
S
51 3 26
get_social_share_widget()
S
55 3 18
get_short_link()
S
63 4 10
is_user_admin()
S
64 4 9
is_frontend()
S
77 4 3
get_current_screen_id()
S
66 4 8
get_redirection_types()
S
61 3 12
get_link_prefixes()
S
61 3 12
get_domains()
S
62 3 11
clean()
S
68 3 7
get_group_action_url()
S
70 3 6
is_cron()
S
77 3 3
is_ip_address()
S
68 3 7
get_all_cpts()
S
63 3 10
get_cpt_type_from_cpt_id()
S
64 3 10
is_ajax()
S
77 3 3
get_domain_action_url()
S
70 3 6
get_utm_presets_action_url()
S
70 3 6
get_link_action_url()
S
70 3 6
get_tooltip_html()
S
61 2 15
get_slug_with_prefix()
S
66 3 8
get_domains_for_select()
S
63 3 10
prepare_clicks_column()
S
63 3 9
get_plugin_admin_screens()
S
58 1 16
is_admin_backend()
S
79 2 3
create_link_stats_url()
S
71 2 6
create_copy_short_link_html()
S
64 2 9
maybe_define_constant()
S
74 2 5
array_insert_after()
S
68 2 6
get_short_link_by_id()
S
68 2 7
format_date_time()
S
70 2 5
is_cli()
S
79 2 3
is_simple_301_redirect_plugin_installed()
S
69 2 7
is_thirstry_affiliates_installed()
S
69 2 7
is_promotion_dismissed()
S
68 2 7
str_limit()
S
66 2 8
get_current_gmt_timestamp()
S
79 1 3
get_current_date_time()
S
80 1 3
get_post_data()
S
78 1 3
get_dynamic_redirect_types()
S
68 1 7
is_rest()
S
80 1 3
get_links_from_json()
S
74 1 4
is_installing_wp()
S
80 1 3
get_link_data()
S
75 1 4
is_mts_short_links_table_exists()
S
72 1 5
is_links_json_file_exists()
S
75 1 4
get_links_json_filename()
S
75 1 4
can_show_tools_menu()
S
81 1 3
get_current_date()
S
80 1 3
is_request_from_specific_domain()
S
70 1 6
is_request_from_same_domain()
S
76 1 4
is_shorten_url_table_exists()
S
72 1 5
is_301_redirect_table_exists()
S
72 1 5
get_request_data()
S
78 1 3
is_pretty_links_table_exists()
S
72 1 5
get_all_cpt_data()
S
77 1 3
array_insert_before()
S
71 1 5
get_start_and_end_date_from_last_days()
S
66 1 8
get_db_version()
S
79 1 3
get_link_prefix()
S
71 1 5
get_max_upload_size()
S
79 1 3