Conditional Add To Cart 0.2.5

Does Conditional Add To Cart work with WordPress 6.8.2 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: 24.88 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.2
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=818dd4b32b
Aspect after-activation
HTTP status 200
Load time 0.275 s
Memory usage 3.55 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.180 s
Memory usage 3.45 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.340 s-0.040 s3.51 MiB3.54 MiB+ 32.13 KiB
/wp-admin/edit.php0.204 s0.207 s+0.003 s3.57 MiB3.6 MiB+ 32.13 KiB
/wp-admin/post-new.php0.807 s0.656 s-0.151 s6.06 MiB6.09 MiB+ 33.41 KiB
/wp-admin/upload.php0.759 s0.671 s-0.088 s3.52 MiB3.54 MiB+ 14.41 KiB
/wp-admin/options-writing.php0.227 s0.194 s-0.033 s3.5 MiB3.52 MiB+ 18.41 KiB
/wp-admin/media-new.php0.280 s0.245 s-0.035 s3.49 MiB3.52 MiB+ 26.6 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.218 s+0.027 s3.5 MiB3.54 MiB+ 37.59 KiB
/wp-admin/post-new.php?post_type=page0.605 s0.644 s+0.039 s6.05 MiB6.08 MiB+ 28.93 KiB
/wp-admin/options-discussion.php0.275 s0.271 s-0.004 s3.5 MiB3.52 MiB+ 15.53 KiB
/wp-admin/edit-comments.php0.452 s0.189 s-0.263 s3.52 MiB3.54 MiB+ 14.4 KiB
/0.306 s0.163 s-0.143 s3.43 MiB3.45 MiB+ 20.1 KiB
Average 0.408 s0.345 s-0.063 s3.97 MiB3.99 MiB+ 24.88 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,31429827
JavaScript7.4%108191
CSS2.3%3401
Total 1,456 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