Variation Swatches for WooCommerce 1.1.9

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

Summary

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

Memory usage: 0 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 version5.6.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 300,000+
WordPress.org page https://wordpress.org/plugins/woo-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-variation-swatches%2Fwoo-variation-swatches.php&plugin_status=all&paged=1&s&_wpnonce=5834785335
Aspect after-activation
HTTP status 200
Load time 0.298 s
Memory usage N/A
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.091 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.258 s0.132 s-0.126 s2.79 MiB
/wp-admin/edit.php0.172 s0.131 s-0.041 s2.84 MiB
/wp-admin/options-writing.php0.161 s0.110 s-0.051 s2.68 MiB
/wp-admin/media-new.php0.208 s0.153 s-0.055 s2.65 MiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.137 s-0.040 s2.68 MiB
/wp-admin/options-discussion.php0.322 s0.217 s-0.105 s2.65 MiB
/wp-admin/edit-comments.php0.213 s0.177 s-0.036 s2.75 MiB
/0.234 s0.124 s-0.110 s2.61 MiB
Average 0.218 s0.148 s-0.070 s2.71 MiB+ 0 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.

JavaScript
PHP
CSS
Language % Lines of code Comment lines Files
JavaScript56.5%7,27662610
PHP31.7%4,07737015
CSS11.6%1,497617
JSON0.2%2801
Total 12,878 1,057 33

PHP Code Analysis | More results »

Lines of code 3,626
Total complexity 846
Median class complexity 27.0
Median method complexity 2.0
Most complex class Woo_Variation_Swatches
Most complex function Woo_Variation_Swatches::feed()
Classes 9
Methods 157
Functions 47

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 176 lines

