Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.15ms] Passed 4 tests
Analyzing server-side resources used by WPC Additional Variation Images for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 34.37 ▼5.34 |
Dashboard /wp-admin | 3.39 ▲0.04 | 44.57 ▼16.70 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 45.93 ▲6.48 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 90.30 ▼9.01 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.37 ▲2.47 |
About /wp-admin/admin.php?page=wpclever | 3.27 | 29.38 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.28 | 30.66 |
Server storage [IO: ▲0.06MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WPC Additional Variation Images for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲130 | 14.19 ▲0.25 | 1.95 ▲0.32 | 44.13 ▲0.99 |
Dashboard /wp-admin | 2,272 ▲95 | 5.60 ▼0.05 | 95.32 ▼6.44 | 88.34 ▲46.76 |
Posts /wp-admin/edit.php | 2,178 ▲78 | 2.02 ▼0.01 | 39.49 ▼4.84 | 37.49 ▲1.04 |
Add New Post /wp-admin/post-new.php | 1,596 ▲70 | 23.00 ▼0.18 | 740.47 ▲91.59 | 50.33 ▼4.62 |
Media Library /wp-admin/upload.php | 1,474 ▲71 | 4.19 ▼0.05 | 104.53 ▼1.15 | 46.32 ▲0.82 |
About /wp-admin/admin.php?page=wpclever | 1,408 | 2.23 | 32.00 | 35.52 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,732 | 2.13 | 34.32 | 66.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: woo, variation, woocommerce, images, additional...
wpc-additional-variation-images/wpc-additional-variation-images.php Passed 13 tests
The main file in "WPC Additional Variation Images for WooCommerce" v. 1.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
118 characters long description:
WPC Additional Variation Images allows users to configure a distinct set of images per variation of variable products.
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
Everything looks great! No dangerous files found in this plugin1,500 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 112 | 22 | 627 |
CSS | 3 | 84 | 7 | 456 |
JavaScript | 4 | 73 | 4 | 328 |
Sass | 1 | 9 | 0 | 60 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 14.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected