Code Analysis: Visitor Traffic Real Time Statistics 3.5

Function Rating Maintainability Complexity Lines of code
get_time_zone()
D
0
737 2,233
ahcfree_get_time_visits()
D
27
36 138
ahcfree_get_recent_visitors()
D
28
36 114
ahcfree_get_vsitors_by_country()
C
33 25 96
ahcfree_get_visits_by_custom_duration_callback()
C
32 24 101
ahcfree_get_latest_search_key_words_used()
B
33 19 90
ahcfree_get_client_ip_address()
B
51 22 23
WPHitsCounter::traceVisitorHit()
A
44 16 43
ahcfree_detect_requested_page()
A
48 17 27
ahcfree_vtrts_widget::form()
A
37 12 90
WPHitsCounter::getBrowser()
A
47 15 35
ahcfree_get_top_countries()
A
39 12 67
WPHitsCounter::updateRecentVisitors()
A
51 15 22
ahcfree_get_traffic_by_title()
A
41 12 56
ahcfree_savesettings()
A
46 12 35
ahcfree_create_database_tables()
A
35 3 154
ahcfree_google_map()
A
43 9 49
ahcfree_get_visitors_visits_in_period()
A
43 9 47
ahcfree_get_hits_search_engines_referers()
A
43 9 46
ahcfree_get_hits_by_custom_duration_callback()
A
39 7 69
ahcfree_vtrts_widget::widget()
A
51 10 22
ahcfree_set_default_options()
A
47 9 34
ahcfree_track_visitor()
A
48 9 32
visitors_traffic_real_time_statistics_footer()
A
39 1 152
ahcfree_get_today_visitors_for_map()
A
45 8 38
WPHitsCounter::cleanUnwantedRecords()
A
50 8 28
ahcfree_GetWPTimezoneString()
A
55 8 18
ahcfree_update_tables()
S
52 7 27
ahcfree_create_admin_menu_link()
S
49 7 26
ahcfree_get_online_visitors_for_map()
S
48 6 32
ahcfree_should_track_visitor()
S
56 7 17
wp_visitors_traffic_statistics::notification_bar_review_notice3()
S
56 7 16
WPHitsCounter::__construct()
S
51 6 25
mainappc::testgeoipdatabase()
S
51 6 25
ahcfree_get_all_visitors_for_map()
S
53 6 22
ahcfree_is_search_engine_bot()
S
56 6 19
WPHitsCounter::getCountryInternetCode()
S
56 6 17
ahcfree_insert_search_engines_into_table()
S
50 5 32
ahcfree_has_administrator_role()
S
58 6 16
ahcfree_get_top_refering_sites()
S
51 5 28
ahcfree_enqueue_scripts()
S
52 5 25
ahcfree_get_visitors_visits_by_date()
S
47 4 33
ahc_free_sanitize_text_or_array_field()
S
59 5 15
ahcfree_rate_us()
S
46 2 60
wp_visitors_traffic_statistics::notification_bar_review_pending()
S
62 6 10
wp_visitors_traffic_statistics::notification_bar_review_dismissal()
S
62 6 10
ahcfree_insert_countries_into_table()
S
52 4 25
ahcfree_get_visitors_by_date()
S
50 4 25
ahcfree_get_visits_by_date()
S
50 4 25
ahcfree_after_plugin_row()
S
49 2 43
WPHitsCounter::getSearchEngine()
S
60 4 13
ahcfree_recent_visitor_by_ip_callback()
S
51 3 27
WPHitsCounter::getCountryId()
S
61 4 12
ahcfree_get_timezone_string()
S
63 4 11
ahcfree_today_traffic_index_callback()
S
52 3 25
ahcfree_visits_time_graph_callback()
S
52 3 25
ahcfree_latest_search_words_callback()
S
52 3 25
ahcfree_traffic_by_title_callback()
S
52 3 24
WPHitsCounter::updateTitleTraffic()
S
54 3 22
ahcfree_traffic_by_countries_callback()
S
54 3 21
ahcfree_get_browsers_hits_counts()
S
54 3 21
WPHitsCounter::updateSearchingVisits()
S
55 3 19
ahcfree_get_serch_visits_by_date()
S
55 3 19
WPHitsCounter::updateReferingSites()
S
57 3 18
ahcfree_insert_browsers_into_table()
S
58 3 17
ahcfree_get_all_search_engines()
S
57 3 17
ahcfree_insert_visit_times_into_table()
S
57 3 17
ahcfree_row_meta()
S
56 3 16
crawlerDetect()
S
50 2 31
ahcfree_get_change_lang_links()
S
58 3 15
ahcfree_ceil_dec()
S
59 3 14
ahcfree_get_save_settings()
S
63 3 11
mainappc::randomipaddress()
S
62 3 11
wp_visitors_traffic_statistics::notification_bar_review_notice_message()
S
53 2 24
ahcfree_include_scripts()
S
47 1 35
WPHitsCounter::isHitRecorded()
S
56 2 17
vtrts_free_add_items()
S
57 2 16
wp_visitors_traffic_statistics::__construct()
S
58 2 15
ahcfree_getFormattedDate()
S
65 3 9
ahcfree_is_login_page()
S
66 3 9
downloadAndOpen()
S
59 2 14
WPHitsCounter::cleanHitsTable()
S
63 2 11
ahcfree_get_current_timezone_offset()
S
63 2 11
ahcfree_add_settings()
S
64 2 11
CityTest::testCity()
S
52 1 24
WPHitsCounter::updateVisitsTime()
S
57 1 18
WPHitsCounter::PrepareForTodayInDb()
S
66 2 8
ahcfree_check_table_column_exists()
S
66 2 8
WPHitsCounter::isVisitorRecorded()
S
63 2 9
ahcfree_getCountriesCount()
S
67 2 8
ahcfree_check_table_exists()
S
66 2 8
ahcfree_getBrowsersCount()
S
67 2 8
ahcfree_localtime()
S
68 2 8
WPHitsCounter::updateBrowsers()
S
67 2 8
ahcfree_haship()
S
65 2 9
ahcfree_is_wordpress_bot()
S
69 2 7
ahcfree_get_total_visits_by_search_engines()
S
67 2 8
ahcfree_NumFormat()
S
69 2 7
ahcfree_get_subpage_name()
S
69 2 7
ahcfree_last_hit_date()
S
63 2 10
WPHitsCounter::getKeyWords()
S
65 2 9
ahcfree_getVisitsTime()
S
67 2 8
WPHitsCounter::isTodayPreparedInDb()
S
63 2 10
ahcfree_getSearchEnginesCount()
S
67 2 8
RegionTest::testRegion()
S
60 1 14
WPHitsCounter::recordThisHits()
S
61 1 12
ahcfree_settings_scripts()
S
62 1 11
ahcfree_vtrts_add_items()
S
62 1 11
CountryTest::testCountry()
S
64 1 11
WPHitsCounter::updateKeywords()
S
67 1 7
ahcfree_init()
S
76 1 4
DomainTest::testDomain()
S
69 1 7
WPHitsCounter::updateVisitors()
S
67 1 7
ahcfree_advanced_get_link()
S
76 1 4
ahcfree_create_plugin_help_page()
S
75 1 4
ahcfree_create_plugin_about_page()
S
75 1 4
wp_visitors_traffic_statistics::_hooks()
S
79 1 3
WPHitsCounter::updateCountries()
S
71 1 5
NetspeedcellTest::testNetspeedcell()
S
69 1 7
ahcfree_vtrts_widget::update()
S
82 1 3
ahcfree_CleanupTimeZoneString()
S
75 1 4
ahcfree_wpb_load_widget()
S
82 1 3
ahcfree_get_week_limits()
S
63 1 10
ahcfree_vtrtsp_plugin_add_settings_link()
S
72 1 5
ahcfree_HideMessageAjaxFunction()
S
80 1 3
CountryTest::testV6()
S
69 1 7
ahcfree_create_plugin_overview_page()
S
75 1 4
ahcfree_vtrts_widget::__construct()
S
69 1 7
ahcfree_create_plugin_settings_page()
S
75 1 4
ahcfree_unset_default_options()
S
100 1 2
OrgTest::testOrg()
S
69 1 7
ahcfree_get_summary_statistics()
S
65 1 10
vtrts_free_top_bar_enqueue_style()
S
73 1 9
ahcfree_admin_notice_to_set_timezone()
S
69 1 6
ahcfree_action_links()
S
67 1 7