Smart Variations Images & Swatches for WooCommerce 5.2.0

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

Summary

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

Memory usage: 876.38 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.032 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=012b4b3215
Aspect after-activation
HTTP status 403
Load time 0.757 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.064 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.342 s0.343 s+0.001 s3.72 MiB4.58 MiB+ 877.47 KiB
/wp-admin/edit.php0.194 s0.339 s+0.145 s3.75 MiB4.61 MiB+ 876.98 KiB
/wp-admin/post-new.php0.964 s1.340 s+0.376 s5.55 MiB6.35 MiB+ 821.25 KiB
/wp-admin/upload.php0.433 s0.385 s-0.048 s3.68 MiB4.54 MiB+ 876.65 KiB
/wp-admin/options-writing.php0.162 s0.164 s+0.002 s3.62 MiB4.52 MiB+ 921.12 KiB
/wp-admin/media-new.php0.448 s0.211 s-0.237 s3.66 MiB4.52 MiB+ 876.82 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.203 s+0.003 s3.69 MiB4.55 MiB+ 878.35 KiB
/wp-admin/post-new.php?post_type=page1.007 s0.954 s-0.053 s5.54 MiB6.34 MiB+ 816.84 KiB
/wp-admin/options-discussion.php0.218 s0.330 s+0.112 s3.6 MiB4.51 MiB+ 941.07 KiB
/wp-admin/edit-comments.php0.221 s0.243 s+0.022 s3.69 MiB4.55 MiB+ 877.3 KiB
Average 0.419 s0.451 s+0.032 s4.05 MiB4.91 MiB+ 876.38 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
Language % Lines of code Comment lines Files
PHP89.1%35,90817,879125
JavaScript8.3%3,3354299
CSS2.6%1,0472516
Total 40,290 18,333 150

PHP Code Analysis | More results »

Lines of code 26,744
Total complexity 6,221
Median class complexity 18.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 57
Methods 1,327
Functions 126

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 5

PHP Error Log 22 lines

[02-Aug-2022 16:23:30 UTC] PHP Warning:  Use of undefined constant WC_VERSION - assumed 'WC_VERSION' (this will throw an Error in a future version of PHP) in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php on line 182
[02-Aug-2022 16:23:30 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() 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(307): Smart_Variations_Images_Public->load_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#7 /wp-inclu in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php on line 82
[02-Aug-2022 16:23:38 UTC] PHP Warning:  Use of undefined constant WC_VERSION - assumed 'WC_VERSION' (this will throw an Error in a future version of PHP) in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php on line 182
[02-Aug-2022 16:23:38 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() 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(307): Smart_Variations_Images_Public->load_scripts()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2156): do_action()
#5 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#7 /wp-inclu in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php on line 82
See also: All tests for this plugin