Code Analysis: OSM 6.0.2

Function Rating Maintainability Complexity Lines of code
cOsm_icon::isOsmIcon()
D
0
289 156
Osm_icon::isOsmIcon()
D
30 86 54
Osm::createMarkerList()
D
26
38 128
Osm_OpenLayers::addTileLayer()
D
26
31 164
Osm_OpenLayers::addTileLayer()
D
26
31 164
osm_map_create_shortcode_function()
C
17
1 535
Osm_OpenLayers::AddClickHandler()
C
21
9 409
Osm_OpenLayers::AddClickHandler()
C
22
9 382
cOsm_icon::setIconsize()
C
32 27 108
OSM_Tagged_Widget::form()
C
33 25 100
Osm_OLJS3::addVectorLayer()
B
30 12 177
Osm_OpenLayers::checkMapType()
B
56 21 13
Osm_OpenLayers::checkMapType()
B
56 21 13
Osm::OL3_createMarkerList()
B
31 14 113
osm_map_create_shortcode_function()
B
24
1 294
Osm_icon::getIconsize()
B
44 18 37
Osm::options_page_osm()
A
44 14 44
Osm_icon::replaceOldIcon()
A
48 13 36
cOsm_icon::replaceOldIcon()
A
48 13 36
Osm_OpenLayers::addMarkerListLayer()
A
38 9 71
cOsm_arguments::setTaggedColor()
A
47 10 38
Osm_OpenLayers::addMarkerListLayer()
A
39 8 68
Osm::getImportLayer()
A
44 9 45
cOsm_arguments::getInnerColor()
A
51 10 29
cOsm_arguments::getBorderColor()
A
51 10 29
cOsm_arguments::setMapSize()
A
49 9 32
cOsm_arguments::setPostMarkers()
A
64 11 8
Osm_OpenLayers::addGoogleTileLayer()
A
42 6 73
Osm_OpenLayers::addGoogleTileLayer()
A
42 6 73
Osm::wp_head()
A
46 8 38
Osm_OpenLayers::addDiscs()
A
55 9 15
Osm_OpenLayers::addDiscs()
A
55 9 15
Osm::checkLatLongRange()
S
56 8 15
Osm::getMapCenter()
S
51 6 27
Osm_OpenLayers::checkControlType()
S
61 7 11
Osm_OpenLayers::checkControlType()
S
61 7 11
cOsm_arguments::setControlArray()
S
56 6 19
Osm_OpenLayers::addVectorLayer()
S
41 3 61
Osm_OpenLayers::addVectorLayer()
S
41 3 61
cOsm_arguments::setMapType()
S
64 7 9
OSM_getCoordinateLat()
S
53 5 21
OSM_getCoordinateLong()
S
53 5 21
Osm::getGps()
S
65 6 7
Osm::checkStyleColour()
S
69 6 6
OSM_isGeotagged()
S
55 4 19
OSM_Tagged_Widget::widget()
S
55 4 17
Osm::traceText()
S
58 4 15
Osm_OpenLayers::setMapCenterAndZoom()
S
57 4 15
Osm_OpenLayers::setGoogleMapCenterAndZoom()
S
57 4 15
Osm_OpenLayers::setGoogleMapCenterAndZoom()
S
57 4 15
Osm_OpenLayers::setMapCenterAndZoom()
S
57 4 15
saveGeotagAndPic()
S
52 3 25
OSM_displayOpenStreetMapExt()
S
55 3 18
Osm::show_enqueue_script()
S
59 3 16
cOsm_arguments::setMarkersize()
S
58 3 16
cOsm_arguments::isAutocenter()
S
66 4 8
savePostMarker()
S
50 2 29
osm_map_create()
S
52 2 24
osm_enqueue_scripts_styles()
S
49 1 32
OSM_getOpenStreetMapUrl()
S
68 3 6
Osm::gps2Num()
S
64 3 10
Osm_OpenLayers::addLines()
S
57 2 15
Osm_OpenLayers::addLines()
S
57 2 15
OSM_displayOpenStreetMap()
S
63 3 10
Osm_OpenLayers::addLineLayer()
S
60 2 12
Osm_OpenLayers::addLineLayer()
S
60 2 12
OSM_Tagged_Widget::update()
S
62 2 11
Osm::__construct()
S
56 1 17
cOsm_arguments::__construct()
S
58 1 16
cOsm_arguments::setMapAttr()
S
68 2 8
cOsm_icon::setIcon()
S
66 2 8
Osm_OpenLayers::checkOverviewMapZoomlevels()
S
69 2 7
cOsm_arguments::setDisplayMarker()
S
74 2 5
cOsm_arguments::setTaggedParam()
S
74 2 5
cOsm_arguments::getMapCenterLat()
S
69 2 8
cOsm_arguments::isAutozoom()
S
69 2 8
osm_map_create()
S
67 2 7
Osm::admin_head()
S
68 1 15
cOsm_arguments::getMapZoom()
S
69 2 8
cOsm_arguments::getMapCenterLon()
S
69 2 8
Osm_OpenLayers::checkOverviewMapZoomlevels()
S
69 2 7
Osm::traceErrorMsg()
S
69 2 7
cOsm_icon::getMarkerheight()
S
82 1 3
cOsm_arguments::getMapHeight_str()
S
82 1 3
cOsm_arguments::getMap_event()
S
82 1 3
cOsm_arguments::getMapControl()
S
82 1 3
OSM_echoOpenStreetMapUrl()
S
82 1 3
cOsm_arguments::issetMouseposition()
S
82 1 3
cOsm_icon::getIconName()
S
82 1 3
register_osm_widget()
S
82 1 3
osm_add_action_links()
S
69 1 7
cOsm_arguments::setMapZoom()
S
81 1 3
cOsm_arguments::getMarkerFocus()
S
82 1 3
cOsm_icon::getIconOffsetwidth()
S
82 1 3
cOsm_arguments::showKmlMarkerName()
S
82 1 3
Osm::getCustomFieldData()
S
75 1 4
Osm::admin_menu()
S
77 1 3
cOsm_arguments::setMap_event()
S
81 1 3
cOsm_arguments::isclustered()
S
82 1 3
Osm::sc_showMap()
S
73 1 5
cOsm_arguments::issetOverview()
S
82 1 3
Osm::getGPXName()
S
75 1 4
Osm::sc_showImage()
S
77 1 4
cOsm_arguments::getMarkerHeight()
S
82 1 3
Osm_OpenLayers::addTextLayer()
S
63 1 10
Osm::getPostMarkerCFN()
S
75 1 4
Osm::sc_OL3JS()
S
73 1 5
cOsm_arguments::getMarkerWidth()
S
82 1 3
cOsm_arguments::getTaxonomy()
S
82 1 3
cOsm_arguments::isMapAttr()
S
82 1 3
cOsm_icon::getIconURL()
S
82 1 3
cOsm_arguments::getMapWidth_str()
S
82 1 3
cOsm_icon::getIconOffsetheight()
S
82 1 3
Osm::sc_info()
S
77 1 4
cOsm_arguments::setMapAPIkey()
S
81 1 3
cOsm_arguments::getPostMarkers()
S
82 1 3
Osm_OpenLayers::addTextLayer()
S
63 1 10
cOsm_arguments::issetScaleline()
S
82 1 3
osm_restrict_mime_types()
S
73 1 5
cOsm_arguments::getMapType()
S
82 1 3
cOsm_arguments::getMapAPIkey()
S
82 1 3
cOsm_arguments::issetFullScreen()
S
82 1 3
cOsm_arguments::getTaggedInnerColor()
S
82 1 3
cOsm_arguments::setTaxonomy()
S
81 1 3
osm_restrict_mime_types_hint()
S
76 1 4
OSM_Tagged_Widget::__construct()
S
69 1 7
cOsm_arguments::setLatLon()
S
71 1 5
cOsm_icon::__construct()
S
75 1 4
cOsm_icon::traceIconInfo()
S
69 1 8
cOsm_icon::getMarkerwidth()
S
82 1 3
cOsm_arguments::getTaggedBorderColor()
S
82 1 3