Smart WooCommerce Search 2.2.1

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

Summary

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

Memory usage: 60.07 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.7
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=0ac5899ea3
Aspect after-activation
HTTP status 200
Load time 0.279 s
Memory usage 2.82 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.329 s
Memory usage 2.78 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.404 s
Memory usage 2.81 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.106 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.298 s
Memory usage 2.69 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 0.786 s
Memory usage 2.88 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.272 s0.255 s-0.017 s2.82 MiB2.87 MiB+ 48.15 KiB
/wp-admin/edit.php0.177 s0.184 s+0.007 s2.86 MiB2.91 MiB+ 48.15 KiB
/wp-admin/post-new.php0.874 s1.089 s+0.215 s5.02 MiB5.16 MiB+ 140.48 KiB
/wp-admin/upload.php0.468 s0.526 s+0.058 s2.7 MiB2.74 MiB+ 46.28 KiB
/wp-admin/options-writing.php0.215 s0.157 s-0.058 s2.71 MiB2.72 MiB+ 14.26 KiB
/wp-admin/media-new.php0.218 s0.180 s-0.038 s2.67 MiB2.72 MiB+ 46.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.193 s+0.005 s2.77 MiB2.82 MiB+ 47.36 KiB
/wp-admin/post-new.php?post_type=page1.099 s0.657 s-0.442 s5.01 MiB5.14 MiB+ 136.06 KiB
/wp-admin/options-discussion.php0.260 s0.186 s-0.074 s2.67 MiB2.72 MiB+ 46.77 KiB
/wp-admin/edit-comments.php0.222 s0.203 s-0.019 s2.78 MiB2.82 MiB+ 46.3 KiB
/0.343 s0.236 s-0.107 s2.65 MiB2.69 MiB+ 40.48 KiB
Average 0.394 s0.351 s-0.043 s3.15 MiB3.21 MiB+ 60.07 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.7%6,0752,80967
JavaScript18.5%1,7624446
Sass8.5%808513
PO File5.6%5329516
Markdown2.4%22601
JSON0.8%7203
CSS0.6%5511
SVG0.1%1201
Total 9,542 3,354 108

PHP Code Analysis | More results »

Lines of code 5,394
Total complexity 1,247
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 401
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

[12-Mar-2021 08:28:22 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:1955) in /wp-includes/pluggable.php on line 1329
[12-Mar-2021 08:28:22 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:1955) in /wp-includes/pluggable.php on line 1332
See also: All tests for this plugin, How to Hide Smart WooCommerce Search Admin Menus