Locations and Areas - Leaflet Map with Region Tabs 1.5.1

Does "Locations and Areas - Leaflet Map with Region Tabs" work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

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

Page speed impact: 0.118 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/locations-and-areas/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=locations-and-areas%2Flocations-and-areas.php&plugin_status=all&paged=1&s&_wpnonce=902eef3929
Aspect after-activation
HTTP status 200
Load time 0.818 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Locations

Page screenshot: Locations
URL /wp-admin/edit.php?post_type=laa-location
Aspect menu-item
HTTP status 200
Load time 0.249 s
Memory usage 3.19 MiB
JS errors None
Resource errors None

Locations → Add location

Page screenshot: Locations → Add location
URL /wp-admin/post-new.php?post_type=laa-location
Aspect menu-item
HTTP status 200
Load time 0.609 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Locations → Areas

Page screenshot: Locations → Areas
URL /wp-admin/edit-tags.php?taxonomy=laa-area&post_type=laa-location
Aspect menu-item
HTTP status 200
Load time 0.370 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Settings → Locations and Areas

Page screenshot: Settings → Locations and Areas
URL /wp-admin/options-general.php?page=locations_and_areas
Aspect menu-item
HTTP status 200
Load time 0.372 s
Memory usage 3.17 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.180 s
Memory usage 2.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.288 s0.377 s+0.089 s3.08 MiB3.26 MiB+ 178.86 KiB
/wp-admin/edit.php0.171 s0.376 s+0.205 s3.11 MiB3.29 MiB+ 182.35 KiB
/wp-admin/post-new.php0.745 s1.349 s+0.604 s5.27 MiB5.35 MiB+ 82.23 KiB
/wp-admin/upload.php0.510 s0.508 s-0.002 s3.03 MiB3.11 MiB+ 81.6 KiB
/wp-admin/options-writing.php0.139 s0.378 s+0.239 s3.02 MiB3.12 MiB+ 93.97 KiB
/wp-admin/media-new.php0.240 s0.221 s-0.019 s3.01 MiB3.11 MiB+ 102.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.313 s0.251 s-0.062 s3.04 MiB3.15 MiB+ 116.05 KiB
/wp-admin/post-new.php?post_type=page0.827 s0.913 s+0.086 s5.26 MiB5.34 MiB+ 81.81 KiB
/wp-admin/options-discussion.php0.274 s0.397 s+0.123 s3 MiB3.11 MiB+ 111.1 KiB
/wp-admin/edit-comments.php0.197 s0.344 s+0.147 s3.04 MiB3.16 MiB+ 116.21 KiB
/0.324 s0.209 s-0.115 s2.91 MiB2.97 MiB+ 61.91 KiB
Average 0.366 s0.484 s+0.118 s3.43 MiB3.54 MiB+ 109.9 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.

JavaScript
Language % Lines of code Comment lines Files
JavaScript87.1%17,1486,96413
CSS6.0%1,173354
PHP4.7%92614014
Sass1.9%36942
JSON0.4%7704
Total 19,693 7,143 37

PHP Code Analysis | More results »

Lines of code 648
Total complexity 91
Median class complexity 3.0
Median method complexity 1.0
Most complex class LocationsAndAreasPlugin\Base\LocationController
Most complex function LocationsAndAreasPlugin\Base\LocationController::render_customfields_box()
Classes 8
Methods 34
Functions 2

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.

Custom Post Types 1

ID Name
laa-locationLocations

Meta Boxes

{
    "laa-location": {
        "location_customfields": {
            "title": "Location",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Locations and Areas - Leaflet Map with Region Tabs Admin Menus and Meta Boxes