Variation Swatches for WooCommerce 2.1.1.1

Does "Variation Swatches for WooCommerce" work with WordPress 5.8.1 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: 18.89 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.1
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=82504b9494
Aspect after-activation
HTTP status 200
Load time 0.637 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.270 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.394 s0.326 s-0.068 s3.08 MiB3.1 MiB+ 13.49 KiB
/wp-admin/edit.php0.284 s0.212 s-0.072 s3.11 MiB3.19 MiB+ 77.18 KiB
/wp-admin/post-new.php1.204 s1.088 s-0.116 s5.27 MiB5.29 MiB+ 18.16 KiB
/wp-admin/upload.php0.645 s0.331 s-0.314 s3.03 MiB3.04 MiB+ 13.48 KiB
/wp-admin/options-writing.php0.243 s0.167 s-0.076 s3.02 MiB3.02 MiB- 2.55 KiB
/wp-admin/media-new.php0.677 s0.241 s-0.436 s3.01 MiB3.02 MiB+ 13.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.354 s0.222 s-0.132 s3.04 MiB3.06 MiB+ 21.73 KiB
/wp-admin/post-new.php?post_type=page1.143 s1.165 s+0.022 s5.26 MiB5.27 MiB+ 13.75 KiB
/wp-admin/options-discussion.php0.253 s0.470 s+0.217 s3 MiB3.02 MiB+ 13.96 KiB
/wp-admin/edit-comments.php0.255 s0.359 s+0.104 s3.04 MiB3.05 MiB+ 12.03 KiB
/0.543 s0.339 s-0.204 s2.91 MiB2.92 MiB+ 12.9 KiB
Average 0.545 s0.447 s-0.098 s3.43 MiB3.45 MiB+ 18.89 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.6%3,24614518
JavaScript24.7%1,3671384
CSS16.7%92323
Total 5,536 285 25

PHP Code Analysis | More results »

Lines of code 3,229
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

[04-Nov-2021 06:58:49 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