Custom Store Locator 1.0.1

Does Custom Store Locator work with WordPress 5.9.3 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: 55.42 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.9.3
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=d0c89448fd
Aspect after-activation
HTTP status 200
Load time 0.602 s
Memory usage 3.31 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.467 s
Memory usage 3.41 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.579 s
Memory usage 3.52 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.278 s
Memory usage 3.3 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.523 s
Memory usage 3.32 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.396 s
Memory usage 3.33 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.468 s
Memory usage 3.4 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:5737)\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.640 s0.427 s-0.213 s3.37 MiB3.42 MiB+ 48.55 KiB
/wp-admin/edit.php0.492 s0.313 s-0.179 s3.4 MiB3.45 MiB+ 47.25 KiB
/wp-admin/post-new.php1.192 s1.788 s+0.596 s5.68 MiB5.74 MiB+ 55.38 KiB
/wp-admin/upload.php0.593 s0.314 s-0.279 s3.25 MiB3.3 MiB+ 54.12 KiB
/wp-admin/options-writing.php0.319 s0.136 s-0.183 s3.24 MiB3.28 MiB+ 37.97 KiB
/wp-admin/media-new.php0.309 s0.376 s+0.067 s3.23 MiB3.28 MiB+ 54.29 KiB
/wp-admin/edit-tags.php?taxonomy=category0.231 s0.179 s-0.052 s3.27 MiB3.31 MiB+ 47.2 KiB
/wp-admin/post-new.php?post_type=page1.562 s0.744 s-0.818 s5.68 MiB5.73 MiB+ 50.96 KiB
/wp-admin/options-discussion.php0.305 s0.218 s-0.087 s3.22 MiB3.28 MiB+ 54.6 KiB
/wp-admin/edit-comments.php0.322 s0.211 s-0.111 s3.27 MiB3.38 MiB+ 111.45 KiB
/0.594 s0.269 s-0.325 s3.35 MiB3.4 MiB+ 47.89 KiB
Average 0.596 s0.452 s-0.144 s3.72 MiB3.78 MiB+ 55.42 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.9%493163
PHP38.3%451819
JavaScript17.8%210122
JSON1.4%1701
SVG0.6%711
Total 1,178 110 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

[12-Apr-2022 12:40:01 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 307
See also: All tests for this plugin, How to Hide Custom WP Store Locator Admin Menus and Meta Boxes