Code Analysis: Huge IT Google Map 2.2.9

Function Rating Maintainability Complexity Lines of code
Hugeit_Maps_Ajax::get_info()
B
28
14 148
Hugeit_Maps_Ajax::export_to_csv()
A
37 15 56
Hugeit_Maps_Ajax::copy_map()
A
40 14 63
Hugeit_Maps_Admin::wp_loaded_actions()
A
44 14 41
Hugeit_Maps_Admin_Assets::admin_scripts()
A
41 11 49
Hugeit_Maps_Map::get_available_animations()
A
40 9 68
Hugeit_Maps_Install::create_tables()
A
35 3 155
Hugeit_Maps_Ajax::edit_circle()
A
42 8 52
Hugeit_Maps_Ajax::delete_item()
A
51 10 22
Hugeit_Maps_Ajax::edit_polygon()
A
42 8 50
Hugeit_Maps_Ajax::edit_polyline()
A
43 8 47
Hugeit_Maps_Ajax::edit_marker()
A
43 8 47
Hugeit_Maps::get_table_name()
A
50 9 30
Hugeit_Maps_Admin::init_main_page()
A
50 9 28
Hugeit_Maps_Ajax::edit_locator()
A
45 7 42
Hugeit_Maps_Ajax::save_map()
A
42 6 54
Hugeit_Maps_Install::install()
A
46 7 36
Hugeit_Maps_Map::save()
A
42 6 48
Hugeit_Maps_Ajax::save_circle()
A
43 6 47
Hugeit_Maps_Ajax::save_polygon()
S
44 6 45
Hugeit_Maps_Ajax::save_polyline()
S
45 6 42
Hugeit_Maps_Ajax::save_marker()
S
45 6 42
Hugeit_Maps_Map::__construct()
S
49 6 30
Hugeit_Maps_Circle::save()
S
49 6 29
Hugeit_Maps_Polygon::save()
S
50 6 27
Hugeit_Maps_Ajax::save_shortcode_options()
S
50 6 27
Hugeit_Maps_Direction::save()
S
51 6 25
Hugeit_Maps_Circle::__construct()
S
52 6 24
Hugeit_Maps_Marker::__construct()
S
52 6 24
Hugeit_Maps_Polygon::__construct()
S
52 6 24
Hugeit_Maps_Locator::__construct()
S
52 6 24
Hugeit_Maps_Polyline::__construct()
S
52 6 24
Hugeit_Maps_Direction::__construct()
S
52 6 24
Hugeit_Maps_Ajax::save_new_locator()
S
46 5 37
Hugeit_Maps_Polyline::save()
S
52 6 22
Hugeit_Maps_Marker::save()
S
53 6 21
Hugeit_Maps_Locator::save()
S
53 6 21
Hugeit_Maps_Ajax::save_stylings()
S
47 5 35
hugeit_maps_autoload()
S
56 6 17
Hugeit_Maps_Ajax::save_locator()
S
48 5 31
Hugeit_Maps_Query::get_directions()
S
49 5 30
Hugeit_Maps_Query::get_markers()
S
49 5 30
Hugeit_Maps_Query::get_polygons()
S
49 5 30
Hugeit_Maps_Query::get_polylines()
S
49 5 30
Hugeit_Maps_Query::get_circles()
S
49 5 30
Hugeit_Maps_Query::get_locator()
S
49 5 30
Hugeit_Maps_Widget::form()
S
51 5 29
Hugeit_Maps_Admin_Assets::localize_scripts()
S
39 2 73
Hugeit_Maps::is_request()
S
62 6 12
Hugeit_Maps_Ajax::shortcode_change_map()
S
53 5 22
Hugeit_Maps_Admin_Assets::admin_styles()
S
55 5 19
Hugeit_Maps_Ajax::save_api_key()
S
64 6 8
Hugeit_Maps_Map::set_animation()
S
62 5 11
Hugeit_Maps_Map::set_language()
S
62 5 11
Hugeit_Maps_DB_Refactor::init()
S
54 4 19
Hugeit_Maps_Template_Loader::locate_template()
S
57 4 18
Hugeit_Maps_Ajax::change_map_name()
S
57 4 16
Hugeit_Maps_Marker::set_animation()
S
63 5 10
Hugeit_Maps_Map::set_type()
S
63 5 10
Hugeit_Maps_Map::set_align()
S
63 5 10
Hugeit_Maps_Map::set_info_type()
S
63 5 10
Hugeit_Maps_Direction::set_travel_mode()
S
63 5 10
Hugeit_Maps_Template_Loader::get_template()
S
58 4 14
Hugeit_Maps_Map::get_available_languages()
S
43 1 58
Hugeit_Maps_Frontend_Scripts::add_scripts()
S
51 3 24
Hugeit_Maps_DB_Refactor::refactor_maps()
S
47 2 38
Hugeit_Maps_Query::get_maps()
S
54 3 20
Hugeit_Maps_Ajax::upload_image()
S
57 3 14
Hugeit_Maps_Widget::widget()
S
60 3 13
Hugeit_Maps::init()
S
61 3 13
Hugeit_Maps_Install::table_row_exists()
S
62 3 11
Hugeit_Maps_DB_Refactor::refactor_circles()
S
53 2 24
Hugeit_Maps_DB_Refactor::refactor_polygons()
S
54 2 22
Hugeit_Maps_DB_Refactor::refactor_directions()
S
55 2 20
Hugeit_Maps_Marker::get_default_icons()
S
50 1 34
Hugeit_Maps_DB_Refactor::refactor_markers()
S
57 2 17
Hugeit_Maps_DB_Refactor::refactor_polylines()
S
57 2 17
Hugeit_Maps_Shortcode::run_shortcode()
S
63 3 10
Hugeit_Maps_Map::set_styling_lightness()
S
66 3 8
Hugeit_Maps_Map::set_styling_gamma()
S
66 3 8
Hugeit_Maps_Map::set_styling_saturation()
S
66 3 8
Hugeit_Maps_Map::set_markers()
S
65 3 9
Hugeit_Maps_Map::set_polygons()
S
65 3 9
Hugeit_Maps_Map::set_polylines()
S
65 3 9
Hugeit_Maps_Map::set_locators()
S
65 3 9
Hugeit_Maps_Map::set_circles()
S
65 3 9
Hugeit_Maps_Map::set_directions()
S
65 3 9
Hugeit_Maps_Ajax::init()
S
52 1 24
Hugeit_Maps_Install::insert_default_map()
S
56 1 20
Hugeit_Maps_Install::insert_default_markers()
S
56 1 20
Hugeit_Maps_Install::insert_default_circle()
S
56 1 20
Hugeit_Maps_Install::insert_default_polygon()
S
57 1 18
Hugeit_Maps_Install::check_version()
S
68 2 7
Hugeit_Maps_Install::alter_tables()
S
67 2 7
Hugeit_Maps_Marker::set_size()
S
66 2 7
Hugeit_Maps_Marker::delete()
S
67 2 7
Hugeit_Maps_Marker::set_if_not_null()
S
73 2 5
Hugeit_Maps::instance()
S
72 2 6
Hugeit_Maps_Polygon::set_map_id()
S
68 2 7
Hugeit_Maps_Locator::set_map_id()
S
68 2 7
Hugeit_Maps_Locator::get_name()
S
77 2 3
Hugeit_Maps_Polygon::delete()
S
67 2 7
Hugeit_Maps_Polygon::set_if_not_null()
S
73 2 5
Hugeit_Maps_Polyline::set_map_id()
S
68 2 7
Hugeit_Maps_Polyline::get_name()
S
77 2 3
Hugeit_Maps_Locator::delete()
S
67 2 7
Hugeit_Maps_Locator::set_if_not_null()
S
73 2 5
Hugeit_Maps_Polyline::delete()
S
67 2 7
Hugeit_Maps_Polyline::set_if_not_null()
S
73 2 5
Hugeit_Maps_Map::get_name()
S
77 2 3
Hugeit_Maps_Circle::set_show_marker()
S
68 2 7
Hugeit_Maps_Circle::delete()
S
67 2 7
Hugeit_Maps_Circle::set_if_not_null()
S
73 2 5
Hugeit_Maps_Map::set_pan_controller()
S
68 2 7
Hugeit_Maps_Map::set_zoom_controller()
S
68 2 7
Hugeit_Maps_Map::set_type_controller()
S
68 2 7
Hugeit_Maps_Polygon::get_name()
S
77 2 3
Hugeit_Maps_Admin::print_error()
S
66 2 8
Hugeit_Maps_Map::set_scale_controller()
S
68 2 7
Hugeit_Maps_Map::set_street_view_controller()
S
68 2 7
Hugeit_Maps_Map::set_overview_map_controller()
S
68 2 7
Hugeit_Maps_Map::set_width()
S
67 2 8
Hugeit_Maps_Map::set_height()
S
67 2 8
Hugeit_Maps_Direction::set_map_id()
S
68 2 7
Hugeit_Maps::define()
S
75 2 5
Hugeit_Maps_Direction::get_name()
S
77 2 3
Hugeit_Maps_Map::set_open_infowindows_onload()
S
68 2 7
Hugeit_Maps_Map::set_locator_enabled()
S
68 2 7
Hugeit_Maps_Circle::set_map_id()
S
69 2 7
Hugeit_Maps_Map::set_draggable()
S
68 2 7
Hugeit_Maps_Map::set_wheel_scroll()
S
68 2 7
Hugeit_Maps_Map::set_traffic_layer()
S
68 2 7
Hugeit_Maps_Map::set_transit_layer()
S
68 2 7
Hugeit_Maps_Map::set_bike_layer()
S
68 2 7
Hugeit_Maps_Map::set_styling_hue()
S
68 2 8
Hugeit_Maps_Circle::get_name()
S
77 2 3
Hugeit_Maps_Direction::set_show_steps()
S
68 2 7
Hugeit_Maps_Direction::delete()
S
67 2 7
Hugeit_Maps_Map::get_edit_link()
S
65 2 9
Hugeit_Maps_Map::delete()
S
67 2 7
Hugeit_Maps_Direction::set_if_not_null()
S
73 2 5
Hugeit_Maps_Map::set_if_not_null()
S
73 2 5
Hugeit_Maps_Frontend_Scripts::add_ajax_url_js()
S
69 2 7
Hugeit_Maps_Marker::set_map_id()
S
67 2 8
Hugeit_Maps_Marker::get_name()
S
77 2 3
Hugeit_Maps_Admin::admin_menu()
S
59 1 14
Hugeit_Maps_Install::insert_default_polyline()
S
61 1 13
Hugeit_Maps_Locator::get_map_id()
S
81 1 3
Hugeit_Maps_Locator::set_locator_lat()
S
76 1 4
Hugeit_Maps_Circle::get_hover_line_opacity()
S
81 1 3
Hugeit_Maps_Circle::get_hover_fill_opacity()
S
81 1 3
Hugeit_Maps_Circle::set_hover_line_opacity()
S
75 1 4
Hugeit_Maps_Locator::set_locator_phone()
S
76 1 4
Hugeit_Maps_Admin::__construct()
S
82 1 3
Hugeit_Maps_Locator::set_locator_days()
S
75 1 4
Hugeit_Maps_Locator::get_locator_lng()
S
81 1 3
Hugeit_Maps_Locator::set_locator_lng()
S
76 1 4
Hugeit_Maps_Circle::get_hover_fill_color()
S
82 1 3
Hugeit_Maps_Polyline::set_line_width()
S
76 1 4
Hugeit_Maps_Circle::set_hover_fill_color()
S
76 1 4
Hugeit_Maps_Polyline::get_hover_line_color()
S
82 1 3
Hugeit_Maps_Polyline::get_map_id()
S
81 1 3
Hugeit_Maps_Polygon::set_hover_fill_opacity()
S
75 1 4
Hugeit_Maps_Map::get_id()
S
82 1 3
Hugeit_Maps_Polyline::get_line_width()
S
81 1 3
Hugeit_Maps_Polygon::get_hover_fill_color()
S
82 1 3
Hugeit_Maps_Polyline::__clone()
S
77 1 4
Hugeit_Maps_Map::get_zoom()
S
82 1 3
Hugeit_Maps_Polyline::get_id()
S
82 1 3
Hugeit_Maps::init_hooks()
S
72 1 5
Hugeit_Maps_Circle::get_show_marker()
S
82 1 3
Hugeit_Maps_Circle::set_hover_fill_opacity()
S
75 1 4
Hugeit_Maps_Map::set_max_zoom()
S
76 1 4
Hugeit_Maps_Map::get_border_radius()
S
82 1 3
Hugeit_Maps_Map::set_border_radius()
S
76 1 4
Hugeit_Maps_Map::get_center_lat()
S
82 1 3
Hugeit_Maps_Map::set_center_lat()
S
76 1 4
Hugeit_Maps_Map::get_center_lng()
S
82 1 3
Hugeit_Maps_Map::set_center_lng()
S
76 1 4
Hugeit_Maps_Map::get_pan_controller()
S
82 1 3
Hugeit_Maps_Map::set_zoom()
S
76 1 4
Hugeit_Maps_Map::get_zoom_controller()
S
82 1 3
Hugeit_Maps_Locator::set_locator_addr()
S
76 1 4
Hugeit_Maps_Map::get_type_controller()
S
82 1 3
Hugeit_Maps_Polygon::get_url()
S
80 1 3
Hugeit_Maps_Map::get_scale_controller()
S
82 1 3
Hugeit_Maps_Polygon::get_line_opacity()
S
82 1 3
Hugeit_Maps_Map::get_locator_enabled()
S
82 1 3
Hugeit_Maps_Map::get_street_view_controller()
S
82 1 3
Hugeit_Maps_Map::get_min_zoom()
S
82 1 3
Hugeit_Maps_Map::get_overview_map_controller()
S
82 1 3
Hugeit_Maps_Direction::__clone()
S
77 1 4
Hugeit_Maps_Map::get_width()
S
82 1 3
Hugeit_Maps_Direction::get_id()
S
81 1 3
Hugeit_Maps_Map::get_height()
S
82 1 3
Hugeit_Maps_Direction::get_map_id()
S
81 1 3
Hugeit_Maps_Map::get_align()
S
82 1 3
Hugeit_Maps_Circle::get_line_width()
S
81 1 3
Hugeit_Maps_Direction::get_line_color()
S
82 1 3
Hugeit_Maps_Polygon::set_fill_opacity()
S
75 1 4
Hugeit_Maps_Direction::get_end_lat()
S
81 1 3
Hugeit_Maps_Shortcode::inline_popup_content()
S
81 1 3
Hugeit_Maps_Polygon::get_map_id()
S
82 1 3
Hugeit_Maps_Circle::get_line_color()
S
82 1 3
Hugeit_Maps_Shortcode::add_editor_media_button()
S
64 1 9
Hugeit_Maps_Polyline::set_line_opacity()
S
75 1 4
Hugeit_Maps_Marker::__clone()
S
77 1 4
Hugeit_Maps_Polyline::set_name()
S
76 1 4
Hugeit_Maps_Map::get_styling_hue()
S
82 1 3
Hugeit_Maps_Polyline::get_line_opacity()
S
81 1 3
Hugeit_Maps::__clone()
S
78 1 3
Hugeit_Maps_Map::get_locator()
S
82 1 3
Hugeit_Maps_Circle::set_center_lng()
S
76 1 4
Hugeit_Maps_Polygon::set_fill_color()
S
76 1 4
Hugeit_Maps_Map::set_min_zoom()
S
76 1 4
Hugeit_Maps_Frontend_Scripts::init()
S
72 1 5
Hugeit_Maps::define_constants()
S
64 1 9
Hugeit_Maps_Polygon::get_hover_line_color()
S
82 1 3
Hugeit_Maps_Map::get_markers()
S
82 1 3
Hugeit_Maps_Polyline::get_hover_line_opacity()
S
82 1 3
Hugeit_Maps_Marker::set_description()
S
72 1 5
Hugeit_Maps_Circle::set_radius()
S
76 1 4
Hugeit_Maps_Marker::get_lng()
S
82 1 3
Hugeit_Maps_Polyline::set_line_color()
S
76 1 4
Hugeit_Maps_Shortcode::init_frontend()
S
70 1 6
Hugeit_Maps::get_api_key()
S
82 1 3
Hugeit_Maps_Map::get_language()
S
82 1 3
Hugeit_Maps_Circle::get_hover_line_color()
S
82 1 3
Hugeit_Maps_Map::__clone()
S
81 1 3
Hugeit_Maps_Polygon::set_hover_line_color()
S
76 1 4
Hugeit_Maps_Marker::get_description()
S
80 1 3
Hugeit_Maps_Map::get_circles()
S
82 1 3
Hugeit_Maps_Map::get_info_type()
S
82 1 3
Hugeit_Maps_Direction::set_start_lng()
S
76 1 4
Hugeit_Maps_Circle::get_line_opacity()
S
81 1 3
Hugeit_Maps_Direction::set_end_lng()
S
76 1 4
Hugeit_Maps_Direction::set_end_lat()
S
76 1 4
Hugeit_Maps_Admin::init_licensing_plugins_page()
S
81 1 3
Hugeit_Maps_Map::get_traffic_layer()
S
82 1 3
Hugeit_Maps_Map::get_animation()
S
82 1 3
Hugeit_Maps_Map::get_styling_gamma()
S
82 1 3
Hugeit_Maps_Marker::get_size()
S
82 1 3
Hugeit_Maps_Map::get_open_infowindows_onload()
S
81 1 3
Hugeit_Maps_Direction::get_line_width()
S
81 1 3
Hugeit_Maps_Locator::get_locator_days()
S
81 1 3
Hugeit_Maps_Polygon::get_line_width()
S
82 1 3
Hugeit_Maps_Direction::get_start_lat()
S
81 1 3
Hugeit_Maps_Map::get_locator_default_address()
S
82 1 3
Hugeit_Maps_Marker::get_id()
S
82 1 3
Hugeit_Maps_Polyline::set_data()
S
77 1 4
Hugeit_Maps_Circle::get_center_lng()
S
82 1 3
Hugeit_Maps_Circle::get_center_lat()
S
81 1 3
Hugeit_Maps_Locator::get_locator_addr()
S
81 1 3
Hugeit_Maps_Map::set_name()
S
76 1 4
Hugeit_Maps_Map::get_polygons()
S
82 1 3
Hugeit_Maps_Polygon::set_data()
S
77 1 4
Hugeit_Maps_Marker::set_lng()
S
76 1 4
Hugeit_Maps_Admin::init_featured_plugins_page()
S
81 1 3
Hugeit_Maps_Marker::get_map_id()
S
82 1 3
Hugeit_Maps_Marker::get_default_icon_sizes()
S
76 1 3
Hugeit_Maps_Direction::set_line_width()
S
76 1 4
Hugeit_Maps_Widget::update()
S
71 1 6
Hugeit_Maps_Circle::get_fill_color()
S
82 1 3
Hugeit_Maps_Polygon::set_url()
S
76 1 4
Hugeit_Maps_Circle::get_radius()
S
81 1 3
Hugeit_Maps_Polyline::set_hover_line_color()
S
76 1 4
Hugeit_Maps_Direction::set_name()
S
76 1 4
Hugeit_Maps_Map::get_styling_lightness()
S
82 1 3
Hugeit_Maps_Map::get_bike_layer()
S
82 1 3
Hugeit_Maps_Polygon::get_hover_line_opacity()
S
82 1 3
Hugeit_Maps_Direction::set_line_color()
S
76 1 4
Hugeit_Maps_Map::get_wheel_scroll()
S
82 1 3
Hugeit_Maps_Map::get_max_zoom()
S
82 1 3
Hugeit_Maps_Circle::__clone()
S
77 1 4
Hugeit_Maps_Circle::get_map_id()
S
81 1 3
Hugeit_Maps_Polyline::get_line_color()
S
82 1 3
Hugeit_Maps_Shortcode::__construct()
S
69 1 6
Hugeit_Maps_Circle::set_center_lat()
S
76 1 4
Hugeit_Maps_Polyline::set_hover_line_opacity()
S
75 1 4
Hugeit_Maps_Locator::get_id()
S
81 1 3
Hugeit_Maps_Locator::__clone()
S
77 1 4
Hugeit_Maps_Direction::get_show_steps()
S
81 1 3
Hugeit_Maps_Admin::create_new_map()
S
73 1 5
Hugeit_Maps_Polyline::get_data()
S
82 1 3
Hugeit_Maps_Polygon::get_id()
S
82 1 3
Hugeit_Maps_Polygon::get_data()
S
82 1 3
Hugeit_Maps_Marker::set_name()
S
76 1 4
Hugeit_Maps_Polygon::set_name()
S
76 1 4
Hugeit_Maps_Map::get_draggable()
S
82 1 3
Hugeit_Maps_Polygon::set_line_width()
S
76 1 4
Hugeit_Maps_Map::get_directions()
S
82 1 3
Hugeit_Maps::__construct()
S
74 1 5
Hugeit_Maps_Marker::set_img()
S
76 1 4
Hugeit_Maps_Direction::set_start_lat()
S
76 1 4
Hugeit_Maps_Install::insert_default_rows()
S
69 1 7
Hugeit_Maps_Polygon::set_hover_line_opacity()
S
75 1 4
Hugeit_Maps_Circle::set_line_color()
S
76 1 4
Hugeit_Maps_Circle::set_line_opacity()
S
75 1 4
Hugeit_Maps_Admin_Assets::init()
S
75 1 4
Hugeit_Maps_Map::get_polylines()
S
82 1 3
Hugeit_Maps_Admin::init()
S
75 1 4
Hugeit_Maps_Map::get_type()
S
82 1 3
Hugeit_Maps_Polygon::set_line_opacity()
S
75 1 4
Hugeit_Maps_Circle::set_hover_line_color()
S
76 1 4
Hugeit_Maps_Polygon::get_fill_color()
S
82 1 3
Hugeit_Maps_Polygon::get_hover_fill_opacity()
S
82 1 3
Hugeit_Maps_Marker::get_img()
S
80 1 3
Hugeit_Maps_Polygon::get_line_color()
S
82 1 3
Hugeit_Maps::template_path()
S
79 1 3
Hugeit_Maps_Direction::get_end_lng()
S
81 1 3
Hugeit_Maps_Polygon::get_fill_opacity()
S
82 1 3
Hugeit_Maps_Install::init()
S
78 1 3
Hugeit_Maps_Map::get_transit_layer()
S
82 1 3
Hugeit_Maps_Polygon::set_line_color()
S
76 1 4
Hugeit_Maps_Install::run_database_refactor()
S
74 1 5
Hugeit_Maps_Circle::get_id()
S
81 1 3
Hugeit_Maps::plugin_url()
S
79 1 3
Hugeit_Maps_Circle::set_line_width()
S
76 1 4
Hugeit_Maps_Frontend_Scripts::add_styles()
S
74 1 4
Hugeit_Maps_Widget::__construct()
S
69 1 7
Hugeit_Maps_Direction::get_travel_mode()
S
82 1 3
Hugeit_Maps_Circle::set_name()
S
76 1 4
Hugeit_Maps_Circle::set_fill_color()
S
76 1 4
Hugeit_Maps_Polygon::set_hover_fill_color()
S
76 1 4
Hugeit_Maps_Locator::get_locator_lat()
S
81 1 3
Hugeit_Maps_Shortcode::hugeit_maps_tinymce_shortcode_placeholder()
S
75 1 4
Hugeit_Maps::__wakeup()
S
78 1 3
Hugeit_Maps_Map::set_locator_default_address()
S
76 1 4
Hugeit_Maps_Direction::set_line_opacity()
S
75 1 4
Hugeit_Maps_Marker::set_lat()
S
76 1 4
Hugeit_Maps_Locator::get_locator_phone()
S
81 1 3
Hugeit_Maps_Direction::get_line_opacity()
S
82 1 3
Hugeit_Maps_Map::get_styling_saturation()
S
82 1 3
Hugeit_Maps_Direction::get_start_lng()
S
81 1 3
Hugeit_Maps_Circle::set_fill_opacity()
S
75 1 4
Hugeit_Maps_Polygon::__clone()
S
77 1 4
Hugeit_Maps::plugin_path()
S
80 1 3
Hugeit_Maps_Circle::get_fill_opacity()
S
81 1 3
Hugeit_Maps()
S
82 1 3
Hugeit_Maps_Locator::set_name()
S
76 1 4
Hugeit_Maps_Marker::get_animation()
S
82 1 3
Hugeit_Maps_Widgets::init()
S
80 1 3
Hugeit_Maps_Marker::get_lat()
S
82 1 3