Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼6.79ms] Passed 4 tests
A check of server-side resources used by Product Virtual Try On Showroom for WooCommerce - Sunglasses, Furniture
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.06 ▼3.51 |
Dashboard /wp-admin | 3.42 ▲0.07 | 50.66 ▼13.20 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 47.78 ▲0.80 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 90.44 ▼10.64 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.81 ▲0.21 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Product Virtual Try On Showroom for WooCommerce - Sunglasses, Furniture
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,100 ▲354 | 15.36 ▲0.98 | 8.82 ▲6.78 | 43.69 ▲0.27 |
Dashboard /wp-admin | 2,375 ▲187 | 6.50 ▲0.62 | 114.67 ▲11.96 | 38.80 ▼5.22 |
Posts /wp-admin/edit.php | 2,281 ▲195 | 3.38 ▲1.37 | 47.43 ▲10.70 | 31.21 ▼3.65 |
Add New Post /wp-admin/post-new.php | 1,549 ▲18 | 18.42 ▼4.44 | 586.71 ▼98.08 | 34.98 ▼21.12 |
Media Library /wp-admin/upload.php | 1,417 ▲38 | 4.23 ▲0.02 | 78.31 ▼20.33 | 44.58 ▲0.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 86% 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: woocommerce product showroom, virtual try, virtual mirror, try sunglasses online simulator, try on
my-woocommerce-product-virtual-showroom/MyWooCommerceShowroom.php 69% from 13 tests
The main PHP file in "Product Virtual Try On Showroom for WooCommerce - Sunglasses, Furniture" ver. 2.4 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "2.2")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 characters long)
- Plugin Name: Keep the plugin name shorter than 70 characters (currently 71 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("my-woocommerce-product-virtual-showroom.php" instead of "MyWooCommerceShowroom.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,242 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 109 | 51 | 1,610 |
PHP | 2 | 137 | 22 | 341 |
JavaScript | 2 | 54 | 17 | 159 |
PO File | 1 | 53 | 71 | 132 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
9 PNG files occupy 0.25MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/save.png | 0.63KB | 0.76KB | 0.00% |
images/extendwp.png | 5.75KB | 3.37KB | ▼ 41.46% |
images/mywoocommerce-product-virtual-showroom_PRO.png | 57.89KB | 30.93KB | ▼ 46.57% |
images/default.png | 14.13KB | 5.96KB | ▼ 57.80% |
images/mywoocommerce-product-virtual-showroom_horizontal.png | 60.30KB | 37.40KB | ▼ 37.97% |