Code Analysis: Geolocation 1.9.7

Function Rating Maintainability Complexity Lines of code
geolocation_settings_page()
C
22
5 387
geolocation_save_postdata()
B
38 21 64
display_location_post()
B
41 16 51
reverse_geocode()
A
45 14 40
add_geo_support()
A
46 14 33
admin_head_google()
A
32 2 200
display_location_page_osm()
A
32 5 130
display_location_page_google()
A
33 5 128
admin_head_osm()
A
33 2 172
add_geo_support_google()
A
37 2 134
build_addresses()
A
60 9 13
add_geo_support_osm()
A
38 2 115
plugin_upgrade_completed()
S
62 5 11
update_geolocation_addresses()
S
48 3 34
delete_addresses()
S
60 3 14
get_osm_leaflet_js_url()
S
64 3 9
get_osm_leaflet_css_url()
S
64 3 9
geolocation_custom_admin_notice()
S
67 3 8
get_osm_tiles_url()
S
65 3 9
display_location_page()
S
68 3 8
admin_head()
S
66 3 10
clean_coordinate()
S
66 3 8
geolocation_inner_custom_box()
S
55 1 23
register_settings()
S
55 1 21
geolocation_old_custom_box()
S
62 1 18
delete_settings()
S
59 1 17
unregister_settings()
S
58 1 17
is_checked()
S
74 2 5
default_settings()
S
58 1 15
add_settings()
S
67 2 7
geo_has_shortcode()
S
67 2 8
geolocation_customizer_action_links()
S
67 2 7
get_google_maps_api_key()
S
69 2 7
is_value()
S
73 2 5
geolocation_append_support_and_faq_links()
S
67 2 7
display_location()
S
68 2 8
default_setting()
S
74 2 5
add_geo_div()
S
73 2 5
geolocation_add_custom_box()
S
68 2 7
pull_json_osm()
S
62 1 10
get_geo_div()
S
70 1 5
get_osm_nominatim_url()
S
76 1 4
activate()
S
79 1 4
get_site_lang()
S
75 1 4
uninstall()
S
76 1 5
languages_init()
S
75 1 4
pull_json_google()
S
70 1 5
admin_init()
S
71 1 6