WooCommerce Cart Stock Reducer 3.50

Does WooCommerce Cart Stock Reducer work with WordPress 5.8.1 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.1
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=885585d5cb
Aspect after-activation
HTTP status 200
Load time 0.301 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.208 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.327 s0.292 s-0.035 s3.08 MiB3.08 MiB+ 2.1 KiB
/wp-admin/edit.php0.185 s0.183 s-0.002 s3.11 MiB3.11 MiB+ 2.1 KiB
/wp-admin/post-new.php1.140 s1.189 s+0.049 s5.27 MiB5.27 MiB+ 6.46 KiB
/wp-admin/upload.php0.552 s0.323 s-0.229 s3.03 MiB3.03 MiB+ 992 bytes
/wp-admin/options-writing.php0.158 s0.136 s-0.022 s3.02 MiB3.01 MiB- 15.05 KiB
/wp-admin/media-new.php0.231 s0.181 s-0.050 s3.01 MiB3.01 MiB+ 1.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.174 s-0.013 s3.04 MiB3.04 MiB+ 2.05 KiB
/wp-admin/post-new.php?post_type=page1.076 s1.056 s-0.020 s5.26 MiB5.26 MiB+ 2.05 KiB
/wp-admin/options-discussion.php0.229 s0.305 s+0.076 s3 MiB3 MiB+ 1.45 KiB
/wp-admin/edit-comments.php0.207 s0.208 s+0.001 s3.04 MiB3.04 MiB+ 976 bytes
/0.281 s0.208 s-0.073 s2.96 MiB2.91 MiB- 45.59 KiB
Average 0.416 s0.387 s-0.029 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
JavaScript52.7%1,53964656
PHP31.6%9234168
Markdown5.2%15201
Bourne Shell4.1%120111
CSS2.3%6812
YAML2.1%6201
HTML1.2%3601
JSON0.4%1201
XML0.3%901
Total 2,921 1,074 72

PHP Code Analysis | More results »

Lines of code 902
Total complexity 261
Median class complexity 9.0
Median method complexity 4.0
Most complex class WC_Cart_Stock_Reducer
Most complex function WC_Cart_Stock_Reducer::remove_expired_item()
Classes 5
Methods 57
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