Leaflet Maps Marker 3.12.5

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

Summary

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

Memory usage: 268.5 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.0.3
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=a005fee3cb
Aspect after-activation
HTTP status 200
Load time 2.027 s
Memory usage 4.02 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.414 s
Memory usage 4.26 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.787 s
Memory usage 5.39 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.240 s
Memory usage 4.19 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.396 s
Memory usage 5.44 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.366 s
Memory usage 3.94 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.224 s
Memory usage 3.95 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 1.088 s
Memory usage 4.87 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.835 s
Memory usage 5.57 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'mozilla')\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=leafletmapsmarker_settings:254:18)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.3:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0.3: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.257 s
Memory usage 3.97 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.236 s
Memory usage 3.88 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.204 s
Memory usage 3.9 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.319 s
Memory usage 3.66 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.337 s
Memory usage 4.66 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 1.707 s
Memory usage 5.72 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.354 s0.470 s+0.116 s3.73 MiB4.66 MiB+ 947.34 KiB
/wp-admin/edit.php0.178 s0.216 s+0.038 s3.76 MiB3.96 MiB+ 197.16 KiB
/wp-admin/post-new.php0.980 s1.597 s+0.617 s5.55 MiB5.75 MiB+ 198.2 KiB
/wp-admin/upload.php0.824 s0.361 s-0.463 s3.69 MiB3.9 MiB+ 215.05 KiB
/wp-admin/options-writing.php0.304 s0.180 s-0.124 s3.62 MiB3.88 MiB+ 259.77 KiB
/wp-admin/media-new.php0.308 s0.243 s-0.065 s3.67 MiB3.87 MiB+ 211.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.268 s0.229 s-0.039 s3.69 MiB3.9 MiB+ 209.74 KiB
/wp-admin/post-new.php?post_type=page0.863 s0.949 s+0.086 s5.55 MiB5.74 MiB+ 189.78 KiB
/wp-admin/options-discussion.php0.277 s0.337 s+0.060 s3.6 MiB3.87 MiB+ 279.79 KiB
/wp-admin/edit-comments.php0.318 s0.241 s-0.077 s3.7 MiB3.9 MiB+ 203.05 KiB
/0.320 s0.245 s-0.075 s3.62 MiB3.66 MiB+ 41.69 KiB
Average 0.454 s0.461 s+0.007 s4.02 MiB4.28 MiB+ 268.5 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
Language % Lines of code Comment lines Files
PHP95.5%74,56636,844231
CSS3.7%2,913557
JavaScript0.6%485375
SVG0.1%11506
Total 78,079 36,936 249

PHP Code Analysis | More results »

Lines of code 65,844
Total complexity 12,839
Median class complexity 23.0
Median method complexity 2.0
Most complex class PHPExcel_Reader_Excel5
Most complex function Class_leaflet_options::get_settings()
Classes 191
Methods 2,628
Functions 49

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

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 11 lines

[18-Oct-2022 12:09:56 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 502
[18-Oct-2022 12:09:57 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
[18-Oct-2022 12:09:58 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
[18-Oct-2022 12:10:01 UTC] PHP Notice:  Undefined index: mapquest_api_key in /wp-content/plugins/leaflet-maps-marker/leaflet-maps-marker.php on line 814
[18-Oct-2022 12:10:01 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 898
[18-Oct-2022 12:10:01 UTC] PHP Notice:  Undefined index: geocoding_photon_language in /wp-content/plugins/leaflet-maps-marker/leaflet-marker.php on line 1713
[18-Oct-2022 12:10:01 UTC] PHP Notice:  Undefined index: geocoding_photon_language in /wp-content/plugins/leaflet-maps-marker/leaflet-marker.php on line 1725
[18-Oct-2022 12:10:05 UTC] PHP Notice:  Undefined index: mapquest_api_key in /wp-content/plugins/leaflet-maps-marker/leaflet-maps-marker.php on line 814
[18-Oct-2022 12:10:05 UTC] PHP Notice:  Undefined index: geocoding_photon_language in /wp-content/plugins/leaflet-maps-marker/leaflet-layer.php on line 1928
[18-Oct-2022 12:10:05 UTC] PHP Notice:  Undefined index: geocoding_photon_language in /wp-content/plugins/leaflet-maps-marker/leaflet-layer.php on line 1940
[18-Oct-2022 12:10:08 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 726
See also: All tests for this plugin, How to Hide Leaflet Maps Marker Admin Menus and Widgets