[11-Feb-2021 18:46:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_string_to_bool() in /wp-content/plugins/woo-variation-swatches/includes/functions.php:2011
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): wvs_defer_script_load()
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /wp-includes/class.wp-scripts.php(400): apply_filters()
#3 /wp-includes/class.wp-dependencies.php(116): WP_Scripts->do_item()
#4 /wp-includes/class.wp-scripts.php(657): WP_Dependencies->do_items()
#5 /wp-includes/script-loader.php(1879): WP_Scripts->do_footer_items()
#6 /wp-includes/script-loader.php(1973): print_footer_scripts()
#7 /wp-includes/class-wp-hook.php(287): _wp_footer_scripts()
#8 /wp-includes/ in /wp-content/plugins/woo-variation-swatches/includes/functions.php on line 2011
[11-Feb-2021 18:46:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_string_to_bool() in /wp-content/plugins/woo-variation-swatches/includes/functions.php:2011
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): wvs_defer_script_load()
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /wp-includes/class.wp-scripts.php(400): apply_filters()
#3 /wp-includes/class.wp-dependencies.php(116): WP_Scripts->do_item()
#4 /wp-includes/class.wp-scripts.php(657): WP_Dependencies->do_items()
#5 /wp-includes/script-loader.php(1879): WP_Scripts->do_footer_items()
#6 /wp-includes/script-loader.php(1973): print_footer_scripts()
#7 /wp-includes/class-wp-hook.php(287): _wp_footer_scripts()
#8 /wp-includes/ in /wp-content/plugins/woo-variation-swatches/includes/functions.php on line 2011
[11-Feb-2021 18:46:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_string_to_bool() in /wp-content/plugins/woo-variation-swatches/includes/functions.php:2011
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): wvs_defer_script_load()
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /wp-includes/class.wp-scripts.php(400): apply_filters()
#3 /wp-includes/class.wp-dependencies.php(116): WP_Scripts->do_item()
#4 /wp-includes/class.wp-scripts.php(643): WP_Dependencies->do_items()
#5 /wp-includes/script-loader.php(1844): WP_Scripts->do_head_items()
#6 /wp-includes/script-loader.php(1963): print_head_scripts()
#7 /wp-includes/class-wp-hook.php(287): wp_print_head_scripts()
#8 /wp-includes/c in /wp-content/plugins/woo-variation-swatches/includes/functions.php on line 2011
[11-Feb-2021 18:46:53 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_string_to_bool() in /wp-content/plugins/woo-variation-swatches/includes/functions.php:2011
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): wvs_defer_script_load()
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /wp-includes/class.wp-scripts.php(400): apply_filters()
#3 /wp-includes/class.wp-dependencies.php(116): WP_Scripts->do_item()
#4 /wp-includes/class.wp-scripts.php(657): WP_Dependencies->do_items()
#5 /wp-includes/script-loader.php(1879): WP_Scripts->do_footer_items()
#6 /wp-includes/script-loader.php(1973): print_footer_scripts()
#7 /wp-includes/class-wp-hook.php(287): _wp_footer_scripts()
#8 /wp-includes/ in /wp-content/plugins/woo-variation-swatches/includes/functions.php on line 2011
[11-Feb-2021 18:46:53 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_string_to_bool() in /wp-content/plugins/woo-variation-swatches/includes/functions.php:2011
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): wvs_defer_script_load()
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /wp-includes/class.wp-scripts.php(400): apply_filters()
#3 /wp-includes/class.wp-dependencies.php(116): WP_Scripts->do_item()
#4 /wp-includes/class.wp-scripts.php(657): WP_Dependencies->do_items()
#5 /wp-includes/script-loader.php(1879): WP_Scripts->do_footer_items()
#6 /wp-includes/script-loader.php(1973): print_footer_scripts()
#7 /wp-includes/class-wp-hook.php(287): _wp_footer_scripts()
#8 /wp-includes/ in /wp-content/plugins/woo-variation-swatches/includes/functions.php on line 2011
[11-Feb-2021 18:46:53 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_string_to_bool() in /wp-content/plugins/woo-variation-swatches/includes/functions.php:2011
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): wvs_defer_script_load()
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /wp-includes/class.wp-scripts.php(400): apply_filters()
#3 /wp-includes/class.wp-dependencies.php(116): WP_Scripts->do_item()
#4 /wp-includes/class.wp-scripts.php(643): WP_Dependencies->do_items()
#5 /wp-includes/script-loader.php(1844): WP_Scripts->do_head_items()
#6 /wp-includes/class-wp-hook.php(287): print_head_scripts()
#7 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#8 /wp-includes/p in /wp-content/plugins/woo-variation-swatches/includes/functions.php on line 2011
[11-Feb-2021 18:46:53 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_string_to_bool() in /wp-content/plugins/woo-variation-swatches/includes/functions.php:2011
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): wvs_defer_script_load()
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /wp-includes/class.wp-scripts.php(400): apply_filters()
#3 /wp-includes/class.wp-dependencies.php(116): WP_Scripts->do_item()
#4 /wp-includes/class.wp-scripts.php(643): WP_Dependencies->do_items()
#5 /wp-includes/script-loader.php(1844): WP_Scripts->do_head_items()
#6 /wp-includes/class-wp-hook.php(287): print_head_scripts()
#7 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#8 /wp-includes/p in /wp-content/plugins/woo-variation-swatches/includes/functions.php on line 2011
[11-Feb-2021 18:46:53 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_string_to_bool() in /wp-content/plugins/woo-variation-swatches/includes/functions.php:2011
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): wvs_defer_script_load()
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /wp-includes/class.wp-scripts.php(400): apply_filters()
#3 /wp-includes/class.wp-dependencies.php(116): WP_Scripts->do_item()
#4 /wp-includes/class.wp-scripts.php(657): WP_Dependencies->do_items()
#5 /wp-includes/script-loader.php(1879): WP_Scripts->do_footer_items()
#6 /wp-includes/script-loader.php(1973): print_footer_scripts()
#7 /wp-includes/class-wp-hook.php(287): _wp_footer_scripts()
#8 /wp-includes/ in /wp-content/plugins/woo-variation-swatches/includes/functions.php on line 2011
[11-Feb-2021 18:46:53 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_string_to_bool() in /wp-content/plugins/woo-variation-swatches/includes/functions.php:2011
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): wvs_defer_script_load()
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /wp-includes/class.wp-scripts.php(400): apply_filters()
#3 /wp-includes/class.wp-dependencies.php(116): WP_Scripts->do_item()
#4 /wp-includes/class.wp-scripts.php(657): WP_Dependencies->do_items()
#5 /wp-includes/script-loader.php(1879): WP_Scripts->do_footer_items()
#6 /wp-includes/script-loader.php(1973): print_footer_scripts()
#7 /wp-includes/class-wp-hook.php(287): _wp_footer_scripts()
#8 /wp-includes/ in /wp-content/plugins/woo-variation-swatches/includes/functions.php on line 2011
[11-Feb-2021 18:46:54 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_string_to_bool() in /wp-content/plugins/woo-variation-swatches/includes/functions.php:2011

(+76 more lines)
See also: All tests for this plugin