Conditional Add To Cart 0.2.5

Does Conditional Add To Cart work with WordPress 6.6.1 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: 41.04 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.6.1
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=af5a28335e
Aspect after-activation
HTTP status 200
Load time 0.251 s
Memory usage 3.52 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.171 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.306 s0.233 s-0.073 s3.47 MiB3.5 MiB+ 32.02 KiB
/wp-admin/edit.php0.194 s0.189 s-0.005 s3.54 MiB3.57 MiB+ 32.02 KiB
/wp-admin/post-new.php0.672 s0.564 s-0.108 s5.75 MiB5.81 MiB+ 55.95 KiB
/wp-admin/upload.php0.485 s0.516 s+0.031 s3.49 MiB3.5 MiB+ 14.3 KiB
/wp-admin/options-writing.php0.200 s0.232 s+0.032 s3.41 MiB3.49 MiB+ 77.1 KiB
/wp-admin/media-new.php0.211 s0.228 s+0.017 s3.4 MiB3.48 MiB+ 90.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.177 s+0.002 s3.47 MiB3.51 MiB+ 37.47 KiB
/wp-admin/post-new.php?post_type=page0.528 s0.525 s-0.003 s5.75 MiB5.8 MiB+ 51.54 KiB
/wp-admin/options-discussion.php0.190 s0.237 s+0.047 s3.41 MiB3.48 MiB+ 78.79 KiB
/wp-admin/edit-comments.php0.384 s0.221 s-0.163 s3.49 MiB3.5 MiB+ 14.29 KiB
/0.302 s0.194 s-0.108 s3.45 MiB3.42 MiB- 32.55 KiB
Average 0.332 s0.301 s-0.030 s3.88 MiB3.92 MiB+ 41.04 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