Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼4.54ms] Passed 4 tests
A check of server-side resources used by YITH WooCommerce Wishlist
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 31.97 ▼8.51 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.70 ▼14.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.44 ▲4.45 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.93 ▲6.01 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.68 ▲0.72 |
Server storage [IO: ▲6.39MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 411 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
yit_recently_activated |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for YITH WooCommerce Wishlist
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲24 | 14.22 ▼0.12 | 1.57 ▼0.37 | 36.65 ▼7.15 |
Dashboard /wp-admin | 2,201 ▲27 | 5.59 ▲0.01 | 90.85 ▼12.43 | 41.65 ▼3.04 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.03 ▼0.06 | 42.11 ▲5.24 | 38.10 ▲2.18 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 25.23 ▲1.90 | 606.04 ▼71.16 | 63.01 ▲2.04 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.01 | 96.71 ▼0.02 | 40.71 ▼1.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- yit_recently_activated
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The SRP test was a success
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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: products, yit, shop, shop wishlist, woocommerce...
yith-woocommerce-wishlist/init.php 77% from 13 tests
This is the main PHP file of "YITH WooCommerce Wishlist" version 3.27.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("6.2" instead of "8.1")
- Description: The description should be shorter than 140 characters (currently 340 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("yith-woocommerce-wishlist.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin73,878 lines of code in 323 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 27 | 8,651 | 11,893 | 22,830 |
PHP | 200 | 4,292 | 11,012 | 22,121 |
CSS | 32 | 2,107 | 363 | 13,313 |
JavaScript | 51 | 1,761 | 1,240 | 11,746 |
SVG | 9 | 0 | 1 | 2,975 |
JSON | 1 | 0 | 0 | 718 |
Markdown | 1 | 52 | 0 | 116 |
XML | 2 | 12 | 9 | 59 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 47.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 336.00 |
Average method complexity | 3.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 1 | 2.27% |
▷ Concrete classes | 43 | 97.73% |
▷ Final classes | 0 | 0.00% |
Methods | 667 | |
▷ Static methods | 93 | 13.94% |
▷ Public methods | 571 | 85.61% |
▷ Protected methods | 69 | 10.34% |
▷ Private methods | 27 | 4.05% |
Functions | 177 | |
▷ Named functions | 167 | 94.35% |
▷ Anonymous functions | 10 | 5.65% |
Constants | 20 | |
▷ Global constants | 19 | 95.00% |
▷ Class constants | 1 | 5.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
34 compressed PNG files occupy 0.07MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugin-fw/assets/images/colorbox/border1.png | 0.61KB | 0.82KB | 0.00% |
plugin-fw/assets/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
plugin-fw/assets/css/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png | 0.07KB | 0.08KB | 0.00% |
plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png | 0.08KB | 0.10KB | 0.00% |
plugin-fw/assets/css/jquery-ui/images/ui-icons_222222_256x240.png | 3.69KB | 4.18KB | 0.00% |