Leaflet Maps Marker 3.12.6

Does Leaflet Maps Marker work with WordPress 6.1.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
3PHP notices
2PHP deprecation warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 268.89 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/leaflet-maps-marker/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 15

Leaflet Maps Marker - Upgrade to Pro ‹ Test site — WordPress

Page screenshot: Leaflet Maps Marker - Upgrade to Pro ‹ Test site — WordPress
URL /wp-admin/admin.php?page=leafletmapsmarker_pro_upgrade&first_run=true
Requested URL /wp-admin/plugins.php?action=activate&plugin=leaflet-maps-marker%2Fleaflet-maps-marker.php&plugin_status=all&paged=1&s&_wpnonce=60c38d24a9
Aspect after-activation
HTTP status 200
Load time 0.999 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Leaflet Maps Marker

Page screenshot: Leaflet Maps Marker
URL /wp-admin/admin.php?page=leafletmapsmarker_markers
Aspect menu-item
HTTP status 200
Load time 0.360 s
Memory usage 3.92 MiB
JS errors None
Resource errors None

Leaflet Maps Marker → Add new marker

Page screenshot: Leaflet Maps Marker →  Add new marker
URL /wp-admin/admin.php?page=leafletmapsmarker_marker
Aspect menu-item
HTTP status 200
Load time 1.395 s
Memory usage 5.03 MiB
JS errors None
Resource errors None

Leaflet Maps Marker → List all layers

Page screenshot: Leaflet Maps Marker →  List all layers
URL /wp-admin/admin.php?page=leafletmapsmarker_layers
Aspect menu-item
HTTP status 200
Load time 0.303 s
Memory usage 3.84 MiB
JS errors None
Resource errors None

Leaflet Maps Marker → Add new layer

Page screenshot: Leaflet Maps Marker →  Add new layer
URL /wp-admin/admin.php?page=leafletmapsmarker_layer
Aspect menu-item
HTTP status 200
Load time 0.330 s
Memory usage 5.08 MiB
JS errors None
Resource errors None

Leaflet Maps Marker → Support

Page screenshot: Leaflet Maps Marker →  Support
URL /wp-admin/admin.php?page=leafletmapsmarker_help
Aspect menu-item
HTTP status 200
Load time 0.211 s
Memory usage 3.66 MiB
JS errors None
Resource errors None

Leaflet Maps Marker → Import/Export

Page screenshot: Leaflet Maps Marker →  Import/Export
URL /wp-admin/admin.php?page=leafletmapsmarker_import_export
Aspect menu-item
HTTP status 200
Load time 0.184 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Leaflet Maps Marker → Tools

Page screenshot: Leaflet Maps Marker →  Tools
URL /wp-admin/admin.php?page=leafletmapsmarker_tools
Aspect menu-item
HTTP status 200
Load time 0.976 s
Memory usage 4.53 MiB
JS errors None
Resource errors None

Leaflet Maps Marker → Settings

Page screenshot: Leaflet Maps Marker →  Settings
URL /wp-admin/admin.php?page=leafletmapsmarker_settings
Aspect menu-item
HTTP status 200
Load time 0.715 s
Memory usage 5.29 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'mozilla')\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=leafletmapsmarker_settings:252:18)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Leaflet Maps Marker → Maps Marker APIs

Page screenshot: Leaflet Maps Marker →  Maps Marker APIs
URL /wp-admin/admin.php?page=leafletmapsmarker_apis
Aspect menu-item
HTTP status 200
Load time 0.268 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

Leaflet Maps Marker → Retirement info   & coupon code   

Page screenshot: Leaflet Maps Marker →  Retirement info   & coupon code   
URL /wp-admin/admin.php?page=leafletmapsmarker_retirement
Aspect menu-item
HTTP status 200
Load time 0.141 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Leaflet Maps Marker → Upgrade to Pro   

Page screenshot: Leaflet Maps Marker →  Upgrade to Pro   
URL /wp-admin/admin.php?page=leafletmapsmarker_pro_upgrade
Aspect menu-item
HTTP status 200
Load time 0.158 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.270 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.269 s
Memory usage 4.47 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.419 s
Memory usage 5.63 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.266 s0.285 s+0.019 s3.54 MiB4.47 MiB+ 953.52 KiB
/wp-admin/edit.php0.146 s0.174 s+0.028 s3.57 MiB3.75 MiB+ 187.33 KiB
/wp-admin/post-new.php0.787 s0.936 s+0.149 s5.46 MiB5.65 MiB+ 194.99 KiB
/wp-admin/upload.php0.663 s0.294 s-0.369 s3.41 MiB3.68 MiB+ 279.45 KiB
/wp-admin/options-writing.php0.178 s0.143 s-0.035 s3.4 MiB3.59 MiB+ 196.16 KiB
/wp-admin/media-new.php0.188 s0.181 s-0.007 s3.39 MiB3.63 MiB+ 251.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.153 s0.169 s+0.016 s3.48 MiB3.68 MiB+ 207.41 KiB
/wp-admin/post-new.php?post_type=page0.744 s0.930 s+0.186 s5.46 MiB5.64 MiB+ 190.55 KiB
/wp-admin/options-discussion.php0.177 s0.280 s+0.103 s3.38 MiB3.59 MiB+ 212.74 KiB
/wp-admin/edit-comments.php0.180 s0.198 s+0.018 s3.48 MiB3.66 MiB+ 187.36 KiB
/0.252 s0.195 s-0.057 s3.41 MiB3.51 MiB+ 96.31 KiB
Average 0.339 s0.344 s+0.005 s3.82 MiB4.08 MiB+ 268.89 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
Language % Lines of code Comment lines Files
PHP85.2%20,28890829
CSS12.2%2,913557
JavaScript2.0%485375
SVG0.5%11506
Total 23,801 1,000 47

PHP Code Analysis | More results »

Lines of code 14,253
Total complexity 855
Median class complexity 100.0
Median method complexity 2.0
Most complex class Class_leaflet_options
Most complex function Class_leaflet_options::get_settings()
Classes 4
Methods 65
Functions 14

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 2

Options wp_options 7

User Metadata wp_usermeta 1

Sidebar Widgets 1

ID Name
class_leaflet_recent_marker_widget<span>Leaflet Maps Marker - recent markers list</span>

Meta Boxes

{
    "dashboard": {
        "lmm-admin-dashboard-widget": {
            "title": "Leaflet Maps Marker - recent markers",
            "context": "normal"
        }
    }
}

PHP Error Log 5 lines

[16-Nov-2022 06:16:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/leaflet-maps-marker/leaflet-maps-marker.php on line 493
[16-Nov-2022 06:16:53 UTC] PHP Notice:  Undefined index: geocoding_mapzen_search_api_key in /wp-content/plugins/leaflet-maps-marker/inc/install-and-updates.php on line 985
[16-Nov-2022 06:16:53 UTC] PHP Notice:  Undefined index: geocoding_mapzen_search_api_key in /wp-content/plugins/leaflet-maps-marker/inc/install-and-updates.php on line 993
[16-Nov-2022 06:16:56 UTC] PHP Deprecated:  The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /wp-content/plugins/leaflet-maps-marker/leaflet-marker.php on line 829
[16-Nov-2022 06:17:02 UTC] PHP Deprecated:  The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /wp-content/plugins/leaflet-maps-marker/leaflet-tools.php on line 716
See also: All tests for this plugin, How to Hide Leaflet Maps Marker Admin Menus and Widgets