YourPlugins Conditional Cart Notices for WooCommerce 1.2.8

Does "YourPlugins Conditional Cart Notices for WooCommerce" work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 163.95 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.055 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 60+
WordPress.org page https://wordpress.org/plugins/yourplugins-wc-conditional-cart-notices/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=yourplugins-wc-conditional-cart-notices%2Fyourplugins-wc-conditional-cart-notices.php&plugin_status=all&paged=1&s&_wpnonce=55fc1058fb
Aspect after-activation
HTTP status 200
Load time 0.492 s
Memory usage 3.2 MiB
JS errors None
Resource errors None

YourPlugins

Page screenshot: YourPlugins
URL /wp-admin/admin.php?page=yourplugins
Aspect menu-item
HTTP status 200
Load time 0.764 s
Memory usage 3.2 MiB
JS errors None
Resource errors None

YourPlugins → Conditional Cart Notices

Page screenshot: YourPlugins → Conditional Cart Notices
URL /wp-admin/admin.php?page=yourplugins-wc-conditional-cart-notices
Aspect menu-item
HTTP status 200
Load time 0.703 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.303 s
Memory usage 3.16 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.282 s0.375 s+0.093 s3.07 MiB3.24 MiB+ 171.55 KiB
/wp-admin/edit.php0.187 s0.294 s+0.107 s3.1 MiB3.25 MiB+ 159.5 KiB
/wp-admin/post-new.php0.737 s0.878 s+0.141 s5.02 MiB5.17 MiB+ 152.44 KiB
/wp-admin/upload.php0.552 s0.307 s-0.245 s3.02 MiB3.16 MiB+ 141.43 KiB
/wp-admin/options-writing.php0.171 s0.362 s+0.191 s3.01 MiB3.16 MiB+ 152.58 KiB
/wp-admin/media-new.php0.297 s0.301 s+0.004 s2.99 MiB3.16 MiB+ 171.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.296 s+0.100 s3.01 MiB3.18 MiB+ 180.53 KiB
/wp-admin/post-new.php?post_type=page0.592 s0.644 s+0.052 s5.01 MiB5.16 MiB+ 152.37 KiB
/wp-admin/options-discussion.php0.216 s0.330 s+0.114 s3 MiB3.16 MiB+ 166.59 KiB
/wp-admin/edit-comments.php0.205 s0.328 s+0.123 s3.03 MiB3.18 MiB+ 160.91 KiB
/0.300 s0.224 s-0.076 s2.97 MiB3.16 MiB+ 194.04 KiB
Average 0.340 s0.394 s+0.055 s3.38 MiB3.54 MiB+ 163.95 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
JSON
Language % Lines of code Comment lines Files
PHP60.2%1,0599825
JSON29.6%52004
PO File6.9%122541
CSS1.8%3101
JavaScript1.5%2701
Total 1,759 152 32

PHP Code Analysis | More results »

Lines of code 887
Total complexity 90
Median class complexity 0.0
Median method complexity 1.0
Most complex class YPS\WC_Conditional_Cart_Notices\Notice_Helper
Most complex function YPS\WC_Conditional_Cart_Notices\Query_Builder_Helper::create_tmp_table_from_cart()
Classes 83
Methods 46
Functions 0

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.

Database Tables 2

Options wp_options 1

PHP Error Log 9 lines

[26-May-2023 22:32:10 UTC] PHP Deprecated:  Optional parameter $taxonomy declared before required parameter $term_id is implicitly treated as a required parameter in /wp-content/plugins/yourplugins-wc-conditional-cart-notices/vendor/yps/framework-woocommerce/includes/woocommerce-category-helper.php on line 52
[26-May-2023 22:32:12 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/yourplugins-wc-conditional-cart-notices/vendor/yps/framework-core/includes/controller.php on line 165
[26-May-2023 22:32:13 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/yourplugins-wc-conditional-cart-notices/vendor/yps/framework-core/includes/controller.php on line 165
[26-May-2023 22:32:13 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/yourplugins-wc-conditional-cart-notices/vendor/yps/framework-core/includes/controller.php on line 165
[26-May-2023 22:32:13 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/yourplugins-wc-conditional-cart-notices/vendor/yps/framework-core/includes/controller.php on line 165
[26-May-2023 22:32:13 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/yourplugins-wc-conditional-cart-notices/vendor/yps/framework-core/includes/controller.php on line 165
[26-May-2023 22:32:13 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/yourplugins-wc-conditional-cart-notices/vendor/yps/framework-core/includes/controller.php on line 165
[26-May-2023 22:32:14 UTC] PHP Deprecated:  uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /wp-content/plugins/yourplugins-wc-conditional-cart-notices/vendor/yps/framework-database/includes/database-helper.php on line 77
[26-May-2023 22:32:14 UTC] PHP Deprecated:  uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /wp-content/plugins/yourplugins-wc-conditional-cart-notices/vendor/yps/framework-database/includes/database-helper.php on line 77
See also: All tests for this plugin, How to Hide YourPlugins Conditional Cart Notices for WooCommerce Admin Menus