Smart Variations Images & Swatches for WooCommerce 5.2.11

Does "Smart Variations Images & Swatches for WooCommerce" work with WordPress 6.4.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
2Pages failed to load
  • 1 403 Forbidden
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 489.69 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 version6.4.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/smart-variations-images/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/admin.php?page=woosvi-options-settings
Requested URL /wp-admin/plugins.php?action=activate&plugin=smart-variations-images%2Fsvi.php&plugin_status=all&paged=1&s&_wpnonce=cc452090d9
Aspect after-activation
HTTP status 403
Load time 0.289 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 500
Load time 0.066 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.376 s0.340 s-0.036 s3.38 MiB3.91 MiB+ 547.22 KiB
/wp-admin/edit.php0.344 s0.227 s-0.117 s3.41 MiB3.94 MiB+ 547.43 KiB
/wp-admin/post-new.php0.872 s0.632 s-0.240 s5.46 MiB5.93 MiB+ 487.26 KiB
/wp-admin/upload.php0.598 s0.598 s+0.000 s3.32 MiB3.78 MiB+ 471.12 KiB
/wp-admin/options-writing.php0.229 s0.226 s-0.003 s3.32 MiB3.77 MiB+ 459.57 KiB
/wp-admin/media-new.php0.329 s0.269 s-0.060 s3.29 MiB3.76 MiB+ 479.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.217 s+0.008 s3.31 MiB3.78 MiB+ 483.58 KiB
/wp-admin/post-new.php?post_type=page0.805 s0.636 s-0.169 s5.45 MiB5.92 MiB+ 486.84 KiB
/wp-admin/options-discussion.php0.324 s0.338 s+0.014 s3.3 MiB3.76 MiB+ 468.36 KiB
/wp-admin/edit-comments.php0.307 s0.242 s-0.065 s3.34 MiB3.79 MiB+ 466.25 KiB
Average 0.439 s0.372 s-0.067 s3.76 MiB4.24 MiB+ 489.69 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
Language % Lines of code Comment lines Files
PHP89.8%39,16219,136137
JavaScript7.7%3,3354299
CSS2.5%1,0732518
XML0.0%1601
Total 43,586 19,590 165

PHP Code Analysis | More results »

Lines of code 28,980
Total complexity 6,774
Median class complexity 18.5
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 60
Methods 1,460
Functions 130

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 4

PHP Error Log 42 lines

[11-Nov-2023 00:06:45 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_woocommerce() in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php:82
Stack trace:
#0 /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php(99): Smart_Variations_Images_Public->handleLoadCondition()
#1 /wp-includes/class-wp-hook.php(324): Smart_Variations_Images_Public->load_scripts()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2262): do_action()
#5 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-includes/general-template.php(3052): do_action()
#9 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#10 /wp-includes/template.php(790): require_once('...')
#11 /wp-includes/template.php(725): load_template()
#12 /wp-includes/general-template.php(48): locate_template()
#13 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#14 /wp-includes/template-loader.php(106): include('...')
#15 /wp-blog-header.php(19): require_once('...')
#16 /index.php(17): require('...')
#17 {main}
  thrown in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php on line 82
[11-Nov-2023 00:06:54 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_woocommerce() in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php:82
Stack trace:
#0 /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php(99): Smart_Variations_Images_Public->handleLoadCondition()
#1 /wp-includes/class-wp-hook.php(324): Smart_Variations_Images_Public->load_scripts()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2262): do_action()
#5 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-includes/general-template.php(3052): do_action()
#9 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#10 /wp-includes/template.php(790): require_once('...')
#11 /wp-includes/template.php(725): load_template()
#12 /wp-includes/general-template.php(48): locate_template()
#13 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#14 /wp-includes/template-loader.php(106): include('...')
#15 /wp-blog-header.php(19): require_once('...')
#16 /index.php(17): require('...')
#17 {main}
  thrown in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php on line 82
See also: All tests for this plugin