Woo Ajax Add to Cart product page 1.2.1

Does "Woocommerce Single Product Ajax add to cart" work with WordPress 7.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: -272.73 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 version7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/wc-ajax-product-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=wc-ajax-product-add-to-cart%2Fwc-ajax-product-add-to-cart.php&plugin_status=all&paged=1&s&_wpnonce=ebd1885d5e
Aspect after-activation
HTTP status 200
Load time 0.755 s
Memory usage 4.24 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.257 s
Memory usage 4.63 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.359 s0.850 s-0.509 s4.23 MiB4.23 MiB+ 4.69 KiB
/wp-admin/edit.php0.551 s0.573 s+0.022 s4.28 MiB4.29 MiB+ 4.69 KiB
/wp-admin/post-new.php2.122 s2.105 s-0.017 s6.78 MiB6.79 MiB+ 9.11 KiB
/wp-admin/upload.php1.050 s1.156 s+0.106 s4.25 MiB4.23 MiB- 12.73 KiB
/wp-admin/options-writing.php0.984 s0.535 s-0.449 s4.22 MiB4.21 MiB- 8.73 KiB
/wp-admin/media-new.php0.636 s0.774 s+0.138 s4.21 MiB4.21 MiB- 544 bytes
/wp-admin/edit-tags.php?taxonomy=category0.566 s0.612 s+0.046 s4.22 MiB4.23 MiB+ 4.64 KiB
/wp-admin/post-new.php?post_type=page1.769 s1.946 s+0.177 s6.76 MiB6.76 MiB+ 168 bytes
/wp-admin/options-discussion.php1.035 s0.797 s-0.238 s4.23 MiB4.21 MiB- 16.23 KiB
/wp-admin/edit-comments.php0.559 s0.573 s+0.014 s4.24 MiB4.23 MiB- 12.73 KiB
/0.329 s0.229 s-0.100 s4.6 MiB4.63 MiB+ 24.73 KiB
Average 0.996 s0.923 s-0.074 s4.73 MiB4.73 MiB- 272.73 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.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP79.2%2134208
JavaScript20.8%5611
Total 269 421 9

PHP Code Analysis | More results »

Lines of code 208
Total complexity 38
Median class complexity 7.0
Median method complexity 1.0
Most complex class Wc_Ajax_Product_Add_To_Cart_Public
Most complex function Wc_Ajax_Product_Add_To_Cart_Public::is_enabled()
Classes 5
Methods 23
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