Code Analysis: Geolocation 1.4

Function Rating Maintainability Complexity Lines of code
geolocation_settings_page()
B
27
6 241
display_location_post()
A
41 15 50
admin_head_google()
A
34 2 183
geolocation_save_postdata()
A
48 12 32
admin_head_osm()
A
36 2 141
reverse_geocode()
A
49 9 30
buildAddress()
A
60 9 13
display_location_page_osm()
A
37 4 81
add_geo_support_google()
S
41 2 102
add_geo_support_osm()
S
41 2 96
display_location_page_google()
S
40 3 69
add_geo_support()
S
59 5 14
plugin_upgrade_completed()
S
62 5 11
updateGeolocationAddresses()
S
48 3 34
delete_addresses()
S
60 3 14
geolocation_custom_admin_notice()
S
69 3 7
get_osm_leaflet_js_url()
S
65 3 9
get_osm_tiles_url()
S
65 3 9
get_osm_leaflet_css_url()
S
65 3 9
admin_head()
S
66 3 10
display_location_page()
S
68 3 8
geolocation_inner_custom_box()
S
55 1 23
register_settings()
S
57 1 19
unregister_settings()
S
57 1 19
delete_settings()
S
59 1 17
default_settings()
S
57 1 17
add_geo_div()
S
73 2 5
geolocation_append_support_and_faq_links()
S
67 2 7
geolocation_add_custom_box()
S
68 2 7
is_checked()
S
74 2 5
display_location()
S
68 2 8
default_setting()
S
74 2 5
is_value()
S
73 2 5
get_google_maps_api_key()
S
68 2 7
clean_coordinate()
S
67 2 8
geolocation_customizer_action_links()
S
67 2 7
geo_has_shortcode()
S
67 2 8
add_settings()
S
67 2 7
get_geo_div()
S
71 1 5
uninstall()
S
76 1 5
pullJSON_google()
S
70 1 5
getSiteLang()
S
75 1 4
pullJSON_osm()
S
62 1 10
add_my_scripts()
S
70 1 7
get_osm_nominatim_url()
S
76 1 4
admin_init()
S
71 1 6
geolocation_old_custom_box()
S
66 1 9
activate()
S
79 1 4
languages_init()
S
74 1 4