Does "Predictive Search for WooCommerce" work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .
2 | PHP fatal errors |
No JavaScript exceptions | |
1 | Page failed to load
|
No resource errors |
Memory usage: 911.45 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.
WordPress version | 5.7.2 |
---|---|
PHP version | 7.4.8 |
MySQL version | 8.0.21 |
PHP memory limit | 256M |
Last updated | |
---|---|
Active installs | 1,000+ |
WordPress.org page | https://wordpress.org/plugins/woocommerce-predictive-search/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=woocommerce-predictive-search%2Fwc-predictive-search.php&plugin_status=all&paged=1&s&_wpnonce=725e67aa80 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 1.545 s |
Memory usage | 5.16 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 500 |
Load time | 0.093 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | /wp-admin/widgets.php |
---|---|
Aspect | new-sidebar-widgets |
HTTP status | 200 |
Load time | 0.866 s |
Memory usage | 3.73 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.266 s | 0.278 s | +0.012 s | 2.82 MiB | 3.71 MiB | + 913.17 KiB |
/wp-admin/edit.php | 0.182 s | 0.203 s | +0.021 s | 2.86 MiB | 3.76 MiB | + 914.19 KiB |
/wp-admin/post-new.php | 1.487 s | 0.954 s | -0.533 s | 5.02 MiB | 5.93 MiB | + 926.7 KiB |
/wp-admin/upload.php | 0.516 s | 0.289 s | -0.227 s | 2.7 MiB | 3.58 MiB | + 904.16 KiB |
/wp-admin/options-writing.php | 0.238 s | 0.158 s | -0.080 s | 2.71 MiB | 3.57 MiB | + 880.11 KiB |
/wp-admin/media-new.php | 0.219 s | 0.184 s | -0.035 s | 2.67 MiB | 3.56 MiB | + 912.34 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.203 s | 0.328 s | +0.125 s | 2.77 MiB | 3.66 MiB | + 913.21 KiB |
/wp-admin/post-new.php?post_type=page | 0.679 s | 0.787 s | +0.108 s | 5.01 MiB | 5.91 MiB | + 925.54 KiB |
/wp-admin/options-discussion.php | 0.210 s | 0.291 s | +0.081 s | 2.68 MiB | 3.57 MiB | + 912.93 KiB |
/wp-admin/edit-comments.php | 0.211 s | 0.239 s | +0.028 s | 2.78 MiB | 3.67 MiB | + 912.12 KiB |
Average | 0.421 s | 0.371 s | -0.050 s | 3.2 MiB | 4.09 MiB | + 911.45 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PHP | 30.0% | 14,660 | 2,919 | 60 | |
JSON | 27.0% | 13,203 | 0 | 1 | |
JavaScript | 24.4% | 11,948 | 1,425 | 16 | |
PO File | 9.3% | 4,569 | 3,651 | 5 | |
CSS | 6.5% | 3,158 | 107 | 14 | |
SVG | 1.4% | 702 | 0 | 4 | |
LESS | 1.3% | 642 | 26 | 5 | |
HTML | 0.1% | 29 | 0 | 1 | |
Total | 48,911 | 8,128 | 106 |
Lines of code | 13,641 |
---|---|
Total complexity | 3,067 |
Median class complexity | 20.0 |
Median method complexity | 2.0 |
Most complex class | A3Rev\WCPredictiveSearch\FrameWork\Admin_Interface |
Most complex function | A3Rev\WCPredictiveSearch\FrameWork\Admin_Interface::admin_forms() |
Classes | 43 |
---|---|
Methods | 548 |
Functions | 35 |
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.
wp_options
33ID | Name |
---|---|
products_predictive_search | WooCommerce Predictive Search |
[14-Jul-2021 10:37:14 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php:27
Stack trace:
#0 /wp-content/plugins/woocommerce-predictive-search/classes/class-wc-predictive-search-backbone.php(106): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(292): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2027): do_action()
#5 /wp-includes/class-wp-hook.php(292): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#7 /opt/bitnami/apps/wordpress/htdoc in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27
[14-Jul-2021 10:37:20 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php:27
Stack trace:
#0 /wp-content/plugins/woocommerce-predictive-search/classes/class-wc-predictive-search-backbone.php(106): A3Rev\WCPredictiveSearch\Legacy_API->get_legacy_api_url()
#1 /wp-includes/class-wp-hook.php(292): A3Rev\WCPredictiveSearch\Hook_Backbone->register_plugin_scripts()
#2 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2027): do_action()
#5 /wp-includes/class-wp-hook.php(292): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#7 /opt/bitnami/apps/wordpress/htdoc in /wp-content/plugins/woocommerce-predictive-search/includes/class-legacy-api.php on line 27