Code Analysis: Who Hit The Page - Hit Counter 1.4.14.3

Function Rating Maintainability Complexity Lines of code
WHTP_Browser::browser_info()
D
31 34 103
BrowserDetection::checkBrowsers()
C
47 28 31
BrowserDetection::webKitBuildToSafariVer()
C
35 24 86
BrowserDetection::checkPlatform()
C
39 25 59
BrowserDetection::safariBuildToSafariVer()
C
36 23 83
BrowserDetection::checkBrowserInternetExplorer()
C
38 24 65
WHTP_Hit_Info::hit_info()
B
33 18 94
WHTP_Geolocation::locate_ip()
B
38 16 67
WHTP_Installer::check_rename_tables()
A
50 17 26
WHTP_Functions::pagination()
A
44 15 39
BrowserDetection::checkBrowserNetscape()
A
46 12 36
WHTP_Geolocation_Integration::output_settings_fields()
A
49 12 31
BrowserDetection::checkBrowserOpera()
A
52 11 24
BrowserDetection::compareVersions()
A
50 10 31
BrowserDetection::checkBrowserSafari()
A
51 10 26
WHTP_Functions::admin_message_sender()
A
48 9 32
WHTP_Hits::reset_page_count()
A
56 9 16
WHTP_Visiting_Countries::country_count()
S
48 6 38
BrowserDetection::checkBrowserW3CValidator()
S
55 7 21
WHTP_Installer::__construct()
S
55 7 20
WHTP_Hit_Info::reset_ip_info()
S
55 7 19
WHTP_Installer::update_count()
S
56 7 18
WHTP_Geolocation::get_ip_address()
S
59 7 16
WHTP_Admin::add_notices()
S
51 6 27
BrowserDetection::checkSimpleBrowserUA()
S
52 6 24
BrowserDetection::__toString()
S
54 6 22
BrowserDetection::checkBrowserBlackBerry()
S
55 6 21
WHTP_Functions::select()
S
48 5 32
WHTP_Installer::export_hitinfo()
S
50 5 30
WHTP_Installer::export_hits()
S
51 5 27
WHTP_Functions::caps()
S
38 1 84
BrowserDetection::checkBrowserUAWithVersion()
S
54 5 21
whtp_import_using_sql_files()
S
56 5 19
WHTP_Admin::admin_menu()
S
41 1 74
whtp_import_from_csv_file()
S
50 4 29
BrowserDetection::checkBrowserNokia()
S
59 5 13
BrowserDetection::setUserAgent()
S
61 5 12
WHTP_Functions::export_hitinfo()
S
51 4 27
WHTP_Functions::export_ip_hits()
S
51 4 27
WHTP_Functions::export_user_agents()
S
52 4 25
WHTP_Functions::export_hits()
S
52 4 24
WHTP_Installer::update_old_user_agents()
S
55 4 20
WHTP_Deactivator::__construct()
S
57 4 17
WHTP_Hits::count_hits()
S
49 3 31
WHTP_Visiting_Countries::update_visiting_countries()
S
56 4 16
WHTP_Hit_Info::update_count_visiting_countries()
S
59 4 15
WHTP_Hit_Info::get_hitinfo()
S
58 4 15
WHTP_Ip_Hits::page_ids_from_ip_id()
S
59 4 14
WHTP_Hit_Info::delete_ip()
S
60 4 13
WHTP_Ip_Hits::agent_ids_from_ip_id()
S
59 4 13
WHTP_Logger::log()
S
59 4 13
WHTP_Hits::get_hits()
S
59 4 13
WHTP_Admin::admin_notices()
S
58 3 18
BrowserDetection::checkForAol()
S
57 3 17
BrowserDetection::checkBrowserOmniWeb()
S
64 4 9
WHTP_Admin::is_whtp_admin()
S
62 4 10
WHTP_Shortcodes::hit_counter_shortcode()
S
59 3 15
WHTP_Functions::log()
S
62 4 10
WHTP_Hit_Info::ip_is_denied()
S
60 3 14
WHTP_Hits::delete_page()
S
60 3 13
WHTP_Functions::write_csv()
S
61 3 12
BrowserDetection::checkBrowserFirefox()
S
61 3 12
WHTP_Geolocation::get_country_name_by_ip()
S
62 3 11
WHTP_Geolocation::get_country_code()
S
62 3 11
WHTP_Hit_Info::add_denied_ip()
S
59 2 16
WHTP_Admin::enqueue_styles()
S
53 1 30
WHTP_Hit_Info::deny_ip()
S
59 2 15
WHTP_Hit_Info::allow_ip()
S
59 2 15
WHTP_Functions::make_backup_dir()
S
65 3 9
WHTP_Hits::count_exists()
S
60 2 15
WHTP_Installer::table_exists()
S
64 3 9
WHTP_Visiting_Countries::count_exists()
S
60 2 15
WHTP_Hits::discount_page()
S
59 2 14
WHTP_Browser::get_agent_id()
S
61 2 13
WHTP_Functions::get_instance()
S
61 2 13
WHTP_Browser::browser_exists()
S
61 2 13
WHTP_Visiting_Countries::get_country_name()
S
61 2 13
WHTP_Geolocation::get_local_database_path()
S
63 2 12
WHTP_Visiting_Countries::country_exists()
S
62 2 12
WHTP_Admin::enqueue_scripts()
S
56 1 23
WHTP_Installer::create_ip_2_location_country()
S
60 1 17
WHTP_Installer::create_hitinfo_table()
S
61 1 16
BrowserDetection::cleanVersion()
S
64 2 9
WHTP_Hit_Info::get_ip_id()
S
66 2 8
WHTP_Geolocation::get_instance()
S
71 2 6
BrowserDetection::setVersion()
S
67 2 8
WHTP_Geolocation::get_location()
S
72 2 6
WHTP_Geolocation::code_to_country_name()
S
68 2 7
WHTP_Admin_Notices::output_notices()
S
72 2 5
WHTP_Admin_Notices::error()
S
69 2 7
WHTP_Admin_Notices::warning()
S
67 2 8
WHTP_Admin_Notices::info()
S
67 2 8
WHTP_Geolocation::has_integration()
S
71 2 6
WHTP_Installer::rename_table()
S
65 2 9
WHTP_Logger::get_level_severity()
S
77 2 3
BrowserDetection::getIECompatibilityView()
S
65 2 10
WHTP_Logger::get_severity_level()
S
70 2 6
WHTP_Admin::get_instance()
S
72 2 6
BrowserDetection::isInIECompatibilityView()
S
78 2 3
WHTP_Functions::who_hit_send_email()
S
68 2 7
WHTP_Functions::deny_wordpress_host_ip()
S
63 2 10
WHTP_Functions::caps_options()
S
66 2 8
WHTP_Installer::is_installed()
S
69 2 7
WHTP_Admin_Notices::success()
S
67 2 8
WHTP_Installer::create_ip_hits_table()
S
61 1 15
WHTP_Hits::count_page()
S
69 2 7
WHTP_Hits::total()
S
65 2 9
WHTP_Hits::get_page_id()
S
66 2 8
WHTP_Admin::hooks()
S
63 2 10
WHTP_Hit_Info::count()
S
65 2 9
WHTP_Database::get_instance()
S
71 2 6
WHTP_Installer::create_user_agents()
S
63 1 13
WHTP_Ip_Hits::ip_hit()
S
61 1 13
WHTP_Installer::create_hits_table()
S
63 1 12
BrowserDetection::reset()
S
63 1 12
WHTP_Installer::create_visiting_countries()
S
63 1 12
WHTP_Functions::default_caps()
S
63 1 12
WHTP_Browser::add_browser()
S
64 1 11
WHTP_Admin::whtp_denied_submenu_callback()
S
80 1 3
WHTP_Admin_Notices::init_hooks()
S
79 1 3
WHTP_Shortcodes::init_hooks()
S
75 1 4
WHTP_Logger::warning()
S
79 1 3
WHTP_Admin::get_default_privacy_content()
S
74 1 4
BrowserDetection::checkBrowserGaleon()
S
79 1 3
WHTP_Admin::whtp_help_submenu_callback()
S
80 1 3
WHTP_Installer::upgrade_db()
S
77 1 4
BrowserDetection::checkBrowserMsnTv()
S
79 1 3
WHTP_Admin::add_action_links()
S
68 1 6
BrowserDetection::checkBrowserPhoenix()
S
79 1 3
WHTP_Functions::__construct()
S
98 1 1
BrowserDetection::checkBrowserIcab()
S
79 1 3
WHTP_Logger::info()
S
79 1 3
WHTP_Logger::error()
S
79 1 3
WHTP_Logger::is_valid_level()
S
78 1 3
BrowserDetection::setAol()
S
80 1 3
WHTP_Admin::whtp_export_import_submenu_callback()
S
80 1 3
WHTP_Admin::suggest_privacy_content()
S
75 1 4
WHTP_Admin::whtp_object_page_callback()
S
80 1 3
BrowserDetection::checkBrowserIceCat()
S
79 1 3
BrowserDetection::setAolVersion()
S
76 1 4
WHTP_Deactivator::delete_all()
S
65 1 9
BrowserDetection::setPlatform()
S
80 1 3
BrowserDetection::checkBrowserGooglebot()
S
78 1 3
WHTP_Hit_Info::top()
S
66 1 9
BrowserDetection::getAolVersion()
S
82 1 3
BrowserDetection::checkBrowserMozilla()
S
78 1 3
WHTP_Hits::get_page_by_id()
S
74 1 4
WHTP_Logger::alert()
S
79 1 3
WHTP_Logger::emergency()
S
79 1 3
WHTP_Logger::critical()
S
79 1 3
WHTP_Hits::__construct()
S
73 1 5
WHTP_Admin::whtp_view_page_hits()
S
80 1 3
WHTP_Admin_Notices::add()
S
67 1 8
WHTP_Browser::get_browsers()
S
74 1 4
WHTP_Admin::whtp_settings_submenu_callback()
S
80 1 3
WHTP_Ip_Hits::__construct()
S
76 1 4
BrowserDetection::setMobile()
S
80 1 3
BrowserDetection::detect()
S
75 1 5
WHTP_Geolocation::__construct()
S
73 1 5
BrowserDetection::checkBrowserChrome()
S
79 1 3
WHTP_Admin::whtp_view_ip_hits()
S
80 1 3
BrowserDetection::getUserAgent()
S
82 1 3
WHTP_Functions::all_ips()
S
70 1 6
WHTP_Geolocation::get_results()
S
76 1 4
BrowserDetection::checkBrowserBingbot()
S
78 1 3
WHTP_Hit_Info::count_unique()
S
68 1 8
whtp_installer()
S
75 1 5
WHTP_Geolocation::states()
S
74 1 4
BrowserDetection::isRobot()
S
82 1 3
WHTP_Hit_Info::get_ip_count_hits()
S
67 1 9
WHTP_Geolocation::countries()
S
74 1 4
BrowserDetection::checkBrowserFirebird()
S
79 1 3
BrowserDetection::checkBrowserSlurp()
S
78 1 3
WHTP_Admin::whtp_visitors_stats_callback()
S
80 1 3
whtp_remove()
S
75 1 5
WHTP_Visiting_Countries::__construct()
S
76 1 4
WHTP_Geolocation::set_location()
S
76 1 4
WHTP_Geolocation::init()
S
95 1 1
WHTP_Deactivator::empty_all()
S
65 1 9
WHTP_Installer::create()
S
67 1 9
BrowserDetection::isMobile()
S
82 1 3
WHTP_Admin::whtp_force_update()
S
80 1 3
BrowserDetection::parseInt()
S
79 1 3
WHTP_Hit_Info::hits_for_ip()
S
69 1 7
WHTP_Logger::debug()
S
79 1 3
WHTP_Geolocation_Integration::get_settings_fields()
S
67 1 8
WHTP_Logger::notice()
S
79 1 3
WHTP_Geolocation_Integration::get_api_key()
S
79 1 3
BrowserDetection::checkBrowserLynx()
S
79 1 3
WHTP_Admin_Notices::get_notices()
S
79 1 3
WHTP_Hit_Info::__construct()
S
76 1 4
WHTP_Shortcodes::link_back()
S
69 1 7
BrowserDetection::setBrowser()
S
80 1 3
BrowserDetection::setRobot()
S
80 1 3
BrowserDetection::checkBrowserAndroid()
S
78 1 3
BrowserDetection::checkBrowserAmaya()
S
79 1 3
BrowserDetection::getBrowser()
S
82 1 3
whtp_hit_info()
S
82 1 3
WHTP_Browser::get_browser_name()
S
67 1 8
whtp_text_domain()
S
78 1 3
WHTP_Functions::signup_form()
S
69 1 8
BrowserDetection::checkBrowserMsnBot()
S
78 1 3
BrowserDetection::getPlatform()
S
82 1 3
who_hit_the_page()
S
82 1 3
BrowserDetection::checkBrowserIceWeasel()
S
79 1 3
whtp()
S
74 1 5
whtp_count_hits()
S
82 1 3
WHTP_Functions::plugin_info()
S
76 1 4
WHTP_Admin_Notices::__construct()
S
91 1 2
BrowserDetection::checkBrowserYahooMultimedia()
S
78 1 3
WHTP_Visiting_Countries::get_top_countries()
S
74 1 4
WHTP_Database::__construct()
S
66 1 9
WHTP_Geolocation_Integration::save_api_key()
S
78 1 3
WHTP_Geolocation_Integration::__construct()
S
76 1 4
BrowserDetection::checkBrowserKonqueror()
S
79 1 3
BrowserDetection::isChromeFrame()
S
78 1 3
WHTP_Browser::__construct()
S
76 1 4
BrowserDetection::__construct()
S
81 1 3
WHTP_Admin::__construct()
S
74 1 5
BrowserDetection::checkBrowserNetPositive()
S
79 1 3
BrowserDetection::getVersion()
S
82 1 3
BrowserDetection::isAol()
S
82 1 3