Custom Store Locator 1.0.0

Does Custom Store Locator work with WordPress 5.8.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 47.74 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 version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/custom-store-locator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=custom-store-locator%2Fcustom-store-locator.php&plugin_status=all&paged=1&s&_wpnonce=63c35b509e
Aspect after-activation
HTTP status 200
Load time 0.467 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Locations

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

Locations → Add New

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

Locations → Location Categories

Page screenshot: Locations → Location Categories
URL /wp-admin/edit-tags.php?taxonomy=csl_locations_categories&post_type=csl_locations
Aspect menu-item
HTTP status 200
Load time 0.166 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Store Locator

Page screenshot: Store Locator
URL /wp-admin/admin.php?page=store_plugin
Aspect menu-item
HTTP status 200
Load time 0.358 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Store Locator → Settings

Page screenshot: Store Locator → Settings
URL /wp-admin/admin.php?page=store_plugin_settings
Aspect menu-item
HTTP status 200
Load time 0.215 s
Memory usage 3.1 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.296 s
Memory usage 2.96 MiB
JS errors
[
    {
        "message": "ReferenceError: allLocations is not defined\n    at initMap (eval at <anonymous> (/:1:1), <anonymous>:1:28)\n    at HTMLDocument.eval (eval at <anonymous> (/:1:1), <anonymous>:1:5591)\n    at e (/wp-includes/js/jquery/jquery.min.js,qver=3.6.0.pagespeed.jm.izqK4d2SK0.js:1:30038)\n    at t (/wp-includes/js/jquery/jquery.min.js,qver=3.6.0.pagespeed.jm.izqK4d2SK0.js:1:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.281 s0.238 s-0.043 s3.08 MiB3.13 MiB+ 47.93 KiB
/wp-admin/edit.php0.162 s0.176 s+0.014 s3.11 MiB3.22 MiB+ 110.63 KiB
/wp-admin/post-new.php0.705 s0.755 s+0.050 s5.27 MiB5.32 MiB+ 55.38 KiB
/wp-admin/upload.php0.357 s0.448 s+0.091 s3.03 MiB3.07 MiB+ 45.49 KiB
/wp-admin/options-writing.php0.297 s0.186 s-0.111 s3.02 MiB3.05 MiB+ 29.47 KiB
/wp-admin/media-new.php0.317 s0.192 s-0.125 s3.01 MiB3.05 MiB+ 45.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.184 s+0.008 s3.04 MiB3.08 MiB+ 46.57 KiB
/wp-admin/post-new.php?post_type=page0.566 s0.593 s+0.027 s5.26 MiB5.31 MiB+ 50.96 KiB
/wp-admin/options-discussion.php0.207 s0.212 s+0.005 s3 MiB3.05 MiB+ 45.98 KiB
/wp-admin/edit-comments.php0.196 s0.198 s+0.002 s3.04 MiB3.09 MiB+ 46.82 KiB
/0.257 s0.249 s-0.008 s2.96 MiB2.96 MiB+ 232 bytes
Average 0.320 s0.312 s-0.008 s3.44 MiB3.49 MiB+ 47.74 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.

CSS
PHP
JavaScript
Language % Lines of code Comment lines Files
CSS41.8%493163
PHP38.2%451819
JavaScript18.0%212112
JSON1.4%1701
SVG0.6%711
Total 1,180 109 16

PHP Code Analysis | More results »

Lines of code 380
Total complexity 58
Median class complexity 1.0
Median method complexity 1.0
Most complex class CustomStoreLocatorPlugin
Most complex function csl_listing_parameters_shortcode()
Classes 4
Methods 14
Functions 7

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.

Options wp_options 5

Custom Post Types 1

ID Name
csl_locationsLocations

Meta Boxes

{
    "csl_locations": {
        "csl_metabox_settings": {
            "title": "Store Locator Settings",
            "context": "normal"
        }
    }
}

PHP Error Log 1 lines

[17-Nov-2021 09:57:23 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'CustomStoreLocatorPlugin' does not have a method 'deactivate' in /wp-includes/class-wp-hook.php on line 303
See also: All tests for this plugin, How to Hide Custom WP Store Locator Admin Menus and Meta Boxes