Smart Variations Images & Swatches for WooCommerce 5.2.1

Does "Smart Variations Images & Swatches for WooCommerce" work with WordPress 6.0.2 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: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.0.2
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=08c0c22b5c
Aspect after-activation
HTTP status 403
Load time 0.770 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.072 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.321 s0.241 s-0.080 s3.72 MiB4.58 MiB+ 877.47 KiB
/wp-admin/edit.php0.194 s0.364 s+0.170 s3.76 MiB4.61 MiB+ 876.98 KiB
/wp-admin/post-new.php0.755 s0.944 s+0.189 s5.55 MiB6.35 MiB+ 821.25 KiB
/wp-admin/upload.php0.401 s0.389 s-0.012 s3.69 MiB4.54 MiB+ 876.65 KiB
/wp-admin/options-writing.php0.164 s0.179 s+0.015 s3.62 MiB4.52 MiB+ 921.12 KiB
/wp-admin/media-new.php0.460 s0.214 s-0.246 s3.66 MiB4.52 MiB+ 876.82 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.220 s+0.025 s3.69 MiB4.55 MiB+ 878.35 KiB
/wp-admin/post-new.php?post_type=page0.721 s0.626 s-0.095 s5.54 MiB6.34 MiB+ 816.84 KiB
/wp-admin/options-discussion.php0.253 s0.354 s+0.101 s3.6 MiB4.52 MiB+ 941.07 KiB
/wp-admin/edit-comments.php0.226 s0.239 s+0.013 s3.7 MiB4.55 MiB+ 877.3 KiB
Average 0.369 s0.377 s+0.008 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,91617,879125
JavaScript8.3%3,3354299
CSS2.6%1,0472516
Total 40,298 18,333 150

PHP Code Analysis | More results »

Lines of code 26,752
Total complexity 6,223
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,328
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

[01-Sep-2022 18:30:18 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
[01-Sep-2022 18:30:18 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
[01-Sep-2022 18:30:25 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
[01-Sep-2022 18:30:25 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