Smart WooCommerce Search 2.2.4

Does Smart WooCommerce Search work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 46.68 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
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/smart-woocommerce-search/
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=smart-woocommerce-search%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=bf5195402d
Aspect after-activation
HTTP status 200
Load time 0.277 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Smart Search

Page screenshot: Smart Search
URL /wp-admin/admin.php?page=smart-search
Aspect menu-item
HTTP status 200
Load time 0.315 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Smart Search → Add New

Page screenshot: Smart Search → Add New
URL /wp-admin/admin.php?page=smart-search-custom-new
Aspect menu-item
HTTP status 200
Load time 0.375 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

Smart Search → Upgrade to Pro

Page screenshot: Smart Search → Upgrade to Pro
URL /wp-admin/admin.php?page=smart-search-update-to-pro
Aspect menu-item
HTTP status 200
Load time 0.112 s
Memory usage N/A
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.218 s
Memory usage 2.95 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.708 s
Memory usage 4.51 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.297 s0.224 s-0.073 s3.08 MiB3.13 MiB+ 46.26 KiB
/wp-admin/edit.php0.176 s0.197 s+0.021 s3.11 MiB3.22 MiB+ 111.73 KiB
/wp-admin/post-new.php0.903 s0.877 s-0.026 s5.27 MiB5.32 MiB+ 54.39 KiB
/wp-admin/upload.php0.525 s0.458 s-0.067 s3.03 MiB3.07 MiB+ 44.39 KiB
/wp-admin/options-writing.php0.143 s0.155 s+0.012 s3.02 MiB3.05 MiB+ 28.37 KiB
/wp-admin/media-new.php0.269 s0.215 s-0.054 s3.01 MiB3.05 MiB+ 44.56 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.182 s+0.001 s3.04 MiB3.08 MiB+ 45.47 KiB
/wp-admin/post-new.php?post_type=page1.079 s0.823 s-0.256 s5.26 MiB5.31 MiB+ 53.98 KiB
/wp-admin/options-discussion.php0.282 s0.243 s-0.039 s3 MiB3.05 MiB+ 44.88 KiB
/wp-admin/edit-comments.php0.203 s0.208 s+0.005 s3.04 MiB3.09 MiB+ 44.41 KiB
/0.414 s0.273 s-0.141 s2.96 MiB2.95 MiB- 4.96 KiB
Average 0.407 s0.350 s-0.056 s3.44 MiB3.48 MiB+ 46.68 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
JavaScript
Sass
Language % Lines of code Comment lines Files
PHP63.9%6,1262,81467
JavaScript18.4%1,7614446
Sass8.4%808513
PO File5.5%5329516
Markdown2.4%22601
JSON0.8%7203
CSS0.6%5511
SVG0.1%1201
Total 9,592 3,359 108

PHP Code Analysis | More results »

Lines of code 5,438
Total complexity 1,261
Median class complexity 15.0
Median method complexity 2.0
Most complex class Ysm_Search
Most complex function Ysm_DB::filter_posts_where()
Classes 44
Methods 403
Functions 40

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 1

Sidebar Widgets 1

ID Name
ysm_search_widgetSmart Search

PHP Error Log 2 lines

[21-Jul-2021 09:46:44 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2011) in /wp-includes/pluggable.php on line 1340
[21-Jul-2021 09:46:44 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2011) in /wp-includes/pluggable.php on line 1343
See also: All tests for this plugin, How to Hide Smart WooCommerce Search Admin Menus