Variation Swatches for WooCommerce 2.1.1.2

Does "Variation Swatches for WooCommerce" work with WordPress 5.8.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.83 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.8.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=72ec8fe945
Aspect after-activation
HTTP status 200
Load time 0.524 s
Memory usage 3.05 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.208 s
Memory usage 2.92 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.288 s0.287 s-0.001 s3.08 MiB3.1 MiB+ 13.49 KiB
/wp-admin/edit.php0.176 s0.206 s+0.030 s3.11 MiB3.19 MiB+ 77.18 KiB
/wp-admin/post-new.php0.758 s0.924 s+0.166 s5.27 MiB5.29 MiB+ 18.16 KiB
/wp-admin/upload.php0.374 s0.288 s-0.086 s3.03 MiB3.04 MiB+ 13.48 KiB
/wp-admin/options-writing.php0.253 s0.149 s-0.104 s3.02 MiB3.02 MiB- 2.55 KiB
/wp-admin/media-new.php0.328 s0.221 s-0.107 s3.01 MiB3.02 MiB+ 13.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.199 s+0.016 s3.04 MiB3.05 MiB+ 13.73 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.768 s+0.156 s5.26 MiB5.27 MiB+ 13.75 KiB
/wp-admin/options-discussion.php0.239 s0.286 s+0.047 s3 MiB3.02 MiB+ 13.96 KiB
/wp-admin/edit-comments.php0.220 s0.221 s+0.001 s3.04 MiB3.05 MiB+ 12.03 KiB
/0.262 s0.204 s-0.058 s2.96 MiB2.92 MiB- 34.77 KiB
Average 0.336 s0.341 s+0.005 s3.44 MiB3.45 MiB+ 13.83 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
PHP58.3%3,20014518
JavaScript24.9%1,3671384
CSS16.8%92323
Total 5,490 285 25

PHP Code Analysis | More results »

Lines of code 3,183
Total complexity 742
Median class complexity 25.0
Median method complexity 2.0
Most complex class Rtwpvs\Controllers\SettingsAPI
Most complex function Rtwpvs\Helpers\Functions::get_variable_items_contents()
Classes 15
Methods 165
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

[11-Nov-2021 11:29:36 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(303): Rtwpvs\Controllers\Install::deactivate()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(470): WP_Hook->do_action()
#3 /wp-admin/includes/plugin.php(821): 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