Smart WooCommerce Search 2.1.0

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

Summary

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

Memory usage: 51.34 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.6.1
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=3810778ea5
Aspect after-activation
HTTP status 200
Load time 0.239 s
Memory usage 2.79 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.320 s
Memory usage 2.75 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.400 s
Memory usage 2.79 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.110 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.191 s
Memory usage 2.66 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.595 s
Memory usage 2.86 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.258 s0.323 s+0.065 s2.79 MiB2.84 MiB+ 48.15 KiB
/wp-admin/edit.php0.186 s0.307 s+0.121 s2.84 MiB2.88 MiB+ 48.15 KiB
/wp-admin/post-new.php0.940 s0.921 s-0.019 s4.93 MiB5.01 MiB+ 72.48 KiB
/wp-admin/upload.php0.488 s0.272 s-0.216 s2.67 MiB2.71 MiB+ 42.28 KiB
/wp-admin/options-writing.php0.164 s0.149 s-0.015 s2.68 MiB2.69 MiB+ 10.26 KiB
/wp-admin/media-new.php0.225 s0.165 s-0.060 s2.64 MiB2.69 MiB+ 42.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.189 s+0.001 s2.68 MiB2.79 MiB+ 107.36 KiB
/wp-admin/post-new.php?post_type=page1.121 s0.930 s-0.191 s4.92 MiB4.99 MiB+ 64.06 KiB
/wp-admin/options-discussion.php0.296 s0.294 s-0.002 s2.65 MiB2.69 MiB+ 42.77 KiB
/wp-admin/edit-comments.php0.274 s0.230 s-0.044 s2.75 MiB2.79 MiB+ 42.3 KiB
/0.430 s0.212 s-0.218 s2.61 MiB2.66 MiB+ 44.48 KiB
Average 0.415 s0.363 s-0.053 s3.11 MiB3.16 MiB+ 51.34 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.6%6,0322,80967
JavaScript18.4%1,7484446
Sass8.5%808513
PO File5.6%5329516
Markdown2.4%22601
JSON0.8%7203
CSS0.6%5511
SVG0.1%1201
Total 9,485 3,354 108

PHP Code Analysis | More results »

Lines of code 5,361
Total complexity 1,236
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 6 lines

[15-Feb-2021 20:22:49 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/smart-woocommerce-search/templates/admin-page-widgets.php on line 84
[15-Feb-2021 20:22:50 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:1932) in /wp-includes/pluggable.php on line 1296
[15-Feb-2021 20:22:50 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:1932) in /wp-includes/pluggable.php on line 1299
[15-Feb-2021 20:22:51 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/smart-woocommerce-search/index.php on line 154
[15-Feb-2021 20:22:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/smart-woocommerce-search/index.php on line 154
[15-Feb-2021 20:22:58 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/smart-woocommerce-search/inc/custom/class-ysm-search-widget.php on line 53
See also: All tests for this plugin, How to Hide Smart WooCommerce Search Admin Menus