Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.90ms] Passed 4 tests
Server-side resources used by Product Variation Images for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.15 ▼2.59 |
Dashboard /wp-admin | 3.34 ▲0.04 | 54.55 ▼5.96 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 48.88 ▼2.25 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.88 ▼12.81 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 41.95 ▲5.13 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
woocommercevariationimages |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Product Variation Images for WooCommerce: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 14.46 ▲0.08 | 1.98 ▲0.32 | 38.55 ▼8.02 |
Dashboard /wp-admin | 2,217 ▲35 | 4.84 ▼1.06 | 103.11 ▼15.76 | 43.17 ▼2.76 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.10 ▲0.08 | 36.28 ▼0.27 | 38.26 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,525 ▼17 | 17.64 ▼0.89 | 674.96 ▼6.33 | 67.87 ▲5.29 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.27 ▼0.03 | 102.59 ▼9.66 | 44.36 ▼5.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- woocommercevariationimages
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: product variation images for woocommerce, gallery, woocommerce, product variation, variation images
wc-variation-images/wc-variation-images.php 92% from 13 tests
The entry point to "Product Variation Images for WooCommerce" version 1.0.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.4" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin996 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 166 | 459 | 876 |
JavaScript | 4 | 20 | 24 | 118 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 55 | |
▷ Static methods | 1 | 1.82% |
▷ Public methods | 53 | 96.36% |
▷ Protected methods | 1 | 1.82% |
▷ Private methods | 1 | 1.82% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected