WooCommerce Cart Stock Reducer 3.75

Does WooCommerce Cart Stock Reducer work with WordPress 5.8.2 and PHP 7.4.8? 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: -3.76 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.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=76f0d87ef8
Aspect after-activation
HTTP status 200
Load time 0.360 s
Memory usage 3.04 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.200 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.294 s0.253 s-0.041 s3.08 MiB3.08 MiB+ 2.1 KiB
/wp-admin/edit.php0.172 s0.170 s-0.002 s3.11 MiB3.12 MiB+ 2.1 KiB
/wp-admin/post-new.php0.735 s0.899 s+0.164 s5.27 MiB5.27 MiB+ 6.46 KiB
/wp-admin/upload.php0.350 s0.274 s-0.076 s3.03 MiB3.03 MiB+ 992 bytes
/wp-admin/options-writing.php0.236 s0.152 s-0.084 s3.02 MiB3.01 MiB- 15.05 KiB
/wp-admin/media-new.php0.315 s0.197 s-0.118 s3.01 MiB3.01 MiB+ 1.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.168 s0.177 s+0.009 s3.04 MiB3.04 MiB+ 2.05 KiB
/wp-admin/post-new.php?post_type=page0.611 s0.707 s+0.096 s5.26 MiB5.26 MiB+ 2.05 KiB
/wp-admin/options-discussion.php0.242 s0.278 s+0.036 s3 MiB3.01 MiB+ 1.45 KiB
/wp-admin/edit-comments.php0.204 s0.197 s-0.007 s3.04 MiB3.04 MiB+ 976 bytes
/0.245 s0.196 s-0.049 s2.96 MiB2.91 MiB- 45.59 KiB
Average 0.325 s0.318 s-0.007 s3.44 MiB3.43 MiB- 3.76 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.7%1,53964656
PHP37.9%1,2214338
Markdown4.9%15701
Bourne Shell3.7%120111
CSS2.1%6812
YAML1.9%6201
HTML1.1%3601
JSON0.4%1201
XML0.3%901
Total 3,224 1,091 72

PHP Code Analysis | More results »

Lines of code 1,200
Total complexity 337
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 72
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