Code Analysis: Visitor Traffic Real Time Statistics 7.3

Function Rating Maintainability Complexity Lines of code
ahcfree_get_time_visits()
D
28
36 119
ahcfree_get_recent_visitors()
D
29 36 101
ahcfree_multisite_init()
C
40 31 53
ahcfree_get_vsitors_by_country()
C
34 25 81
ahcfree_get_visits_by_custom_duration_callback()
C
33 24 90
ahcfree_savesettings()
B
39 21 58
ahcfree_get_latest_search_key_words_used()
B
34 19 84
ahcfree_get_client_ip_address()
B
50 22 25
WPHitsCounter::traceVisitorHit()
A
44 16 43
ahcfree_detect_requested_page()
A
48 17 27
WPHitsCounter::getBrowser()
A
47 15 35
ahcfree_vtrts_widget::form()
A
37 11 89
ahcfree_get_traffic_by_title()
A
40 13 58
WPHitsCounter::updateRecentVisitors()
A
51 15 22
ahcfree_vtrts_widget::widget()
A
51 15 22
ahcfree_get_top_countries()
A
40 12 60
ahcfree_set_default_options()
A
44 13 44
ahcfree_get_hits_by_custom_duration_callback()
A
38 9 74
ahcfree_create_database_tables()
A
35 3 155
ahcfree_insert_search_engines_into_table()
A
42 9 61
ahcfree_get_visitors_visits_in_period()
A
42 9 53
WPHitsCounter::getCountryInternetCode()
A
52 11 23
ahcfree_get_hits_search_engines_referers()
A
43 9 46
ahc_stats_widget_func()
A
48 10 29
ahcfree_track_visitor()
A
47 9 32
ahcfree_get_today_visitors_for_map()
A
46 8 36
WPHitsCounter::cleanUnwantedRecords()
A
49 8 28
ahcfree_create_admin_menu_link()
A
49 8 26
ahcfree_should_track_visitor()
A
52 8 24
ahcfree_GetWPTimezoneString()
A
55 8 18
ahcfree_get_online_visitors_for_map()
S
48 6 32
WPHitsCounter::__construct()
S
51 6 25
ahcfree_get_all_visitors_for_map()
S
52 6 22
ahcfree_is_search_engine_bot()
S
55 6 19
ahcfree_getCountriesCount()
S
56 6 17
ahcfree_has_administrator_role()
S
58 6 16
ahcfree_get_top_refering_sites()
S
50 5 29
ahcfree_recent_visitor_by_ip_callback()
S
50 5 28
ahc_free_get_simple_ip()
S
61 6 12
ahcfree_visits_time_graph_callback()
S
51 5 26
ahcfree_latest_search_words_callback()
S
51 5 26
ahcfree_today_traffic_index_callback()
S
51 5 26
ahcfree_enqueue_scripts()
S
52 5 25
ahcfree_traffic_by_title_callback()
S
51 5 25
ahcfree_traffic_by_countries_callback()
S
53 5 22
ahcfree_get_visitors_visits_by_date()
S
47 4 33
ahcfree_getVisitsTime()
S
57 5 17
ahcfree_getBrowsersCount()
S
57 5 17
ahcfree_insert_countries_into_table()
S
51 4 29
ahc_free_sanitize_text_or_array_field()
S
60 5 14
ahcfree_get_visitors_by_date()
S
50 4 25
ahcfree_get_visits_by_date()
S
50 4 25
ahcfree_get_save_settings()
S
60 4 14
ahcfree_after_plugin_row()
S
50 2 44
ahcfree_action_wp_initialize_site()
S
61 4 13
WPHitsCounter::getSearchEngine()
S
60 4 13
WPHitsCounter::getCountryId()
S
61 4 12
ahcfree_get_timezone_string()
S
63 4 11
WPHitsCounter::updateTitleTraffic()
S
54 3 22
ahcfree_get_browsers_hits_counts()
S
54 3 21
ahcfree_insert_browsers_into_table()
S
55 3 21
ahcfree_insert_visit_times_into_table()
S
55 3 21
WPHitsCounter::updateSearchingVisits()
S
55 3 19
ahcfree_get_serch_visits_by_date()
S
55 3 19
WPHitsCounter::updateReferingSites()
S
56 3 18
ahcfree_get_all_search_engines()
S
57 3 17
ahcfree_row_meta()
S
56 3 16
vtrts_free_remove_dokan_js_files()
S
59 3 16
crawlerDetect()
S
50 2 31
ahcfree_get_change_lang_links()
S
58 3 15
ahcfree_ceil_dec()
S
59 3 14
ahcfree_include_scripts()
S
46 1 39
WPHitsCounter::isHitRecorded()
S
55 2 18
ahcfree_add_settings()
S
59 2 18
vtrts_free_add_items()
S
56 2 18
ahcfree_add_external_links_as_submenu()
S
63 3 10
ahcfree_is_login_page()
S
67 3 8
ahcfree_update_tables()
S
64 3 10
ahcfree_getFormattedDate()
S
66 3 8
WPHitsCounter::get_browser_id()
S
64 3 9
WPHitsCounter::cleanHitsTable()
S
63 2 11
ahcfree_get_current_timezone_offset()
S
63 2 11
WPHitsCounter::updateVisitsTime()
S
57 1 18
ahcfree_last_hit_date()
S
63 2 10
ahcfree_check_column_index_exists()
S
66 2 8
WPHitsCounter::isTodayPreparedInDb()
S
62 2 10
ahcfree_localtime()
S
70 2 7
ahcfree_getSearchEnginesCount()
S
67 2 8
WPHitsCounter::updateBrowsers()
S
66 2 8
ahcfree_get_subpage_name()
S
69 2 7
ahcfree_check_table_column_exists()
S
66 2 8
WPHitsCounter::isVisitorRecorded()
S
63 2 9
ahcfree_haship()
S
66 2 8
ahcfree_check_table_exists()
S
66 2 8
ahcfree_get_total_visits_by_search_engines()
S
66 2 8
ahcfree_is_wordpress_bot()
S
69 2 7
ahcfree_NumFormat()
S
69 2 7
WPHitsCounter::PrepareForTodayInDb()
S
66 2 8
WPHitsCounter::getKeyWords()
S
65 2 9
WPHitsCounter::recordThisHits()
S
61 1 12
vtrts_free_top_bar_enqueue_style()
S
100 1 11
ahcfree_settings_scripts()
S
62 1 11
ahcfree_vtrts_add_items()
S
62 1 11
ahcfree_CleanupTimeZoneString()
S
75 1 4
WPHitsCounter::updateKeywords()
S
67 1 7
ahc_today_visits_func()
S
75 1 4
ahcfree_get_week_limits()
S
63 1 10
ahc_today_visitors_func()
S
75 1 4
ahcfree_action_links()
S
67 1 7
ahcfree_create_plugin_overview_page()
S
75 1 4
WPHitsCounter::updateVisitors()
S
67 1 7
WPHitsCounter::updateCountries()
S
71 1 5
ahcfree_HideMessageAjaxFunction()
S
80 1 3
ahcfree_admin_notice_to_set_timezone()
S
69 1 6
ahc_total_visitors_func()
S
75 1 4
ahcfree_vtrts_widget::__construct()
S
69 1 7
ahcfree_advanced_get_link()
S
76 1 4
ahcfree_create_plugin_help_page()
S
75 1 4
ahc_yesterday_total_visitors_func()
S
75 1 4
ahcfree_vtrts_widget::update()
S
82 1 3
ahcfree_vtrtsp_plugin_add_settings_link()
S
72 1 5
ahcfree_get_summary_statistics()
S
65 1 10
ahcfree_wpb_load_widget()
S
82 1 3
ahcfree_create_plugin_about_page()
S
75 1 4
ahc_total_visits_func()
S
75 1 4
ahc_yesterday_total_visits_func()
S
75 1 4
ahcfree_init()
S
74 1 5
ahcfree_create_plugin_settings_page()
S
75 1 4