Code Analysis: MapPress Maps for WordPress 2.68.2

Function Rating Maintainability Complexity Lines of code
Mappress::init()
D
31 37 86
Mappress_WPML::icl_make_duplicate()
B
41 16 52
Mappress::the_content()
A
49 14 29
Mappress::l10n()
A
36 11 70
Mappress::scrub_atts()
A
47 13 29
Mappress::__construct()
A
41 11 49
Mappress::admin_enqueue_scripts()
A
49 12 31
Mappress_Settings::ajax_options_save()
A
49 12 27
Mappress_Map::display()
A
50 11 25
Mappress::get_mashup()
A
53 11 20
Mappress::scripts_register()
A
47 10 29
Mappress::template_redirect()
A
45 9 44
Mappress_Map::autoicons()
A
49 10 26
Mappress_Poi::geocode()
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::admin_notices()
A
49 8 26
Mappress_Map::ajax_mutate()
A
53 8 20
Mappress::scripts_enqueue()
A
54 8 19
Mappress::debugging()
S
49 7 28
Mappress_Map::save()
S
51 7 25
Mappress_Template::ajax_get()
S
51 7 23
Mappress::deactivate()
S
56 7 15
Mappress_Map::get_list()
S
55 6 19
Mappress_Settings::assoc()
S
56 6 18
Mappress::styles_register()
S
55 6 17
Mappress_Map::display_iframe()
S
56 6 15
Mappress_Map::prepare()
S
57 6 15
Mappress::get_api_keys()
S
62 7 10
Mappress_Map::ajax_duplicate()
S
57 6 15
Mappress_Map::find()
S
49 5 28
Mappress_Map::ajax_save()
S
57 5 15
Mappress_Settings::get_license_status()
S
58 5 15
Mappress::is_footer()
S
70 6 5
Mappress_Template::ajax_save()
S
59 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_Map::register()
S
49 3 32
Mappress::is_dev()
S
66 5 8
Mappress::deregister()
S
63 5 10
Mappress_Poi::get_thumbnail()
S
68 5 6
Mappress::is_admin()
S
71 5 5
Mappress_Map::delete_post_map()
S
59 4 14
Mappress::block_categories_all()
S
60 4 14
Mappress_Map::duplicate()
S
59 4 14
Mappress_Settings::get_initial_state()
S
42 3 29
Mappress_Map::ajax_delete()
S
60 4 12
Mappress_Settings::ajax_license_check()
S
61 4 11
Mappress_Settings::ajax_option_save()
S
61 4 11
Mappress_Template::ajax_delete()
S
61 4 11
Mappress::ajax_dismiss()
S
66 4 7
Mappress::get_language()
S
65 4 9
Mappress::styles_enqueue()
S
64 4 10
Mappress::admin_init()
S
64 4 9
Mappress_Map::ajax_get()
S
62 4 10
Mappress_Template::get_template()
S
59 3 14
Mappress_Template::get_custom_tokens()
S
60 3 12
Mappress_Map::ajax_get_post()
S
60 3 12
Mappress_Settings::get_meta_keys()
S
62 3 11
Mappress_Settings::support_page()
S
53 2 25
Mappress_Settings::options_page()
S
56 2 23
Mappress::set_language()
S
68 3 7
Mappress::shortcode_mashup()
S
70 3 6
Mappress_Template::print_js_templates()
S
62 3 10
Mappress_Template::print_footer_templates()
S
71 3 6
Mappress_Map::__construct()
S
68 3 7
Mappress::is_gt()
S
77 3 3
Mappress_Template::print_templates()
S
70 3 6
Mappress::admin_notices_dismiss()
S
63 3 10
Mappress_Template::print_template()
S
65 3 9
Mappress_Map::get()
S
59 2 13
Mappress_Settings::geocoding_errors()
S
61 2 12
Mappress_Template::register()
S
54 1 19
Mappress_Poi::get_post_excerpt()
S
65 2 8
Mappress::autoptimize_filter_css_exclude()
S
72 2 6
Mappress_Map::delete()
S
63 2 10
Mappress_Settings::get_taxonomies()
S
66 2 8
Mappress_WPML::register()
S
75 2 4
Mappress::autoptimize_filter_js_exclude()
S
72 2 6
Mappress_Template::filter_poi_props()
S
69 2 6
Mappress::is_ssl()
S
76 2 3
Mappress_Settings::ajax_reset()
S
65 2 9
Mappress_Settings::get_meta_fields()
S
66 2 6
Mappress::wp_enqueue_scripts()
S
74 2 5
Mappress::ajax_response()
S
65 2 8
Mappress::script()
S
70 2 6
Mappress_Settings::get_post_types()
S
65 2 8
Mappress_Map::ajax_find()
S
69 2 6
Mappress::script_template()
S
71 2 5
Mappress_Template::enqueue_template()
S
74 2 4
Mappress_Settings::get_meta_values()
S
67 2 7
Mappress::block_categories()
S
63 1 12
Mappress::plugin_action_links()
S
67 1 7
Mappress::mime_types()
S
73 1 5
Mappress::autoptimize_js_include_inline()
S
92 1 1
Mappress::wp_head()
S
74 1 4
Mappress::autoptimize_filter_js_minify_excluded()
S
92 1 1
Mappress_Poi::__construct()
S
81 1 3
Mappress_Obj::__construct()
S
82 1 3
Mappress_Template::__construct()
S
81 1 3
Mappress::autoptimize_filter_css_minify_excluded()
S
92 1 1
Mappress::activate()
S
79 1 3
Mappress::map_library()
S
73 1 5
Mappress_Map::compare_title()
S
78 1 3
Mappress::admin_menu()
S
67 1 6
Mappress_Options::save()
S
79 1 3
Mappress::is_localhost()
S
77 1 3
Mappress::plugins_loaded()
S
78 1 3
Mappress_Settings::get_thumbnail_sizes()
S
73 1 5
Mappress_Settings::register()
S
68 1 7
Mappress_Settings::demo_map()
S
68 1 5
Mappress_Map::sort_pois()
S
75 1 4
Mappress_Poi::__sleep()
S
77 1 3
Mappress::heartbeat_settings()
S
76 1 4
Mappress_Map::__sleep()
S
77 1 3
Mappress_Options::get()
S
76 1 4
Mappress_Map::media_buttons()
S
82 1 3
Mappress_Options::__construct()
S
82 1 3