Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.90ms] Passed 4 tests
Analyzing server-side resources used by Dresoo - outfit builder for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.28 ▼4.79 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.25 ▼4.98 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.53 ▲1.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 105.71 ▲1.96 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.32 ▼2.83 |
Server storage [IO: ▲1.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 53 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_outfits |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
outfits_db_version |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Dresoo - outfit builder for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.11 | 2.06 ▲0.20 | 42.88 ▼4.57 |
Dashboard /wp-admin | 2,209 ▲21 | 5.84 ▼0.01 | 98.03 ▼10.27 | 40.88 ▼4.44 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.04 | 39.98 ▼0.68 | 35.76 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.52 ▲0.29 | 621.93 ▼45.80 | 53.52 ▲6.98 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.03 | 95.26 ▼2.88 | 42.73 ▲0.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_outfits
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- outfits_db_version
- theysaidso_admin_options
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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in dresoo/assets to your readme.txt
dresoo/dresoo.php Passed 13 tests
Analyzing the main PHP file in "Dresoo - outfit builder for WooCommerce" version 1.0.3
32 characters long description:
Infinite dressing possibilities.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected140,688 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 24 | 33,239 | 21,717 | 127,208 |
JSON | 2 | 0 | 0 | 9,186 |
CSS | 9 | 558 | 57 | 2,325 |
PHP | 5 | 422 | 245 | 1,492 |
SVG | 5 | 3 | 0 | 463 |
Sass | 1 | 2 | 0 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 2 | 50.00% |
▷ Concrete classes | 2 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 12.90% |
▷ Protected methods | 27 | 87.10% |
▷ Private methods | 0 | 0.00% |
Functions | 47 | |
▷ Named functions | 46 | 97.87% |
▷ Anonymous functions | 1 | 2.13% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected