Conditional Add To Cart 0.2.4

Does Conditional Add To Cart work with WordPress 6.5 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: 20.19 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.5
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 700+
WordPress.org page https://wordpress.org/plugins/conditional-add-to-cart/
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=conditional-add-to-cart%2Fconditional-add-to-cart.php&plugin_status=all&paged=1&s&_wpnonce=7fcbc5feee
Aspect after-activation
HTTP status 200
Load time 0.310 s
Memory usage 3.41 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.194 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.380 s0.352 s-0.028 s3.44 MiB3.46 MiB+ 29.45 KiB
/wp-admin/edit.php0.211 s0.226 s+0.015 s3.46 MiB3.49 MiB+ 29.45 KiB
/wp-admin/post-new.php0.970 s0.623 s-0.347 s5.59 MiB5.64 MiB+ 53.39 KiB
/wp-admin/upload.php0.606 s0.493 s-0.113 s3.38 MiB3.39 MiB+ 12.1 KiB
/wp-admin/options-writing.php0.211 s0.206 s-0.005 s3.37 MiB3.38 MiB+ 4.26 KiB
/wp-admin/media-new.php0.300 s0.254 s-0.046 s3.35 MiB3.37 MiB+ 24.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.202 s+0.016 s3.37 MiB3.4 MiB+ 29.41 KiB
/wp-admin/post-new.php?post_type=page0.555 s0.568 s+0.013 s5.59 MiB5.63 MiB+ 48.98 KiB
/wp-admin/options-discussion.php0.375 s0.274 s-0.101 s3.36 MiB3.37 MiB+ 14.04 KiB
/wp-admin/edit-comments.php0.262 s0.205 s-0.057 s3.39 MiB3.4 MiB+ 11.73 KiB
/0.318 s0.192 s-0.126 s3.42 MiB3.38 MiB- 34.98 KiB
Average 0.398 s0.327 s-0.071 s3.79 MiB3.81 MiB+ 20.19 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.

PHP
Language % Lines of code Comment lines Files
PHP90.2%1,30629827
JavaScript7.5%108191
CSS2.3%3401
Total 1,448 317 29

PHP Code Analysis | More results »

Lines of code 1,123
Total complexity 209
Median class complexity 8.0
Median method complexity 1.0
Most complex class ConditionalAddToCart\Front
Most complex function ConditionalAddToCart\Front::applyConditions()
Classes 21
Methods 100
Functions 0

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