WooCommerce Cart Stock Reducer 3.40

Does WooCommerce Cart Stock Reducer work with WordPress 5.8 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: 586.18 bytes
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
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=84d53a31a0
Aspect after-activation
HTTP status 200
Load time 0.423 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.229 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.366 s0.300 s-0.066 s3.08 MiB3.08 MiB+ 2.1 KiB
/wp-admin/edit.php0.188 s0.214 s+0.026 s3.11 MiB3.11 MiB+ 2.1 KiB
/wp-admin/post-new.php1.569 s1.182 s-0.387 s5.27 MiB5.27 MiB+ 6.46 KiB
/wp-admin/upload.php0.647 s0.326 s-0.321 s3.03 MiB3.03 MiB+ 992 bytes
/wp-admin/options-writing.php0.191 s0.155 s-0.036 s3.02 MiB3.01 MiB- 15.05 KiB
/wp-admin/media-new.php0.257 s0.191 s-0.066 s3.01 MiB3.01 MiB+ 1.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.169 s-0.022 s3.04 MiB3.04 MiB+ 2.05 KiB
/wp-admin/post-new.php?post_type=page1.085 s1.157 s+0.072 s5.26 MiB5.26 MiB+ 2.05 KiB
/wp-admin/options-discussion.php0.254 s0.334 s+0.080 s3 MiB3 MiB+ 1.45 KiB
/wp-admin/edit-comments.php0.238 s0.228 s-0.010 s3.04 MiB3.04 MiB+ 976 bytes
/0.313 s0.215 s-0.098 s2.91 MiB2.91 MiB+ 2.08 KiB
Average 0.482 s0.406 s-0.075 s3.43 MiB3.43 MiB+ 586.18 bytes

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
JavaScript53.3%1,53964656
PHP31.0%8953998
Markdown5.2%14901
Bourne Shell4.2%120111
CSS2.4%6812
YAML2.1%6201
HTML1.2%3601
JSON0.4%1201
XML0.3%901
Total 2,890 1,057 72

PHP Code Analysis | More results »

Lines of code 874
Total complexity 253
Median class complexity 6.0
Median method complexity 4.5
Most complex class WC_Cart_Stock_Reducer
Most complex function WC_CSR_Sessions::quantity_in_carts()
Classes 5
Methods 56
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