Variation Swatches for WooCommerce 2.0.1

Does "Variation Swatches for WooCommerce" work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 13.51 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.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/woo-product-variation-swatches/
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=woo-product-variation-swatches%2Fwoo-product-variation-swatches.php&plugin_status=all&paged=1&s&_wpnonce=dc17febf1b
Aspect after-activation
HTTP status 200
Load time 0.428 s
Memory usage 2.79 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.330 s
Memory usage 2.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.274 s0.392 s+0.118 s2.82 MiB2.83 MiB+ 15.03 KiB
/wp-admin/edit.php0.179 s0.303 s+0.124 s2.86 MiB2.88 MiB+ 15.03 KiB
/wp-admin/post-new.php0.939 s1.356 s+0.417 s5.02 MiB5.05 MiB+ 27.7 KiB
/wp-admin/upload.php0.512 s0.514 s+0.002 s2.7 MiB2.71 MiB+ 14.73 KiB
/wp-admin/options-writing.php0.276 s0.188 s-0.088 s2.71 MiB2.69 MiB- 17.3 KiB
/wp-admin/media-new.php0.211 s0.178 s-0.033 s2.67 MiB2.69 MiB+ 14.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.224 s+0.014 s2.77 MiB2.79 MiB+ 14.98 KiB
/wp-admin/post-new.php?post_type=page1.236 s1.099 s-0.137 s5.01 MiB5.03 MiB+ 23.29 KiB
/wp-admin/options-discussion.php0.401 s0.305 s-0.096 s2.67 MiB2.69 MiB+ 15.21 KiB
/wp-admin/edit-comments.php0.303 s0.266 s-0.037 s2.78 MiB2.79 MiB+ 13.88 KiB
/0.334 s0.220 s-0.114 s2.65 MiB2.66 MiB+ 11.2 KiB
Average 0.443 s0.459 s+0.015 s3.15 MiB3.16 MiB+ 13.51 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP56.6%2,98713317
JavaScript25.9%1,3671384
CSS17.4%92023
Total 5,274 273 24

PHP Code Analysis | More results »

Lines of code 2,970
Total complexity 718
Median class complexity 28.5
Median method complexity 2.0
Most complex class Rtwpvs\Controllers\SettingsAPI
Most complex function Rtwpvs\Helpers\Functions::get_variable_items_contents()
Classes 14
Methods 159
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.

Options wp_options 2

PHP Error Log 9 lines

[12-Jul-2021 11:28:56 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function Rtwpvs\Controllers\wc_get_attribute_taxonomies() in /wp-content/plugins/woo-product-variation-swatches/app/Controllers/Install.php:30
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): Rtwpvs\Controllers\Install::deactivate()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-admin/includes/plugin.php(823): do_action()
#4 /wp-admin/plugins.php(208): deactivate_plugins()
#5 {main}
  thrown in /wp-content/plugins/woo-product-variation-swatches/app/Controllers/Install.php on line 30
See also: All tests for this plugin