WooCommerce Cart Stock Reducer 3.90

Does WooCommerce Cart Stock Reducer work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: -2.96 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 version6.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/woocommerce-cart-stock-reducer/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=woocommerce-cart-stock-reducer%2Fwoocommerce-cart-stock-reducer.php&plugin_status=all&paged=1&s&_wpnonce=c211c31562
Aspect after-activation
HTTP status 200
Load time 0.253 s
Memory usage 3.52 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.183 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.342 s0.274 s-0.068 s3.51 MiB3.51 MiB+ 2.55 KiB
/wp-admin/edit.php0.203 s0.220 s+0.017 s3.57 MiB3.57 MiB+ 2.55 KiB
/wp-admin/post-new.php0.812 s0.615 s-0.197 s6.06 MiB6.07 MiB+ 6.98 KiB
/wp-admin/upload.php0.823 s0.520 s-0.303 s3.52 MiB3.51 MiB- 14.86 KiB
/wp-admin/options-writing.php0.226 s0.181 s-0.045 s3.5 MiB3.49 MiB- 10.87 KiB
/wp-admin/media-new.php0.256 s0.207 s-0.049 s3.49 MiB3.49 MiB- 2.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.175 s-0.017 s3.5 MiB3.51 MiB+ 8 KiB
/wp-admin/post-new.php?post_type=page0.610 s0.803 s+0.193 s6.05 MiB6.05 MiB+ 2.5 KiB
/wp-admin/options-discussion.php0.354 s0.265 s-0.089 s3.5 MiB3.49 MiB- 14.37 KiB
/wp-admin/edit-comments.php0.493 s0.203 s-0.290 s3.52 MiB3.51 MiB- 14.87 KiB
/0.319 s0.201 s-0.118 s3.43 MiB3.44 MiB+ 2.52 KiB
Average 0.421 s0.333 s-0.088 s3.97 MiB3.97 MiB- 2.96 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.

JavaScript
PHP
Language % Lines of code Comment lines Files
JavaScript47.1%1,53964656
PHP37.7%1,2324348
Markdown5.0%16201
Bourne Shell3.7%120111
CSS2.1%6812
YAML1.9%6201
HTML1.1%3601
XML1.0%3423
JSON0.4%1201
Total 3,265 1,094 74

PHP Code Analysis | More results »

Lines of code 1,211
Total complexity 341
Median class complexity 9.0
Median method complexity 4.0
Most complex class WC_Cart_Stock_Reducer
Most complex function WC_CSR_Sessions::find_items_in_carts()
Classes 5
Methods 73
Functions 1

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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin