WooCommerce Cart Stock Reducer 3.90

Does WooCommerce Cart Stock Reducer work with WordPress 6.8 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
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=d643cbdf2d
Aspect after-activation
HTTP status 200
Load time 0.272 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.195 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.347 s0.253 s-0.094 s3.51 MiB3.51 MiB+ 2.55 KiB
/wp-admin/edit.php0.211 s0.196 s-0.015 s3.57 MiB3.57 MiB+ 2.55 KiB
/wp-admin/post-new.php0.857 s0.657 s-0.200 s6.06 MiB6.07 MiB+ 6.98 KiB
/wp-admin/upload.php0.823 s0.380 s-0.443 s3.52 MiB3.51 MiB- 14.86 KiB
/wp-admin/options-writing.php0.236 s0.194 s-0.042 s3.5 MiB3.49 MiB- 10.87 KiB
/wp-admin/media-new.php0.285 s0.288 s+0.003 s3.49 MiB3.49 MiB- 2.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.204 s+0.002 s3.5 MiB3.51 MiB+ 8 KiB
/wp-admin/post-new.php?post_type=page0.782 s0.646 s-0.136 s6.05 MiB6.05 MiB+ 2.5 KiB
/wp-admin/options-discussion.php0.294 s0.297 s+0.003 s3.5 MiB3.49 MiB- 14.37 KiB
/wp-admin/edit-comments.php0.245 s0.219 s-0.026 s3.52 MiB3.51 MiB- 14.87 KiB
/0.534 s0.211 s-0.323 s3.43 MiB3.44 MiB+ 2.52 KiB
Average 0.438 s0.322 s-0.116 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