Smart Variations Images & Swatches for WooCommerce 5.2.7

Does "Smart Variations Images & Swatches for WooCommerce" work with WordPress 6.2.2 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: 472.22 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.2.2
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=2d6c09bf08
Aspect after-activation
HTTP status 403
Load time 0.301 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.080 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.543 s0.406 s-0.137 s3.07 MiB3.59 MiB+ 533.05 KiB
/wp-admin/edit.php0.206 s0.281 s+0.075 s3.1 MiB3.62 MiB+ 532.89 KiB
/wp-admin/post-new.php0.781 s0.974 s+0.193 s5.02 MiB5.48 MiB+ 466.96 KiB
/wp-admin/upload.php0.663 s0.328 s-0.335 s3.02 MiB3.46 MiB+ 451.68 KiB
/wp-admin/options-writing.php0.223 s0.159 s-0.064 s3.01 MiB3.44 MiB+ 438.38 KiB
/wp-admin/media-new.php0.366 s0.222 s-0.144 s2.99 MiB3.44 MiB+ 463.87 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.207 s+0.011 s3.01 MiB3.46 MiB+ 469.04 KiB
/wp-admin/post-new.php?post_type=page0.624 s0.691 s+0.067 s5.01 MiB5.47 MiB+ 462.55 KiB
/wp-admin/options-discussion.php0.222 s0.333 s+0.111 s3 MiB3.44 MiB+ 452.11 KiB
/wp-admin/edit-comments.php0.224 s0.226 s+0.002 s3.03 MiB3.47 MiB+ 451.71 KiB
Average 0.405 s0.383 s-0.022 s3.43 MiB3.89 MiB+ 472.22 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,02619,045136
JavaScript7.7%3,33644010
CSS2.5%1,0732518
Total 43,435 19,510 164

PHP Code Analysis | More results »

Lines of code 57,746
Total complexity 13,516
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 120
Methods 2,916
Functions 252

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

[22-May-2023 17:15:10 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(308): Smart_Variations_Images_Public->load_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2194): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-includes/general-template.php(3049): do_action()
#9 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#10 /wp-includes/template.php(783): require_once('...')
#11 /wp-includes/template.php(718): 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
[22-May-2023 17:15:18 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(308): Smart_Variations_Images_Public->load_scripts()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2194): do_action()
#5 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-includes/general-template.php(3049): do_action()
#9 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#10 /wp-includes/template.php(783): require_once('...')
#11 /wp-includes/template.php(718): 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