Code Analysis: MapPress Maps for WordPress 2.92.1

Function Rating Maintainability Complexity Lines of code
Mappress::init()
D
25
45 128
Mappress::l10n()
B
32 20 90
Mappress_Poi::update_images()
B
43 16 46
Mappress_WPML::copy_maps()
A
40 14 57
Mappress_Api::get_maps()
A
40 14 51
Mappress::scrub_atts()
A
46 15 32
Mappress_Poi::geocode()
A
48 14 29
Mappress::the_content()
A
49 14 29
Mappress_Map::display_web_component()
A
44 13 37
Mappress::__construct()
A
43 12 44
Mappress::scripts_enqueue()
A
49 12 28
Mappress_Settings::ajax_geocode()
A
44 11 36
Mappress::scripts_register()
A
45 11 35
Mappress::admin_notices()
A
46 11 32
Mappress_Map::autoicons()
A
48 11 28
Mappress_Settings::ajax_options_save()
A
49 11 26
Mappress_Template::ajax_get()
A
50 10 24
Mappress_Map::ajax_get_post()
A
52 9 23
Mappress_Settings::get_usage()
A
51 9 21
Mappress_Obj::update()
A
54 9 20
Mappress::shortcode_map()
A
55 9 18
Mappress::get_mashup()
A
56 9 15
Mappress::debugging()
A
48 8 28
Mappress_Map::prepare()
A
50 8 25
Mappress::admin_enqueue_scripts()
A
52 8 24
Mappress::template_redirect()
A
51 8 24
Mappress_Settings::ajax_style_save()
A
52 8 21
Mappress_Template::ajax_save()
A
55 8 17
Mappress::deactivate()
A
55 8 17
Mappress_Settings::get_geocoding_errors()
S
51 7 26
Mappress_Api::rest_api_init()
S
36 1 115
Mappress::styles_register()
S
52 7 23
Mappress_Map::get_list()
S
52 7 23
Mappress_Map::get()
S
52 7 23
Mappress_Db::upgrade_2_80()
S
47 6 33
Mappress::get_api_keys()
S
58 7 15
Mappress::to_atts()
S
57 7 14
Mappress_Map::save()
S
49 6 29
Mappress_Map::get_dims()
S
59 7 12
Mappress_Map::manage_posts_custom_column()
S
52 6 22
Mappress_Api::duplicate_map()
S
54 6 19
Mappress_Settings::assoc()
S
56 6 18
Mappress_Compliance::cmplz_script()
S
45 4 48
Mappress_Db::upgrade()
S
56 6 17
Mappress_Db::ajax_upgrade()
S
57 6 15
Mappress_Api::get_map_schema()
S
40 1 80
Mappress_Map::display_user_map()
S
55 5 18
Mappress_Settings::get_initial_state()
S
41 4 32
Mappress::script_loader_tag()
S
68 6 6
Mappress_Settings::ajax_preferences_save()
S
57 5 15
Mappress_Map::get_layout()
S
57 5 14
Mappress_Api::update_map()
S
59 5 13
Mappress::styles_enqueue()
S
61 5 12
Mappress::admin_init()
S
60 5 12
Mappress_Template::locate_template()
S
61 5 12
Mappress::string_to_boolean()
S
63 5 11
Mappress_Settings::review_admin_notice()
S
52 4 22
Mappress_Settings::iframes_required()
S
66 5 8
Mappress::is_admin()
S
71 5 5
Mappress::is_dev()
S
66 5 8
Mappress_Map::mutate()
S
63 5 10
Mappress_Poi::to_html()
S
63 5 8
Mappress::is_plugin_active()
S
62 5 10
Mappress_Settings::ajax_style_delete()
S
58 4 14
Mappress_Template::get_custom_tokens()
S
59 4 12
Mappress::admin_menu()
S
58 4 12
Mappress_Api::mutate_map()
S
62 4 11
Mappress_Settings::get_meta_keys_user()
S
58 3 18
Mappress_Map::register()
S
57 3 16
Mappress::ajax_dismiss()
S
66 4 7
Mappress_Map::display()
S
63 4 9
Mappress_Options::get()
S
66 4 8
Mappress::get_language()
S
65 4 9
Mappress_Template::get_template()
S
59 3 14
Mappress_Settings::support_page()
S
60 3 13
Mappress_Template::register()
S
50 2 28
Mappress_Map::to_html()
S
58 3 12
Mappress_Template::ajax_delete()
S
60 3 12
Mappress_Api::counts()
S
60 3 12
Mappress_Settings::get_meta_keys()
S
62 3 12
Mappress_Settings::ajax_option_save()
S
60 3 12
Mappress_Settings::ajax_license_check()
S
61 3 12
Mappress_Db::upgrade_page()
S
54 2 26
Mappress_Db::create_db()
S
55 2 22
Mappress_Map::to_json()
S
54 2 21
Mappress_Map::__construct()
S
66 3 8
Mappress_Template::print_templates()
S
70 3 6
Mappress_Map::deleted_user()
S
67 3 7
Mappress_Api::rest_response()
S
64 3 9
Mappress_Poi::sanitize()
S
68 3 6
Mappress::admin_notices_dismiss()
S
63 3 10
Mappress_Api::get_map()
S
66 3 8
Mappress_Api::create_map()
S
63 3 10
Mappress_Compliance::register()
S
75 3 4
Mappress::is_footer()
S
73 3 5
Mappress_Template::print_footer_templates()
S
71 3 6
Mappress::shortcode_mashup()
S
70 3 6
Mappress::get_iframe()
S
53 1 27
Mappress::activate()
S
68 2 7
Mappress_WPML::register()
S
75 2 4
Mappress::is_ssl()
S
76 2 3
Mappress_Poi::to_json()
S
59 1 15
Mappress::wp_enqueue_scripts()
S
74 2 5
Mappress_Map::trashed_post()
S
71 2 5
Mappress_Api::delete_map()
S
66 2 8
Mappress_Settings::get_post_types()
S
65 2 8
Mappress_Map::empty_trash()
S
63 2 10
Mappress_Template::enqueue_template()
S
74 2 4
Mappress_Template::get_poi_props()
S
68 2 6
Mappress_Settings::get_taxonomies()
S
65 2 8
Mappress_Template::print_template()
S
72 2 5
Mappress_Api::empty_trash()
S
68 2 7
Mappress_Map::deleted_post()
S
70 2 5
Mappress_Settings::get_meta_values()
S
67 2 7
Mappress_Settings::get_meta_fields()
S
66 2 6
Mappress_Map::delete()
S
63 2 10
Mappress_Db::upgrade_check()
S
66 2 8
Mappress_Compliance::complianz()
S
68 2 7
Mappress_Compliance::cmplz_services()
S
72 2 5
Mappress_Template::print_js_templates()
S
65 2 8
Mappress::ajax_response()
S
65 2 8
Mappress_Poi::get_post_excerpt()
S
65 2 8
Mappress_Settings::ajax_reset()
S
65 2 9
Mappress::block_categories()
S
63 1 12
Mappress_Settings::register()
S
62 1 11
Mappress::plugins_loaded()
S
78 1 3
Mappress_Db::register()
S
75 1 4
Mappress_Map::manage_posts_columns()
S
76 1 4
Mappress_Template::__construct()
S
81 1 3
Mappress::wp_head()
S
77 1 3
Mappress_Poi::__construct()
S
77 1 4
Mappress_Map::media_buttons()
S
74 1 4
Mappress_Api::get_counts()
S
70 1 6
Mappress_Api::__construct()
S
79 1 3
Mappress::script()
S
80 1 3
Mappress_Options::__construct()
S
82 1 3
Mappress::wp_img_tag_add_decoding_attr()
S
82 1 3
Mappress::plugin_action_links()
S
67 1 7
Mappress_Settings::options_page()
S
74 1 6
Mappress_Map::sanitize()
S
77 1 4
Mappress_Settings::get_thumbnail_sizes()
S
73 1 5
Mappress::map_library()
S
73 1 5
Mappress_Options::save()
S
79 1 3
Mappress::heartbeat_settings()
S
76 1 4
Mappress_Compliance::cmplz_whitelist()
S
77 1 4
Mappress::is_localhost()
S
77 1 3
Mappress_Obj::__construct()
S
82 1 3
Mappress::mime_types()
S
73 1 5