Code Analysis: WP Engine GeoTarget 1.2.9

Function Rating Maintainability Complexity Lines of code
geoip_country_list()
D
8
1 981
WPEngine\GeoIp::do_shortcode_content()
A
44 11 44
WPEngine\GeoIp::action_init_register_shortcodes()
A
50 10 29
WPEngine\GeoIp::distance_to()
S
56 6 16
WPEngine\GeoIp::match_label_synonyms()
S
62 5 12
WPEngine\GeoIp::get_test_parameters()
S
59 4 15
WPEngine\GeoIp::action_admin_notices()
S
55 3 25
WPEngine\GeoIp::compare_location_type()
S
57 3 17
WPEngine\GeoIp::get_actuals()
S
57 3 16
WPEngine\GeoIp::continent()
S
64 4 10
replace_previous_plugin_filename()
S
63 3 10
WPEngine\GeoIp::do_shortcode_location()
S
67 3 7
WPEngine\GeoIp::ajax_action_dismiss_notice()
S
64 3 9
WPEngine\GeoIp::helper_should_notice_show()
S
65 3 8
WPEngine\GeoIp::do_shortcode_latitude()
S
70 2 6
WPEngine\GeoIp::instance()
S
72 2 6
WPEngine\GeoIp::do_shortcode_longitude()
S
70 2 6
WPEngine\GeoIp::enqueue_admin_js()
S
67 2 7
WPEngine\GeoIp::do_shortcode_city()
S
70 2 6
WPEngine\GeoIp::action_admin_init_check_plugin_dependencies()
S
67 2 7
WPEngine\GeoIp::do_shortcode_country()
S
70 2 6
WPEngine\GeoIp::setup()
S
59 1 15
WPEngine\GeoIp::do_shortcode_continent()
S
66 2 8
WPEngine\GeoIp::do_shortcode_postal_code()
S
70 2 6
WPEngine\GeoIp::do_shortcode_region()
S
70 2 6
WPEngine\GeoIp::longitude()
S
80 1 3
WPEngine\GeoIp::country()
S
80 1 3
WPEngine\GeoIp::postal_code()
S
80 1 3
WPEngine\GeoIp::region()
S
80 1 3
WPEngine\GeoIp::init()
S
66 1 8
WPEngine\GeoIp::city()
S
80 1 3
WPEngine\GeoIp::latitude()
S
80 1 3