Code Analysis: WP Maps 4.6.4

Function Rating Maintainability Complexity Lines of code
FlipperCode_Validator::validate()
D
12
98 276
FlipperCode_Validator::validate_date()
D
27
53 121
WPGMP_Model_Map::save()
D
26
50 121
FlipperCode_HTML_Markup::get_element_attributes()
C
41 28 47
WPGMP_Model_Location::save()
C
37 26 67
WPGMP_Model_Tools::upload_sampledata()
C
29
22 126
FlipperCode_Model_Base::get()
C
36 25 69
FlipperCode_HTML_Markup::field_category_selector()
C
37 25 59
FC_Google_Maps_Lite::wpgmp_define_constants()
C
42 25 51
FlipperCode_HTML_Markup::get_all_templates()
C
25
12 243
FlipperCode_HTML_Markup::field_select()
C
40 25 47
WP_List_Table_Helper::prepare_items()
B
37 23 66
FlipperCode_HTML_Markup::get_combined_markup()
B
36 19 79
WPGMP_Model_Settings::save()
B
39 20 63
wpgmp_add_feedback_form()
B
25
4 301
FC_Google_Maps_Lite::wpgmp_frontend_scripts()
B
37 17 73
FlipperCode_Export_Import::import()
B
40 18 57
WP_List_Table_Helper::process_bulk_action()
B
38 17 63
FlipperCode_Validator::available_file_types()
B
41 17 60
WP_Maps_Block::wpmb_blockgallery_backend_scripts()
A
38 14 72
FlipperCode_Validator::validate_file_type()
A
44 15 44
FlipperCode_Export_Import::export()
A
40 14 59
WPGMP_Model_Map::get_map_customizer_style()
A
43 15 43
FlipperCode_HTML_Markup::render()
A
49 15 28
WPGMP_Model_Group_Map::save()
A
45 14 37
FlipperCode_HTML_Markup::get_css_property_unit()
A
48 14 36
FC_Google_Maps_Lite::wpgmp_backend_scripts()
A
36 11 77
WP_List_Table_Helper::pagination()
A
37 11 75
FlipperCode_Model_Base::verify()
A
48 13 30
Flippercode_Core_Controller::action_add_edit()
A
48 12 30
FlipperCode_Validator::validate_image_height_width()
A
48 12 30
Flippercode_Product_Overview::init()
A
36 6 104
FC_Google_Maps_Lite::wpgmp_load_modules_menu()
A
49 10 32
wpgmp_check_cookies_accepted()
A
56 11 16
WPGMP_Model_Tools::clean_database()
A
48 10 29
wpgmp_accept_cookies()
A
58 11 14
FC_Google_Maps_Lite::wpgmp_activation()
A
51 10 24
FlipperCode_HTML_Markup::get_element_html()
A
53 10 20
FC_Google_Maps_Lite::wpgmp_submit_uninstall_reason_action_perform()
A
47 9 34
WP_List_Table_Helper::get_columns()
A
50 9 28
FlipperCode_HTML_Markup::field_table()
A
50 9 26
FC_Google_Maps_Lite::wpgmp_apply_placeholders()
A
45 8 37
FlipperCode_HTML_Markup::get_userdefined_templates()
A
46 8 33
FlipperCode_Model_Base::wpp_validate_extension()
A
50 8 31
FlipperCode_Model_Base::validate_extension()
A
50 8 31
FC_Google_Maps_Lite::wpgmp_load_files()
A
50 8 27
FC_Google_Maps_Lite::media_wpgmp_google_map_icon()
A
45 7 40
FlipperCode_HTML_Markup::generate_css()
A
51 8 25
FlipperCode_Initialise_Core::fc_load_template()
A
45 7 38
WP_Maps_Block::wpmb_updating_map_settings()
A
54 8 22
WPGMP_Google_Map_Widget_Class::form()
A
47 7 37
WPGMP_Model_Location::fetch()
A
54 8 21
FlipperCode_HTML_Markup::get_form_header()
S
57 8 15
WP_Maps_Block::wpmb_register_wp_maps_block()
S
41 5 57
WP_Maps_Block::wpmb_update_map_by_block_attributes()
S
45 6 40
FlipperCode_HTML_Markup::get_fonts()
S
50 6 28
FlipperCode_HTML_Markup::field_multiple_checkbox()
S
57 7 13
FlipperCode_HTML_Markup::field_anchor()
S
57 7 13
FlipperCode_Validator::available_phone_type()
S
54 6 23
FC_Google_Maps_Lite::wpgmp_show_location_in_map()
S
54 6 20
FC_Google_Maps_Lite::wpgmp_customizer_font_family()
S
55 6 19
FlipperCode_HTML_Markup::field_fc_modal()
S
56 6 18
FlipperCode_Validator::validate_file_size()
S
56 6 18
FlipperCode_HTML_Markup::field_radio()
S
57 6 13
FC_Google_Maps_Lite::wpgmp_show_buynow_notice()
S
58 6 12
FlipperCode_HTML_Markup::field_image()
S
58 6 12
WP_Maps_Block::wpmb_get_map_by_id()
S
50 5 26
WP_Maps_Block::wpmb_render_dynamic_block_output()
S
51 5 25
FC_Google_Maps_Lite::wpgmp_processor()
S
52 5 24
WP_List_Table_Helper::column_default()
S
52 5 23
FlipperCode_Model_Base::valid()
S
56 5 19
FlipperCode_HTML_Markup::get_form_messages()
S
58 5 16
FlipperCode_Model_Base::authenticate_action_requests()
S
63 6 10
WP_List_Table_Helper::authenticate_action_requests()
S
63 6 10
FlipperCode_HTML_Markup::field_number()
S
61 6 9
Flippercode_Core_Controller::do_action()
S
58 5 15
FlipperCode_HTML_Markup::field_tab()
S
56 5 15
WP_List_Table_Helper::listing()
S
47 3 44
WPGMP_Model_Map::copy()
S
58 5 14
WPGMP_Google_Map_Widget_Class::widget()
S
58 5 14
WP_List_Table_Helper::init_listing()
S
59 5 13
FlipperCode_HTML_Markup::field_text()
S
59 5 11
FC_Google_Maps_Lite::wpgmp_plugin_activation()
S
57 4 17
FC_Google_Maps_Lite::wpgmp_plugin_deactivation()
S
57 4 17
FC_Google_Maps_Lite::wpgmp_hide_sample_notice()
S
56 4 17
Flippercode_Core_Controller::__construct()
S
58 4 16
Flippercode_Product_Overview::get_block_markup()
S
58 4 15
FlipperCode_HTML_Markup::set_header()
S
64 5 9
FC_Google_Maps_Lite::wpgmp_hide_buy_notice()
S
58 4 15
Flippercode_Core_Controller::display()
S
58 4 15
FlipperCode_HTML_Markup::field_button()
S
61 5 10
check_cookieyes_consent()
S
59 4 14
FlipperCode_HTML_Markup::field_submit()
S
58 4 14
wpgmp_hide_map_container()
S
62 4 11
wpgmp_show_placeholder()
S
62 4 11
WPGMP_Model_Group_Map::fetch()
S
62 4 11
FlipperCode_HTML_Markup::field_html()
S
61 4 11
WPGMP_Template::__construct()
S
43 1 54
FlipperCode_HTML_Markup::field_image_picker()
S
47 2 38
FlipperCode_HTML_Markup::show_header()
S
53 3 21
FlipperCode_Initialise_Core::_load_core_files()
S
55 3 21
WPGMP_Model_Group_Map::delete()
S
63 4 9
FlipperCode_Model_Base::is_column()
S
64 4 9
WPGMP_Model_Location::delete()
S
63 4 9
WPGMP_Model_Map::delete()
S
63 4 9
WP_List_Table_Helper::get_user_selected_records()
S
68 4 6
FlipperCode_HTML_Markup::field_radio_slider()
S
64 4 8
FlipperCode_HTML_Markup::field_group()
S
63 4 9
FlipperCode_HTML_Markup::field_textarea()
S
65 4 7
FlipperCode_HTML_Markup::field_file()
S
65 4 7
FlipperCode_HTML_Markup::field_checkbox()
S
64 4 7
FlipperCode_Validator::is_exist()
S
67 4 7
FlipperCode_Model_Base::query()
S
60 3 14
FlipperCode_HTML_Markup::get_header()
S
59 3 14
FlipperCode_HTML_Markup::print_elements()
S
59 3 14
FlipperCode_Model_Base::wpp_xml_2array()
S
61 3 12
FlipperCode_Export_Import::wpp_xml_2array()
S
61 3 12
FC_Google_Maps_Lite::wpgmp_init()
S
53 2 22
FC_Google_Maps_Lite::wpgmp_create_menu()
S
57 2 17
FlipperCode_HTML_Markup::set_col()
S
66 3 8
FlipperCode_Database::non_query()
S
68 3 7
WP_Maps_Block::wpmb_prefix_defer_js()
S
67 3 7
FlipperCode_Model_Base::set_val()
S
72 3 5
FlipperCode_HTML_Markup::product_overview()
S
69 3 6
FlipperCode_HTML_Markup::field_checkbox_toggle()
S
66 3 6
FC_Google_Maps_Lite::wpgmp_custom_css_admin_head()
S
67 3 8
FlipperCode_Model_Base::throw_errors()
S
67 3 7
FlipperCode_HTML_Markup::field_hidden()
S
66 3 7
WPGMP_Model_Map::install()
S
55 1 30
WP_List_Table_Helper::get_sortable_columns()
S
64 3 10
WP_List_Table_Helper::show_notification()
S
71 3 5
WP_List_Table_Helper::show_message()
S
68 3 7
WP_List_Table_Helper::__construct()
S
59 2 15
WP_List_Table_Helper::extra_tablenav()
S
71 3 5
FlipperCode_HTML_Markup::get_title()
S
75 3 4
FlipperCode_HTML_Markup::get_product_customizer_link()
S
59 2 14
WP_Maps_Block::wpmb_call_meta_box()
S
59 2 14
FC_Google_Maps_Lite::__construct()
S
60 2 13
WP_Maps_Block::wpmb_get_all_maplists()
S
61 2 12
WP_Maps_Block::wpmb_register_hooks()
S
60 2 12
FlipperCode_HTML_Markup::field_wp_editor()
S
61 2 11
FlipperCode_Validator::add()
S
62 2 11
FlipperCode_Database::insert_or_update()
S
62 2 11
WPGMP_Model_Location::install()
S
56 1 26
WP_Maps_Block::wpmb_get_full_predefined_color()
S
56 1 20
Flippercode_Product_Overview::get_mailchimp_integration_form()
S
60 1 18
Flippercode_Factory_Model::create_object()
S
66 2 8
FC_Google_Maps_Lite::wpgmp_overview_page_styles()
S
70 2 6
WPGMP_Manage_Group_Table::column_group_marker()
S
69 2 6
Flippercode_Factory_Controller::create_object()
S
70 2 6
WP_Maps_Block::wpmb_check_user_logged_in()
S
79 2 3
WPGMP_Model_Map::fetch()
S
71 2 6
FlipperCode_HTML_Markup::__construct()
S
61 2 8
FlipperCode_HTML_Markup::field_blockquote()
S
71 2 5
FlipperCode_HTML_Markup::get_form_footer()
S
63 2 10
FlipperCode_HTML_Markup::element_mandatory()
S
74 2 5
FlipperCode_HTML_Markup::show_message()
S
65 2 8
FlipperCode_HTML_Markup::field_div()
S
71 2 5
WP_List_Table_Helper::no_items()
S
70 2 6
WP_List_Table_Helper::unset_id_field()
S
78 2 3
FC_Google_Maps_Lite::wpgmp_display_map()
S
63 2 10
Flippercode_Product_Overview::setup_plugin_info()
S
70 2 6
WPGMP_Manage_Group_Table::column_group_parent()
S
68 2 6
FlipperCode_HTML_Markup::add_element()
S
69 2 6
FC_Google_Maps_Lite::wpgmp_on_blog_new_generate()
S
70 2 7
Flippercode_Product_Overview::renderOverviewPage()
S
63 1 14
WPGMP_Model_Group_Map::install()
S
62 1 14
Flippercode_Product_Overview::renderMessages()
S
62 1 13
WP_Maps_Block::wpmb_register_rest_api_endpoints()
S
62 1 12
FlipperCode_Validator::__construct()
S
81 1 3
WPGMP_Controller::__construct()
S
80 1 3
WPGMP_Model_Route::navigation()
S
71 1 6
Flippercode_Core_Controller::action_upload_backup()
S
79 1 3
WPGMP_Model_Drawing::navigation()
S
74 1 5
WPGMP_Maps_Table::copy()
S
65 1 9
FlipperCode_Database::reader()
S
76 1 4
WPGMP_Model_Tools::navigation()
S
74 1 5
FlipperCode_HTML_Markup::field_infoarea()
S
82 1 2
FlipperCode_HTML_Markup::set_form_method()
S
81 1 3
WPGMP_Model_Extentions::install()
S
100 1 1
WP_List_Table_Helper::column_cb()
S
83 1 2
FlipperCode_HTML_Markup::field_message()
S
68 1 6
FlipperCode_Model_Base::__construct()
S
91 1 2
WPGMP_Model_Shortcode::__construct()
S
100 1 2
FlipperCode_HTML_Markup::field_extensions()
S
78 1 3
FlipperCode_HTML_Markup::button()
S
77 1 3
FC_Google_Maps_Lite::wpgmp_deactivation()
S
100 1 1
FlipperCode_Export_Import::__construct()
S
77 1 4
WPGMP_Maps_Table::column_shortcodes()
S
83 1 2
FlipperCode_HTML_Markup::field_templates()
S
72 1 5
WPGMP_Model_Group_Map::__construct()
S
77 1 4
WPGMP_Maps_Table::__construct()
S
84 1 2
WP_Maps_Block::wpmb_add_meta_box()
S
100 1 1
WPGMP_Model_Settings::__construct()
S
100 1 2
FlipperCode_HTML_Markup::set_title()
S
81 1 3
WP_Maps_Block::wpmb_update_metabox()
S
100 1 3
WPGMP_Model_Overview::__construct()
S
100 1 2
Flippercode_Core_Controller::get_entity()
S
86 1 2
WPGMP_Model_Group_Map::navigation()
S
71 1 6
Flippercode_Core_Controller::action_import_backup()
S
79 1 3
FlipperCode_HTML_Markup::get_col()
S
82 1 3
WPGMP_Model_Route::__construct()
S
68 1 7
FlipperCode_HTML_Markup::set_form_nonce()
S
81 1 3
FlipperCode_Initialise_Core::__construct()
S
78 1 4
Flippercode_Product_Overview::__construct()
S
72 1 5
WPGMP_Model_Location::navigation()
S
71 1 6
WPGMP_Model_Tools::install()
S
100 1 2
FlipperCode_HTML_Markup::apply_extensions()
S
69 1 6
WPGMP_Google_Map_Widget_Class::__construct()
S
69 1 7
WPGMP_Model::__construct()
S
80 1 3
Flippercode_Core_Controller::action_import_location()
S
79 1 3
WPGMP_Model_Shortcode::navigation()
S
83 1 3
WPGMP_Model_Map::__construct()
S
77 1 4
Flippercode_Core_Controller::action_take_backup()
S
79 1 3
WP_List_Table_Helper::delete()
S
65 1 8
FlipperCode_HTML_Markup::set_form_action()
S
81 1 3
FC_Google_Maps_Lite::wpgmp_go_pro_link()
S
70 1 5
WPGMP_Manage_Group_Table::__construct()
S
84 1 2
WPGMP_Model_Settings::navigation()
S
74 1 5
WP_List_Table_Helper::edit()
S
98 1 1
WPGMP_Model_Tools::__construct()
S
100 1 2
FlipperCode_HTML_Markup::get_manage_url()
S
82 1 3
FlipperCode_HTML_Markup::sub_heading()
S
71 1 7
WPGMP_Model_Permissions::navigation()
S
74 1 5
WPGMP_Model_Permissions::__construct()
S
100 1 2
Flippercode_Factory_Model::__construct()
S
77 1 4
WP_Maps_Block::__construct()
S
92 1 1
FlipperCode_Model_Base::escape()
S
80 1 3
FC_Google_Maps_Lite::wpgmp_on_blog_delete()
S
65 1 9
FC_Google_Maps_Lite::wpgmp_load_plugin_languages()
S
74 1 4
WPGMP_Google_Map_Widget_Class::update()
S
71 1 6
FlipperCode_Database::connect()
S
77 1 4
WPGMP_Model_Extentions::__construct()
S
100 1 1
Flippercode_Factory_Controller::__construct()
S
72 1 5
FlipperCode_HTML_Markup::give_css_with_prefix()
S
69 1 6
WPGMP_Model_Location::__construct()
S
77 1 4
Flippercode_Product_Overview::renderBlocks()
S
76 1 4
WPGMP_Model_Overview::navigation()
S
74 1 5
WPGMP_Model_Map::navigation()
S
71 1 6
FlipperCode_HTML_Markup::get_footer()
S
69 1 8
FlipperCode_Initialise_Core::_register_flippercode_globals()
S
79 1 3
FlipperCode_Database::__construct()
S
78 1 4
WPGMP_Model_Extentions::navigation()
S
83 1 2
FC_Google_Maps_Lite::wpgmp_google_map_widget()
S
92 1 1
WPGMP_Location_Table::__construct()
S
84 1 2
WP_List_Table_Helper::get_bulk_actions()
S
72 1 5
FC_Google_Maps_Lite::wpgmp_google_map_tabs_filter()
S
74 1 4
WPGMP_Model_Drawing::__construct()
S
100 1 2
FC_Google_Maps_Lite::wpgmp_google_map_media_upload_tab()
S
71 1 5