Code Analysis: GeoTargeting Lite 1.3.6.1

Function Rating Maintainability Complexity Lines of code
GeoTarget_Functions::target()
B
44 19 44
GeoTarget_Activator::add_countries_to_db()
A
35 1 255
GeoTarget_Admin::save_meta_options()
A
50 10 26
GeoTarget_Functions::getUserIP()
A
59 9 12
GeoTarget_Functions::calculateUserCountry()
S
57 7 15
GeoTarget_Functions::getCountryByIp()
S
53 6 22
GeoTarget_Upgrader::upgrade_plugin()
S
61 5 11
GeoTarget_Activator::activate()
S
53 4 23
GeoTarget_Filters::get_post_types()
S
58 4 17
GeotMaxmind::download_maxmind_db()
S
53 3 21
GeoTarget_Public::print_debug_info()
S
56 3 20
GeoTarget_Functions::setUserCountry()
S
69 4 6
GeoTarget_Functions::toArray()
S
65 4 9
GeotMaxmind::maybe_download_maxmind()
S
69 3 7
GeoTarget::define_admin_hooks()
S
63 3 9
GeoTarget_Loader::run()
S
66 3 8
GeoTarget_Admin::add_meta_boxes()
S
61 2 13
GeoTarget_Shortcodes::geot_filter()
S
61 2 12
GeotMaxmindActivator::activate()
S
61 2 12
GeoTarget_Notices::__construct()
S
69 2 6
GeoTarget_Functions::get_user_country()
S
72 2 6
GeoTarget_Public::popup_match_rules()
S
69 2 7
GeotMaxmindActivator::maybe_register_cron()
S
72 2 5
GeoTarget_Public::register_popup_fields()
S
73 2 5
GeoTarget_Public::add_popups_rules_choices()
S
68 2 7
GeotMaxmind::create_subfolder()
S
73 2 5
GeoTarget_Filters::get_countries()
S
65 2 9
GeoTarget_Admin::enqueue_styles()
S
66 2 8
GeoTarget_Admin::enqueue_scripts()
S
65 2 8
GeoTarget_Functions::isSearchEngine()
S
74 2 5
GeoTarget::load_dependencies()
S
59 1 14
geot_country_name()
S
74 1 5
GeoTarget_Public::enqueue_scripts()
S
73 1 4
GeotMaxmindCron::register_schedules()
S
68 1 7
GeoTarget_Shortcodes::__construct()
S
74 1 5
geot_user_country()
S
77 1 4
GeotMaxmindDeactivator::deactivate()
S
76 1 4
GeotMaxmind::load_dependencies()
S
76 1 4
GeoTarget_Admin::__construct()
S
74 1 5
GeoTarget_Admin::load_dependencies()
S
79 1 3
GeoTarget_Filters::__construct()
S
77 1 4
GeoTarget_Public::__construct()
S
74 1 5
GeoTarget_Admin::add_settings_menu()
S
68 1 6
GeoTarget_Filters::get_regions()
S
72 1 5
GeoTarget_Filters::get_cpt_options()
S
67 1 7
GeoTarget_i18n::load_plugin_textdomain()
S
69 1 7
GeoTarget_i18n::set_domain()
S
81 1 3
GeoTarget_Loader::__construct()
S
77 1 4
GeoTarget_Loader::add_action()
S
77 1 3
geot_target()
S
75 1 4
GeoTarget_Loader::add_filter()
S
77 1 3
GeotMaxmind::set_paths()
S
69 1 6
GeotMaxmindCron::__construct()
S
78 1 3
geot_country_code()
S
77 1 4
GeoTarget_Public::add_popups_rules()
S
71 1 6
GeoTarget::__construct()
S
65 1 10
GeoTarget_Notices::rate_plugin()
S
65 1 10
geot_country_by_ip()
S
77 1 4
GeoTarget_Settings::ip_test_page()
S
79 1 3
GeoTarget_Functions::__construct()
S
75 1 4
GeotMaxmind::__construct()
S
75 1 4
GeoTarget_Loader::add()
S
64 1 10
GeoTarget::get_loader()
S
82 1 3
GeoTarget_Shortcodes::geot_name()
S
82 1 3
GeoTarget::set_locale()
S
72 1 5
GeoTarget::get_version()
S
82 1 3
GeoTarget_Admin::geot_options_view()
S
72 1 5
GeoTarget_Functions::getCountryByIsoCode()
S
64 1 9
GeoTarget_Settings::__construct()
S
77 1 4
GeoTarget::run()
S
82 1 3
GeoTarget::register_shortcodes()
S
69 1 6
GeoTarget_Shortcodes::geot_code()
S
82 1 3
GeoTarget_Notices::install_geot_maxmind()
S
65 1 10
GeoTarget_Settings::settings_page()
S
79 1 3
GeoTarget::get_GeoTarget()
S
82 1 3
GeoTarget::define_helper_hooks()
S
71 1 5
GeoTarget_Public::enqueue_styles()
S
77 1 3
GeoTarget_Deactivator::deactivate()
S
70 1 6
GeoTarget::define_public_hooks()
S
62 1 10